Skip to content

octopus: qa/upgrade: disable update_features test_notify with older client as lockowner - #41511

Merged
idryomov merged 1 commit into
ceph:octopusfrom
ideepika:wip-49592-upgrade-octopus
Jun 1, 2021
Merged

idryomov merged 1 commit into
ceph:octopusfrom
ideepika:wip-49592-upgrade-octopus

Conversation

@ideepika

Copy link
Copy Markdown
Member

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.

tests including DISABLE_UPDATE_FEATURES: "1" environment variable should skip update_features test_notify check

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@github-actions github-actions Bot added this to the octopus milestone May 24, 2021
@ideepika
ideepika marked this pull request as draft May 24, 2021 21:35
@ideepika
ideepika force-pushed the wip-49592-upgrade-octopus branch from 42878a3 to 0e38619 Compare May 26, 2021 14:59
@ideepika
ideepika marked this pull request as ready for review May 26, 2021 15:11
@ideepika
ideepika requested review from idryomov, trociny and yuriw May 26, 2021 15:11
@ideepika
ideepika force-pushed the wip-49592-upgrade-octopus branch 2 times, most recently from e2d6a9b to 4217d33 Compare May 27, 2021 14:58
@yuriw

yuriw commented May 27, 2021 •

Copy link
Copy Markdown
Contributor

http://pulpito.ceph.com/teuthology-2021-05-27_17:55:15-upgrade-clients:client-upgrade-octopus-pacific-pacific-distro-basic-smithi/

killed it it was stuck at
2021-05-27T18:12:01.081 INFO:tasks.workunit.client.1.smithi133.stderr:+ python3 /home/ubuntu/cephtest/clone.client.1/qa/workunits/rbd/../../../src/test/librbd/test_notify.py slave

@trociny

trociny commented May 28, 2021

Copy link
Copy Markdown
Contributor

@yuriw It will not work until #41514 is merged and backported.

@idryomov idryomov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending the cherry-pick of #41514.

@idryomov

idryomov commented Jun 1, 2021

Copy link
Copy Markdown
Contributor

Following up on the workunit branch mess note from #41511:

tasks:
- parallel:
  - workunit:
      branch: octopus
      clients:
        client.0:
          - rbd/notify_master.sh
      env:
        RBD_FEATURES: "61"
  - workunit:
      branch: pacific      <--------------
      clients:
        client.1:
          - rbd/notify_slave.sh
      env:
        RBD_FEATURES: "61"
        RBD_DISABLE_UPDATE_FEATURES: "1"
- print: "**** done rbd: old librbd -> new librbd"
- parallel:
  - workunit:
      branch: octopus         <--------------
      clients:
        client.0:
          - rbd/notify_slave.sh
      env:
        RBD_FEATURES: "61"
  - workunit:
      branch: pacific
      clients:
        client.1:
          - rbd/notify_master.sh
      env:
        RBD_FEATURES: "61"
- print: "**** done rbd: new librbd -> old librbd"

@ideepika
ideepika force-pushed the wip-49592-upgrade-octopus branch from c4d1f91 to 8b452ff Compare June 1, 2021 14:29
@ideepika

ideepika commented Jun 1, 2021

Copy link
Copy Markdown
Member Author

Following up on the workunit branch mess note from #41511:

tasks:
- parallel:
  - workunit:
      branch: octopus
      clients:
        client.0:
          - rbd/notify_master.sh
      env:
        RBD_FEATURES: "61"
  - workunit:
      branch: pacific      <--------------
      clients:
        client.1:
          - rbd/notify_slave.sh
      env:
        RBD_FEATURES: "61"
        RBD_DISABLE_UPDATE_FEATURES: "1"
- print: "**** done rbd: old librbd -> new librbd"
- parallel:
  - workunit:
      branch: octopus         <--------------
      clients:
        client.0:
          - rbd/notify_slave.sh
      env:
        RBD_FEATURES: "61"
  - workunit:
      branch: pacific
      clients:
        client.1:
          - rbd/notify_master.sh
      env:
        RBD_FEATURES: "61"
- print: "**** done rbd: new librbd -> old librbd"

addressed branch comment for:
nautilus: a564611
octopus: 8b452ff
pacific backport: #41629

@idryomov

idryomov commented Jun 1, 2021

Copy link
Copy Markdown
Contributor

I'd make it a single commit.

…lient 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.

 * qa/upgrade: amend upgrade test workunits to use respective stable branches

Signed-off-by: Deepika Upadhyay <[email protected]>
@ideepika
ideepika force-pushed the wip-49592-upgrade-octopus branch from 8b452ff to ee4f8ff Compare June 1, 2021 15:54
@ideepika

ideepika commented Jun 1, 2021

Copy link
Copy Markdown
Member Author

I'd make it a single commit.

sure, done!

@idryomov

idryomov commented Jun 1, 2021

Copy link
Copy Markdown
Contributor

@idryomov
idryomov merged commit aa3f3e3 into ceph:octopus Jun 1, 2021
@ideepika
ideepika deleted the wip-49592-upgrade-octopus branch June 9, 2021 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants