Skip to content

cloud-controller-manager failed init with CCM image 1.2.0 #94

@lijinlongpq

Description

@lijinlongpq

problem

Our CloudStack version is 4.22.0.
I have been using CKS v1.32.5 which downloaded from https://download.cloudstack.org/.
Now I created my own CKS iso v1.34.3 using create-kubernetes-binaries-iso.sh. But the cloud-controller-manager is not working. I got this error from the pod logs: Cloud provider could not be initialized: could not init cloud provider "external-cloudstack": CloudStack API error 432 (CSExceptionErrorCode: 9999): The API [listManagementServersMetrics] does not exist or is not available for the account for user id [a3651df9-777d-4eae-92aa-2be4bd6af941].
After some basic checking, I found the CCM image version used in v1.32.5 is 1.1.0 and 1.2.0 used in the newer CKS.
I suspect the CCM image 1.2.0 is causing the CCM failed initialize issue. My account is just a normal user account. I think my account not allowed to call the API listManagementServersMetrics.

versions

The versions of ACS, hypervisors, storage, network etc..

The steps to reproduce the bug

...

What to do about it?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions