Skip to content

qa: wait for daemons to come up via cephadm#39969

Merged
tchaikov merged 9 commits intoceph:masterfrom
batrick:i49684
Mar 28, 2021
Merged

qa: wait for daemons to come up via cephadm#39969
tchaikov merged 9 commits intoceph:masterfrom
batrick:i49684

Conversation

@batrick
Copy link
Member

@batrick batrick commented Mar 9, 2021

Rather than waiting for a set amount of time.

Fixes: https://tracker.ceph.com/issues/49684
Signed-off-by: Patrick Donnelly pdonnell@redhat.com

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

@batrick batrick added cephfs Ceph File System needs-review labels Mar 9, 2021
@batrick batrick requested a review from liewegas March 9, 2021 21:55
@github-actions github-actions bot added the tests label Mar 9, 2021
@batrick
Copy link
Member Author

batrick commented Mar 11, 2021

@tchaikov yes sorry. I'm in the middle of fixing this PR after finding out qa: wait for daemons to come up via cephadm was not the only change necessary. I'll switch this to a draft.

@batrick batrick marked this pull request as draft March 11, 2021 15:00
@batrick batrick force-pushed the i49684 branch 5 times, most recently from bbec76b to fe7b23c Compare March 11, 2021 21:28
@batrick batrick force-pushed the i49684 branch 2 times, most recently from 0de84d8 to cb91555 Compare March 12, 2021 02:05
@batrick
Copy link
Member Author

batrick commented Mar 12, 2021

@batrick batrick force-pushed the i49684 branch 4 times, most recently from d820667 to b4e8232 Compare March 12, 2021 22:18
batrick added a commit to batrick/ceph that referenced this pull request Mar 13, 2021
* refs/pull/39969/head:
	qa: wait for daemons to come up via cephadm
	qa: reduce dependence on teuthology role list for mds
	qa: improve usability of do_rados helper
	qa: remove get_lone_mds_id
	qa: simplify tests which stop MDS ranks
	qa: use mds_tell for getting mds status
	qa: remove shutdown lockdep not relevant to unit test
	qa: remove fallback for non-multifs ceph version
	qa: add Filesystem.reset helper
@batrick batrick marked this pull request as ready for review March 15, 2021 18:16
@batrick batrick force-pushed the i49684 branch 2 times, most recently from 86a23fc to dd09ee4 Compare March 18, 2021 23:21
batrick added a commit to batrick/ceph that referenced this pull request Mar 18, 2021
* refs/pull/39969/head:
	qa: wait for daemons to come up via cephadm
	qa: reduce dependence on teuthology role list for mds
	qa: improve usability of do_rados helper
	qa: remove get_lone_mds_id
	qa: simplify tests which stop MDS ranks
	qa: use mds_tell for getting mds status
	qa: remove shutdown lockdep not relevant to unit test
	qa: remove fallback for non-multifs ceph version
	qa: add Filesystem.reset helper
batrick added 9 commits March 21, 2021 10:35
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This code was for jewel (IIRC) or older.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This is part of a fleet of commits trying to remove unnecessary mds_stop
calls in testing.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
mds_asok is broken with cephadm currently due to [1].

[1] https://tracker.ceph.com/issues/48019#note-5

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Instead of stopping MDS daemons and individually failing MDS daemons,
just fail the ranks or the entire file system, where possible.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This helps remove a dependence on the list of mds_daemons from
teuthology/cephadm.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
It's not yet possible to completely remove the dependency on
mds_ids/mds_daemons in the CephFS tests but this commit reduces it
enough for most code paths to work with cephadm.

The main change here is use of CephManager.do_rados, with some
improvements.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Rather than waiting for a set amount of time.

Fixes: https://tracker.ceph.com/issues/49684
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
@batrick
Copy link
Member Author

batrick commented Mar 26, 2021

https://pulpito.ceph.com/pdonnell-2021-03-24_23:26:35-fs-wip-pdonnell-testing-20210324.190252-distro-basic-smithi/

@batrick
Copy link
Member Author

batrick commented Mar 26, 2021

@tchaikov CephFS is good. Please merge when you're ready.

@tchaikov
Copy link
Contributor

@batrick ack. will include this changeset in my next batch.

@tchaikov tchaikov dismissed their stale review March 28, 2021 12:01

dismissed

@tchaikov tchaikov merged commit 73925c4 into ceph:master Mar 28, 2021
@batrick batrick deleted the i49684 branch April 6, 2021 17:50
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.

3 participants