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

Don't queue ntp reload on newly created zones #12974

Merged
merged 1 commit into from
Dec 5, 2016

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Dec 3, 2016

When you create a new zone, no reason to ask all active servers to reload their ntp settings.

you see, when creating a zone, the old settings were blank, so it always thinks the settings have changed.

@Fryguy / @carbonin not sure if you feel safer always kicking it off.
In test, these queries get called for every zone created (which is a bunch)
In production, probably not so many.

(but this PR is because it was causing problems for me in tests)

The record has not changed, so no need to lookup active miq servers
Copy link
Member

@carbonin carbonin left a comment

Choose a reason for hiding this comment

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

This looks good to me.

I'm not sure why we would ever need to refresh the ntp settings for a new zone. Especially when a new zone would never have any servers in it.

@Fryguy
Copy link
Member

Fryguy commented Dec 5, 2016

LGTM

@Fryguy Fryguy merged commit c7b5649 into ManageIQ:master Dec 5, 2016
@Fryguy Fryguy added this to the Sprint 50 Ending Dec 5, 2016 milestone Dec 5, 2016
@Fryguy Fryguy assigned Fryguy and unassigned carbonin Dec 5, 2016
@kbrock kbrock deleted the zone_ntp_reload branch December 5, 2016 15:19
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.

3 participants