swap command fails with: "AttributeError: 'Namespace' object has no attribute 'maxsize'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
Critical
|
Jason Hobbs | ||
curtin (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I tested the curtin 'swap' command this morning and hit an error:
Traceback (most recent call last):
File "/root/
sys.
File "/root/
if args.maxsize is not None:
AttributeError: 'Namespace' object has no attribute 'maxsize'
'Namespace' object has no attribute 'maxsize'
Traceback (most recent call last):
File "/root/
sys.
File "/root/
stage.run()
File "/root/
util.subp(cmd, shell=shell, env=self.env)
File "/root/
cmd=args)
ProcessExecutio
Command: curtin swap --size=auto
Exit code: 3
Reason: -
Stdout: ''
Stderr: ''
Related branches
- curtin developers: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedcurtin/commands/swap.py (+1/-1)
tags: | added: server-hwe |
Changed in curtin: | |
status: | New → In Progress |
assignee: | nobody → Jason Hobbs (jason-hobbs) |
Changed in curtin: | |
status: | In Progress → Fix Committed |
Changed in curtin: | |
importance: | Undecided → Critical |
Changed in curtin (Ubuntu): | |
status: | New → Fix Released |
This bug is believed to be fixed in curtin in 17.1. If this is still a problem for you, please make a comment and set the state back to New
Thank you.