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
cephadm: preserve cephadm user during RPM upgrade #46272
Conversation
The cephadm postun macro in the rpm spec file doesn't test for upgrade, and removes the cephadm user. The patch changes the macro to only remove the cephadm user on uninstall. Fixes: https://tracker.ceph.com/issues/55664 Signed-off-by: Scott Shambarger <devel@shambarger.net>
|
Build succeeded. Also, from test run with build (since there were other PRs added in build): 1 failure in new staggered upgrade test, caused by staggered upgrade PR in this run. Unrelated to changes in this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
|
@sshambar hey Scott, shall we backport this change to LTS branches like pacific and quincy? if yes, could you please update https://tracker.ceph.com/issues/55664 's "Backport" field accordingly? |
I think backporting would be useful as it will ease any upgrades between releases... however, my account on the tracker doesn't give me access to the "update" link so I'm unable to modify the backport field. |
|
@sshambar I updated the tracker appropriately. I'm not sure if the master -> main branch stuff has been sorted yet but once I know we're good to merge things this seems like it's good to go and we can do the backports. |
|
jenkins test api |
The cephadm postun macro in the rpm spec file doesn't test for upgrade,
and removes the cephadm user. The patch changes the macro to only remove
the cephadm user on uninstall.
Fixes: https://tracker.ceph.com/issues/55664
Signed-off-by: Scott Shambarger devel@shambarger.net
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows