Juju uses hard-coded regions

Bug #1319474 reported by Ben Howard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Medium
Andrew Wilkins

Bug Description

Juju currently uses hard-code "ec2.<region>.amazonaws.com" which does not work with the new China region. Since Simple Stream provides end-points, Juju should use that instead.

Tags: ec2-provider
affects: juju → juju-core
Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
tags: added: ec2-provider
Revision history for this message
Andrew Wilkins (axwalk) wrote :

Simple streams describes the region to EC2 endpoint mapping, but not S3 or any others. Ian has suggested that some cloud-metadata simple streams is being developed, so we will use that when it is ready. In the mean time, we'll add another hard-coded region in goamz.

Changed in juju-core:
assignee: nobody → Andrew Wilkins (axwalk)
status: Triaged → In Progress
Revision history for this message
Andrew Wilkins (axwalk) wrote :

Also, the endpoint in simplestreams appears to be wrong. It says amazonaws-cn.com.cn, it should be amazonaws.com.cn.

Ian Booth (wallyworld)
Changed in juju-core:
milestone: none → 1.21-alpha1
Revision history for this message
Andrew Wilkins (axwalk) wrote :
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

ideally the user can provide these... else its still hard coded. ie. where is govcloud? what if i use eucalyptus or some other aws compatible cloud.

Revision history for this message
Andrew Wilkins (axwalk) wrote :

@hazmat Indeed. When the simplestreams data is available, we'll use it. Govcloud is in cloud-images simplestreams already, so that'll be taken care of. We currently allow users to provider their own image and tools simplestreams data, so we could do the same thing for cloud metadata.

Changed in juju-core:
milestone: 1.21-alpha1 → next-stable
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: next-stable → 1.21-alpha1
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.