summaryrefslogtreecommitdiffstats
path: root/bifrost/playbooks/opnfv-virtual.yaml
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-07-17 21:06:25 +0100
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-08-11 12:56:12 -0700
commit27fa1735f62c19c59bdf2e0af5c09991f5605240 (patch)
tree49bc554600c135548b2ab638be32cc7a76f9a5b2 /bifrost/playbooks/opnfv-virtual.yaml
parentc180813186b79ce022c907f4b0c63effd0e3cf76 (diff)
prototypes: bifrost: Do not use tmpfs for dib builds
Using tmpfs seems somewhat unstable. For example the following error is observed on openSUSE hosts ERROR: failed to umount the /tmp/dib_image.RJBbahUd tmpfs As such, we set the dib_notmpfs variable to 'true' which mimics what upstream OpenStack scripts are doing already in project-config:tools/build-image.sh Change-Id: If050ab70303b3556fc1880a956f0ba1505d62050 Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'bifrost/playbooks/opnfv-virtual.yaml')
-rw-r--r--bifrost/playbooks/opnfv-virtual.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/bifrost/playbooks/opnfv-virtual.yaml b/bifrost/playbooks/opnfv-virtual.yaml
index 94de628a..3cba98b6 100644
--- a/bifrost/playbooks/opnfv-virtual.yaml
+++ b/bifrost/playbooks/opnfv-virtual.yaml
@@ -48,6 +48,7 @@
dib_os_element: "{{ ipa_dib_os_element|default('debian') }}"
dib_os_release: "jessie"
dib_elements: "ironic-agent {{ ipa_extra_dib_elements | default('') }}"
+ dib_notmpfs: true
when: create_ipa_image | bool == true
- role: bifrost-create-dib-image
dib_imagetype: "qcow2"
@@ -57,6 +58,7 @@
extra_dib_elements: "{{ lookup('env', 'EXTRA_DIB_ELEMENTS') | default('') }}"
dib_elements: "vm enable-serial-console simple-init devuser growroot {{ extra_dib_elements }}"
dib_packages: "{{ lookup('env', 'DIB_OS_PACKAGES') }}"
+ dib_notmpfs: true
when: create_image_via_dib | bool == true and transform_boot_image | bool == false
- role: bifrost-keystone-client-config
user: "{{ ansible_env.SUDO_USER }}"