Skip to content

chore: declare 26.04 support#104

Open
wallyworld wants to merge 2 commits intojuju:3.6from
wallyworld:racoon-support
Open

chore: declare 26.04 support#104
wallyworld wants to merge 2 commits intojuju:3.6from
wallyworld:racoon-support

Conversation

@wallyworld
Copy link
Member

@wallyworld wallyworld commented Mar 1, 2026

Add 26.04 support in charmcraft.yaml

Includes adding the model config for agent-stream=proposed on k8s for the pre-merge smoke tests because we are installing juju from the candidate channel, and if we do that and there is a candidate release there, we need to ensure k8s is able to get the candidate oci image as well.

We also need to use charmcraft 4.1 from edge to get the 26.04 support. This can be changed when charmcraft 4.1 is fully released.

juju bootstrap lxd --config image-stream=daily --bootstrap-base ubuntu@26.04 --controller-charm-channel=latest/edge/racoon-support-dde783b2b3b3148f835d6c4afa1ba26f756b2a65 --force

Model       Controller           Cloud/Region         Version  Timestamp
controller  localhost-localhost  localhost/localhost  3.6.14   10:19:14+10:00

App         Version  Status  Scale  Charm            Channel                                                              Rev  Exposed  Message
controller           active      1  juju-controller  latest/edge/racoon-support-dde783b2b3b3148f835d6c4afa1ba26f756b2a65  183  yes      

Unit           Workload  Agent  Machine  Public address  Ports      Message
controller/0*  active    idle   0        10.68.47.74     17022/tcp  

Machine  State    Address      Inst id        Base          AZ          Message
0        started  10.68.47.74  juju-38d4e0-0  ubuntu@26.04  wallyworld  Running
juju bootstrap microk8s --config agent-stream=proposed --controller-charm-channel=latest/edge/racoon-support-dde783b2b3b3148f835d6c4afa1ba26f756b2a65
Creating Juju controller "microk8s-localhost" on microk8s/localhost
Bootstrap to Kubernetes cluster identified as microk8s/localhost
Creating k8s resources for controller "controller-microk8s-localhost"
Starting controller pod
Bootstrap agent now started
Contacting Juju controller at 10.152.183.121 to verify accessibility...

Bootstrap complete, controller "microk8s-localhost" is now available in namespace "controller-microk8s-localhost"

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

Model       Controller          Cloud/Region        Version  SLA          Timestamp
controller  microk8s-localhost  microk8s/localhost  3.6.15   unsupported  11:13:44+10:00

App         Version  Status  Scale  Charm            Channel                                                              Rev  Address  Exposed  Message
controller           active      1  juju-controller  latest/edge/racoon-support-dde783b2b3b3148f835d6c4afa1ba26f756b2a65  182           yes      

Unit           Workload  Agent  Address     Ports      Message
controller/0*  active    idle   10.1.78.89  37017/TCP  

Needs chaermcraft 4.x to work with 26.04.
@wallyworld wallyworld force-pushed the racoon-support branch 2 times, most recently from 737f1f6 to 442c3c5 Compare March 2, 2026 01:42
@wallyworld wallyworld requested a review from manadart March 2, 2026 02:41
@wallyworld wallyworld changed the title chore: declare 26.04 support in charmcraft chore: declare 26.04 support Mar 2, 2026
jujubot added a commit to juju/juju that referenced this pull request Mar 5, 2026
#21875

It was reported that juju didn't work with a 26.04 snapshot release.
It now works so there would have been upstream fixes.

This PR adds support for 26.04 so that workloads / controller can be deployed without needing to use force.

Also needs a controller charm update juju/juju-controller#104

## QA steps

```
juju bootstrap lxd test --config image-stream=daily --bootstrap-base ubuntu@26.04 --controller-charm-channel=latest/edge/racoon-support-dde783b2b3b3148f835d6c4afa1ba26f756b2a65
```

Edit the ubuntu charm to add 26.04 support
```
- architectures:
 - amd64
 channel: '26.04'
 name: ubuntu
```
`juju deploy /path/to/ubuntu/charm --base ubuntu@26.04`

Default is still noble

`juju deploy /path/to/ubuntu/charm u2`


## Documentation changes

We'll mention what 26.04 is now supported, but the default remains as 24.04.

## Links

**Issue:** Fixes #21647.

**Jira card:** [JUJU-9098](https://warthogs.atlassian.net/browse/JUJU-9098)


[JUJU-9098]: https://warthogs.atlassian.net/browse/JUJU-9098?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant