'--hint' argument to 'nova boot ' should be a key-value pair
Bug #1845322 reported by
Stephen Finucane
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Low
|
Stephen Finucane | ||
Rocky |
Fix Committed
|
Low
|
Stephen Finucane | ||
Stein |
Fix Committed
|
Low
|
Stephen Finucane | ||
Train |
Fix Committed
|
Low
|
Stephen Finucane |
Bug Description
The '--hint' argument for the 'nova boot' command allows you to "[s]end arbitrary key/value pairs to the scheduler for custom use." However, if you forget the key part of this, the request will succeed but the hint argument will be silently ignored.
This was originally reported on Bugzilla for OSC [1] but the issue applies to novaclient too.
Changed in python-novaclient: | |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in python-novaclient: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
The openstackclient also affected
stack@ubuntu: ~/python- novaclient$ openstack server create --image cirros- 0.4.0-x86_ 64-disk --flavor c1 --nic net-id=public vm2 --hint boooo --wait
+------ ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------+ AZ:availability _zone | nova | SRV-ATTR: host | ubuntu | SRV-ATTR: hypervisor_ hostname | ubuntu | SRV-ATTR: instance_ name | instance-0000000a | STS:power_ state | Running | STS:task_ state | None | USG:launched_ at | 2019-09- 27T13:05: 14.000000 | USG:terminated_ at | None | 172.24. 4.213, 2001:db8::3c1 | 27T13:05: 10Z | 939ca10059654c3 f498e90b2397778 d2403afb686 | 0479-48c6- bb7e-954ee96b46 3e | 0.4.0-x86_ 64-disk (c77c6f1a- 0ea3-43c5- 91a3-bb93a9a685 b7) | b81f25dab21f1aa 4e |
| Field | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | active |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| addresses | public=
| adminPass | 94ZaJHBr7NXP |
| config_drive | |
| created | 2019-09-
| flavor | cirros256 (c1) |
| hostId | e49117b578d17a8
| id | bf0865af-
| image | cirros-
| key_name | None |
| name | vm2 |
| progress | 0 |
| project_id | 6a124352af224fa
| properties | |
| security_groups | name='d...