settingsLogin | Registersettings

[openstack-dev] [ironic] Looking for a good end-to-end demo of ironic integrated within openstack

0 votes

hey there,

I’m an ironic newbie ...
where can I find a good / relatively-current (e.g. PIKE) demo of Ironic integrated within OpenStack ?

Greg.


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
asked Jul 28, 2017 in openstack-dev by Waines,_Greg (2,700 points)   1 6 11

6 Responses

0 votes

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-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Jul 20, 2017 by Lucas_Alvares_Gomes (6,080 points)   1 2 3
0 votes

Greg,

This may not be exactly what your looking for but close. (Ocata - NB no
inspector implementation)

Ocata video (no audio):
https://www.youtube.com/watch?v=rHCCUP2odd8&t=52s

Or check out this more extensive (with audio track) video of real-world
usage of ironic:
https://www.youtube.com/watch?v=V389ecbzjFs

Regards
-steve

On Thu, Jul 20, 2017 at 7:44 AM, Waines, Greg Greg.Waines@windriver.com
wrote:

hey there,

I’m an ironic newbie ...

where can I find a good / relatively-current (e.g. PIKE) demo of Ironic
integrated within OpenStack ?

Greg.


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Jul 20, 2017 by steven.dake_at_gmail (540 points)  
0 votes

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-x8664-disk |
| 087602b0-32b8-4b0d-823d-e3880614368f | cirros-0.3.5-x86
64-uec |
| 44bda48e-e1a2-4680-9067-ceb5a3b0d150 | cirros-0.3.5-x8664-uec-kernel |
| 2027800b-4310-4bdc-a003-d4925e116f47 | cirros-0.3.5-x86
64-uec-ramdisk |
| a47a03ca-e504-4f3a-a464-3a4815b89709 | ir-deploy-agentipmitool.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 lucasagomes@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-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Jul 24, 2017 by Waines,_Greg (2,700 points)   1 6 11
0 votes

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.Waines@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-x8664-disk |
| 087602b0-32b8-4b0d-823d-e3880614368f | cirros-0.3.5-x86
64-uec |
| 44bda48e-e1a2-4680-9067-ceb5a3b0d150 | cirros-0.3.5-x8664-uec-kernel |
| 2027800b-4310-4bdc-a003-d4925e116f47 | cirros-0.3.5-x86
64-uec-ramdisk |
| a47a03ca-e504-4f3a-a464-3a4815b89709 | ir-deploy-agentipmitool.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 lucasagomes@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-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Jul 24, 2017 by Sam_Betts_(sambetts (1,840 points)   3
0 votes

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)" sambetts@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.Waines@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-x8664-disk |
| 087602b0-32b8-4b0d-823d-e3880614368f | cirros-0.3.5-x86
64-uec |
| 44bda48e-e1a2-4680-9067-ceb5a3b0d150 | cirros-0.3.5-x8664-uec-kernel |
| 2027800b-4310-4bdc-a003-d4925e116f47 | cirros-0.3.5-x86
64-uec-ramdisk |
| a47a03ca-e504-4f3a-a464-3a4815b89709 | ir-deploy-agentipmitool.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 lucasagomes@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-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Jul 28, 2017 by Waines,_Greg (2,700 points)   1 6 11
0 votes

Information about the ironic deployment process including full workflows can be found here: https://docs.openstack.org/ironic/latest/user/index.html#deploy-process

Sam

On 28/07/2017, 12:49, "Waines, Greg" Greg.Waines@windriver.com wrote:

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)" sambetts@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.Waines@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-x8664-disk |
| 087602b0-32b8-4b0d-823d-e3880614368f | cirros-0.3.5-x86
64-uec |
| 44bda48e-e1a2-4680-9067-ceb5a3b0d150 | cirros-0.3.5-x8664-uec-kernel |
| 2027800b-4310-4bdc-a003-d4925e116f47 | cirros-0.3.5-x86
64-uec-ramdisk |
| a47a03ca-e504-4f3a-a464-3a4815b89709 | ir-deploy-agentipmitool.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 lucasagomes@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-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Jul 28, 2017 by Sam_Betts_(sambetts (1,840 points)   3
...