settingsLogin | Registersettings

[Openstack-operators] [ironic][nova][libvirt] Adding ironic to already-existing kvm deployment

0 votes

All,

I'm working to add baremetal provisioning to an already-existing libvirt
(kvm) deployment. I was under the impression that our
currently-existing endpoints that already run
nova-conductor/nova-scheduler/etc. can be modified to support both kvm
and ironic, but after looking at the ironic installation guide
(https://docs.openstack.org/ironic/latest/install/configure-compute.html),
this doesn't appear to be the case. Changes are made in the [default]
section that you obviously wouldn't want to apply to your virtual
instances.

Given that information, it would appear that ironic requires that you
create an additional host to run nova-compute separately from your
already-existing compute nodes purely for the purpose of managing the
ironic-nova integration, which makes sense. However, the ironic
documentation at
https://docs.openstack.org/ironic/latest/install/configure-compute.html
states that:

"The following configuration file must be modified on the Compute
service’s controller nodes and compute nodes"

right before it lays out the minimum config requirements for nova <->
ironic integration, which suggests additional service requirements
beyond just an extra nova-compute. Do we also need to run separate
instances of nova-scheduler, etc. as well? I can't seem to find any
documentation that speaks to this. The current ironic documentation
seems to focus on a baremetal-only deployment scenario.

Currently running Pike.

Thanks in advance,

--
v/r

Chris Apsey
bitskrieg@bitskrieg.net
https://www.bitskrieg.net


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
asked Oct 18, 2017 in openstack-operators by Chris_Apsey (400 points)   1 2

1 Response

0 votes

On 10/18/2017 11:37 AM, Chris Apsey wrote:
All,

I'm working to add baremetal provisioning to an already-existing libvirt (kvm)
deployment. I was under the impression that our currently-existing endpoints
that already run nova-conductor/nova-scheduler/etc. can be modified to support
both kvm and ironic, but after looking at the ironic installation guide
(https://docs.openstack.org/ironic/latest/install/configure-compute.html), this
doesn't appear to be the case. Changes are made in the [default] section that
you obviously wouldn't want to apply to your virtual instances.

Given that information, it would appear that ironic requires that you create an
additional host to run nova-compute separately from your already-existing
compute nodes purely for the purpose of managing the ironic-nova integration,
which makes sense.

I think you could run nova-compute with a config file specified as part of the
commandline. From what I understand if you run it on the same host as the
libvirt nova-compute you'd need to use a separate hostname for running the
ironic nova-compute since nova uses the binary/hostname tuple to uniquely
identify services in the DB.

Chris


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Oct 18, 2017 by Chris_Friesen (20,420 points)   3 13 22
...