2016-05-16 20:37:35 +05:30
|
|
|
.. _ironic-guide:
|
|
|
|
|
|
|
|
===============
|
2015-08-28 11:26:40 -04:00
|
|
|
Ironic in Kolla
|
|
|
|
===============
|
|
|
|
|
|
|
|
Overview
|
2016-05-16 20:37:35 +05:30
|
|
|
========
|
2015-08-28 11:26:40 -04:00
|
|
|
Currently Kolla can deploy the Ironic services:
|
|
|
|
|
|
|
|
- ironic-api
|
|
|
|
- ironic-conductor
|
2016-02-16 20:31:39 +08:00
|
|
|
- ironic-inspector
|
2015-08-28 11:26:40 -04:00
|
|
|
|
|
|
|
As well as a required PXE service, deployed as ironic-pxe.
|
|
|
|
|
|
|
|
Current status
|
2016-05-16 20:37:35 +05:30
|
|
|
==============
|
2015-08-28 11:26:40 -04:00
|
|
|
The Ironic implementation is "tech preview", so currently instances can only be
|
|
|
|
deployed on baremetal. Further work will be done to allow scheduling for both
|
2016-02-16 20:31:39 +08:00
|
|
|
virtualized and baremetal deployments.
|
2015-08-28 11:26:40 -04:00
|
|
|
|
|
|
|
Post-deployment configuration
|
2016-05-16 20:37:35 +05:30
|
|
|
=============================
|
2015-08-28 11:26:40 -04:00
|
|
|
Configuration based off upstream documentation_.
|
|
|
|
|
|
|
|
Again, remember that enabling Ironic reconfigures nova compute (driver and
|
|
|
|
scheduler) as well as changes neutron network settings. Further neutron setup
|
|
|
|
is required as outlined below.
|
|
|
|
|
|
|
|
Create the flat network to launch the instances:
|
|
|
|
::
|
|
|
|
|
|
|
|
neutron net-create --tenant-id $TENANT_ID sharednet1 --shared \
|
|
|
|
--provider:network_type flat --provider:physical_network physnet1
|
|
|
|
|
|
|
|
neutron subnet-create sharednet1 $NETWORK_CIDR --name $SUBNET_NAME \
|
|
|
|
--ip-version=4 --gateway=$GATEWAY_IP --allocation-pool \
|
|
|
|
start=$START_IP,end=$END_IP --enable-dhcp
|
|
|
|
|
|
|
|
And then the above ID is used to set cleaning_network_uuid in the neutron
|
|
|
|
section of ironic.conf.
|
|
|
|
|
|
|
|
.. _documentation: http://docs.openstack.org/developer/ironic/deploy/install-guide.html
|