Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Storage Template operations in zhmcclient mock support #1541

Closed
andy-maier opened this issue Jun 18, 2024 · 0 comments · Fixed by #1552
Closed

Support Storage Template operations in zhmcclient mock support #1541

andy-maier opened this issue Jun 18, 2024 · 0 comments · Fixed by #1552

Comments

@andy-maier
Copy link
Member

andy-maier commented Jun 18, 2024

This is to fix the following errors in the "make end2end_mocked" test (as of 2024-06-21):

FAILED tests/end2end/test_storage_group_template.py::test_stogrptpl_find_list[hmc_definition=mocked_hmc_z14] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm [GET /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm]
FAILED tests/end2end/test_storage_group_template.py::test_stogrptpl_property[hmc_definition=mocked_hmc_z14] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm [GET /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm]
FAILED tests/end2end/test_storage_group_template.py::test_stogrptpl_crud[hmc_definition=mocked_hmc_z14] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates [GET /api/storage-templates]
FAILED tests/end2end/test_storage_group_template.py::test_stogrptpl_find_list[hmc_definition=mocked_hmc_z16] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm [GET /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm]
FAILED tests/end2end/test_storage_group_template.py::test_stogrptpl_property[hmc_definition=mocked_hmc_z16] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm [GET /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm]
FAILED tests/end2end/test_storage_group_template.py::test_stogrptpl_crud[hmc_definition=mocked_hmc_z16] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates [GET /api/storage-templates]
FAILED tests/end2end/test_storage_volume_template.py::test_stovoltpl_find_list[hmc_definition=mocked_hmc_z14] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm [GET /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm]
FAILED tests/end2end/test_storage_volume_template.py::test_stovoltpl_property[hmc_definition=mocked_hmc_z14] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm [GET /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm]
FAILED tests/end2end/test_storage_volume_template.py::test_stovoltpl_crud[hmc_definition=mocked_hmc_z14] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates [GET /api/storage-templates]
FAILED tests/end2end/test_storage_volume_template.py::test_stovoltpl_find_list[hmc_definition=mocked_hmc_z16] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm [GET /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm]
FAILED tests/end2end/test_storage_volume_template.py::test_stovoltpl_property[hmc_definition=mocked_hmc_z16] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm [GET /api/storage-templates?cpc-uri=%2Fapi%2Fcpcs%2Fcpc_dpm]
FAILED tests/end2end/test_storage_volume_template.py::test_stovoltpl_crud[hmc_definition=mocked_hmc_z16] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/storage-templates [GET /api/storage-templates]
@andy-maier andy-maier self-assigned this Jun 18, 2024
@andy-maier andy-maier added this to the 1.17.0 milestone Jun 18, 2024
@andy-maier andy-maier changed the title Support "List Storage Templates" operation in zhmcclient mock support Support Storage Template operations in zhmcclient mock support Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant