Currently the creation of volumes with cinder uses the same availability zone of Nova. In some cases, a different AZ may be required in order to select a different storage domain.
A new parameter for VIM creation is foreseen to be enabled: storage_availability_zone, similar to availability_zone and neutron_availability_zone_hints.
Demo or definition of done
Cinder can create volumes in a different AZ than Nova.
Create a new robotest to reflect this change.
New VIM parameters must be properly documented in OSM User Guide.
We have a problem with the E2E Robot test: The WhiteCloud in ETSI does not have any other AZ configured for Cinder, which means we cannot test it with any AZ other than the default one (nova).
Please provide an E2E robot test and provide evidence that it cannot pass because of the lack of AZ for Cinder in WhiteCloud. We could remove the tag daily from the test so that it is not executed daily, but at least we will have a test showing how this works.
root@0e59ac94f879:/robot-systest# ./run_test.sh -t basic_32==============================================================================Testsuite ==============================================================================Testsuite.Basic 32-Volume With Different Az :: [BASIC-32] Basic NS with a v...==============================================================================Create VIM Target Basic :: Create a VIM Target only with the az pa... | PASS |------------------------------------------------------------------------------Create VNF Descriptor | PASS |------------------------------------------------------------------------------Create NS Descriptor | PASS |------------------------------------------------------------------------------Network Service Instance Test | FAIL |'+------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+| ns instance name | id | date | ns state | current operation | error details |+------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+| basic_32 | 2717f72a-0f36-417f-822c-c43cb93d58fc | 2023-11-20T20:23:33 | BROKEN | IDLE (None) | Operation: INSTANTIATING.d02e251b-57b5-4 || | | | | | 2fa-b511-5b0818779f57, Stage 2/5: || | | | | | deployment of KDUs, VMs and execution || | | | | | environments. || | | | | | Detail: Deploying at VIM: Error at || | | | | | create vdu: BadRequest: Availability || | | | | | zone 'storage_az' is invalid. (HTTP 400) || | | | | | (Request-ID: req-98294e11-b69e-4131-84f8 || | | | | | -b42cb57df221) |+------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+To get the history of all operations over a NS, run "osm ns-op-list NS_ID"For more details on the current operation, run "osm ns-op-show OPERATION_ID"' contains 'BROKEN'------------------------------------------------------------------------------Delete NS Instance Test | PASS |------------------------------------------------------------------------------Delete NS Descriptor Test | PASS |------------------------------------------------------------------------------Delete VNF Descriptor Test | PASS |------------------------------------------------------------------------------Delete VIM Target By ID :: Delete the VIM Target created in previo... | PASS |------------------------------------------------------------------------------Testsuite.Basic 32-Volume With Different Az :: [BASIC-32] Basic NS... | FAIL |8 tests, 7 passed, 1 failed==============================================================================Testsuite | FAIL |8 tests, 7 passed, 1 failed==============================================================================``The only thing missing rn is the release notes.