Improper address:port joining
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Cheryl Jennings | ||
1.25 |
Fix Released
|
High
|
Cheryl Jennings |
Bug Description
Similarly to bug 1478943, there's a number of place in Juju that incorrectly join addresses and ports. net.JoinHostAddr should be used instead a naive join using fmt.Sprintf. Not doing this correctly results in invalid address:port pairs when the address is IPv6.
Here are the problem areas:
provider/
provider/
provider/
state/address.go: newAddrs[i] = fmt.Sprintf(
state/backups/
state/backups/
state/backups/
utils/ssh/
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
tags: | added: 2.0-count |
1.25 PR: https:/ /github. com/juju/ juju/pull/ 3792