Apply ironic virt_type only for ironic_compute group
With current inventory state, ironic_compute group is not the same as ironic-compute_hosts, since latter does also include hosts, on which ironic_compute LXC container resides in LXC scenario. For example in AIO LXC, 'ironic-compute_hosts' includes aio1, while ironic_compute - aio1_ironic_compute_container-5fd060b3. This results in setting `nova_virt_type` for proper nova-compute, that resides on AIO breaking it. Change-Id: I47b2e9af86b5dceafe68c7e56e149a8b34c30439
This commit is contained in:
parent
91051b08b2
commit
d588856880
@ -1,16 +0,0 @@
|
||||
---
|
||||
# Copyright 2017, Rackspace US, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
nova_virt_type: ironic
|
@ -1 +0,0 @@
|
||||
ironic-compute_hosts.yml
|
16
inventory/group_vars/ironic_compute.yml
Normal file
16
inventory/group_vars/ironic_compute.yml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
# Copyright 2017, Rackspace US, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
nova_virt_type: ironic
|
Loading…
Reference in New Issue
Block a user