maas-test fails if saucy image is not perfectly up to date
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-test |
Fix Committed
|
High
|
Raphaël Badin |
Bug Description
maas-test fails if the saucy image cannot install language packs, and that happened to me today because for some reason the package files were out of date. The following line fixed the problem:
# Install the English language pack first. If this is not done
# before postgres is installed, on some systems it won't be able to
# set up its main cluster.
# TODO: Is there no better way to ensure this, e.g. through a
# dependency?
+ self.kvm_
self.
I suspect the fix can be made more robust, with a useful logged error message if the update fails, but this was sufficient to get me past this particular hurdle on the day :)
Related branches
- Julian Edwards (community): Approve
-
Diff: 99 lines (+30/-24)2 files modifiedmaastest/kvmfixture.py (+13/-8)
maastest/tests/test_kvmfixture.py (+17/-16)
description: | updated |
Changed in maas-test: | |
importance: | Undecided → High |
assignee: | nobody → Raphaël Badin (rvb) |
status: | New → In Progress |
Changed in maas-test: | |
status: | In Progress → Fix Committed |