Repository navigation
Osd 10155 - #238
Osd 10155#238
Conversation
|
Skipping CI for Draft Pull Request. |
|
I see this is in draft. Is this ready for review? |
|
/test all |
|
Codecov Report
@@ Coverage Diff @@
## master #238 +/- ##
==========================================
- Coverage 43.31% 42.04% -1.28%
==========================================
Files 31 31
Lines 2514 2495 -19
==========================================
- Hits 1089 1049 -40
- Misses 1349 1373 +24
+ Partials 76 73 -3
|
|
@ritmun: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
| // ensure forwarding rule exists in GCP for service | ||
| fr, err := findGCPForwardingRuleForExtIP(c, rhapiLbIP) | ||
| if err != nil || fr == nil { | ||
| _, err := c.findGCPForwardingRuleForExtIP(rhapiLbIP) |
There was a problem hiding this comment.
The nil case still needs to be handled since nil is returned in line 218
There was a problem hiding this comment.
This commit seems outdated. In the main PR diff nil check should be there.
| // 1. Create Service | ||
| // 2. Add DNS CNAME from rh-api to the ELB created by AWS provider | ||
| // 3. Add Forwarding rule in GCP for the lb service | ||
| // 3. Ready for work (Ready) |
There was a problem hiding this comment.
| // 3. Ready for work (Ready) | |
| // 4. Ready for work (Ready) |
|
|
||
| // To recover from this case we will need to delete the lb service. | ||
| // It will be recreated at the next reconcile. | ||
| reqLogger.Info(fmt.Sprintf("Forwarding rule was deleted on cloud provider, deleting service %s/service/%s to force recreation", found.GetNamespace(), found.GetName())) |
There was a problem hiding this comment.
This error only affects GCP, so I think its safe to say GCP rather than cloud proivder
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fahlmant, ritmun The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
CIO can detect missing rh-api LB in GCP and recreate it.
To test, create a GCP CCS cluster and follow this SOP: https://docs.google.com/document/d/1QsZrxifiLwzbi_rC1Lz1Av9HcgXAzwXnvoAJtoPTEZo/edit
[I'll squash commits when review updates are done.]