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

ENT-10647: Added better handling of postgresql server state during hub package install (3.21) #1298

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

craigcomstock
Copy link
Contributor

The pg_ctl stop/start commands don't ensure that the server state is as reqeusted
at the moment that the command returns. Added up to 5 seconds of wait time to
ensure the state is as we want.

Also added some tails of expected logs when failures occur. Either /var/log/postgresql.log
or the specific pg_upgrade logs which may be created and mentioned in the output of that command
failing.

Ticket: ENT-10647
Changelog: title
(cherry picked from commit a7e6fa7)

…nstall

The pg_ctl stop/start commands don't ensure that the server state is as reqeusted
at the moment that the command returns. Added up to 5 seconds of wait time to
ensure the state is as we want.

Also added some tails of expected logs when failures occur. Either /var/log/postgresql.log
or the specific pg_upgrade logs which may be created and mentioned in the output of that command
failing.

Ticket: ENT-10647
Changelog: title
(cherry picked from commit a7e6fa7)
@craigcomstock
Copy link
Contributor Author

@cf-bottom jenkins

@cf-bottom
Copy link

@craigcomstock
Copy link
Contributor Author

sequential tests failures are known issue with restorecon in package install, related to postgres files: https://northerntech.atlassian.net/browse/ENT-10429

@craigcomstock craigcomstock merged commit c960bbc into 3.21.x Sep 27, 2023
3 of 4 checks passed
@craigcomstock craigcomstock deleted the ENT-10647/3.21 branch September 27, 2023 18:32
@craigcomstock craigcomstock changed the title ENT-16047: Added better handling of postgresql server state during hub package install (3.21) ENT-10647: Added better handling of postgresql server state during hub package install (3.21) Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants