Repository navigation
nautilus: qa/upgrade: disable update_features test_notify with older client as lockowner - #41513
Conversation
3eaccef to
c2425b4
Compare
There was a problem hiding this comment.
I can't understand why these changes are here?
There was a problem hiding this comment.
@trociny the src/test/librbd/test_notify.py script is picked from branch specified in these workunits, in order to pick : https://github.com/ceph/ceph/pull/41514/files#diff-ac8940c0fdcd92dc4a7129f21a53e256a84e9d8245710d18cd0bd0e197b69e43R148 we can either backport it to stable branches or keep picking this script from master as well, since nothing has changed in the script from nautilus.
But since in future we might want to get rid of this check, I saw backport option to branches better.
There was a problem hiding this comment.
I would prefer if we backported the change to the script to all necessary stable branches.
There was a problem hiding this comment.
will do, spilted the change and added commit about it, thanks!
c2425b4 to
0685716
Compare
|
@ideepika Sorry, I am still confused. I don't understand why do we need this second commit? Why do we need to change the branches in the upgrade scenario? I though we would just backport the changes to the notify script #41514 into all stable branches we need so it would respect Am I missing something? |
no worries, sure, I can explain :) is responsible for creating a clone in our client node by git cloning the branch right now, we pull master, octopus, nautilus any branch since the script Let me know your thoughts, thanks! |
|
I still can't understand why we can't just backport #41514 to all stable branches and set The initial idea of the test (as I understand) was to run the test script from the same branch the client is upgraded to. And it makes sense to me. Now you want to change this to run the script from the old (nautilus) branch for a new librbd client. Although it will work it looks confusing and it might be wrong in the future, if a new feature is added, and the test for this feature is added in a new script but we use the old branch for the test so will not learn how the new feature interacts with the old client. |
0685716 to
229d7bf
Compare
aah, I see your point now, it makes sense now why we are using octopus and pacific branch clones, removed 2nd commit, thanks @trociny! |
|
jenkins test make check |
|
I thought the hang appeared when Which one is correct? Or am I misreading the yaml? |
e6ad6d4 to
9f7ade4
Compare
Did a quick testing, you were right, I missed testing things for nautilus, but did verify now: http://qa-proxy.ceph.com/teuthology/ideepika-2021-06-01_10:33:20-upgrade-clients:client-upgrade-nautilus-pacific-wip-49592-upgrade-distro-basic-smithi/6145037/teuthology.log |
|
OK, so then I don't understand why the test change (i.e. "qa/upgrade: conditionally disable update_features tests" commit) needed to be cherry-picked to nautilus and octopus. I was going by your conversation with Mykola in #41514 without having a clear picture in my head but now that you confirmed the offending configuration, here is what I think should happen:
|
Indeed. I think I was confused by seeing the variable was used for a stable branch. |
9f7ade4 to
a564611
Compare
makes sense, thanks for reviewing! addressed branch comment for: |
|
I'd make it a single commit. |
…client as lockowner * with the recent support for async rbd operations from pacific+ when an older client(non async support) goes on upgrade, and simultaneously interacts with a newer client which expects the requests to be async, experiences hang; considering the return code for request completion to be acknowledgement for async request, which then keeps waiting for another acknowledgement of request completion. this if happens should be a rare only when lockowner is an old client and should be deferred if compatibility issues arises. * amend upgrade test workunits to use respective stable branches Signed-off-by: Deepika Upadhyay <[email protected]>
a564611 to
b0fa231
Compare
fixed, thanks! |
|
this has to be tested on pacific as:
|
respawn() execs /proc/self/exe rather than the path it points to, so that it works after the executable is unlinked. Replacing the binary unlinks it too, so after an upgrade the re-exec runs the old image against libceph-common.so and the rest as replaced on disk: either a symbol lookup error, as in ceph#41513, or old code on new libraries. execv() keeps the pid, so the service manager sees nothing. Exec the path instead, less the " (deleted)" marker the kernel appends. If nothing is there any more, because the binary was removed rather than replaced, execv() fails and respawn() reports it like any other exec failure. The daemon therefore adopts a new binary without an operator-initiated restart. It has to exec something and the alternative is an image whose libraries are gone, so that is the lesser evil. Exiting and leaving the restart to the service manager would be the deeper fix, but not for deployments without one. mon, mgr and mds each had a copy of the decision, so it now sits next to unblock_all_signals(), which the same three use. Fixes: https://tracker.ceph.com/issues/81856 Related-to: https://tracker.ceph.com/issues/41513 Signed-off-by: Kefu Chai <[email protected]>
with the recent support for async rbd operations from pacific+ when an
older client(non async support) goes on upgrade, and simultaneously
interacts with a newer client which expects the requests to be async,
experiences hang; considering the return code for request completion to
be acknowledgement for async request, which then keeps waiting for
another acknowledgement of request completion.
this if happens should be a rare only when lockowner is an old client
and should be deferred if compatibility issues arises.
related to: 5412304(octopus)
Signed-off-by: Deepika Upadhyay [email protected]
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 apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox