RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1223672 - Node registration fails silently if instackenv.json is badly formatted
Summary: Node registration fails silently if instackenv.json is badly formatted
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-tripleo
Version: trunk
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: Kilo
Assignee: James Slagle
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-21 08:03 UTC by Udi Kalifon
Modified: 2016-05-19 15:42 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:42:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Udi Kalifon 2015-05-21 08:03:09 UTC
Description of problem:
I ommitted a few fields from the nodes in instackenv.json, such as number of cpus and memory, and ran the command "instack-ironic-deployment --nodes-json instackenv.json --register-nodes". The command exited silently without any errors (apart from the non-zero exit status). It's important that the user get a clear failure reason and know that the operation failed.


Version-Release number of selected component (if applicable):
instack-0.0.6-1.el7ost.noarch
instack-undercloud-2.1.1-dev14.el7.centos.noarch


How reproducible:
100%


Steps to Reproduce:
1. Use a sample instackenv.json file such as http://file.tlv.redhat.com/~ukalifon/instackenv.json
2. Delete some of the fields in one of the nodes, such as the number of cpus or memory
3. Run "instack-ironic-deployment --nodes-json instackenv.json --register-nodes"


Actual results:
No error message

Comment 2 Mohammed Arafa 2015-10-09 21:37:57 UTC
for those that have this problem and are trying to get to the server which i suspect is internal, there is another sample online at  https://www.rdoproject.org/Instack_FAQ#What_is_the_NODES_JSON_file_format.3F 

oh and it also affects rhosp director 7

Comment 4 Chandan Kumar 2016-05-19 15:42:20 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.