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

(PE-23563) Stop MCO and Puppet prior to MSI install #274

Merged
merged 3 commits into from
Feb 27, 2018

Conversation

glennsarti
Copy link
Contributor

Previously it was possible to get into a strange race condition where the MSI
was able to propertly stop the MCollective and Puppet service prior to upgrade. This
PR attempts to stop the mco and puppet services prior to the MSI being invoked, giving
the service more time to stop correctly.

This PR also adds some helpful information into the installation log for use during debugging failed installations.

Previously it was possible to get into a strange race condition where the MSI
was able to propertly stop the MCollective service prior to upgrade.  This
commit attempts to stop the mco service prior to the MSI being invoked, giving
the service more time to stop correctly.
Previously it was possible to get into a strange race condition where the MSI
was able to propertly stop the Puppet Agent service prior to upgrade.  This
commit attempts to stop the puppet service prior to the MSI being invoked,
giving the service more time to stop correctly.
Previously it was difficult to debug failed upgrades as it was not possible to
know what rights the installation user had at install time.  This commit logs
the current user's rights prior to the upgrade.
@glennsarti
Copy link
Contributor Author

@puppetcla
Copy link

CLA signed by all contributors.

@MikaelSmith
Copy link
Contributor

Is CI fixed with the other PR?

@MikaelSmith
Copy link
Contributor

This PR seems fine.

@glennsarti
Copy link
Contributor Author

Rerunning Travis CI...

@glennsarti
Copy link
Contributor Author

Travis is now green but Jenkins is Red due to some other issue.

@MikaelSmith MikaelSmith merged commit 4140ee9 into puppetlabs:master Feb 27, 2018
@Iristyle
Copy link
Contributor

I'm a bit surprised that we were able to merge a PR using a PE ticket number, since those tickets are private / not searchable.... we have taken lengths in other projects to making sure we use public tickets for public / open source projects like this module.

That said, I see some prior art in the PR merge history... but we should probably be a bit more careful about this in the future.

@glennsarti
Copy link
Contributor Author

@Iristyle Whoops true. I shall remember that for next time.

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.

4 participants