* Change default path of private key * Rename config group * Rename 'fuel-agent' to 'bareon' Change-Id: Ibaf29ea769bcc9408d41ae94dd6bf9d507fe0564
2.2 KiB
Installation Guide
This guide describes installation on top of OpenStack Kilo release.
The bare_swift_ipmi
driver used as example.
Install bareon_ironic package
Patch Nova service with bareon patch
(patches/patch-nova-stable-kilo)
Restart nova compute-service
Patch Ironic service with bareon patch
(patches/patch-ironic-stable-kilo)
Enable the driver: add
bare_swift_ipmi
to the list ofenabled_drivers
in[DEFAULT]
section of/etc/ironic/ironic.conf
.Update ironic.conf using bareon sample
(etc/ironic/ironic.conf.bareon_sample)
Restart
ironic-api
andironic-conductor
servicesBuild a Bareon ramdisk:
8.1 Get Bareon source code (1)
8.2 Run build
$ cd bareon && bash bareon/tests_functional/image_build/centos_minimal.sh
Resulting images and SSH private key needed to access it will appear at /tmp/rft_image_build/.
Upload kernel and initrd images to the Glance image service.
Create a node in Ironic with
bare_swift_ipmi
driver and associate port with the node$ ironic node-create -d bare_swift_ipmi $ ironic port-create -n <node uuid> -a <MAC address>
Set IPMI address and credentials as described in the Ironic documentation2.
Setup nova flavor as described in the Ironic documentation3.
Set Bareon related driver's parameters for the node
$ KERNEL=<UUID_of_kernel_image_in_Glance> $ INITRD=<UUID_of_initrd_image_in_Glance> $ PRIVATE_KEY_PATH=/tmp/rft_image_build/bareon_key $ ironic node-update <node uuid> add driver_info/deploy_kernel=$KERNEL \ driver_info/deploy_ramdisk=$INITRD \ driver_info/bareon_key_filename=$PRIVATE_KEY_PATH
Issue ironic validate command to check for errors
$ ironic node-validate <node uuid>
After steps above the node is ready for deploying. User can invoke
nova boot
command and link appropriate deploy_config as
described in User Guide