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 XL failures in finalize step of peadm::convert #315

Merged

Conversation

Sharpie
Copy link
Member

@Sharpie Sharpie commented Jan 25, 2023

Prior to this commit, the finalize step of peadm::convert would fail when operating on PE XL installations as the Primary Database and Replica Database nodes do not run the pe-puppetdb or pe-puppetserver services:

  The command failed with exit code 5
  STDERR:
    Failed to restart pe-puppetserver.service: Unit not found.
    Failed to restart pe-puppetdb.service: Unit not found.

This commit updates the convert plan to exclude the database nodes from that service restart.

Prior to this commit, the finalize step of `peadm::convert` would
fail when operating on PE XL installations as the Primary Database
and Replica Database nodes do not run the pe-puppetdb or pe-puppetserver
services:

```
  The command failed with exit code 5
  STDERR:
    Failed to restart pe-puppetserver.service: Unit not found.
    Failed to restart pe-puppetdb.service: Unit not found.
```

This commit updates the convert plan to exclude the database
nodes from that service restart.
@Sharpie Sharpie requested a review from a team as a code owner January 25, 2023 20:30
Copy link
Contributor

@davidsandilands davidsandilands left a comment

Choose a reason for hiding this comment

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

LGTM

@davidsandilands davidsandilands merged commit bfbeed4 into puppetlabs:main Jan 26, 2023
@Sharpie Sharpie deleted the fix-errors-in-convert-finalize branch January 26, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants