juju upgrade-juju --debug connects 3 times

Bug #1654946 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
Triaged
High
Unassigned

Bug Description

Something isn't sharing our API connection:
10:57:05 INFO juju.cmd supercommand.go:63 running juju [2.1-rc1 gc go1.7.3]
10:57:05 DEBUG juju.cmd supercommand.go:64 args: []string{"juju", "upgrade-juju", "--build-agent", "--debug"}
10:57:05 INFO juju.juju api.go:72 connecting to API addresses: [172.16.101.137:17070 10.100.0.2:17070 10.150.0.2:17070 172.16.102.127:17070]
10:57:05 INFO juju.api apiclient.go:590 dialing "wss://172.16.101.137:17070/model/8199f9bc-71c5-4354-86fa-89a7f60e6f38/api"
10:57:05 INFO juju.api apiclient.go:590 dialing "wss://10.100.0.2:17070/model/8199f9bc-71c5-4354-86fa-89a7f60e6f38/api"
10:57:05 INFO juju.api apiclient.go:590 dialing "wss://10.150.0.2:17070/model/8199f9bc-71c5-4354-86fa-89a7f60e6f38/api"
10:57:05 INFO juju.api apiclient.go:590 dialing "wss://172.16.102.127:17070/model/8199f9bc-71c5-4354-86fa-89a7f60e6f38/api"
10:57:06 INFO juju.api apiclient.go:521 connection established to "wss://172.16.101.137:17070/model/8199f9bc-71c5-4354-86fa-89a7f60e6f38/api"
10:57:06 DEBUG juju.juju api.go:263 API hostnames unchanged - not resolving
10:57:06 INFO juju.juju api.go:72 connecting to API addresses: [172.16.101.137:17070 10.100.0.2:17070 10.150.0.2:17070 172.16.102.127:17070]
10:57:06 INFO juju.api apiclient.go:590 dialing "wss://172.16.101.137:17070/model/8199f9bc-71c5-4354-86fa-89a7f60e6f38/api"
10:57:06 INFO juju.api apiclient.go:590 dialing "wss://10.100.0.2:17070/model/8199f9bc-71c5-4354-86fa-89a7f60e6f38/api"
10:57:06 INFO juju.api apiclient.go:590 dialing "wss://10.150.0.2:17070/model/8199f9bc-71c5-4354-86fa-89a7f60e6f38/api"
10:57:06 INFO juju.api apiclient.go:590 dialing "wss://172.16.102.127:17070/model/8199f9bc-71c5-4354-86fa-89a7f60e6f38/api"
10:57:07 INFO juju.api apiclient.go:521 connection established to "wss://172.16.101.137:17070/model/8199f9bc-71c5-4354-86fa-89a7f60e6f38/api"
10:57:07 DEBUG juju.juju api.go:263 API hostnames unchanged - not resolving
10:57:07 INFO juju.juju api.go:72 connecting to API addresses: [172.16.101.137:17070 10.100.0.2:17070 10.150.0.2:17070 172.16.102.127:17070]
10:57:07 INFO juju.api apiclient.go:590 dialing "wss://172.16.101.137:17070/api"
10:57:07 INFO juju.api apiclient.go:590 dialing "wss://10.100.0.2:17070/api"
10:57:07 INFO juju.api apiclient.go:590 dialing "wss://10.150.0.2:17070/api"
10:57:07 INFO juju.api apiclient.go:590 dialing "wss://172.16.102.127:17070/api"
10:57:08 INFO juju.api apiclient.go:521 connection established to "wss://172.16.101.137:17070/api"
10:57:08 DEBUG juju.juju api.go:263 API hostnames unchanged - not resolving
10:57:08 DEBUG juju.cmd.juju.commands upgradejuju.go:426 searching for tools with major: 2

Tags: api reviewed
Revision history for this message
Heather Lanigan (hmlanigan) wrote :

with juju 2.8.13, it's up to 4 times:

 juju upgrade-controller --build-agent --debug
21:54:05 INFO juju.cmd supercommand.go:54 running juju [2.8.14 0 0445a6e0b3b64d8b1931b2a27dcc1d17e6c03ce6 gc go1.16.10]
21:54:05 DEBUG juju.cmd supercommand.go:55 args: []string{"juju", "upgrade-controller", "--build-agent", "--debug"}
21:54:05 INFO juju.juju api.go:67 connecting to API addresses: [10.74.147.40:17070]
21:54:05 DEBUG juju.api apiclient.go:1116 successfully dialed "wss://10.74.147.40:17070/api"
21:54:05 INFO juju.api apiclient.go:648 connection established to "wss://10.74.147.40:17070/api"
21:54:05 INFO juju.juju api.go:67 connecting to API addresses: [10.74.147.40:17070]
21:54:05 DEBUG juju.api apiclient.go:1116 successfully dialed "wss://10.74.147.40:17070/model/022b0f37-28e8-46d9-8133-0e514c7d9fd8/api"
21:54:05 INFO juju.api apiclient.go:648 connection established to "wss://10.74.147.40:17070/model/022b0f37-28e8-46d9-8133-0e514c7d9fd8/api"
21:54:05 INFO juju.juju api.go:67 connecting to API addresses: [10.74.147.40:17070]
21:54:05 DEBUG juju.api apiclient.go:1116 successfully dialed "wss://10.74.147.40:17070/model/022b0f37-28e8-46d9-8133-0e514c7d9fd8/api"
21:54:05 INFO juju.api apiclient.go:648 connection established to "wss://10.74.147.40:17070/model/022b0f37-28e8-46d9-8133-0e514c7d9fd8/api"
21:54:05 INFO juju.juju api.go:67 connecting to API addresses: [10.74.147.40:17070]
21:54:05 DEBUG juju.api apiclient.go:1116 successfully dialed "wss://10.74.147.40:17070/api"
21:54:05 INFO juju.api apiclient.go:648 connection established to "wss://10.74.147.40:17070/api"
21:54:05 DEBUG juju.cmd.juju.commands upgrademodel.go:790 searching for "" agent binaries with major: 2
21:54:08 DEBUG juju.environs.sync sync.go:311 Making agent binary tarball
21:54:08 INFO juju.environs.tools build.go:292 Building agent binary to upload (2.8.14)
21:54:08 INFO juju.environs.tools build.go:242 building jujud

tags: added: reviewed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers