thanks Sam What’s the 100,000 foot view of how ironic manages the configuration of a baremetal server when it is booting an end-user’s OS image ?
e.g. my best guess so far from looking at ironic documentation · ironic first deploys the ironic-python-agent to the server o ironic-python-agent § cleans up the bare metal server, e.g. wiping non-root disks, etc § performs inventory of bare metal server’s resources ... disks, NICs, memory, cpu, etc., and reports this back to ironic conductor · ??? ironic builds up some sort of ‘config drive’ containing configuration of the bare metal server based on ironic launch parameters (flavor, attached networks, etc.) and the discovered inventory ??? · ??? ironic conductors DHCP/Boot Server somehow attaches the ‘config drive’ to the end-user OS as part of the network booting ??? · ??? the end-user OS boots ... and thru some standard mechanism uses the ‘config drive’ to configure the bare metal server as desired by ironic ??? Greg. From: "Sam Betts (sambetts)" <sambe...@cisco.com> Reply-To: "openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org> Date: Monday, July 24, 2017 at 12:26 PM To: "openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org> Subject: Re: [openstack-dev] [ironic] Looking for a good end-to-end demo of ironic integrated within openstack Hey Greg, The Ironic deploy agent images are ramdisk images which include the ironic-python-agent https://docs.openstack.org/ironic-python-agent/latest/ Which is a tool build by the ironic team and used by ironic to deploy and cleanup the baremetal nodes. The cirros images are just the default images loaded by devstack, I believe by default it downloads them from the cirros http://download.cirros-cloud.net Sam On 24/07/2017, 17:07, "Waines, Greg" <greg.wai...@windriver.com<mailto:greg.wai...@windriver.com>> wrote: Hey Lucas, Thanks for the pointer to this ironic devstack setup using VMs as baremetal servers. I was able to follow the recipe and get this working and play with ironic. Of course I’ve got some follow up questions. Questions on the images: stack@devstack-ironic:~/devstack$ glance image-list +--------------------------------------+------------------------------------+ | ID | Name | +--------------------------------------+------------------------------------+ | 8091821f-a731-409c-a2fe-8986be444937 | cirros-0.3.5-x86_64-disk | | 087602b0-32b8-4b0d-823d-e3880614368f | cirros-0.3.5-x86_64-uec | | 44bda48e-e1a2-4680-9067-ceb5a3b0d150 | cirros-0.3.5-x86_64-uec-kernel | | 2027800b-4310-4bdc-a003-d4925e116f47 | cirros-0.3.5-x86_64-uec-ramdisk | | a47a03ca-e504-4f3a-a464-3a4815b89709 | ir-deploy-agent_ipmitool.initramfs | | 8ae53801-de05-44e6-88d4-0e04738da9b7 | ir-deploy-agent_ipmitool.kernel | +--------------------------------------+------------------------------------+ stack@devstack-ironic:~/devstack$ · so ‘cirros-0.3.5-x86_64-disk’ is the normal typical default cirros image for VMs in devstack · the ironic devstack config/setup must have setup these other images, QUESTIONS: o how were the ‘cirros-0.3.5-x86_64-uec...’ images created ? § were they generated from cirros-0.3.5-x86_64-disk image using glance or an external tool ? · e.g. https://docs.openstack.org/diskimage-builder/latest/ ??? § or § were they downloaded from some cirros distribution site ? o the ‘ir-deploy-agent_ipmitool.initramfs/kernel’ images § what is the role of these images ? § (feel free to point me to a description of this in ironic documentation) § e.g. · is it specific to the “test” environment of using VMs as fake bare metal servers ? · is this image generic regardless of specific end-user image (cirros, ubuntu, centos, ...) being put on the bare metal server ? · is this image being used for preparing / cleaning the bare metal server (e.g. wiping non-root disks, etc) ... prior to putting on the end-user image ? Greg. From: Lucas Alvares Gomes <lucasago...@gmail.com> Reply-To: "openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org> Date: Thursday, July 20, 2017 at 10:52 AM To: "openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org> Subject: Re: [openstack-dev] [ironic] Looking for a good end-to-end demo of ironic integrated within openstack Hi Greg, > I’m an ironic newbie ... > First of, welcome to the community (-: > where can I find a good / relatively-current (e.g. PIKE) demo of Ironic > integrated within OpenStack ? > I would recommend deploying it with DevStack on a VM and playing with it, you can follow this document in order to do it: https://docs.openstack.org/ironic/latest/contributor/dev-quickstart.html#deploying-ironic-with-devstack Hope that helps, Lucas
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev