Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Luigi Addon upgrade fails while upgrading cluster from 1.21 to 1.22
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Luigi Addon upgrade fails while upgrading cluster from 1.21 to 1.22.
- While trying to disable-enable addon, it gets stuck in
Unstallingstate and laterUninstallErrorsstate:
Javascript
bash-5.1# kubectl get clusteraddons|grep -i luigi e295f866-0e71-4f15-90fd-ae2a81a7eb6d-luigi e295f866-0e71-4f15-90fd-ae2a81a7eb6d luigi Uninstalling 2022-08-31T13:38:34Z- Checking the pf9-addon-operator logs show:
Javascript
{"level":"error","msg":"could not retrieve existing (rbac.authorization.k8s.io/v1beta1, Kind=ClusterRole) /luigi-metrics-reader: no matches for kind \"ClusterRole\" in version \"rbac.authorization.k8s.io/v1beta1\"Error deleting unstructured object","time":"2022-11-19T20:23:57Z"}{"level":"error","msg":"Failed to delete yaml file: could not retrieve existing (rbac.authorization.k8s.io/v1beta1, Kind=ClusterRole) /luigi-metrics-reader: no matches for kind \"ClusterRole\" in version \"rbac.authorization.k8s.io/v1beta1\"","time":"2022-11-19T20:23:57Z"}{"level":"error","msg":"Error installing addon: could not retrieve existing (rbac.authorization.k8s.io/v1beta1, Kind=ClusterRole) /luigi-metrics-reader: no matches for kind \"ClusterRole\" in version \"rbac.authorization.k8s.io/v1beta1\"","time":"2022-11-19T20:23:57Z"}{"level":"error","msg":"\u003cnil\u003eunable to process addon","time":"2022-11-19T20:23:57Z"}{"level":"info","msg":"Updated addon: e295f866-0e71-4f15-90fd-ae2a81a7eb6d-luigi","time":"2022-11-19T20:23:57Z"}Environment
- Platform9 Managed Kubernetes v5.6.3
Cause
- Luigi addon fails to get updated during cluster upgrade.
- CRD API version v1beta1 does not work with kubernetes version 1.22.
Resolution
- Change the Luigi version from 0.3.0 to 0.4.0 from sunpike clusteraddons.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message