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

fix: When Degraded state, canary-service doesn't have any endpoints #2536

Conversation

idurgakalyan
Copy link

@idurgakalyan idurgakalyan commented Jan 24, 2023

When Degraded state, canary-service doesn't have any endpoints resulting in traefik unable to route requests in failed state.

Signed-off-by: Kalyan Inampudi [email protected]

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional with a list of types and scopes found here, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I've signed my commits with DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.
  • My organization is added to USERS.md.

…ing in traefik unable to route requests.

Signed-off-by: Kalyan Inampudi <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 24, 2023

Go Published Test Results

1 834 tests   1 834 ✔️  2m 30s ⏱️
   105 suites         0 💤
       1 files           0

Results for commit 6aebcf2.

♻️ This comment has been updated with latest results.

@codecov
Copy link

codecov bot commented Jan 24, 2023

Codecov Report

Base: 81.69% // Head: 81.64% // Decreases project coverage by -0.06% ⚠️

Coverage data is based on head (6aebcf2) compared to base (3c2cef9).
Patch coverage: 32.25% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2536      +/-   ##
==========================================
- Coverage   81.69%   81.64%   -0.06%     
==========================================
  Files         126      126              
  Lines       19136    19156      +20     
==========================================
+ Hits        15634    15639       +5     
- Misses       2709     2721      +12     
- Partials      793      796       +3     
Impacted Files Coverage Δ
rollout/canary.go 74.93% <25.00%> (-0.56%) ⬇️
metricproviders/prometheus/prometheus.go 89.43% <30.76%> (-7.00%) ⬇️
rollout/service.go 78.08% <35.71%> (-0.89%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 24, 2023

E2E Tests Published Test Results

    2 files      2 suites   1h 35m 39s ⏱️
  95 tests   90 ✔️ 3 💤 2
192 runs  184 ✔️ 6 💤 2

For more details on these failures, see this check.

Results for commit 6aebcf2.

♻️ This comment has been updated with latest results.

@zachaller
Copy link
Collaborator

I think this is also maybe related: #1838

Kalyan Inampudi and others added 3 commits January 24, 2023 14:57
…ing in traefik unable to route requests.

Signed-off-by: Kalyan Inampudi <[email protected]>
…ing in traefik unable to route requests.

Signed-off-by: Kalyan Inampudi <[email protected]>
@idurgakalyan idurgakalyan marked this pull request as draft January 25, 2023 17:54
Signed-off-by: Kalyan Inampudi <[email protected]>
@sonarcloud
Copy link

sonarcloud bot commented Jan 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
5.0% 5.0% Duplication

@idurgakalyan idurgakalyan marked this pull request as ready for review January 25, 2023 20:36
@idurgakalyan
Copy link
Author

@zachaller Are you able to review?

@idurgakalyan
Copy link
Author

E2E tests failed due to empty value mismatch, Is there anything else that needs to be done?

@zachaller
Copy link
Collaborator

Yea I am just trying to decide which place is more appropriate to make this change I think this would also work #2540 it would still need a test case for it but yea. Would you mind letting me know if it also solves your issue?

@idurgakalyan
Copy link
Author

@zachaller Yes, this would work.

@idurgakalyan
Copy link
Author

I can close this PR once #2540 is merged.

@@ -41,3 +41,4 @@ Organizations below are **officially** using Argo Rollouts. Please send a PR wit
1. [Ubie](https://ubie.life/)
1. [VISITS Technologies](https://visits.world/en)
1. [Yotpo](https://www.yotpo.com/)
1. [Nike](https://nike.com)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you might want to propose this in a separate PR.

@zachaller
Copy link
Collaborator

closed by: #2540

@zachaller zachaller closed this Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants