name constraint should filter on hostname
Bug #984633 reported by
Francis J. Lacoste
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Gavin Panella |
Bug Description
When using the --constraints maas-name=my-host with the MAAS juju provider, it will fail because this filter on system-id instead of hostname. System ID isn't exposed anywhere to the user, so that should really filter by hostname.
Related branches
lp:~allenap/maas/name-constraint-by-name-bug-984633
- Raphaël Badin (community): Approve
-
Diff: 60 lines (+7/-7)3 files modifiedsrc/maasserver/models.py (+1/-1)
src/maasserver/tests/test_api.py (+5/-5)
src/maasserver/tests/test_models.py (+1/-1)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Gavin Panella (allenap) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.