daos icon indicating copy to clipboard operation
daos copied to clipboard

DAOS-10885: dmg pool create --size=percentage should allow --ranks

Open knard38 opened this issue 3 years ago • 14 comments

Description

This PR mainly add the support of the --ranks option with the pool create --size=<percentage> command. As a side effect, it also better handle system with non homogeneous hardware configuration: servers with NVMe and other without.

Some external files where also changed to fix some pylint warning preventing the PR to be validated by the CI.

Validation

GoLang unit tests where adapted and completed.

One functional tests has been added to test this new functionality.

knard38 avatar Aug 01 '22 14:08 knard38

Bug-tracker data: Unable to load ticket data for 'DAOS-10885:' https://daosio.atlassian.net/browse/DAOS-10885:

github-actions[bot] avatar Aug 01 '22 14:08 github-actions[bot]

Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9871/24/display/redirect

daosbuild1 avatar Aug 11 '22 00:08 daosbuild1

Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9871/24/display/redirect

daosbuild1 avatar Aug 11 '22 00:08 daosbuild1

Test stage Functional Hardware Small completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9871/24/display/redirect

daosbuild1 avatar Aug 11 '22 02:08 daosbuild1

Test stage Functional Hardware Small completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9871/25/display/redirect

daosbuild1 avatar Aug 11 '22 06:08 daosbuild1

Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9871/25/display/redirect

daosbuild1 avatar Aug 11 '22 06:08 daosbuild1

Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9871/26/display/redirect

daosbuild1 avatar Aug 11 '22 07:08 daosbuild1

Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9871/26/display/redirect

daosbuild1 avatar Aug 11 '22 07:08 daosbuild1

Test stage Functional Hardware Small completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9871/26/display/redirect

daosbuild1 avatar Aug 11 '22 08:08 daosbuild1

Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9871/27/display/redirect

daosbuild1 avatar Aug 11 '22 11:08 daosbuild1

Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9871/27/display/redirect

daosbuild1 avatar Aug 11 '22 11:08 daosbuild1

Test stage Functional Hardware Small completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9871/27/display/redirect

daosbuild1 avatar Aug 11 '22 12:08 daosbuild1

Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9871/28/execution/node/1043/log

daosbuild1 avatar Aug 12 '22 10:08 daosbuild1

Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9871/29/execution/node/1037/log

daosbuild1 avatar Aug 13 '22 19:08 daosbuild1

Restart Ci test with deactivating functional test test_object_query. More details could be found at https://daosio.atlassian.net/browse/DAOS-11431

knard38 avatar Aug 22 '22 07:08 knard38

Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9871/38/execution/node/1180/log

daosbuild1 avatar Sep 01 '22 21:09 daosbuild1

Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9871/39/execution/node/310/log

daosbuild1 avatar Sep 05 '22 07:09 daosbuild1

Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9871/40/execution/node/1008/log

daosbuild1 avatar Sep 05 '22 14:09 daosbuild1

From what I understand, the Error from the CI is a timeout not related to this PR.

knard38 avatar Sep 05 '22 14:09 knard38

Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9871/41/execution/node/145/log

daosbuild1 avatar Sep 06 '22 07:09 daosbuild1

LGTM. If you force push it makes it harder for reviewers to see incremental changes since their last review, please try to avoid it where possible, thanks.

My apologies for that, I forgot to commit some small code formatting cleanup and I wanted to avoid extra commits. I will avoid that next time.

knard38 avatar Sep 06 '22 09:09 knard38

Going to relaunch the CI as the functional test with the tag test_object_query has been fixed https://daosio.atlassian.net/browse/DAOS-11431

knard38 avatar Sep 06 '22 13:09 knard38

Test stage Functional Hardware Medium completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9871/44/execution/node/1091/log

daosbuild1 avatar Sep 07 '22 21:09 daosbuild1

Latest CI run is OK as only one test is failing on a known timeout issue:

  • failing test: ftest/daos_test/rebuild.py
  • Related JIRA ticket: https://daosio.atlassian.net/browse/DAOS-11178

knard38 avatar Sep 08 '22 02:09 knard38

@daos-stack/daos-gatekeeper could you tell me if something is missing for landing this PR ? If yes, could you tell me what should be updated.

knard38 avatar Sep 14 '22 08:09 knard38