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

[HAMMER]Do not calculate backlog when subscription not active #19254

Conversation

yrudman
Copy link
Contributor

@yrudman yrudman commented Sep 4, 2019

Do not attempt to calculate backlog unless subscription status is "replicating"

It is hammer specific PR to backport #19234

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1749052

@miq-bot add-label bug, core

\cc @gtanzillo

@miq-bot miq-bot added the wip label Sep 4, 2019
@yrudman yrudman changed the title [WIP][HAMMER]Do not calculate backlog when subscription not active [HAMMER]Do not calculate backlog when subscription not active Sep 4, 2019
@miq-bot miq-bot added bug core and removed wip labels Sep 4, 2019
@yrudman
Copy link
Contributor Author

yrudman commented Sep 4, 2019

@miq-bot add-label changelog/yes

@yrudman yrudman force-pushed the do-not-calculate-backlog-when-subscription-not-active branch from 3cf0eda to 41119f5 Compare September 4, 2019 18:51
@yrudman yrudman force-pushed the do-not-calculate-backlog-when-subscription-not-active branch from 41119f5 to 5f023eb Compare September 4, 2019 18:52
@simaishi simaishi self-assigned this Sep 4, 2019
_log.error(e.message)
nil
if status != "replicating"
_log.error("Please check that database `#{dbname}` is running on host `#{host}` and accepting TCP/IP connections on port #{port}")
Copy link
Member

Choose a reason for hiding this comment

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

Curious why this log message is different from the one on the master PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no reason, I had 2 environment 5.10 and 5.11 and always was mistake what i am testing/looking at the log, I will change it to be the same ...

@miq-bot
Copy link
Member

miq-bot commented Sep 5, 2019

Checked commits yrudman/manageiq@f964e0b~...52b42a0 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🏆

@simaishi
Copy link
Contributor

simaishi commented Sep 5, 2019

The Travis error is unrelated (see: #19137 (comment)), so merging.

@simaishi simaishi merged commit 879889a into ManageIQ:hammer Sep 5, 2019
@simaishi simaishi added this to the Sprint 120 Ending Sep 16, 2019 milestone Sep 5, 2019
@yrudman yrudman deleted the do-not-calculate-backlog-when-subscription-not-active branch September 5, 2019 17:28
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.

4 participants