apache / apache/cloudstack-kubernetes-provider

cloud-controller-manager failed init with CCM image 1.2.0

Open
#94 2 comments 0 reactions 1 assignee Claimed by @vishesh92 View on GitHub
Dominant language
Go
Stars
52
Forks
34
Avg merge
1d 4h
Merged PRs (30d)
1

Description

### 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

1.
2.
3.
...

### What to do about it?

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.