apt-get upgrade misconfigured and does not run
Bug #1040743 reported by
Martin Packman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Martin Packman |
Bug Description
The following cloud config options are supplied by juju when setting up a machine:
apt-update: true
apt-upgrade: true
Unfortunately cloud-init ignores these completely, as they are misspellings of 'apt_update' and 'apt_upgrade'. In practice, the update is run anyway as juju supplies the 'packages' key which requires it, but upgrade is never run.
Either the erroneous keys should be removed, or corrected so that the intended commands are run on machine startup. The go port of juju does use the correct spellings.
Related branches
lp:~gz/pyjuju/apt_upgrade_1040743
- Kapil Thangavelu (community): Approve
- Clint Byrum (community): Approve
-
Diff: 209 lines (+32/-32)16 files modifiedjuju/providers/common/tests/data/cloud_init_bootstrap (+2/-2)
juju/providers/common/tests/data/cloud_init_bootstrap_zookeepers (+2/-2)
juju/providers/common/tests/data/cloud_init_branch (+2/-2)
juju/providers/common/tests/data/cloud_init_branch_trunk (+2/-2)
juju/providers/common/tests/data/cloud_init_distro (+2/-2)
juju/providers/common/tests/data/cloud_init_normal (+2/-2)
juju/providers/common/tests/data/cloud_init_ppa (+2/-2)
juju/providers/common/tests/data/cloud_init_proposed (+2/-2)
juju/providers/common/tests/test_utils.py (+2/-2)
juju/providers/common/utils.py (+2/-2)
juju/providers/ec2/tests/data/bootstrap_cloud_init (+2/-2)
juju/providers/ec2/tests/data/launch_cloud_init (+2/-2)
juju/providers/ec2/tests/data/launch_cloud_init_branch (+2/-2)
juju/providers/ec2/tests/data/launch_cloud_init_ppa (+2/-2)
juju/providers/orchestra/tests/data/bootstrap_user_data (+2/-2)
juju/providers/orchestra/tests/data/launch_user_data (+2/-2)
Changed in juju: | |
status: | New → In Progress |
importance: | Undecided → High |
milestone: | none → honolulu |
Changed in juju: | |
assignee: | nobody → Martin Packman (gz) |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.