port-create expects node INT, not STR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ironicclient |
Fix Released
|
Undecided
|
Lucas Alvares Gomes |
Bug Description
$ ironic node-list
+------
| UUID | Instance UUID | Power State | Provisioning State |
+------
| fbe3835c-
+------
$ ironic port-create -a 'xx:xx:xx:xx:xx:xx' -n fbe3835c-
node_id: Wrong type. Expected '<type 'int'>', got '<type 'str'>'
$ ironic port-create -a 'xx:xx:xx:xx:xx:xx' --node_id fbe3835c-
node_id: Wrong type. Expected '<type 'int'>', got '<type 'str'>'
Changed in python-ironicclient: | |
milestone: | none → 0.7.0 |
status: | Fix Committed → Fix Released |
stack@stack- virtual- machine: ~/devstack$ ironic --ironic-url=http:// 127.0.0. 1:6385 port-create -a "AA:AA:AA:BB:BB:BB" -n 87e0c0c1- d117-4b7f- 922f-1d26db77a6 25 ----+-- ------- ------- ------- ------- ------- -+ ----+-- ------- ------- ------- ------- ------- -+ 1339-4a4e- 8e69-7985e6ed17 c4 | d117-4b7f- 922f-1d26db77a6 25 | ----+-- ------- ------- ------- ------- ------- -+
+------
| Property | Value |
+------
| extra | {} |
| uuid | 3eae0b9d-
| node_id | 87e0c0c1-
| address | AA:AA:AA:BB:BB:BB |
+------
Fixed commit review id: I84782268c4317b 4eec53fdcdfc6cb 2b901b22780