Creating an LXD VM host now requires a project name
Bug #1923251 reported by
Lee Trager
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato |
Bug Description
In previous versions of MAAS adding a VM host did not require a project. As of 3.0 when you add an LXD VM host you must provide a project name. This causes API incompatibilities for existing users. When no project is given the "default" project should be used as to not break existing users.
maas $PROFILE vmhosts create type=lxd power_address=
{"project": ["This field is required."]}
Related branches
~ack/maas:1923251-driver-char-field-use-default
Merged
into
maas:master
- Adam Collard (community): Approve
- MAAS Lander: Needs Fixing
-
Diff: 115 lines (+38/-8)4 files modifiedsrc/maasserver/api/tests/test_pods.py (+16/-0)
src/maasserver/clusterrpc/driver_parameters.py (+4/-3)
src/maasserver/clusterrpc/tests/test_driver_parameters.py (+15/-2)
src/maasserver/forms/pods.py (+3/-3)
Changed in maas: | |
importance: | Critical → High |
assignee: | nobody → Alberto Donato (ack) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.