Juju 4.0 doesn't deploy the controller charm on microk8s
Bug #2040947 reported by
Jordan Barrett
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Committed
|
High
|
Thomas Miller |
Bug Description
If you bootstrap a controller with Juju 4.0 on microk8s, the controller model is empty:
-------
$ juju bootstrap microk8s c
$ juju switch controller
$ juju status
Model Controller Cloud/Region Version SLA Timestamp
Model "admin/controller" is empty.
controller c microk8s/localhost 4.0-beta1 unsupported 04:50:20Z
+ juju status --format json
-------
It should have the juju-controller charm deployed on bootstrap.
See https:/
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Joseph Phillips (manadart) |
milestone: | none → 4.0-beta2 |
Changed in juju: | |
assignee: | Joseph Phillips (manadart) → Thomas Miller (tlmiller) |
To post a comment you must log in.
ERROR cannot deploy controller application: cannot add controller application: cannot add application "controller": finding controller namespace with non legacy labels: Get "https:/ /127.0. 0.1:16443/ api/v1/ namespaces? labelSelector= model.juju. is%2Fname% 3Dcontroller": dial tcp 127.0.0.1:16443: connect: connection refused /127.0. 0.1:16443/ api/v1/ namespaces? labelSelector= model.juju. is%2Fname% 3Dcontroller": dial tcp 127.0.0.1:16443: connect: connection refused com/juju/ juju/caas/ kubernetes/ provider. findControllerN amespace: 195: finding controller namespace with non legacy labels com/juju/ juju/state/ stateenvirons. (*environStateP olicy). ConstraintsVali dator:119: com/juju/ juju/state. (*State) .processCommonM odelApplication Args:1469: com/juju/ juju/state. (*State) .processCAASMod elApplicationAr gs:1581: com/juju/ juju/state. (*State) .AddApplication :1272: com/juju/ juju/state. (*State) .AddApplication :1272: cannot add application "controller" com/juju/ juju/cmd/ jujud/agent. addControllerAp plication: 363: com/juju/ juju/cmd/ jujud/agent. (*BootstrapComm and).deployCont rollerCharm: 115: cannot add controller application com/juju/ juju/cmd/ jujud/agent. (*BootstrapComm and).Run: 447: cannot deploy controller application
2023-10-26 03:57:09 DEBUG cmd supercommand.go:528 error stack:
Get "https:/
github.
github.
github.
github.
github.
github.
github.
github.
github.