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

unattended-upgrades must be disabled for machines with collocated charms before upgrading #495

Open
samuelallan72 opened this issue Jul 16, 2024 · 0 comments

Comments

@samuelallan72
Copy link
Contributor

samuelallan72 commented Jul 16, 2024

According to https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/yoga/upgrade-openstack.html#disable-unattended-upgrades :

When performing a service upgrade on a cloud node that hosts multiple principal charms (e.g. nova-compute and ceph-osd), ensure that unattended-upgrades is disabled on the underlying machine for the duration of the upgrade process. This is to prevent the other services from being upgraded outside of Juju’s control. On a cloud node run:

sudo dpkg-reconfigure -plow unattended-upgrades

Then after all upgrades are complete: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/yoga/upgrade-openstack.html#re-enable-unattended-upgrades

In a previous step, unattended-upgrades were disabled on those cloud nodes that hosted multiple principal charms. Once such a node has had all of its services upgraded, unattended-upgrades should be re-enabled:

sudo dpkg-reconfigure -plow unattended-upgrades

charmed-openstack-upgrader currently does not do this procedure. We should add support for this, since it's a required step for upgrades.

@samuelallan72 samuelallan72 changed the title unattended-upgrades must be disabled for machines with colocated charms unattended-upgrades must be disabled for machines with colocated charms before upgrading Jul 16, 2024
@samuelallan72 samuelallan72 changed the title unattended-upgrades must be disabled for machines with colocated charms before upgrading unattended-upgrades must be disabled for machines with collocated charms before upgrading Jul 16, 2024
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

No branches or pull requests

1 participant