From 13eadd19fc16ff19b429ea62b03f6de81e215557 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: 2015年3月22日 00:37:49 -0500 Subject: [PATCH] Updated nova logic to correct issues with addon devices The logic within the pre_tasks was too loose. The pre_tasks need to have a bit more restrictive conditionals. Additionall the `lxc-device add` command which is being used always exits 0 even when the device add fails. While the task does not have issues with running we should be making sure that our changes are being recoreded correctly. Closes-Bug: 1434945 Change-Id: Icb1707db6bde6c0a26af6bca21a1f88dc3c315a8 --- tasks/nova_compute.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/nova_compute.yml b/tasks/nova_compute.yml index fd4b3432..4bd7d53c 100644 --- a/tasks/nova_compute.yml +++ b/tasks/nova_compute.yml @@ -14,7 +14,9 @@ # limitations under the License. - include: nova_compute_kvm.yml - when: nova_virt_type == 'kvm' or nova_virt_type == 'qemu' + when:> + nova_virt_type == 'kvm' or + nova_virt_type == 'qemu' - include: nova_compute_key_create.yml

AltStyle によって変換されたページ (->オリジナル) /