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: scaleobject ready condition 'False/Unknow' to 'True' requeue #3097

Merged
merged 6 commits into from
Jun 7, 2022
Merged

fix: scaleobject ready condition 'False/Unknow' to 'True' requeue #3097

merged 6 commits into from
Jun 7, 2022

Conversation

champly
Copy link
Contributor

@champly champly commented Jun 1, 2022

Signed-off-by: champly champly@outlook.com

Provide a description of what has been changed

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Tests have been added
  • Changelog has been updated and is aligned with our changelog requirements

Fixes #3096

Relates to #

Signed-off-by: champly <champly@outlook.com>
@champly champly requested a review from a team as a code owner June 1, 2022 03:34
Signed-off-by: champly <champly@outlook.com>
@tomkerkhove tomkerkhove changed the title fix scaleobject ready condition 'True'->'False/Unknow' requeue fix: scaleobject ready condition 'True'->'False/Unknow' requeue Jun 1, 2022
@champly champly changed the title fix: scaleobject ready condition 'True'->'False/Unknow' requeue fix: scaleobject ready condition 'False/Unknow' to 'True' requeue Jun 1, 2022
@zroubalik
Copy link
Member

zroubalik commented Jun 2, 2022

/run-e2e
Update: You can check the progres here

Copy link
Member

@tomkerkhove tomkerkhove left a comment

Choose a reason for hiding this comment

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

Can you update the changelog please?

Signed-off-by: champly <champly@outlook.com>
@champly
Copy link
Contributor Author

champly commented Jun 2, 2022

Can you update the changelog please?

ok, already added, PTAL.

@champly champly requested a review from tomkerkhove June 2, 2022 12:48
Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@zroubalik
Copy link
Member

Thanks for the contribution!

@zroubalik
Copy link
Member

zroubalik commented Jun 6, 2022

/run-e2e
Update: You can check the progres here

@zroubalik
Copy link
Member

@champly do you think you can write some test for this scenario?

Signed-off-by: champly <champly@outlook.com>
@champly
Copy link
Contributor Author

champly commented Jun 7, 2022

@champly do you think you can write some test for this scenario?

ut have been added, and an external_mock service is hacked to simulate external service exceptions. PTAL

Signed-off-by: champly <champly@outlook.com>
@champly champly requested a review from zroubalik June 7, 2022 08:12
Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

Looking good, nice!

The only thing, why the changed perms on the Azure scaler files?

Signed-off-by: champly <champly@outlook.com>
@champly
Copy link
Contributor Author

champly commented Jun 7, 2022

Oh, it should be edited automatically by the editor, it has been revert.

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@zroubalik
Copy link
Member

zroubalik commented Jun 7, 2022

/run-e2e
Update: You can check the progres here

@zroubalik zroubalik merged commit e816248 into kedacore:main Jun 7, 2022
@champly champly deleted the fix-so-condition-requeue branch June 7, 2022 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ScaledObject ready condition changed will not fix HPA in some situation
3 participants