node-validate error message is not clear

Bug #1379911 reported by David Laube
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Low
Anusha

Bug Description

Upon executing node-validate upon a node in Ironic, the following error message/reason is provided without any clear instruction as to where the missing parameters are supposed to be defined. ie: parameters do not exist in in node properties. Without a more descriptive error, a user will not know where to set these parameters.

root@lab5:~# ironic node-validate e9eff0a1-5971-4ddf-b0cb-e7d98f255fb6
+------------+--------+---------------------------------------------------------------------------------------------------------------+
| Interface | Result | Reason |
+------------+--------+---------------------------------------------------------------------------------------------------------------+
| console | False | IPMI terminal port not supplied to IPMI driver. |
| deploy | False | Cannot validate iSCSI deploy. The following parameters were not passed to ironic: ['root_gb', 'image_source'] |
| management | True | |
| power | True | |
+------------+--------+---------------------------------------------------------------------------------------------------------------+

Dmitry Tantsur (divius)
Changed in ironic:
status: New → Triaged
importance: Undecided → Low
Anusha (anusha-iiitm)
Changed in ironic:
assignee: nobody → Anusha (anusha-iiitm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/128862

Changed in ironic:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/128862
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=b961823774c3ee53dfb9ad16bc5e109e757d3de8
Submitter: Jenkins
Branch: master

commit b961823774c3ee53dfb9ad16bc5e109e757d3de8
Author: Anusha Ramineni <email address hidden>
Date: Thu Oct 16 16:06:38 2014 +0530

    Update node-validate error messages

    Upon executing node-validate upon a node in Ironic, the
    error message/reason is provided without any clear instruction
    as to where the missing parameters are supposed to be defined.

    This fix proposes to update the error messages to specify where
    the information is missing.

    Change-Id: I66e84ac3341882ae72796cc9536f20773142267f
    Closes-Bug: #1379911

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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