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

purge: do not purge infra pkgs by default #260

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

asm0deuz
Copy link
Collaborator

@asm0deuz asm0deuz commented Nov 24, 2023

infra pkgs are mandatory on a ceph node but could be already present before installing Ceph.
At Ceph uninstallation, we will keep them installed

Fixes: #239

@asm0deuz
Copy link
Collaborator Author

jenkins test el8-functional

@guits
Copy link
Collaborator

guits commented Nov 24, 2023

I think rather than introducing some logic/complexity, another approach would be to split ceph_pkgs:

ceph_pkgs:
  - cephadm
  - ceph-common
infra_pkgs:
  - chrony
  - podman

after all, this could be valid for podman too 🤷‍♂️

@asm0deuz asm0deuz force-pushed the keep_chrony branch 3 times, most recently from 700028f to cc83617 Compare November 27, 2023 10:41
@asm0deuz asm0deuz changed the title Keep chrony installed when purging a cluster Keep infra packages installed when purging a cluster Nov 27, 2023
@asm0deuz asm0deuz force-pushed the keep_chrony branch 4 times, most recently from 93104a4 to 33b3946 Compare November 29, 2023 21:43
@asm0deuz asm0deuz changed the title Keep infra packages installed when purging a cluster purge: do not purge infra pkgs by default Nov 29, 2023
@asm0deuz asm0deuz force-pushed the keep_chrony branch 7 times, most recently from 447e741 to 59e3d27 Compare November 30, 2023 10:00
@asm0deuz asm0deuz requested a review from guits December 1, 2023 10:03
By default infra pkgs will remain installed after the cluster
purge as they might already be there at Ceph installation and could be
used by other processes on the nodes.

Fixes: ceph#239

Signed-off-by: Teoman ONAY <[email protected]>
@guits guits added backport-quincy backport quincy backport-reef backport reef labels Dec 4, 2023
@asm0deuz asm0deuz merged commit c9ba082 into ceph:devel Dec 4, 2023
9 checks passed
asm0deuz added a commit that referenced this pull request Dec 4, 2023
purge: do not purge infra pkgs by default (backport #260)
asm0deuz added a commit that referenced this pull request Dec 4, 2023
purge: do not purge infra pkgs by default (backport #260)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-quincy backport quincy backport-reef backport reef
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chrony issue deploying in a firewalled lab environment
2 participants