Step-by-stepBaremetal Compute Host Baremetal NodeIPMI Power-OnDHCP RequestServe Deploy K & RExpose disks via iSCSIpartition & copy imageReboot commandDHCP RequestServe User K & RControl givento user”driver.spawn(...)”Cloud-InitFetch deploy& user imagesBuild TFTP config(*) PXE deploy processsubject to changewithout noticeBlue: nova-computeRed: nova-baremetal-deploy-helper
Setting up your Dev envFull walk-through: http://bit.ly/tripleo-dev
Setting up your Dev env●A minimal OpenStack cloud + BareMetal driver– devstack– download: http://bit.ly/dib-bootstack (*)– build it yourself!git clone https://github.com/stackforge/diskimage-buildergit clone https://github.com/stackforge/tripleo-image-elementsgit clone https://github.com/tripleo/incubatorincubator/scripts/boot-elements -n boot-stack(*) YMMV. Build this locally for best results.
Setting up your Dev env●Some VMs to mock hardware– create them by hand– automate it!git clone https://github.com/tripleo/bm_poseurbm_poseur/bm_poseur –vms 1 –arch i686 create-vmbm_poseur/bm_poseur get-macs
Setting up your Dev env●Deploy ramdisk created for you●But you need a cloud image:– download: http://bit.ly/dib-ubuntu– diskimage-builder/bin/disk-image-create ubuntu -a i386 -o ubuntu
Put it all together●Start boot-stack VM●Load ubuntu image into Glanceincubator/scripts/load-image ubuntu.qcow2●Enroll VM with BareMetal●Go!
What about real hardware?Only the networking is different
What about real hardware?Only the networking is different… except for when other things are different.