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

[Question] How to properly upgrade ceph/rbd packages? #215

Open
wwdillingham opened this issue Aug 28, 2020 · 3 comments
Open

[Question] How to properly upgrade ceph/rbd packages? #215

wwdillingham opened this issue Aug 28, 2020 · 3 comments

Comments

@wwdillingham
Copy link

I would like to upgrade my ceph-iscsi 3.4 environment's underlying ceph/rbd packages to use the latest nautilus release. Going from 14.2.6 to 14.2.11

If I recall correctly in testing I just bounced the tcmu-runner daemon and this would cause "ceph versions" to report the new versions for tcmu-runner. However, now that I have some production workload I wanted to verify this was the proper way to do things?

Googling around I found this: https://bugzilla.redhat.com/show_bug.cgi?id=1568581 which says "Normally, the user should not be starting/stopping tcmu-runner manually. Components like rtslib and rbd-target-gw/ceph-iscsi-config and systemd will handle this."

So my question is, during such upgrades, what is the best practice way for an operator to cause tcmu-runner to begin using the new version of ceph.

Thanks in advance.

@dillaman
Copy link

That BZ was referring to a bug in pre-RHEL 7.6 kernels where IO could get permanently stuck in the kernel IO ring requiring a reboot of the box to recover.

@wwdillingham
Copy link
Author

Thank you @dillaman .. so simply a restart of tcmu-runner is the appropriate step?

@dillaman
Copy link

Correct, shouldn't be an issue if the kernel version isn't an issue. The ceph-ansible rolling upgrade script will stop the iSCSI services on a node, upgrade, and then restart [1]

[1] https://github.com/ceph/ceph-ansible/blob/cec994b973343e05252b4aa0f0be0dd0ee39405b/infrastructure-playbooks/rolling_update.yml#L750

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

2 participants