Azure provider attempts to deploy with unsupported "D1" RoleSize
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Go Windows Azure Client Library |
Fix Committed
|
Critical
|
Andrew Wilkins | |||
juju-core | ||||||
1.21 |
Fix Released
|
Critical
|
Andrew Wilkins |
Bug Description
As of revision a1b54741, juju attempts to use the D1 RoleSize, which is not supported:
2014-12-02 11:37:29 ERROR juju.cmd supercommand.go:323 failed to bootstrap environment: cannot start bootstrap instance: POST request failed: BadRequest - Value 'D1' specified for parameter 'RoleSize' is invalid. Allowed values are 'ExtraSmall,
Juju 1.20.10 does not error this way, therefore this is a regression.
Deploy with a1b54741:
http://
Deploy with 1.20.1:
http://
Changed in juju-core: | |
status: | Triaged → In Progress |
assignee: | nobody → Dimiter Naydenov (dimitern) |
milestone: | none → 1.21 |
no longer affects: | juju-core |
Changed in gwacl: | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → Andrew Wilkins (axwalk) |
The correct fix seems to be renaming "D*" role sizes in gwacl to "Standard_D*", updating pricing/disk sizes/etc. attributes of all D* role sizes (if needed; while at it), and finally updating dependencies.tsv in juju-core to use the updated gwacl.
I started working on the fix described above, but it's getting late and I wasted 2h trying to setup an azure account so I can test the fix. If the fix can't wait until tomorrow, I'm sure Andrew Wilkins can take it over easily. If it's not that urgent I'll propose a fix tomorrow.
Because the fix is in gwacl itself, we can backport it to 1.21/1.20 if needed (to take advantage of the new D* instance types).