ubuntu vagrant box fails during provisioning

Bug #1547114 reported by Daniel Gonzalez Nothnagel on 2016-02-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Daniel Gonzalez Nothnagel

Bug Description

Provisioning a ubuntu vagrant box using the default configuration from dev/vagrant/Vagrantfile fails with the message:

Unable to locate package linux-image-generic-ls-wily

Changed in kolla:
assignee: nobody → Daniel Gonzalez Nothnagel (dgonzalez)

Fix proposed to branch: master
Review: https://review.openstack.org/281968

Changed in kolla:
status: New → In Progress

As it turns out the linux-image package isn't the only problem with the ubuntu box provisioning.
After the provisioning has finished, the kolla-build command is not available on the VM, because the ubuntu-bootstrap.sh script does not install kolla.
I am currently working on a fix for the bootstrap script.

Fix proposed to branch: master
Review: https://review.openstack.org/283068

Fix proposed to branch: master
Review: https://review.openstack.org/283069

Steven Dake (sdake) on 2016-02-22
Changed in kolla:
importance: Undecided → Low
milestone: none → mitaka-3

Reviewed: https://review.openstack.org/281968
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=e970d8b5bf2e774f8fd90278cebca032d93ceceb
Submitter: Jenkins
Branch: master

commit e970d8b5bf2e774f8fd90278cebca032d93ceceb
Author: Daniel Gonzalez <email address hidden>
Date: Thu Feb 18 18:11:08 2016 +0100

    Change ubuntu base_image for vagrant to wily64

    The ubuntu-bootstrap.sh script tries to install the packet
    linux-image-generic-ls-wily when the kernel version is older than 4.2.
    This fails when using the default base image ubuntu/vivid64. Therefore
    this patch updates the base_image to ubuntu/wily64.

    Change-Id: Ieaf2d35a9a4304de2d1d78d8245d115dcb32bb0e
    Partial-Bug: #1547114

Reviewed: https://review.openstack.org/283068
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=1665f5007d82fd458119e94b29ad7f2e58288895
Submitter: Jenkins
Branch: master

commit 1665f5007d82fd458119e94b29ad7f2e58288895
Author: Daniel Gonzalez <email address hidden>
Date: Fri Feb 19 22:15:56 2016 +0100

    Harmonise vagrant provider defaults

    Ensure that provider defaults of libvirt and virtualbox use the same
    paths and provisioning scripts.

    Change-Id: Ie968b118aa0540204751c348ef3408a6fe24d32a
    Partial-Bug: #1547114

Reviewed: https://review.openstack.org/283069
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=aaa38eaf5b9d36d59b4e6eb72fdd11764d19cee9
Submitter: Jenkins
Branch: master

commit aaa38eaf5b9d36d59b4e6eb72fdd11764d19cee9
Author: Daniel Gonzalez <email address hidden>
Date: Sat Feb 20 15:48:31 2016 +0100

    Fix vagrant bootstrapping for ubuntu

    The ubuntu-bootstrap.sh script used by vagrant to provision ubuntu
    boxes was lacking many of the features of centos-bootstrap.sh. For
    instance, ubuntu-bootstrap.sh did not install kolla, so the kolla-build
    executable was not available after initial provisioning.
    This patch adapts the bootstrap script to match the centos bootstrap
    script as closely as possible.

    Change-Id: I6cdacb993a9b6856912ea7cfb73a28f3867f472a
    Closes-Bug: #1547114

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

Other bug subscribers