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

Modernize Upgrade Plan #56

Merged
merged 2 commits into from
Jan 24, 2020
Merged

Modernize Upgrade Plan #56

merged 2 commits into from
Jan 24, 2020

Conversation

reidmv
Copy link
Contributor

@reidmv reidmv commented Jan 24, 2020

This PR makes the upgrade plan work at a base level with the current version of peadm.

This commit ensures the upgrade plan is functional for the peadm module
over ssh. The upgrade plan has not been well supported in the past.
This commit is a first step and its objective is only base
functionality. Additional features such as input validation and
orchestrator transport support will need to be added iteratively.

As an improvement over the alpha version of this plan, upgrade the
PostgreSQL nodes *first*, so that upgrade of the master/replica can
proceed without error in the event a major PostgreSQL version is
released.

Upgrade plan is also annotated with stage separators to make it easier
to follow what is going on.
Many of the tasks/plans shipped in PE are brittle and make assumptions
about environment variables. By enforcing PATH (and HOME, and USER) in
agent_upgrade.sh we hopefully insulate ourselves from the worst of it.
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.

1 participant