juju bootstrap fails if kvm-ok not in path

Bug #1342747 reported by Adam Stokes
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Katherine Cox-Buday
1.20
Fix Released
High
Katherine Cox-Buday

Bug Description

We've run into an issue where if the users PATH does not include /usr/sbin then kvm-ok will fail during a juju bootstrap attempting to use container type KVM. This causes the entire bootstrap process to stop and leave users with an uninitialized juju environment.

Most default Ubuntu installs contain /usr/sbin in /etc/environment but some cases like this one where this may be from a cloud provider using a stripped down version of Ubuntu as part of their builds will cause juju bootstrap to fail.

tags: added: cloud-installer
Curtis Hovey (sinzui)
tags: added: kvm
Changed in juju-core:
milestone: none → 1.21-alpha1
importance: Undecided → High
status: New → Triaged
Changed in juju-core:
assignee: nobody → Katherine Cox-Buday (cox-katherine-e)
Changed in juju-core:
status: Triaged → In Progress
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → 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.