devtest fails with os-apply-config when DIB_PIP_MANIFEST_os_apply_config set

Bug #1305151 reported by Coleman Corrigan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Coleman Corrigan

Bug Description

devtest fails when the DIB_PIP_MANIFEST_os_[apply/collect/refresh]_config environment variables are set to point at a valid manifest set for these.

The failure is reported as:
{code}
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
update-initramfs: Generating /boot/initrd.img-3.11.0-19-generic
df: Warning: cannot read table of mounted file systems: No such file or directory
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
Searching for GRUB installation directory ... found: /boot/grub
findfs: unable to resolve 'LABEL=cloudimg-rootfs'
Cannot determine root device. Assuming /dev/hda1
This error is probably caused by an invalid /etc/fstab
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.11.0-19-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.11.0-19-generic /boot/vmlinuz-3.11.0-19-generic
Setting up linux-image-generic (3.11.0.19.20) ...
dib-run-parts Wed Apr 9 15:11:31 UTC 2014 10-support-physical-hardware completed
dib-run-parts Wed Apr 9 15:11:31 UTC 2014 Running /tmp/in_target.d/install.d/11-create-template-root
++ os-apply-config --print-templates
/tmp/in_target.d/install.d/11-create-template-root: line 5: os-apply-config: command not found
+ TEMPLATE_ROOT=
{code}

The issue is to do with failure to activate virtualenvs, and a fix is proposed at: https://review.openstack.org/#/c/84810/

Changed in tripleo:
assignee: nobody → Coleman Corrigan (coleman-corrigan)
status: New → In Progress
Ben Nemec (bnemec)
Changed in tripleo:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-image-elements (master)

Reviewed: https://review.openstack.org/84810
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=2e1730b16fb690044fc85df98dfe37cd72b21819
Submitter: Jenkins
Branch: master

commit 2e1730b16fb690044fc85df98dfe37cd72b21819
Author: Coleman Corrigan <email address hidden>
Date: Wed Apr 2 18:14:07 2014 +0100

    Activate venvs in os-*-config elements source install

      This updates the source install scripts for os-apply collect and
      refresh config elements to activate their virtualenvs before
      performing pip installs, as without this specifing a manifest for
      e.g. os-apply-config breaks devtest build

    Closes-bug: #1305151
    Change-Id: I3c42de180f76fb122637c801541f14e50169de89

Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.