Juju uses http to contact uec-images.ubuntu.com
Bug #965507 reported by
Clint Byrum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Clint Byrum | ||
juju (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
The AMI to use for spawning machines is determined by querying
uec-images.
to cause the 'bootstrap' to spawn their compromised AMI instead of the
official Ubuntu AMI's. Also the URL has been chagned from 'uec-images'
to 'cloud-images' upstream, as the UEC product is now just 'Ubuntu Cloud'.
Related branches
lp://qastaging/~clint-fewbar/pyjuju/fix-cloud-images-url
- Juju Engineering: Pending requested
-
Diff: 23 lines (+2/-2)2 files modifiedjuju/providers/ec2/tests/test_utils.py (+1/-1)
juju/providers/ec2/utils.py (+1/-1)
Changed in juju: | |
assignee: | nobody → Clint Byrum (clint-fewbar) |
milestone: | none → honolulu |
status: | New → In Progress |
security vulnerability: | no → yes |
Changed in juju (Ubuntu): | |
status: | New → Triaged |
Changed in juju: | |
importance: | Undecided → High |
Changed in juju (Ubuntu): | |
importance: | Undecided → High |
Changed in juju: | |
milestone: | honolulu → florence |
Changed in juju: | |
status: | In Progress → Fix Released |
Changed in juju (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04 |
status: | Triaged → Fix Committed |
To post a comment you must log in.
So, changing to an https url only solves the problem halfway. It turns out twisted's web client does not verify certs. That is also a problem for the backend charm store (https:/ /store. juju.ubuntu. com). I am expanding this bug then, to include that url as well and clarifying the title to represent the true nature of the problem.
txaws includes twisted code to verify the certs on Ubuntu systems, so I will add that. This may mean that the client breaks on other systems such as OS X since OS X will not have its CA certificates in /etc/ssl.