Ask Your Question
0

install ironic in ubuntu

asked 2014-09-29 23:49:38 -0500

MK gravatar image

I am trying to provision baremetal with openstack using ironic. I followed http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack (http://docs.openstack.org/developer/i...) for installing ironic.

But when I tried to boot machine through nova, I am getting "No valid host found...". I tried agent for provision.

Please help me on this. For last two weeks I am struggling on this.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
1

answered 2014-12-04 03:51:51 -0500

teju gravatar image

updated 2014-12-04 10:41:13 -0500

smaffulli gravatar image

Ironic does not have command to deploy. So, we have to use curl command to deploy. First you'll need to get a token from the below command:

 ironic --debug node-list

Store the value of the “X-Auth-Token” in the variable TOKEN

User Curl command to deploy:

curl -i -X PUT -H "X-Auth-Token: $TOKEN" -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' -d '{"target": "active"}' http://127.0.0.1:6385/v1/nodes/$NODE/states/provision

where NODE is the UUID of the bare metal node

edit flag offensive delete link more
0

answered 2015-01-12 23:24:30 -0500

zyluo gravatar image

A recent patch in DevStack enables baremetal provisioning via Ironic.

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

First trying Ironic through DevStack would help you better understand Ironic.

Below is an article about configuring DevStack for Ironic.

https://software.intel.com/en-us/articles/physical-server-provisioning-with-openstack (https://software.intel.com/en-us/arti...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-29 23:48:30 -0500

Seen: 211 times

Last updated: Dec 04 '14