RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1232083 - instack-ironic-deployment --register-nodes swallows error output
Summary: instack-ironic-deployment --register-nodes swallows error output
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: instack-undercloud
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Kilo
Assignee: James Slagle
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-16 03:34 UTC by Graeme Gillies
Modified: 2016-05-19 15:36 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:36:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Graeme Gillies 2015-06-16 03:34:25 UTC
Description of problem:

When running instack-ironic-deployment --register-nodes and there is an error creating the nodes, the output gives no indication for the error. Indeed it is incredibly confusing. Likewise even using the -x flag gives you the shell commands executed, but because output from register-nodes is redirected

1>/dev/null

We can never see the error.


Version-Release number of selected component (if applicable):

instack-undercloud-2.1.2-dev20.el7.centos.noarch

How reproducible:

Very easily

Steps to Reproduce:
1. create bad instackenv.json
2. run instack-ironic-deployment --register-nodes --nodes-json instackenv.json

Actual results:

You get told

Preparing for deployment...
  Registering nodes from instacknodes.json

And it kind of looks like the step worked

Expected results:

Meaningful error returned

Additional info:

Comment 2 Chandan Kumar 2016-05-19 15:36:39 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


Note You need to log in before you can comment on or make changes to this bug.