Comment 13 for bug 2032783

Revision history for this message
eblock@nde.ag (eblock) wrote :

If I run this command separately, I can create the controller and also bootstrap:

---snip---
ubuntu@sunbeam:~$ juju bootstrap sunbeam sunbeam-controller --config juju-http-proxy=http://IP:PORT --config snap-http-proxy=http://IP:PORT --config juju-https-proxy=http://IP:PORT --config snap-https-proxy=http://IP:PORT --config juju-no-proxy= ...

Creating Juju controller "sunbeam-controller" on sunbeam/default
Looking for packaged Juju agent version 3.4.2 for amd64
Located Juju agent version 3.4.2-ubuntu-amd64 at https://streams.canonical.com/juju/tools/agent/3.4.2/juju-3.4.2-linux-amd64.tgz
Installing Juju agent on bootstrap instance
Running machine configuration script...
Bootstrap agent now started
Contacting Juju controller at 172.17.2.48 to verify accessibility...

Bootstrap complete, controller "sunbeam-controller" is now available
Controller machines are in the "controller" model

Now you can run
        juju add-model <model-name>
to create a new model to deploy workloads

------

ubuntu@sunbeam:~$ sunbeam cluster bootstrap --accept-defaults
⠋ Deploying Sunbeam Machine ... terraform apply failed:

...
      + charm {
          + base = "ubuntu@22.04"
          + channel = "2023.2/stable"
          + name = "sunbeam-machine"
          + revision = (known after apply)
          + series = (known after apply)
        }
---snip---

I can see that terraform is aware of the proxy, but now this error shows up:

Unable to create application, got error: selecting releases: charm or bundle
not found for channel "2023.2/stable", base "amd64/ubuntu/22.04"
available releases are:
  channel "2023.2/candidate": available bases are: ubuntu@22.04
  channel "2023.2/beta": available bases are: ubuntu@22.04
  channel "2023.2/edge": available bases are: ubuntu@22.04
  channel "latest/edge": available bases are: ubuntu@22.04
  channel "2024.1/edge": available bases are: ubuntu@22.04

Is 2023.2/stable hard-coded somewhere? As mentioned in a previous comment, I used --channel=2023.2/edge when installing the openstack snap.