2024-07-16 20:42:50 |
Jeffrey Chang |
description |
SolQA deployed Charmed Kubernetes 1.30 and bootstrap a juju controller on top of it, with juju 3.4.3, latest 3.4/stable. And there's no other models on this controller.
with "juju --debug upgrade-controller" I got below error:
# juju --debug upgrade-controller -c foundations-kubernetes
20:30:08 INFO juju.cmd supercommand.go:56 running juju [3.4.4 5abe6dd51d9e7f8c997fb7bc0454454f430c48ea gc go1.20.14]
20:30:08 DEBUG juju.cmd supercommand.go:57 args: []string{"/snap/juju/27554/bin/juju", "--debug", "upgrade-controller", "-c", "foundations-kubernetes"}
20:30:08 INFO juju.juju api.go:86 connecting to API addresses: [10.152.183.180:17070]
20:30:08 INFO juju.kubernetes.klog klog.go:113 Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.%!(EXTRA []interface {}=[])
20:30:08 DEBUG juju.api apiclient.go:645 starting proxier for connection
20:30:08 DEBUG juju.api apiclient.go:649 tunnel proxy in use at localhost on port 42159
20:30:08 DEBUG juju.api apiclient.go:825 looked up localhost -> [127.0.0.1]
20:30:08 DEBUG juju.api apiclient.go:1172 successfully dialed "wss://localhost:42159/api"
20:30:08 INFO juju.api apiclient.go:707 connection established to "wss://localhost:42159/api"
20:30:08 INFO juju.juju api.go:86 connecting to API addresses: [10.152.183.180:17070]
20:30:08 DEBUG juju.api apiclient.go:645 starting proxier for connection
20:30:08 DEBUG juju.api apiclient.go:649 tunnel proxy in use at localhost on port 40341
20:30:08 DEBUG juju.api apiclient.go:1172 successfully dialed "wss://localhost:40341/api"
20:30:08 INFO juju.api apiclient.go:1074 cannot resolve "localhost": lookup localhost: operation was canceled
20:30:08 INFO juju.api apiclient.go:707 connection established to "wss://localhost:40341/api"
20:30:08 INFO juju.juju api.go:86 connecting to API addresses: [10.152.183.180:17070]
20:30:08 DEBUG juju.api apiclient.go:645 starting proxier for connection
20:30:08 DEBUG juju.api apiclient.go:649 tunnel proxy in use at localhost on port 36031
20:30:08 DEBUG juju.api apiclient.go:1172 successfully dialed "wss://localhost:36031/model/cff75055-3dad-4c7d-8762-8fcb83b0e766/api"
20:30:08 INFO juju.api apiclient.go:1074 cannot resolve "localhost": lookup localhost: operation was canceled
20:30:08 INFO juju.api apiclient.go:707 connection established to "wss://localhost:36031/model/cff75055-3dad-4c7d-8762-8fcb83b0e766/api"
20:30:10 DEBUG juju.api monitor.go:35 RPC connection died
20:30:10 DEBUG juju.api monitor.go:35 RPC connection died
20:30:10 DEBUG juju.api monitor.go:35 RPC connection died
20:30:10 DEBUG juju.cmd.juju.commands upgrademodel.go:356 upgradeModel failed cannot get architecture for jujud-operator:3.4.3: can not get manifests for jujud-operator:3.4.3: manifest response version "application/vnd.docker.distribution.manifest.list.v2+json" not supported (not supported)
ERROR cannot get architecture for jujud-operator:3.4.3: can not get manifests for jujud-operator:3.4.3: manifest response version "application/vnd.docker.distribution.manifest.list.v2+json" not supported (not supported)
20:30:10 INFO cmd supercommand.go:556 command finished
# juju show-controller foundations-kubernetes
foundations-kubernetes:
details:
controller-uuid: d2e94bdb-4eca-42f7-8852-73328b9fc1aa
api-endpoints: ['10.152.183.180:17070']
cloud: kubernetes_cloud
agent-version: 3.4.4
agent-git-commit: 5abe6dd51d9e7f8c997fb7bc0454454f430c48ea
controller-model-version: 3.4.4
mongo-version: 4.4.18
ca-fingerprint: 25:67:DD:2E:4F:B0:22:DC:BE:9A:13:A6:1B:20:6F:F2:AE:FB:49:F2:4C:4E:F4:38:1B:96:3C:42:2C:1F:80:5B
ca-cert: |
-----BEGIN CERTIFICATE-----
MIIEEzCCAnugAwIBAgIVAMA7LxsSBGxcEg6MOue9nUPGRPbMMA0GCSqGSIb3DQEB
CwUAMCExDTALBgNVBAoTBEp1anUxEDAOBgNVBAMTB2p1anUtY2EwHhcNMjQwNzE2
MTkxMzU0WhcNMzQwNzE2MTkxODU0WjAhMQ0wCwYDVQQKEwRKdWp1MRAwDgYDVQQD
EwdqdWp1LWNhMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKC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mPkj6MeIFn3AThmRp2HlOebBusl6DwCz9Nnzq6rgh74B/kI4C2Y
e5HDhcTJxarNKtSELPaBNIEv/YR9iTgrxf8HBHl4ayaXKODztE+m
-----END CERTIFICATE-----
models:
controller:
model-uuid: cff75055-3dad-4c7d-8762-8fcb83b0e766
unit-count: 1
current-model: admin/controller
account:
user: admin
access: superuser |
SolQA deployed Charmed Kubernetes 1.30 and bootstrap a juju controller on top of it, with juju 3.4.4, latest 3.4/stable. And there's no other models on this controller.
with "juju --debug upgrade-controller" I got below error:
# juju --debug upgrade-controller -c foundations-kubernetes
20:30:08 INFO juju.cmd supercommand.go:56 running juju [3.4.4 5abe6dd51d9e7f8c997fb7bc0454454f430c48ea gc go1.20.14]
20:30:08 DEBUG juju.cmd supercommand.go:57 args: []string{"/snap/juju/27554/bin/juju", "--debug", "upgrade-controller", "-c", "foundations-kubernetes"}
20:30:08 INFO juju.juju api.go:86 connecting to API addresses: [10.152.183.180:17070]
20:30:08 INFO juju.kubernetes.klog klog.go:113 Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.%!(EXTRA []interface {}=[])
20:30:08 DEBUG juju.api apiclient.go:645 starting proxier for connection
20:30:08 DEBUG juju.api apiclient.go:649 tunnel proxy in use at localhost on port 42159
20:30:08 DEBUG juju.api apiclient.go:825 looked up localhost -> [127.0.0.1]
20:30:08 DEBUG juju.api apiclient.go:1172 successfully dialed "wss://localhost:42159/api"
20:30:08 INFO juju.api apiclient.go:707 connection established to "wss://localhost:42159/api"
20:30:08 INFO juju.juju api.go:86 connecting to API addresses: [10.152.183.180:17070]
20:30:08 DEBUG juju.api apiclient.go:645 starting proxier for connection
20:30:08 DEBUG juju.api apiclient.go:649 tunnel proxy in use at localhost on port 40341
20:30:08 DEBUG juju.api apiclient.go:1172 successfully dialed "wss://localhost:40341/api"
20:30:08 INFO juju.api apiclient.go:1074 cannot resolve "localhost": lookup localhost: operation was canceled
20:30:08 INFO juju.api apiclient.go:707 connection established to "wss://localhost:40341/api"
20:30:08 INFO juju.juju api.go:86 connecting to API addresses: [10.152.183.180:17070]
20:30:08 DEBUG juju.api apiclient.go:645 starting proxier for connection
20:30:08 DEBUG juju.api apiclient.go:649 tunnel proxy in use at localhost on port 36031
20:30:08 DEBUG juju.api apiclient.go:1172 successfully dialed "wss://localhost:36031/model/cff75055-3dad-4c7d-8762-8fcb83b0e766/api"
20:30:08 INFO juju.api apiclient.go:1074 cannot resolve "localhost": lookup localhost: operation was canceled
20:30:08 INFO juju.api apiclient.go:707 connection established to "wss://localhost:36031/model/cff75055-3dad-4c7d-8762-8fcb83b0e766/api"
20:30:10 DEBUG juju.api monitor.go:35 RPC connection died
20:30:10 DEBUG juju.api monitor.go:35 RPC connection died
20:30:10 DEBUG juju.api monitor.go:35 RPC connection died
20:30:10 DEBUG juju.cmd.juju.commands upgrademodel.go:356 upgradeModel failed cannot get architecture for jujud-operator:3.4.3: can not get manifests for jujud-operator:3.4.3: manifest response version "application/vnd.docker.distribution.manifest.list.v2+json" not supported (not supported)
ERROR cannot get architecture for jujud-operator:3.4.3: can not get manifests for jujud-operator:3.4.3: manifest response version "application/vnd.docker.distribution.manifest.list.v2+json" not supported (not supported)
20:30:10 INFO cmd supercommand.go:556 command finished
# juju show-controller foundations-kubernetes
foundations-kubernetes:
details:
controller-uuid: d2e94bdb-4eca-42f7-8852-73328b9fc1aa
api-endpoints: ['10.152.183.180:17070']
cloud: kubernetes_cloud
agent-version: 3.4.4
agent-git-commit: 5abe6dd51d9e7f8c997fb7bc0454454f430c48ea
controller-model-version: 3.4.4
mongo-version: 4.4.18
ca-fingerprint: 25:67:DD:2E:4F:B0:22:DC:BE:9A:13:A6:1B:20:6F:F2:AE:FB:49:F2:4C:4E:F4:38:1B:96:3C:42:2C:1F:80:5B
ca-cert: |
-----BEGIN CERTIFICATE-----
MIIEEzCCAnugAwIBAgIVAMA7LxsSBGxcEg6MOue9nUPGRPbMMA0GCSqGSIb3DQEB
CwUAMCExDTALBgNVBAoT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4OfUXFfJPN995C0
I2oGEmiXz4PvLiYSwjc0DlVdgWAUf0cIoNsiRYbgEM+/iSm2o1gNGmOAmP3tsfRG
r4nAdfuWBzKM762dPYtJoh7d8/BU0zC9snxJ9xAShrlsBHhY3mj1Iiv7cZhJ5Mi1
1rfkwL5vg3BqQmPkj6MeIFn3AThmRp2HlOebBusl6DwCz9Nnzq6rgh74B/kI4C2Y
e5HDhcTJxarNKtSELPaBNIEv/YR9iTgrxf8HBHl4ayaXKODztE+m
-----END CERTIFICATE-----
models:
controller:
model-uuid: cff75055-3dad-4c7d-8762-8fcb83b0e766
unit-count: 1
current-model: admin/controller
account:
user: admin
access: superuser |
|