Support deploying a bundle if the environment is bootstrapped.
Bug #1247173 reported by
Jorge Castro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-quickstart |
Fix Released
|
High
|
Francesco Banconi |
Bug Description
I did a quickstart and it fired up the bootstrap and ec2. Since I hadn't read the documentation yet (heh) I figured I would deploy a bundle after the face:
jorge@jilldacty
juju quickstart v0.2.0
bootstrapping the amazon environment (type: ec2)
juju-quickstart: error: ERROR environment is already bootstrapped
It'd be nice if quickstart was smart enough to just continue where it left off and deploy the bundle.
Related branches
lp:~frankban/juju-quickstart/idempotent-feature
- Juju GUI Hackers: Pending requested
-
Diff: 1203 lines (+639/-182)10 files modifiedquickstart/__init__.py (+1/-1)
quickstart/app.py (+110/-32)
quickstart/juju.py (+28/-23)
quickstart/manage.py (+15/-6)
quickstart/tests/helpers.py (+30/-0)
quickstart/tests/test_app.py (+234/-62)
quickstart/tests/test_juju.py (+119/-55)
quickstart/tests/test_manage.py (+4/-3)
quickstart/tests/test_utils.py (+73/-0)
quickstart/utils.py (+25/-0)
lp:~frankban/juju-quickstart/charm-url-warning
- Juju GUI Hackers: Pending requested
-
Diff: 899 lines (+636/-39)10 files modifiedquickstart/__init__.py (+1/-1)
quickstart/app.py (+2/-6)
quickstart/charms.py (+118/-0)
quickstart/manage.py (+40/-2)
quickstart/settings.py (+10/-1)
quickstart/tests/test_app.py (+129/-25)
quickstart/tests/test_charms.py (+205/-0)
quickstart/tests/test_manage.py (+74/-1)
quickstart/tests/test_utils.py (+31/-1)
quickstart/utils.py (+26/-2)
Changed in juju-quickstart: | |
status: | Triaged → In Progress |
assignee: | nobody → Francesco Banconi (frankban) |
Changed in juju-quickstart: | |
status: | In Progress → Fix Committed |
Changed in juju-quickstart: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
More generally the plugin must be idempotent:
- do not set up an environment file if already done;
- do not bootstrap an environment if already bootstrapped;
- do not deploy the GUI if already there.