kolla-ansible/doc/ironic-guide.rst
shaofeng_cheng 7f7b6a08ed Add webconsole support in ironic
Add webconsole support in ironic by pxe_ipmitool driver.
Serial speed must be the same as the serial configuration in
the BIOS settings, so that the operating system boot process
can be seen in the web console.

see:
https://docs.openstack.org/project-install-guide/baremetal/draft/advanced.html#appending-kernel-parameters-to-boot-instances

Change-Id: I967ed2f63a50d024c54e0762ec6c0ae09b66d6bd
2017-06-21 17:20:03 +08:00

1.8 KiB

Ironic in Kolla

Overview

Currently Kolla can deploy the Ironic services:

  • ironic-api
  • ironic-conductor
  • ironic-inspector

As well as a required PXE service, deployed as ironic-pxe.

Current status

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 virtualized and baremetal deployments.

Configuring Web Console

Configuration based off upstream web_console_documentation.

Serial speed must be the same as the serial configuration in the BIOS settings. Default value: 115200bps, 8bit, non-parity.If you have different serial speed.

Set ironic_console_serial_speed in /etc/kolla/globals.yml:

ironic_console_serial_speed: 9600n8

Post-deployment configuration

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.