Can't build a raring VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn | ||
Precise |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Won't Fix
|
High
|
Unassigned | ||
Raring |
Won't Fix
|
High
|
Unassigned |
Bug Description
=======
SRU Justification:
1. Impact: cannot build vms for raring
2. Development fix: add raring and saucy as valid suites
3. Stable fix: same as development fix
4. test case:
sudo vm-builder kvm ubuntu --suite raring
5. regression potential: this only introduces new classes to support the new suites, so should not regress any of the previously supported suites.
=======
If you try and build a raring vm on raring, it fails. Should be an easy fix, but is pretty important.
root@main:~# ubuntu-vm-builder kvm raring
2013-04-29 00:42:38,745 INFO : Calling hook: preflight_check
2013-04-29 00:42:38,745 INFO : Cleaning up
2013-04-29 00:42:38,745 ERROR : Invalid suite: "raring". Valid suites are: dapper gutsy hardy intrepid jaunty karmic lucid maverick natty oneiric precise quantal
Traceback (most recent call last):
File "/usr/bin/
uvb.main()
File "/usr/lib/
distro.
File "/usr/lib/
self.
File "/usr/lib/
call_
File "/usr/lib/
getattr(
File "/usr/lib/
raise VMBuilderUserEr
VMBuilder.
Changed in vm-builder (Ubuntu): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
importance: | Undecided → High |
status: | New → In Progress |
description: | updated |
Changed in vm-builder (Ubuntu Precise): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in vm-builder (Ubuntu Raring): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in vm-builder (Ubuntu Quantal): | |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: verification-done-precise |
Changed in vm-builder (Ubuntu Raring): | |
status: | Fix Committed → Won't Fix |
Copied /usr/share/ pyshared/ VMBuilder/ plugins/ ubuntu/ quantal. py to /usr/share/ pyshared/ VMBuilder/ plugins/ ubuntu/ raring. py
Then replaced quantal with raring inside raring.py
After that I linked /usr/share/ pyshared/ VMBuilder/ plugins/ ubuntu/ raring. py to /usr/lib/ python2. 7/dist- packages/ VMBuilder/ plugins/ ubuntu/ raring. py
That seamed to work, but I encounter Bug #1037607. I added --addpkg linux-image-generic to my command line, and the machine build and ran fine.