Filter by Space Name Should Accomodate Name Rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Joseph Phillips | ||
2.7 |
Fix Released
|
Critical
|
Joseph Phillips |
Bug Description
It appears that recent networking changes have broken space name rules.
Scenario from:
https:/
2019-12-13 21:50:05 DEBUG juju.network network.go:517 addresses after filtering: [local-
2019-12-13 21:50:05 DEBUG juju.state spacesdiscovery
2019-12-13 21:50:05 DEBUG juju.state spacesdiscovery
2019-12-13 21:50:05 DEBUG juju.state spacesdiscovery
2019-12-13 21:50:05 DEBUG juju.state open.go:180 closed state without error
ERROR space with name “UF” not found
2019-12-13 21:50:05 DEBUG cmd supercommand.go:519 error stack:
/workspace/
We massage discovered spaces to comply with space name rules in the `names` package, which means converting them to lower case, however there are places where we compare names coming directly from the provider without making this conversion, as demonstrated in the filtering error above.
We need to ensure consistent handling of names, including for user-defined names in AWS and others.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.8-beta1 |
Changed in juju: | |
assignee: | nobody → Joseph Phillips (manadart) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Patch for fixing the upgrade step.