Merge lp:~jtv/maas-test/no-import-ephemerals into lp:maas-test
Status: | Merged |
---|---|
Approved by: | Jeroen T. Vermeulen |
Approved revision: | 142 |
Merged at revision: | 142 |
Proposed branch: | lp:~jtv/maas-test/no-import-ephemerals |
Merge into: | lp:maas-test |
Diff against target: |
84 lines (+5/-41) 2 files modified
maastest/maasfixture.py (+5/-27) maastest/tests/test_maasfixture.py (+0/-14) |
To merge this branch: | bzr merge lp:~jtv/maas-test/no-import-ephemerals |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Approve | ||
Review via email: mp+213958@code.launchpad.net |
Commit message
Don't run the old maas-import-
Description of the change
This should fix current breakage, where the attempt to run the ephemerals import script fails. But an important part is still missing, for which I'd like to file a separate bug: now, it will download the default images (precise/trusty i386/amd64) instead of the specified architecture and series. We still need to write a bootresources.yaml.
It would be possible to leave the old environment variables in, to get at least a semblance of the old architecture/
Jeroen
> if you want to run maas-test against pre-Trusty versions of MAAS, use a pre-Trusty version of maas-test.
I'm not sure we want to impose that on a user. How about checking for the presence of /etc/maas/ bootresources. yaml and do the import the old way if it's not there still?