Skip to content

qa: convert fs:workload to use cephadm - #42000

Merged
batrick merged 7 commits into
ceph:masterfrom
batrick:i51333
Feb 9, 2022
Merged

batrick merged 7 commits into
ceph:masterfrom
batrick:i51333

Conversation

@batrick

@batrick batrick commented Jun 24, 2021

Copy link
Copy Markdown
Member

No description provided.

@batrick

batrick commented Jun 24, 2021

Copy link
Copy Markdown
Member Author

jenkins test make check

@batrick
batrick marked this pull request as ready for review June 24, 2021 13:22
@batrick
batrick requested a review from a team as a code owner June 24, 2021 13:22
@batrick batrick changed the title [DRAFT] qa: convert fs:workload to use cephadm qa: convert fs:workload to use cephadm Jun 24, 2021
@batrick

batrick commented Jun 24, 2021

Copy link
Copy Markdown
Member Author

@batrick

batrick commented Jun 24, 2021

Copy link
Copy Markdown
Member Author

@batrick

batrick commented Jun 24, 2021

Copy link
Copy Markdown
Member Author

fs:workload is about 53% of the jobs in fs suite.

@batrick

batrick commented Jun 24, 2021

Copy link
Copy Markdown
Member Author

(fixed tox failure)

@liewegas liewegas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good!

You might consider also a different set of tests that do this via 'fs volume create' and put cephadm in roleless: true mode, just to ensure there is good coverage of the path most users will take.

@batrick

batrick commented Jun 24, 2021

Copy link
Copy Markdown
Member Author

You might consider also a different set of tests that do this via 'fs volume create' and put cephadm in roleless: true mode, just to ensure there is good coverage of the path most users will take.

I'm wary of doing this because some configurations in the matrix add overrides to how cephfs is created and these would not be applied with the fs volume create provisioning. I think the fs:volumes (and fs:cephadm) sub-suite is testing this sufficiently.

@batrick

batrick commented Jun 24, 2021

Copy link
Copy Markdown
Member Author

@batrick

batrick commented Jun 24, 2021

Copy link
Copy Markdown
Member Author

Several missing package failures. Not sure why this is a problem for cephadm because we're still using the install task. Will check on this more later.

batrick added a commit to batrick/ceph that referenced this pull request Jul 12, 2021
* refs/pull/42000/head:
	qa: convert fs:workload to use cephadm
	qa/tasks/cephadm: setup file system if MDS are provisioned
batrick added a commit to batrick/ceph that referenced this pull request Jan 28, 2022
@batrick

batrick commented Feb 1, 2022

Copy link
Copy Markdown
Member Author

@batrick

batrick commented Feb 1, 2022

Copy link
Copy Markdown
Member Author

I believe this is good to merge.

cc @jtlayton @vshankar @gregsfortytwo

@batrick

batrick commented Feb 1, 2022

Copy link
Copy Markdown
Member Author

(small rebase)

@vshankar

vshankar commented Feb 2, 2022

Copy link
Copy Markdown
Contributor

jenkins test make check

This is the same behavior/code as what the ceph task does.

Signed-off-by: Patrick Donnelly <[email protected]>
The Filesystem object may use this when configuring EC data pools at
file system creation (via a FuseMount).

Signed-off-by: Patrick Donnelly <[email protected]>
To allow switching to cephadm task.

Signed-off-by: Patrick Donnelly <[email protected]>
Note: it's important to keep the install task which supplies packages
needed for some workloads.

Fixes: https://tracker.ceph.com/issues/51333
Signed-off-by: Patrick Donnelly <[email protected]>
It's not useful testing workloads with different distributions; it just
adds to the maintenance burden of this qa suite as distro upgrades often
break compilation of various tests.

Signed-off-by: Patrick Donnelly <[email protected]>
This is a continuation of previous commit

    qa: only use RHEL for workload testing

We don't want to test fs:workload with centos/ubuntu to avoid packaging
issues and to reduce the matrix of distros we're running workloads on.
Also, the testing kernel should install fine on the distros we test with
"supported" random distros.

Signed-off-by: Patrick Donnelly <[email protected]>
@batrick

batrick commented Feb 2, 2022

Copy link
Copy Markdown
Member Author

(small rebase)

@vshankar

vshankar commented Feb 3, 2022

Copy link
Copy Markdown
Contributor

jenkins retest this please

@batrick

batrick commented Feb 3, 2022

Copy link
Copy Markdown
Member Author

jenkins test dashboard cephadm

@vshankar vshankar 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.

LGTM

@batrick
batrick merged commit e883dc3 into ceph:master Feb 9, 2022
@batrick
batrick deleted the i51333 branch February 9, 2022 14:35
batrick added a commit to batrick/ceph that referenced this pull request Feb 10, 2022
To fix [1,2].

[1] ceph#42000 (comment)
[2] ceph#42000 (comment)

Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 0fcf892)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants