RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1211190 - Unable to replace nodes registration instack script due to missing post config action in unified CLI
Summary: Unable to replace nodes registration instack script due to missing post confi...
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: rdo-manager-cli
Version: trunk
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: Kilo
Assignee: Dougal Matthews
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-13 09:33 UTC by Jaromir Coufal
Modified: 2016-05-19 15:59 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Jaromir Coufal 2015-04-13 09:33:03 UTC
Description of problem:
Trying to substitute current instack script I had to manually run following code:
https://github.com/rdo-management/instack-undercloud/blob/master/scripts/instack-ironic-deployment#L113-L121

It is blocking us from smoothly moving from instack script to unified CLI in node registration part.



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


How reproducible:
100 %


Steps to Reproduce:
1. Install RDO-Manager via Instack (CentOS)
2. jq '.nodes[].memory=null | .nodes[].disk=null | .nodes[].arch=null | .nodes[].cpu=null | .nodes' instackenv.json > nodes.json
3. openstack baremetal import --json nodes.json
...

Actual results:
I am missing deploy kernel and ramdisk info at the node. 


Expected results:
I will have these information included


Additional info:
Mentioned code should be removed soon, so I do suggest to implement it manually as following command:

openstack baremetal post-registration all --deploy-kernel=name --deploy-ramdisk=name --boot-option=local

Which will add id from deploy-kernel image, deploy-ramdisk image and add local-boot capability

Comment 1 Brad P. Crochet 2015-04-13 18:28:19 UTC
This should be fixed by:

https://review.openstack.org/#/c/172963/

Comment 2 Dougal Matthews 2015-04-14 12:48:37 UTC
Bulk command here: https://review.gerrithub.io/#/c/230165/

Comment 4 Mike McCune 2016-03-28 22:29:36 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 6 Chandan Kumar 2016-05-19 15:59:16 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.