Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating cluster to modify cluster composition does not work #326

Closed
shivanga opened this issue Jun 20, 2020 · 2 comments
Closed

Updating cluster to modify cluster composition does not work #326

shivanga opened this issue Jun 20, 2020 · 2 comments
Assignees
Labels

Comments

@shivanga
Copy link

For pushing configs, I use class ClusterInfoV22 to modify cluster composition, to update the cluster when I am using the ClusterV2.update() , it uses api_version as v2 as in code below

class ClusterV2(Resource):
    rest_entity_path = "clusters"
    api_version = "v2"

which causes the pushing of composition to not work, as api v2.2 is required for it.

@chattarajoy
Copy link
Member

@akaranjkar-qu @harshshah87 can you please take a look? Or tag someone who can look into this?

@tarrygo
Copy link
Contributor

tarrygo commented Oct 1, 2020

@shivanga You can set api_version as
ClusterV2.api_version = "v2.2"
and then call
ClusterV2.update()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants