The auto-generated local env does not work in trusty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-quickstart |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Due to bug #1306537 quickstart hangs when trying to bootstrap the initial automatically generated local env, and, more in general, any local environment not specifying "precise" as default series.
While we wait for the bug above to be fixed and the change landed, we can update quickstart in trusty to be smarter, i.e.:
- switch to "trusty" defaults:
- the suggested default series when creating new environments is "precise" and should be changed to "trusty";
- we ported the GUI to trusty, so now the GUI can be deployed by default from the trusty charm.
- use the bootstrap node series to select which GUI charm to deploy:
- if the bootstrap node series is "precise", use the precise charm;
- otherwise default to trusty;
- only deploy to a new machine if the local provider is used or the bootstrap node series is not "precise" or "trusty".
- include the "trusty" default-series field in the initial auto-generated local env: this way the initial environment should work even before fixing core bug 1306537.
Related branches
- Juju GUI Hackers: Pending requested
-
Diff: 1390 lines (+604/-294)13 files modifiedquickstart/__init__.py (+1/-1)
quickstart/app.py (+76/-24)
quickstart/cli/views.py (+3/-2)
quickstart/manage.py (+12/-14)
quickstart/models/envs.py (+8/-2)
quickstart/settings.py (+18/-13)
quickstart/tests/cli/test_views.py (+1/-1)
quickstart/tests/helpers.py (+23/-10)
quickstart/tests/models/test_envs.py (+15/-4)
quickstart/tests/test_app.py (+324/-190)
quickstart/tests/test_manage.py (+77/-7)
quickstart/tests/test_utils.py (+23/-13)
quickstart/utils.py (+23/-13)
Changed in juju-quickstart: | |
status: | Triaged → In Progress |
Changed in juju-quickstart: | |
status: | In Progress → Fix Committed |
Changed in juju-quickstart: | |
status: | Fix Committed → Fix Released |