validation of deploy interface references instance_info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Confirmed
|
Medium
|
Sandhya Balakrishnan |
Bug Description
When calling "ironic node-validate NNNN" on a node which uses any of the pxe_* family of drivers, if the node.instance_info does not contain "image_source" or "root_gb", then the deploy interface will fail to validate. This is confusing because these fields are not part of driver_info, whereas all other errors reported by node-validate reference parameters which are part of driver_info.
Example:
deva@devstack:
| driver_info | {u'ipmi_address': u'1.2.3.4', u'ipmi_username': u'admin', |
| | u'ipmi_password': u'adminpass'} |
| instance_info | {} |
deva@devstack:
| deploy | False | Cannot validate iSCSI deploy. The following parameters were not passed to ironic: ['root_gb', 'image_source'] |
deva@devstack:
| instance_info | {u'root_gb': u'10', u'image_source': u'f35a1006-
| | f15c38d3b1a6'} |
deva@devstack:
| deploy | False | Cannot validate PXE bootloader. The following parameters were not passed to ironic: ['pxe_deploy_
tags: | added: api |
Changed in ironic: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in ironic: | |
assignee: | nobody → Rakesh H S (rh-s) |
Changed in ironic: | |
assignee: | Rakesh H S (rh-s) → nobody |
Changed in ironic: | |
assignee: | nobody → Sandhya Balakrishnan (sandhya-balakrishnan) |
Isn't this duplicate of #Bug 1379911?