summaryrefslogtreecommitdiffstats
path: root/prototypes/bifrost
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-07-17 21:06:25 +0100
committerMarkos Chandras <mchandras@suse.de>2017-07-18 08:42:03 +0100
commitc2c1462236c3926d2afe641bfb8a35bcaf30a4b0 (patch)
treee7d897d4f5b539cfcafde0f7a47e22b40919e2ac /prototypes/bifrost
parent67d8bac7b2a97531ad465f275747b3dc455d4fe4 (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 'prototypes/bifrost')
-rw-r--r--prototypes/bifrost/playbooks/opnfv-virtual.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/prototypes/bifrost/playbooks/opnfv-virtual.yaml b/prototypes/bifrost/playbooks/opnfv-virtual.yaml
index 94de628a6..3cba98b6b 100644
--- a/prototypes/bifrost/playbooks/opnfv-virtual.yaml
+++ b/prototypes/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 }}"