juju deploy fails with remote error tls: handshake failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi All,
I am not sure if this is an issue or something wrong on my end.
I am following instructions in given link to deploy kubeflow in a new ubuntu 20.04 vm instance
Juju controller installation was successful and when I try to deploy kubeflow charm as shown below it just throws TLS handshake failure error
$ juju controllers
Use --refresh option with this command to see the latest information.
Controller Model User Access Cloud/Region Models Nodes HA Version
microk8s-localhost* kubeflow admin superuser microk8s/localhost 2 - - 2.9.42
$ juju deploy kubeflow --trust --channel=
ERROR resolving with preferred channel: Post "https:/
$ juju deploy kubeflow
ERROR resolving with preferred channel: Post "https:/
$ juju version
2.9.42-ubuntu-amd64
$ juju deploy kubeflow --trust --channel=
20:24:25 INFO juju.cmd supercommand.go:56 running juju [2.9.42 7b871e782195bda
20:24:25 DEBUG juju.cmd supercommand.go:57 args: []string{
20:24:25 DEBUG juju.jujuclient proxy.go:65 unmarshalled proxy config for "kubernetes-
20:24:25 INFO juju.juju api.go:86 connecting to API addresses: [10.152.
20:24:25 DEBUG juju.api apiclient.go:625 starting proxier for connection
20:24:25 DEBUG juju.api apiclient.go:629 tunnel proxy in use at localhost on port 43975
20:24:25 DEBUG juju.api apiclient.go:1152 successfully dialed "wss://
20:24:25 INFO juju.api apiclient.go:1054 cannot resolve "localhost": lookup localhost: operation was canceled
20:24:25 INFO juju.api apiclient.go:687 connection established to "wss://
20:24:25 DEBUG juju.jujuclient proxy.go:65 unmarshalled proxy config for "kubernetes-
20:24:25 INFO juju.juju api.go:86 connecting to API addresses: [10.152.
20:24:25 DEBUG juju.api apiclient.go:625 starting proxier for connection
20:24:25 DEBUG juju.api apiclient.go:629 tunnel proxy in use at localhost on port 38075
20:24:25 DEBUG juju.api apiclient.go:1152 successfully dialed "wss://
20:24:25 INFO juju.api apiclient.go:1054 cannot resolve "localhost": lookup localhost: operation was canceled
20:24:25 INFO juju.api apiclient.go:687 connection established to "wss://
20:24:25 DEBUG juju.cmd.
20:24:25 DEBUG juju.cmd.
20:24:26 DEBUG juju.api monitor.go:35 RPC connection died
20:24:26 DEBUG juju.api monitor.go:35 RPC connection died
ERROR resolving with preferred channel: Post "https:/
20:24:26 DEBUG cmd supercommand.go:537 error stack:
resolving with preferred channel: Post "https:/
github.
github.
github.
github.
github.
mm411:~$ juju deploy minio --channel ckf-1.7/stable --show-log --logging- config= '<root> =TRACE' c9c90f8a8f01723 cc3e08ab92 gc go1.18.10] "/snap/ juju/22345/ bin/juju" , "deploy", "minio", "--channel", "ckf-1.7/stable", "--show-log", "--logging- config= <root>= TRACE"} port-forward" 183.70: 17070] localhost: 38553/api" 127.0.0.1:38553 localhost: 38553/api" localhost: 38553/api" id":1," type":" Admin", "version" :3,"request" :"Login" ,"params" :{"auth- tag":"user- admin", "credentials" :"57dffeb21b6b2 7d532a2ec6876ed 8e0c"," nonce": "","macaroons" :null," bakery- version" :3,"cli- args":" /snap/juju/ 22345/bin/ juju deploy minio --channel ckf-1.7/stable --show-log --logging- config= \u003croot\ u003e=TRACE" ,"user- data":" ","client- version" :"2.9.42" }} id":1," response" :{"servers" :[[{"value" :"10.152. 183.70" ,"type" :"ipv4" ,"scope" :"local- cloud", "port": 17070}] ],"controller- tag":"controlle r-521d948c- 0683-449c- 8e13-62d700a331 7a","user- info":{ "display- name":" ","identity" :"user- admin", "controller- access" :"superuser" ,"model- access" :""},"facades" :[{"name" :"AllModelWatch er","versions" :[2,3,4] },{"name" :"ApplicationOf fers"," versions" :[1,2,3, 4]},{"name" :"Bundle" ,"versions" :[1,2,3, 4,5,6]} ,{"name" :"Cloud" ,"versions" :[1,2,3, 4,5,6,7] },{"name" :"Controller" ,"versions" :[3,4,5, 6,7,8,9, 10,11]} ,{"name" :"CrossControll er","versions" :[1]},{ "name": "HighAvailabili ty","versions" :[2]},{ "name": "MigrationTarge t","versions" :[1]},{ "name": "ModelConfig" ,"versions" :[1,2,3] },{"name" :"ModelManager" ,"versions" :[2,3,4, 5,6,7,8, 9]},{"name" :"ModelSummaryW atcher" ,"versions" :[1]},{ "name": "ModelUpgrader" ,"versions" :[1]},{ "name": "NotifyWatcher" ,"versions" :[1]},{ "name": "Pinger" ,"versions" :[1]},{ "name": "UserManager" ,"versions" :[1,2,3] }],"server- version" :"2.9.42" }} id":2," type":" Controller" ,"version" :11,"request" :"ControllerCon fig","params" :{}} id":2," response" :{"config" :{"agent- logfile- max-backups" :2,"agent- logfile- max-size" :"100M" ,"api-port" :17070, "api-port- open-delay" :"2s"," audit-log- capture- args":false, "audit- log-exclude- methods" :["ReadOnlyMeth ods"]," audit-log- max-backups" :10,"audit- log-max- size":" 300M"," auditing- enabled" :true," batch-raft- fsm":false, "ca-cert" :"...
06:38:10 INFO juju.cmd supercommand.go:56 running juju [2.9.42 7b871e782195bda
06:38:10 DEBUG juju.cmd supercommand.go:57 args: []string{
06:38:10 DEBUG juju.jujuclient proxy.go:65 unmarshalled proxy config for "kubernetes-
06:38:10 INFO juju.juju api.go:86 connecting to API addresses: [10.152.
06:38:10 DEBUG juju.api apiclient.go:625 starting proxier for connection
06:38:10 DEBUG juju.api apiclient.go:629 tunnel proxy in use at localhost on port 38553
06:38:10 TRACE juju.api certpool.go:48 cert dir "/etc/juju/certs.d" does not exist
06:38:10 TRACE juju.api apiclient.go:1149 dialing: "wss://
06:38:10 DEBUG juju.api apiclient.go:1152 successfully dialed "wss://
06:38:10 INFO juju.api apiclient.go:1054 cannot resolve "localhost": lookup localhost: operation was canceled
06:38:10 INFO juju.api apiclient.go:687 connection established to "wss://
06:38:10 TRACE juju.rpc.jsoncodec codec.go:227 -> {"request-
06:38:10 TRACE juju.rpc.jsoncodec codec.go:121 <- {"request-
06:38:10 TRACE juju.rpc.jsoncodec codec.go:227 -> {"request-
06:38:10 TRACE juju.rpc.jsoncodec codec.go:121 <- {"request-