Error deploying multus charm on k8s 1.22

Bug #1957032 reported by Hemanth Nakkina
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Multus Charm
Fix Released
High
Hemanth Nakkina

Bug Description

Not able to deploy multus cni against charmed k8s 1.22

$ juju status
Model Controller Cloud/Region Version SLA Timestamp
my-k8s-model1 hemanth-n my-k8s-cloud1/default 2.9.16 unsupported 10:04:24Z

App Version Status Scale Charm Store Channel Rev OS Address Message
multus res:multus-image@5d44a83 error 1 multus charmstore stable 18 kubernetes creating or updating custom resource definitions: ensuring custom resource definition "network-attachment-definitions.k8s.cni.cncf.io" with version "v1beta1": the server could not find the requested resource

Unit Workload Agent Address Ports Message
multus/0* waiting idle waiting for container

CRD NetworkAttachmentDefinition template seems not in sync with schema of CRD apiextensions.k8s.io/v1
https://github.com/charmed-kubernetes/charm-multus/blob/master/src/charm.py#L150-L184

Should follow this
https://kubernetes.io/docs/reference/using-api/deprecation-guide/#customresourcedefinition-v122

Tags: seg
Revision history for this message
Hemanth Nakkina (hemanth-n) wrote :
Changed in charm-multus:
assignee: nobody → Hemanth Nakkina (hemanth-n)
tags: added: review-needed
tags: added: seg
George Kraft (cynerva)
Changed in charm-multus:
importance: Undecided → High
status: New → In Progress
George Kraft (cynerva)
Changed in charm-multus:
status: In Progress → Fix Committed
milestone: none → 1.23+ck1
tags: added: backport-needed
removed: review-needed
Revision history for this message
Hemanth Nakkina (hemanth-n) wrote (last edit ):

Hi George Kraft,

I am confused to which branch the fix need to be backported.

There are couple of tags like 1.22+ck1 and ck-1.22-814.
Could you please let me know, thanks

Revision history for this message
George Kraft (cynerva) wrote :

Howdy. Backporting is usually something our team takes care of as part of the release process, so we're not expecting any action from you here. That said, if you want to be involved in the process then we would accept a PR.

The branch that we backport to and build from is the "stable" branch here:

https://github.com/charmed-kubernetes/charm-multus/tree/stable

Changed in charm-multus:
milestone: 1.23+ck1 → 1.24
tags: removed: backport-needed
Changed in charm-multus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.