node-validate fails for boot and deploy on agent_* drivers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
With fresh devstack, although having 'deploy_kernel' and 'deploy_ramdisk' the node's driver_info, Ironic fails validating the node on boot and deploy interfaces due to lack of 'kernel', 'ramdisk' and 'image_source' on instance_info. This was tested on agent_pxe_oneview and agent_ssh drivers.
ubuntu@
+------
| Property | Value |
+------
| target_power_state | None |
| extra | {} |
| last_error | None |
| updated_at | 2015-10-
| maintenance_reason | None |
| provision_state | available |
| clean_step | {} |
| uuid | 98941a1e-
| console_enabled | False |
| target_
| provision_
| maintenance | False |
| inspection_
| inspection_
| power_state | power off |
| driver | agent_ssh |
| reservation | None |
| properties | {u'memory_mb': 1024, u'cpu_arch': u'x86_64', u'local_gb': 10, u'cpus': |
| | 1} |
| instance_uuid | None |
| name | node-0 |
| driver_info | {u'ssh_port': 22, u'ssh_username': u'ubuntu', u'deploy_kernel': |
| | u'dbd2a549-
| | u'17bb2a46-
| | u'ssh_address': u'10.4.3.80', u'ssh_key_
| | u'/opt/
| created_at | 2015-10-
| driver_
| chassis_uuid | f73a9683-
| instance_info | {} |
+------
ubuntu@
+------
| Interface | Result | Reason |
+------
| boot | False | Cannot validate PXE bootloader. Some parameters were missing in node's instance_info.. Missing are: ['ramdisk', 'kernel', 'image_source'] |
| console | None | not supported |
| deploy | False | Cannot validate PXE bootloader. Some parameters were missing in node's instance_info.. Missing are: ['ramdisk', 'kernel', 'image_source'] |
| inspect | None | not supported |
| management | True | |
| power | True | |
| raid | True | |
+------
description: | updated |
This is a correct behavior. These fields are either populated by nova or manually before installation. Note that these 3 fields are for instance parameters, setting 'deploy_kernel' and 'deploy_ramdisk' does not affect them.