-
Notifications
You must be signed in to change notification settings - Fork 431
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
async publicips #1716
Comments
I'm assuming no one's working on this, and also assuming that #1721 work is mostly over with maybe some discussion and final touches pending I'll try to give this one a shot! /assign |
Question: For getting tags of Public IP to check if Public IP is managed or not over here cluster-api-provider-azure/azure/services/publicips/publicips.go Lines 141 to 150 in e532729
Can we replace the GET Public IP API call with GET Tags At Scope API call with Public IP as scope? I think that would make the GET API call more light weight. What do you think @CecileRobertMichon ? |
Regarding cluster-api-provider-azure/azure/services/publicips/publicips.go Lines 127 to 131 in e532729
As |
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
@karuppiah7890 I don't think the API docs are accurate (or at least not descriptive enough), a delete can definitely return a resource not found 404 error. Here's an example:
|
+1 |
That example is for virtual networks though, and yeah in it's API also 404 is not mentioned. I also tried the two DELETE APIs - both public IPs and virtual networks and noticed that they give 204 when trying to delete a non existent resource in a existing resource group. They do give 404 when the resource group itself does not exist. I'm wondering how in the above example 404 came up - maybe it was because of non existent resource group? Could you verify? Also, I did take care of resource not found in the PR https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/1745/files#diff-fe943e74189aa531d871d7b774c371755043f5bd1b7e8ab14ad3d2b5fc023301R100-R103 similar to existing code, but yeah, seems like that can occur only when resource group itself is not found (probably deleted) which in turn means public IP is also not found / deleted |
Signed-off-by: Karuppiah Natarajan <[email protected]>
I tried to replace GET Public IP API call with GET Tags At Scope API call with Public IP as scope, but for that I had to get the tags client from the tags service cluster-api-provider-azure/azure/services/tags/client.go Lines 42 to 46 in e532729
which I exported to make it available in cluster-api-provider-azure/azure/services/tags/client.go Lines 35 to 38 in e532729
Any thoughts on this @CecileRobertMichon ? Also, who can I request to review #1745 ? |
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
Signed-off-by: Karuppiah Natarajan <[email protected]>
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen If someone decides to work on this one, please see #1745 for prior work |
@CecileRobertMichon: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-lifecycle rotten |
/assign Jont828 |
No description provided.
The text was updated successfully, but these errors were encountered: