[SRU] maas-import-pxe-files fails in an LXC container because grub-common isn't installed

Bug #1328231 reported by Jason Hobbs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas (Ubuntu)
Fix Released
Medium
Greg Lutostanski
Trusty
Fix Released
Medium
Greg Lutostanski
Utopic
Fix Released
Medium
Greg Lutostanski

Bug Description

This is with 1.5.2 from trusty-proposed.

When running maas 1.5.2 from trusty-proposed in an LXC container, maas-import-pxe-files fails:

http://paste.ubuntu.com/7619545/

The failure is in attempting to run 'grub-mkimage', which isn't installed in the container.

[Impact]
 * Cannot import pxe files without having grub-common installed, problem for lxc's where it is not default installed

[Testcase]
* Setup an lxc with permissions specified @ http://askubuntu.com/questions/376345/allow-loop-mounting-files-inside-lxc-containers;
sudo apt-get install maas; sudo maas-import-pxe-files
  - Expect failure without fix
  - Expect completion with fix

[Regression Potential[
* Minimal, extra package available on all required architectures.

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → Critical
no longer affects: maas (Ubuntu)
Changed in maas:
status: Triaged → Fix Committed
description: updated
summary: - maas-import-pxe-files fails in an LXC container because grub-common
- isn't installed
+ [SRU] maas-import-pxe-files fails in an LXC container because grub-
+ common isn't installed
Revision history for this message
Stéphane Graber (stgraber) wrote : Please test proposed package

Hello Jason, or anyone else affected,

Accepted maas into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/maas/1.5.2+bzr2282-0ubuntu0.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in maas (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed
Scott Moser (smoser)
Changed in maas (Ubuntu Utopic):
status: New → Confirmed
Changed in maas (Ubuntu Trusty):
importance: Undecided → Medium
Changed in maas (Ubuntu Utopic):
importance: Undecided → Medium
Changed in maas (Ubuntu Trusty):
assignee: nobody → Greg Lutostanski (lutostag)
Changed in maas (Ubuntu Utopic):
assignee: nobody → Greg Lutostanski (lutostag)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package maas - 1.5.2+bzr2282-0ubuntu2

---------------
maas (1.5.2+bzr2282-0ubuntu2) utopic; urgency=medium

  * debian/control:
   - Add missing dependency in maas-cluster-controller for grub-common
     (LP: #1328231)
   - Move dependency from maas-cluster-controller to maas-provisioningserver for
     python-seamicroclient (LP: #1332532)
 -- Greg Lutostanski <email address hidden> Fri, 20 Jun 2014 10:01:31 -0500

Changed in maas (Ubuntu Utopic):
status: Confirmed → Fix Released
Revision history for this message
Julian Edwards (julian-edwards) wrote :

Removing the maas tasks as there's no actual fix in maas needed.

no longer affects: maas/1.5
no longer affects: maas
Revision history for this message
Greg Lutostanski (lutostag) wrote :

Verified fix by running command in container, given noted testcase above; passed.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package maas - 1.5.2+bzr2282-0ubuntu0.2

---------------
maas (1.5.2+bzr2282-0ubuntu0.2) trusty-proposed; urgency=medium

  * debian/control:
   - Add missing dependency in maas-cluster-controller for grub-common
     (LP: #1328231)
   - Move dependency from maas-cluster-controller to maas-provisioningserver
     for python-seamicroclient (LP: #1332532)

maas (1.5.2+bzr2282-0ubuntu0.1) trusty-proposed; urgency=medium

  * New upstream release:
    - Remove workaround for fixed Django bug 1311433 (LP: #1311433)
    - Ensure that validation errors are returned when adding a node over
      the API and its cluster controller is not contactable. (LP: #1305061)
    - Hardware enablement support for PowerKVM (LP: #1325038)
    - Shorten the time taken for a cluster to initially connect to the region
      via RPC to around 2 seconds (LP: #1317682)
    - Faster DHCP leases parser (LP: #1305102)
    - Documentation fixed explaining how to enable an ephemeral backdoor
      (LP: #1321696)
    - Use probe-and-enlist-hardware to enlist all virtual machine inside
      a libvirt machine, allow password qemu+ssh connections.
      (LP: #1315155, LP: #1315157)
    - Rename ppc64el boot loader to PowerKVM (LP: #1315154)
    - Fix NodeForm's is_valid() method so that it uses Django's way of setting
      errors on forms instead of putting text in self.errors['architecture']
      (LP: #1301465)
    - Change BootMethods to return their own IReader per-request, update method
      names to reflect new usage. (LP: #1315154)
    - Return early and stop the DHCP server when the list of managed interfaces
      of the nodegroup is empty. (LP: #1324944)
    - Fix invalid attribute references in the VirshSSH class. Added more test
      for the VirshSSH class. (LP: #1324966)
  * debian/control:
    - Add missing dependency in maas-cluster-controller for python-pexpect
      (LP: #1322151)
 -- Greg Lutostanski <email address hidden> Fri, 20 Jun 2014 10:10:47 -0500

Changed in maas (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Stéphane Graber (stgraber) wrote : Update Released

The verification of the Stable Release Update for maas has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.