$ openstack volume set testvol2 --image-property simplestreams_metadata='{"aliases": "20.04,default,f,focal,lts,ubuntu", "arch": "amd64", "ftype": "disk1.img", "label": "release", "md5": "8646f69a6814ed96e27de0a1be1120a4", "os": "ubuntu", "pubname": "ubuntu-focal-20.04-amd64-server-20201111", "release": "focal", "release_codename": "Focal Fossa", "release_title": "20.04 LTS", "sha256": "151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a", "size": "546570752", "support_eol": "2025-04-23", "supported": "True", "version": "20.04"}' --debug START with options: volume set testvol2 --image-property simplestreams_metadata={"aliases": "20.04,default,f,focal,lts,ubuntu", "arch": "amd64", "ftype": "disk1.img", "label": "release", "md5": "8646f69a6814ed96e27de0a1be1120a4", "os": "ubuntu", "pubname": "ubuntu-focal-20.04-amd64-server-20201111", "release": "focal", "release_codename": "Focal Fossa", "release_title": "20.04 LTS", "sha256": "151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a", "size": "546570752", "support_eol": "2025-04-23", "supported": "True", "version": "20.04"} --debug options: Namespace(access_token='***', access_token_endpoint='', access_token_type='', application_credential_id='', application_credential_name='', application_credential_secret='***', auth_methods='', auth_type='', auth_url='http://172.22.8.3:35357/v3', cacert=None, cert='', client_id='', client_secret='***', cloud='', code='', debug=True, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url='', insecure=None, interface='internal', key='', log_file=None, openid_scope='', os_beta_command=False, os_compute_api_version='', os_identity_api_version='3', os_image_api_version='', os_key_manager_api_version='1', os_network_api_version='', os_object_api_version='', os_project_id=None, os_project_name=None, os_volume_api_version='', os_workload_api_version=None, passcode='', password='***', project_domain_id='', project_domain_name='Default', project_id='74833ea5ad9e4d1db569803774547fc7', project_name='admin', protocol='', redirect_uri='', region_name='RegionOne', remote_project_domain_id='', remote_project_domain_name='', remote_project_id='', remote_project_name='', service_provider='', service_provider_endpoint='', service_provider_entity_id='', system_scope='', timing=False, token='***', trust_id='', user_domain_id='', user_domain_name='Default', user_id='', username='admin', verbose_level=3, verify=None) Auth plugin password selected auth_config_hook(): {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'baremetal_status_code_retries': '5', 'baremetal_introspection_status_code_retries': '5', 'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface': 'internal', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active', 'auth': {'user_domain_name': 'Default', 'project_domain_name': 'Default', 'project_id': '74833ea5ad9e4d1db569803774547fc7', 'project_name': 'admin'}, 'verbose_level': 3, 'deferred_help': False, 'debug': True, 'region_name': 'RegionOne', 'default_domain': 'default', 'timing': False, 'auth_url': 'http://172.22.8.3:35357/v3', 'username': 'admin', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'key_manager_api_version': '1', 'auth_type': 'password', ': []} defaults: {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'auth_type': 'password', 'baremetal_status_code_retries': 5, 'baremetal_introspection_status_code_retries': 5, 'image_status_code_retries': 5, 'disable_vendor_agent': {}, 'interface': None, 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active'} cloud cfg: {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'baremetal_status_code_retries': '5', 'baremetal_introspection_status_code_retries': '5', 'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface': 'internal', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active', 'auth': {'user_domain_name': 'Default', 'project_domain_name': 'Default', 'project_id': '74833ea5ad9e4d1db569803774547fc7', 'project_name': 'admin'}, 'verbose_level': 3, 'deferred_help': False, 'debug': True, 'region_name': 'RegionOne', 'default_domain': 'default', 'timing': False, 'auth_url': 'http://172.22.8.3:35357/v3', 'username': 'admin', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'key_manager_api_version': '1', 'auth_type': 'password', ': []} compute API version 2.1, cmd group openstack.compute.v2 identity API version 3, cmd group openstack.identity.v3 image API version 2, cmd group openstack.image.v2 network API version 2, cmd group openstack.network.v2 object_store API version 1, cmd group openstack.object_store.v1 volume API version 3, cmd group openstack.volume.v3 neutronclient API version 2, cmd group openstack.neutronclient.v2 /home/stack/myansible/lib/python3.6/site-packages/barbicanclient/__init__.py:61: UserWarning: The secrets module is moved to barbicanclient/v1 directory, direct import of barbicanclient.secrets will be deprecated. Please import barbicanclient.v1.secrets instead. % (name, name, name)) key_manager API version 1, cmd group openstack.key_manager.v1 workloadmgr API version 1.0, cmd group openstack.workloadmgr.v1 command: volume set -> openstackclient.volume.v2.volume.SetVolume (auth=True) Auth plugin password selected auth_config_hook(): {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'baremetal_status_code_retries': '5', 'baremetal_introspection_status_code_retries': '5', 'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface': 'internal', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active', 'auth': {'user_domain_name': 'Default', 'project_domain_name': 'Default', 'project_id': '74833ea5ad9e4d1db569803774547fc7', 'project_name': 'admin'}, 'additional_user_agent': [('osc-lib', '2.4.2')], 'verbose_level': 3, 'deferred_help': False, 'debug': True, 'region_name': 'RegionOne', 'default_domain': 'default', 'timing': False, 'auth_url': 'http://172.22.8.3:35357/v3', 'username': 'admin', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'key_manager_api_version': '1', 'auth_type': 'password', ': []} Using auth plugin: password Using parameters {'auth_url': 'http://172.22.8.3:35357/v3', 'project_id': '74833ea5ad9e4d1db569803774547fc7', 'project_name': 'admin', 'project_domain_name': 'Default', 'username': 'admin', 'user_domain_name': 'Default', 'password': '***'} Get auth_ref REQ: curl -g -i -X GET http://172.22.8.3:35357/v3 -H "Accept: application/json" -H "User-Agent: openstacksdk/0.48.0 keystoneauth1/4.4.0 python-requests/2.23.0 CPython/3.6.8" Starting new HTTP connection (1): 172.22.8.3:35357 http://172.22.8.3:35357 "GET /v3 HTTP/1.1" 200 251 RESP: [200] Connection: Keep-Alive Content-Length: 251 Content-Type: application/json Date: Fri, 02 Sep 2022 11:36:29 GMT Keep-Alive: timeout=60, max=100 Server: Apache Vary: X-Auth-Token x-openstack-request-id: req-a49eb512-910b-4299-b509-008f380f5e0d RESP BODY: {"version": {"id": "v3.14", "status": "stable", "updated": "2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "http://172.22.8.3:35357/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}} GET call to http://172.22.8.3:35357/v3 used request id req-a49eb512-910b-4299-b509-008f380f5e0d Making authentication request to http://172.22.8.3:35357/v3/auth/tokens http://172.22.8.3:35357 "POST /v3/auth/tokens HTTP/1.1" 201 8497 {"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "a0c366a7e9364481bae9fd77ea0d9e43", "name": "admin", "password_expires_at": null}, "audit_ids": ["lvQLX84LRKqdIjl4yKf16w"], "expires_at": "2022-09-03T11:36:30.000000Z", "issued_at": "2022-09-02T11:36:30.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "74833ea5ad9e4d1db569803774547fc7", "name": "admin"}, "is_domain": false, "roles": [{"id": "8d61fca98c294a409aabc2ff9a73c55d", "name": "heat_stack_owner"}, {"id": "a25de6e7af80407db9317753852947f9", "name": "admin"}, {"id": "91e1e428ff084ef3892d1de53ff08e32", "name": "backup"}, {"id": "2edce1c3827f4ca4953cd24d6085cbe4", "name": "reader"}, {"id": "dc8b5153f5344d42bf681081fe5640f1", "name": "member"}], "catalog": [{"endpoints": [{"id": "8129e523e5cb46c6861ffc2de47bf1ff", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:8776/v2/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}, {"id": "bbb57d69d9fd48c8bab56675a7bc6a34", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:8776/v2/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}, {"id": "c5a82c2a8984479c91873a318b6c471a", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:8776/v2/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}], "id": "03f23daac8bb40238a55e99272f998df", "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"id": "0fb7e7fbab004953beeff2dec78cfd08", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:8776/v3/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}, {"id": "3dec2667cc3e40ebbae9ac5dcae4d4d3", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:8776/v3/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}, {"id": "b0d2239187c4462d8b6e5383df3c48a6", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:8776/v3/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}], "id": "0669f85537a74e85933278c5adec7b82", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "3473dde0e5084294a507388702f87906", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:8774/v2/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}, {"id": "727570cbf80a4f248c58d80938c3e8ed", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:8774/v2/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}, {"id": "ae8d773b04e94373b56200448d2baca7", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:8774/v2/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}], "id": "0c2c85c5cc1d4ece84c2c0ba5b4eac27", "type": "compute_legacy", "name": "nova_legacy"}, {"endpoints": [{"id": "95f2bb7982cb4a24814044325cf9f84d", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:8004/v1/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}, {"id": "a4ca6e04610a42a2ad4a74298ebf9422", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:8004/v1/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}, {"id": "f5dd2cc4f0394c02be73aee27a1cd4e0", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:8004/v1/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}], "id": "18714dc1e78f4d689bfddab1f42fb3e7", "type": "orchestration", "name": "heat"}, {"endpoints": [{"id": "0f9e61ff8b2d4114a9ad164f43a27ab4", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:9292", "region": "RegionOne"}, {"id": "784e53d4b8004c0c8cb0293f9f1d0656", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:9292", "region": "RegionOne"}, {"id": "96ae908b84b44f5092aa3ef4da6aba2f", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:9292", "region": "RegionOne"}], "id": "3fa4610bd3d24070b7a1a227109a3df1", "type": "image", "name": "glance"}, {"endpoints": [{"id": "6a320b83394d4319ad478abac354c20e", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:8000/v1", "region": "RegionOne"}, {"id": "6efda383fd724ceeac4f69bd48d6b6d8", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:8000/v1", "region": "RegionOne"}, {"id": "8e8b10a8fb204bedad1b45d383b0db0a", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:8000/v1", "region": "RegionOne"}], "id": "538b023868c84ea0a718448899f72a11", "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"id": "1b10e9cdbef441abbee354e24eec1c05", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:9696", "region": "RegionOne"}, {"id": "40f837a1104940f59c3e894b724cdd01", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:9696", "region": "RegionOne"}, {"id": "d91d4ae7f067453f90c26bd807e93a91", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:9696", "region": "RegionOne"}], "id": "6bf6cb1df98f4901b265027e9bd3ea6f", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "4900b573bfba48de9d4719bc141c4bfa", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:8780", "region": "RegionOne"}, {"id": "d7877ba2b0b34c86baaf77e44a008813", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:8780", "region": "RegionOne"}, {"id": "d9d4964e38df493a83c34ed3c69b61fe", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:8780", "region": "RegionOne"}], "id": "6c52ef17bb8542ddae30bd51c3cdd532", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "131e90228da447bb8b17866d460cc1f1", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:8784/v2", "region": "RegionOne"}, {"id": "7bc8fb93225c4d128d4b9c3dc0d5ba9e", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:8784/v2", "region": "RegionOne"}, {"id": "7c6ec906d6104698984f5ee396c6be64", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:8784/v2", "region": "RegionOne"}], "id": "6c9f81b6325e40d4b7b097e59ef47f00", "type": "datamover", "name": "dmapi"}, {"endpoints": [{"id": "58666d6264584f89b9e0394febe60ca3", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.0.15:8780/v1/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}, {"id": "9b92320efa304334adfdb873d3431bde", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.0.15:8780/v1/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}, {"id": "b1f0f23d0add4ebd9f3d49c7bb432a08", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.0.15:8780/v1/74833ea5ad9e4d1db569803774547fc7", "region": "RegionOne"}], "id": "71c4dc5b6a154eb584261a2a671f397b", "type": "workloads", "name": "TrilioVaultWLM"}, {"endpoints": [{"id": "12144bb952fc4d8686875cb9eb7ef6f0", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:9311", "region": "RegionOne"}, {"id": "44445643320648ca8e2b592ecdf6b58a", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:9311", "region": "RegionOne"}, {"id": "92b9bd660c6f41bfa61d6b514febd82d", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:9311", "region": "RegionOne"}], "id": "85ce20d4f2a24d1c910d14d3d88d98c1", "type": "key-manager", "name": "barbican"}, {"endpoints": [{"id": "148b7fd08d9f4b73a7595f107410fa8a", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:5000", "region": "RegionOne"}, {"id": "aa90100450474b89b2762fdcaa8c30ba", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:5000", "region": "RegionOne"}, {"id": "f8dcbb996087402b88134ffdf790ff3e", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:35357", "region": "RegionOne"}], "id": "bbfade95ee824ed0976f1c0cda1263dd", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "254fe0a3ddff426086a76695863f06da", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.8.3:8774/v2.1", "region": "RegionOne"}, {"id": "2c1927017f1243bdaeffca2de7be69fd", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.8.3:8774/v2.1", "region": "RegionOne"}, {"id": "59b30f90eb744f5c8046cd246e8c2b4c", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.8.3:8774/v2.1", "region": "RegionOne"}], "id": "e0f4690785d94d048c70a33027c01206", "type": "compute", "name": "nova"}]}} run(Namespace(attached=False, bootable=False, description=None, detached=False, image_property={'simplestreams_metadata': '{"aliases": "20.04,default,f,focal,lts,ubuntu", "arch": "amd64", "ftype": "disk1.img", "label": "release", "md5": "8646f69a6814ed96e27de0a1be1120a4", "os": "ubuntu", "pubname": "ubuntu-focal-20.04-amd64-server-20201111", "release": "focal", "release_codename": "Focal Fossa", "release_title": "20.04 LTS", "sha256": "151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a", "size": "546570752", "support_eol": "2025-04-23", "supported": "True", "version": "20.04"}'}, name=None, no_property=False, non_bootable=False, property=None, read_only=False, read_write=False, retype_policy=None, size=None, state=None, type=None, volume='testvol2')) Instantiating volume client: REQ: curl -g -i -X GET http://172.22.8.3:8776/v3/74833ea5ad9e4d1db569803774547fc7/volumes/testvol2 -H "Accept: application/json" -H "User-Agent: python-cinderclient" -H "X-Auth-Token: {SHA256}58c2e4294c57af55e45510ca78f1454ed86e0a7c79c27d336c892151239975c3" Starting new HTTP connection (1): 172.22.8.3:8776 http://172.22.8.3:8776 "GET /v3/74833ea5ad9e4d1db569803774547fc7/volumes/testvol2 HTTP/1.1" 404 81 RESP: [404] Connection: Keep-Alive Content-Length: 81 Content-Type: application/json Date: Fri, 02 Sep 2022 11:36:30 GMT Keep-Alive: timeout=60, max=100 OpenStack-API-Version: volume 3.0 Server: Apache/2.4.41 (Ubuntu) Vary: OpenStack-API-Version x-compute-request-id: req-7fec5f18-7fd4-4df4-bf5e-6c9a913cb158 x-openstack-request-id: req-7fec5f18-7fd4-4df4-bf5e-6c9a913cb158 RESP BODY: {"itemNotFound": {"code": 404, "message": "Volume testvol2 could not be found."}} GET call to volumev3 for http://172.22.8.3:8776/v3/74833ea5ad9e4d1db569803774547fc7/volumes/testvol2 used request id req-7fec5f18-7fd4-4df4-bf5e-6c9a913cb158 REQ: curl -g -i -X GET http://172.22.8.3:8776/v3/74833ea5ad9e4d1db569803774547fc7/volumes/detail?all_tenants=1&name=testvol2 -H "Accept: application/json" -H "User-Agent: python-cinderclient" -H "X-Auth-Token: {SHA256}58c2e4294c57af55e45510ca78f1454ed86e0a7c79c27d336c892151239975c3" http://172.22.8.3:8776 "GET /v3/74833ea5ad9e4d1db569803774547fc7/volumes/detail?all_tenants=1&name=testvol2 HTTP/1.1" 200 1684 RESP: [200] Connection: Keep-Alive Content-Length: 1684 Content-Type: application/json Date: Fri, 02 Sep 2022 11:36:30 GMT Keep-Alive: timeout=60, max=99 OpenStack-API-Version: volume 3.0 Server: Apache/2.4.41 (Ubuntu) Vary: OpenStack-API-Version x-compute-request-id: req-befcb48c-ff14-4643-9330-1273730f9aaa x-openstack-request-id: req-befcb48c-ff14-4643-9330-1273730f9aaa RESP BODY: {"volumes": [{"id": "82449828-aa1e-468c-bfe8-ed79514fd9f7", "status": "in-use", "size": 5, "availability_zone": "nova", "created_at": "2022-02-08T12:44:58.000000", "updated_at": "2022-02-08T12:45:08.000000", "name": "testvol2", "description": null, "volume_type": "__DEFAULT__", "snapshot_id": null, "source_volid": null, "metadata": {}, "links": [{"rel": "self", "href": "http://172.22.8.3:8776/v3/74833ea5ad9e4d1db569803774547fc7/volumes/82449828-aa1e-468c-bfe8-ed79514fd9f7"}, {"rel": "bookmark", "href": "http://172.22.8.3:8776/74833ea5ad9e4d1db569803774547fc7/volumes/82449828-aa1e-468c-bfe8-ed79514fd9f7"}], "user_id": "a0c366a7e9364481bae9fd77ea0d9e43", "bootable": "false", "encrypted": false, "replication_status": null, "consistencygroup_id": null, "multiattach": false, "attachments": [{"id": "82449828-aa1e-468c-bfe8-ed79514fd9f7", "attachment_id": "85331e31-6475-435e-8517-f75c1a8c73cb", "volume_id": "82449828-aa1e-468c-bfe8-ed79514fd9f7", "server_id": "a2f706a3-d202-4300-8bcb-d667230a3091", "host_name": "kolla-ansible-compute-2", "device": "/dev/vdb", "attached_at": "2022-02-08T12:45:07.000000"}], "migration_status": null, "os-vol-host-attr:host": "kolla-ansible-compute-2@lvm-1#lvm-1", "volume_image_metadata": {"simplestreams_metadata": "{\"aliases\": \"20.04,default,f,focal,lts,ubuntu\", \"arch\": \"amd64\", \"ftype\": \"disk1.img\", \"label\": \"release\", \"md5\": \"8646f69a6814ed96e27de0a1be1120a4\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-focal-20.04-amd64-server-20201111\", \"release\": \"focal\"}"}, "os-vol-mig-status-attr:migstat": null, "os-vol-mig-status-attr:name_id": null, "os-vol-tenant-attr:tenant_id": "74833ea5ad9e4d1db569803774547fc7"}]} GET call to volumev3 for http://172.22.8.3:8776/v3/74833ea5ad9e4d1db569803774547fc7/volumes/detail?all_tenants=1&name=testvol2 used request id req-befcb48c-ff14-4643-9330-1273730f9aaa REQ: curl -g -i -X POST http://172.22.8.3:8776/v3/74833ea5ad9e4d1db569803774547fc7/volumes/82449828-aa1e-468c-bfe8-ed79514fd9f7/action -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-cinderclient" -H "X-Auth-Token: {SHA256}58c2e4294c57af55e45510ca78f1454ed86e0a7c79c27d336c892151239975c3" -H "X-OpenStack-Request-ID: req-befcb48c-ff14-4643-9330-1273730f9aaa" -d '{"os-set_image_metadata": {"metadata": {"simplestreams_metadata": "{\"aliases\": \"20.04,default,f,focal,lts,ubuntu\", \"arch\": \"amd64\", \"ftype\": \"disk1.img\", \"label\": \"release\", \"md5\": \"8646f69a6814ed96e27de0a1be1120a4\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-focal-20.04-amd64-server-20201111\", \"release\": \"focal\", \"release_codename\": \"Focal Fossa\", \"release_title\": \"20.04 LTS\", \"sha256\": \"151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a\", \"size\": \"546570752\", \"support_eol\": \"2025-04-23\", \"supported\": \"True\", \"version\": \"20.04\"}"}}}' http://172.22.8.3:8776 "POST /v3/74833ea5ad9e4d1db569803774547fc7/volumes/82449828-aa1e-468c-bfe8-ed79514fd9f7/action HTTP/1.1" 400 1193 RESP: [400] Connection: close Content-Length: 1193 Content-Type: application/json Date: Fri, 02 Sep 2022 11:36:30 GMT OpenStack-API-Version: volume 3.0 Server: Apache/2.4.41 (Ubuntu) Vary: OpenStack-API-Version x-compute-request-id: req-5e6c7ce5-b5bc-445f-9b59-9946845e1a0b x-openstack-request-id: req-5e6c7ce5-b5bc-445f-9b59-9946845e1a0b RESP BODY: {"badRequest": {"code": 400, "message": "Invalid input for field/attribute simplestreams_metadata. Value: {\"aliases\": \"20.04,default,f,focal,lts,ubuntu\", \"arch\": \"amd64\", \"ftype\": \"disk1.img\", \"label\": \"release\", \"md5\": \"8646f69a6814ed96e27de0a1be1120a4\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-focal-20.04-amd64-server-20201111\", \"release\": \"focal\", \"release_codename\": \"Focal Fossa\", \"release_title\": \"20.04 LTS\", \"sha256\": \"151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a\", \"size\": \"546570752\", \"support_eol\": \"2025-04-23\", \"supported\": \"True\", \"version\": \"20.04\"}. '{\"aliases\": \"20.04,default,f,focal,lts,ubuntu\", \"arch\": \"amd64\", \"ftype\": \"disk1.img\", \"label\": \"release\", \"md5\": \"8646f69a6814ed96e27de0a1be1120a4\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-focal-20.04-amd64-server-20201111\", \"release\": \"focal\", \"release_codename\": \"Focal Fossa\", \"release_title\": \"20.04 LTS\", \"sha256\": \"151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a\", \"size\": \"546570752\", \"support_eol\": \"2025-04-23\", \"supported\": \"True\", \"version\": \"20.04\"}' is too long"}} POST call to volumev3 for http://172.22.8.3:8776/v3/74833ea5ad9e4d1db569803774547fc7/volumes/82449828-aa1e-468c-bfe8-ed79514fd9f7/action used request id req-5e6c7ce5-b5bc-445f-9b59-9946845e1a0b Failed to set image property: Invalid input for field/attribute simplestreams_metadata. Value: {"aliases": "20.04,default,f,focal,lts,ubuntu", "arch": "amd64", "ftype": "disk1.img", "label": "release", "md5": "8646f69a6814ed96e27de0a1be1120a4", "os": "ubuntu", "pubname": "ubuntu-focal-20.04-amd64-server-20201111", "release": "focal", "release_codename": "Focal Fossa", "release_title": "20.04 LTS", "sha256": "151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a", "size": "546570752", "support_eol": "2025-04-23", "supported": "True", "version": "20.04"}. '{"aliases": "20.04,default,f,focal,lts,ubuntu", "arch": "amd64", "ftype": "disk1.img", "label": "release", "md5": "8646f69a6814ed96e27de0a1be1120a4", "os": "ubuntu", "pubname": "ubuntu-focal-20.04-amd64-server-20201111", "release": "focal", "release_codename": "Focal Fossa", "release_title": "20.04 LTS", "sha256": "151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a", "size": "546570752", "support_eol": "2025-04-23", "supported": "True", "version": "20.04"}' is too long (HTTP 400) (Request-ID: req-5e6c7ce5-b5bc-445f-9b59-9946845e1a0b) One or more of the set operations failed Traceback (most recent call last): File "/home/stack/myansible/lib/python3.6/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args) File "/home/stack/myansible/lib/python3.6/site-packages/osc_lib/command/command.py", line 39, in run return super(Command, self).run(parsed_args) File "/home/stack/myansible/lib/python3.6/site-packages/cliff/command.py", line 185, in run return_code = self.take_action(parsed_args) or 0 File "/home/stack/myansible/lib/python3.6/site-packages/openstackclient/volume/v2/volume.py", line 719, in take_action raise exceptions.CommandError(_("One or more of the " osc_lib.exceptions.CommandError: One or more of the set operations failed clean_up SetVolume: One or more of the set operations failed END return value: 1