node-validate fails for boot and deploy on agent_* drivers

Bug #1506636 reported by Thiago Paiva Brito
16
This bug affects 3 people
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@thiago-devstack:~/devstack$ ironic node-show node-0
+------------------------+------------------------------------------------------------------------+
| Property | Value |
+------------------------+------------------------------------------------------------------------+
| target_power_state | None |
| extra | {} |
| last_error | None |
| updated_at | 2015-10-15T21:01:44+00:00 |
| maintenance_reason | None |
| provision_state | available |
| clean_step | {} |
| uuid | 98941a1e-8646-4d9c-91e8-b67bb2169950 |
| console_enabled | False |
| target_provision_state | None |
| provision_updated_at | None |
| maintenance | False |
| inspection_started_at | None |
| inspection_finished_at | None |
| 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-b0be-4a68-b706-a2ec546fadb1', u'deploy_ramdisk': |
| | u'17bb2a46-b7ad-4996-8b91-1d222c4c69ed', u'ssh_virt_type': u'virsh', |
| | u'ssh_address': u'10.4.3.80', u'ssh_key_filename': |
| | u'/opt/stack/data/ironic/ssh_keys/ironic_key'} |
| created_at | 2015-10-15T21:01:16+00:00 |
| driver_internal_info | {} |
| chassis_uuid | f73a9683-7d66-453c-bdd7-d2f45bcc7870 |
| instance_info | {} |
+------------------------+------------------------------------------------------------------------+

ubuntu@thiago-devstack:~/devstack$ ironic node-validate node-0
+------------+--------+-------------------------------------------------------------------------------------------------------------------------------------------+
| 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
Revision history for this message
Dmitry Tantsur (divius) wrote :

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.

Changed in ironic:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.