RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1211474 - CLI node registration doesn't support instackenv file
Summary: CLI node registration doesn't support instackenv file
Keywords:
Status: CLOSED DUPLICATE of bug 1209153
Alias: None
Product: RDO
Classification: Community
Component: rdo-manager-cli
Version: trunk
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: Kilo
Assignee: Ana Krivokapic
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-14 05:37 UTC by Jaromir Coufal
Modified: 2015-06-04 22:08 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-05 13:25:27 UTC
Embargoed:


Attachments (Terms of Use)

Description Jaromir Coufal 2015-04-14 05:37:38 UTC
Description of problem:
instackenv.json file starts the set of nodes with following structure:
{
  nodes: [...]
}
which is not accepted by parser.


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


How reproducible:
100 %


Steps to Reproduce:
1. Install RDO-Manager via instack using virtual environment
2. Try to register nodes with unified CLI using instackenv.json file


Actual results:
Parsing error.


Expected results:
Any file containing list named "nodes" will be accepted.


Additional info:
See https://repos.fedorapeople.org/repos/openstack-m/instack-undercloud/html/baremetal-setup.html for example structure of the file.

"openstack baremetal import --json" should support both file structures:
* simple list starting with `[]`
* any list starting with `nodes: []`

Comment 1 Ana Krivokapic 2015-05-05 13:25:27 UTC

*** This bug has been marked as a duplicate of bug 1209153 ***


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