Ask Your Question
0

Can I instantiate bare metal using ironic via Heat ?

asked 2019-09-23 11:01:05 -0600

Steven01 gravatar image

Is it possible to create ironic bare metal via Heat using Hot Template ?. I can't find any such information in the openstack documentation.

Please advise

edit retag flag offensive close merge delete

Comments

When you create an instance via Heat (or CLI or GUI), you can't ask for a hypervisor. You don't say "create a KVM instance" or "create a Xen instance" or "a baremetal instance". You can indirectly select the hypervisor via flavors, if the administrator created flavors for hypervisor selection.

Bernd Bausch gravatar imageBernd Bausch ( 2019-09-23 16:43:59 -0600 )edit

So the short answer to your question is yes. However, only if the cloud has baremetal nodes and contains flavors that allow selecting them. There is no Heat resource type that manages or selects baremetal nodes.

Bernd Bausch gravatar imageBernd Bausch ( 2019-09-23 16:45:51 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-09-25 14:40:45 -0600

zaneb gravatar image

Yes, but the Ironic API isn't something that you (or Heat) interact with directly. Provisioning bare-metal servers is done through the Nova API, where they show up as flavors. You can use them from Heat using the OS::Nova::Server resource, the same way you would when creating VMs through the Nova API.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2019-09-23 11:01:05 -0600

Seen: 83 times

Last updated: Sep 25 '19