juju does not consider whether it has permission to an availability zone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Ian Booth | ||
1.20 |
Fix Released
|
High
|
Ian Booth |
Bug Description
I've split our Bootstack cloud into two aggregates such that we can have different cpu_allocation_
- One aggregate named 'development' that's using the default 'nova' AZ. Everyone has access to this.
- The other using an AZ and aggregate named 'production'. This is locked down to specific tenants using filter_tenant_id.
Juju sees that there are two AZs and, once the bootstrap is up on 'development', tries to deploy all services to 'production' despite not having access to it. This fails:
| fault | {u'message': u'No valid host was found. ', u'code': 500, u'created': u'2014-
Weirdly it seems intent on using the production AZ. Even if I pre-populate the environment using `juju add-machine zone=nova --constraints=
tags: | added: ubuntu-engineering |
Changed in juju-core: | |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: add-machine |
tags: | added: cts |
Changed in juju-core: | |
milestone: | none → 1.21-alpha2 |
Changed in juju-core: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
I've just confirmed this bug does not occur on juju 1.18.4. The deployment sticks to the nova AZ.