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

microsoft.operationalinsights/workspaces wrong API version #1443

Closed
wants to merge 2 commits into from
Closed

microsoft.operationalinsights/workspaces wrong API version #1443

wants to merge 2 commits into from

Conversation

Makdaam
Copy link
Contributor

@Makdaam Makdaam commented Apr 15, 2021

Which issue this PR addresses:

Fixes #1313

What this PR does / why we need it:

In List Azure Resources geneva action if the customer has an microsoft.operationalinsights/workspaces resource in the cluster RG then the geneva action fails with an error saying the API version is wrong for this resource.

By setting the API version to a static value we fix the issue with this resource. Finding a version dynamically for unknown resource types is the next step.

Test plan for issue:

I'll create a dev cluster with the problematic resource inside the rg and try the list azure resources geneva action endpoint.

Is there any documentation that needs to be updated for this PR?

no

@Makdaam Makdaam marked this pull request as draft April 15, 2021 09:56
@Makdaam
Copy link
Contributor Author

Makdaam commented Apr 15, 2021

PR also includes "make vendor; make generate"

@github-actions
Copy link

Please rebase pull request.

@github-actions github-actions bot added the needs-rebase branch needs a rebase label Apr 23, 2021
@mjudeikis
Copy link
Contributor

@Makdaam can you please check if #1510 gonna solve this? (Sorry, took way too long to check this PR)

@mjudeikis
Copy link
Contributor

@Makdaam do we still need this after 4.7? is so lets fix this and merge

@mjudeikis mjudeikis removed the request for review from jim-minter July 13, 2021 08:21
@Makdaam
Copy link
Contributor Author

Makdaam commented Aug 30, 2021

Closing. Stale there were sdk/api version related fixes in the mean time.

@Makdaam Makdaam closed this Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If a customer has a VM snapshot our "List Azure resources" request will fail.
3 participants