We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description: No error message when retype cinder volume to a type with empty metadata
Project: OpenStack
Project Area: cinder
Release: OpenStack
Severity: S1
Full Details:
type1 was created with no key/value. However retype command didn't return any error message, but from log , the operation was failed.
stack@ubuntuasdfasd:$ cinder retype ffe2a72d-cbb8-465c-b4cd-a97e16003695 type1 stack@ubuntuasdfasd:$ cinder show ffe2a72d-cbb8-465c-b4cd-a97e16003695 | grep type | volume_type | lvmdriver-1 |
stack@ubuntuasdfasd:~$ cinder show ffe2a72d-cbb8-465c-b4cd-a97e16003695 +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Property | Value | +---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2015-11-24T17:25:43.000000 | | description | None | | encrypted | False | | id | ffe2a72d-cbb8-465c-b4cd-a97e16003695 | | metadata | {} | | migration_status | None | | multiattach | False | | name | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | | os-vol-host-attr:host | ubuntuasdfasd@lvmdriver-1#lvmdriver-1 | | os-vol-mig-status-attr:migstat | None | | os-vol-mig-status-attr:name_id | None | | os-vol-tenant-attr:tenant_id | 5eb39b0e30bb4ac29863756473578229 | | os-volume-replication:driver_data | None | | os-volume-replication:extended_status | None | | replication_status | disabled | | size | 1 | | snapshot_id | None | | source_volid | None | | status | available | | updated_at | 2015-11-24T20:43:22.000000 | | user_id | 2d96440ca54c401d873306be09add713 | | volume_type | lvmdriver-1 <<<<<< ---- Retype operation failed
2015-11-24 15:43:21.492 DEBUG cinder.api.openstack.wsgi [req-02fd5ea3-22a2-4947-bbcc-fd85e8e627a7 admin] Action body: {"os-retype": {"new_type": "type1", "migration_policy": "never"}} get_method /opt/stack/cinder/cinder/api/openstack/wsgi.py:1093 2015-11-24 15:43:21.572 DEBUG object [req-02fd5ea3-22a2-4947-bbcc-fd85e8e627a7 admin] Cinder object Volume has no attribute named: type get /opt/stack/cinder/cinder/objects/base.py:117 2015-11-24 15:43:21.572 INFO cinder.volume.api [req-02fd5ea3-22a2-4947-bbcc-fd85e8e627a7 admin] Volume(_name_id=None,admin_metadata={},attach_status='detached',availability_zone='nova',bootable=False,consistencygroup_id=None,created_at=2015-11-24T17:25:43Z,deleted=False,deleted_at=None,display_description=None,display_name='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',ec2_id=None,encryption_key_id=None,host='ubuntuasdfasd@lvmdriver-1#lvmdriver-1',id=ffe2a72d-cbb8-465c-b4cd-a97e16003695,launched_at=2015-11-24T17:26:25Z,metadata={},migration_status=None,multiattach=False,previous_status=None,project_id=5eb39b0e30bb4ac29863756473578229,provider_auth=None,provider_geometry=None,provider_id=None,provider_location=None,replication_driver_data=None,replication_extended_status=None,replication_status='disabled',scheduled_at=2015-11-24T17:26:01Z,size=1,snapshot_id=None,source_volid=None,status='available',terminated_at=None,updated_at=2015-11-24T17:26:26Z,user_id=2d96440ca54c401d873306be09add713,volume_attachment=,volume_type=,volume_type_id=6ae77552-574c-4061-8599-cf670dfb4832)Volume info retrieved successfully. 2015-11-24 15:43:21.674 DEBUG cinder.quota [req-24bb1e94-8f20-496e-a986-98fad008e264 None] Created reservations ['e9171a8d-556a-4de0-b212-f9acce536273', 'df55e262-0b9e-4690-aa64-392819484fa8', '8dd7e238-6779-4b9b-bf9d-ebbbc4873dfe', '7309c8ba-db81-4b8e-9db0-0378a63999f4'] reserve /opt/stack/cinder/cinder/quota.py:810 2015-11-24 15:43:21.750 DEBUG object [req-24bb1e94-8f20-496e-a986-98fad008e264 None] Cinder object Volume has no attribute named: type get /opt/stack/cinder/cinder/objects/base.py:117 2015-11-24 15:43:21.751 INFO cinder.volume.api [req-24bb1e94-8f20-496e-a986-98fad008e264 None] Volume(_name_id=None,admin_metadata={},attach_status='detached',availability_zone='nova',bootable=False,consistencygroup_id=None,created_at=2015-11-24T17:25:43Z,deleted=False,deleted_at=None,display_description=None,display_name='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',ec2_id=None,encryption_key_id=None,host='ubuntuasdfasd@lvmdriver-1#lvmdriver-1',id=ffe2a72d-cbb8-465c-b4cd-a97e16003695,launched_at=2015-11-24T17:26:25Z,metadata={},migration_status=None,multiattach=False,previous_status='available',project_id=5eb39b0e30bb4ac29863756473578229,provider_auth=None,provider_geometry=None,provider_id=None,provider_location=None,replication_driver_data=None,replication_extended_status=None,replication_status='disabled',scheduled_at=2015-11-24T17:26:01Z,size=1,snapshot_id=None,source_volid=None,status='retyping',terminated_at=None,updated_at=2015-11-24T17:26:26Z,user_id=2d96440ca54c401d873306be09add713,volume_attachment=,volume_type=,volume_type_id=6ae77552-574c-4061-8599-cf670dfb4832)Volume updated successfully. 2015-11-24 15:43:21.755 DEBUG oslo_messaging._drivers.amqpdriver [req-24bb1e94-8f20-496e-a986-98fad008e264 None] CAST unique_id: a7a7c11420e2448cace00557c609bc45 exchange 'openstack' topic 'cinder-scheduler' _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:448 2015-11-24 15:43:21.764 DEBUG object [req-24bb1e94-8f20-496e-a986-98fad008e264 None] Cinder object Volume has no attribute named: type get /opt/stack/cinder/cinder/objects/base.py:117 2015-11-24 15:43:21.764 INFO cinder.volume.api [req-24bb1e94-8f20-496e-a986-98fad008e264 None] Volume(_name_id=None,admin_metadata={},attach_status='detached',availability_zone='nova',bootable=False,consistencygroup_id=None,created_at=2015-11-24T17:25:43Z,deleted=False,deleted_at=None,display_description=None,display_name='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',ec2_id=None,encryption_key_id=None,host='ubuntuasdfasd@lvmdriver-1#lvmdriver-1',id=ffe2a72d-cbb8-465c-b4cd-a97e16003695,launched_at=2015-11-24T17:26:25Z,metadata={},migration_status=None,multiattach=False,previous_status='available',project_id=5eb39b0e30bb4ac29863756473578229,provider_auth=None,provider_geometry=None,provider_id=None,provider_location=None,replication_driver_data=None,replication_extended_status=None,replication_status='disabled',scheduled_at=2015-11-24T17:26:01Z,size=1,snapshot_id=None,source_volid=None,status='retyping',terminated_at=None,updated_at=2015-11-24T17:26:26Z,user_id=2d96440ca54c401d873306be09add7
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description:
No error message when retype cinder volume to a type with empty metadata
Project:
OpenStack
Project Area:
cinder
Release:
OpenStack
Severity:
S1
Full Details:
type1 was created with no key/value. However retype command didn't return any error message, but from log , the operation was failed.
stack@ubuntuasdfasd:
$ cinder retype ffe2a72d-cbb8-465c-b4cd-a97e16003695 type1$ cinder show ffe2a72d-cbb8-465c-b4cd-a97e16003695 | grep typestack@ubuntuasdfasd:
| volume_type | lvmdriver-1 |
stack@ubuntuasdfasd:~$ cinder show ffe2a72d-cbb8-465c-b4cd-a97e16003695
+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+---------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2015-11-24T17:25:43.000000 |
| description | None |
| encrypted | False |
| id | ffe2a72d-cbb8-465c-b4cd-a97e16003695 |
| metadata | {} |
| migration_status | None |
| multiattach | False |
| name | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
| os-vol-host-attr:host | ubuntuasdfasd@lvmdriver-1#lvmdriver-1 |
| os-vol-mig-status-attr:migstat | None |
| os-vol-mig-status-attr:name_id | None |
| os-vol-tenant-attr:tenant_id | 5eb39b0e30bb4ac29863756473578229 |
| os-volume-replication:driver_data | None |
| os-volume-replication:extended_status | None |
| replication_status | disabled |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| updated_at | 2015-11-24T20:43:22.000000 |
| user_id | 2d96440ca54c401d873306be09add713 |
| volume_type | lvmdriver-1 <<<<<< ---- Retype operation failed
2015-11-24 15:43:21.492 DEBUG cinder.api.openstack.wsgi [req-02fd5ea3-22a2-4947-bbcc-fd85e8e627a7 admin] Action body: {"os-retype": {"new_type": "type1", "migration_policy": "never"}} get_method /opt/stack/cinder/cinder/api/openstack/wsgi.py:1093
2015-11-24 15:43:21.572 DEBUG object [req-02fd5ea3-22a2-4947-bbcc-fd85e8e627a7 admin] Cinder object Volume has no attribute named: type get /opt/stack/cinder/cinder/objects/base.py:117
2015-11-24 15:43:21.572 INFO cinder.volume.api [req-02fd5ea3-22a2-4947-bbcc-fd85e8e627a7 admin] Volume(_name_id=None,admin_metadata={},attach_status='detached',availability_zone='nova',bootable=False,consistencygroup_id=None,created_at=2015-11-24T17:25:43Z,deleted=False,deleted_at=None,display_description=None,display_name='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',ec2_id=None,encryption_key_id=None,host='ubuntuasdfasd@lvmdriver-1#lvmdriver-1',id=ffe2a72d-cbb8-465c-b4cd-a97e16003695,launched_at=2015-11-24T17:26:25Z,metadata={},migration_status=None,multiattach=False,previous_status=None,project_id=5eb39b0e30bb4ac29863756473578229,provider_auth=None,provider_geometry=None,provider_id=None,provider_location=None,replication_driver_data=None,replication_extended_status=None,replication_status='disabled',scheduled_at=2015-11-24T17:26:01Z,size=1,snapshot_id=None,source_volid=None,status='available',terminated_at=None,updated_at=2015-11-24T17:26:26Z,user_id=2d96440ca54c401d873306be09add713,volume_attachment=,volume_type=,volume_type_id=6ae77552-574c-4061-8599-cf670dfb4832)Volume info retrieved successfully.
2015-11-24 15:43:21.674 DEBUG cinder.quota [req-24bb1e94-8f20-496e-a986-98fad008e264 None] Created reservations ['e9171a8d-556a-4de0-b212-f9acce536273', 'df55e262-0b9e-4690-aa64-392819484fa8', '8dd7e238-6779-4b9b-bf9d-ebbbc4873dfe', '7309c8ba-db81-4b8e-9db0-0378a63999f4'] reserve /opt/stack/cinder/cinder/quota.py:810
2015-11-24 15:43:21.750 DEBUG object [req-24bb1e94-8f20-496e-a986-98fad008e264 None] Cinder object Volume has no attribute named: type get /opt/stack/cinder/cinder/objects/base.py:117
2015-11-24 15:43:21.751 INFO cinder.volume.api [req-24bb1e94-8f20-496e-a986-98fad008e264 None] Volume(_name_id=None,admin_metadata={},attach_status='detached',availability_zone='nova',bootable=False,consistencygroup_id=None,created_at=2015-11-24T17:25:43Z,deleted=False,deleted_at=None,display_description=None,display_name='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',ec2_id=None,encryption_key_id=None,host='ubuntuasdfasd@lvmdriver-1#lvmdriver-1',id=ffe2a72d-cbb8-465c-b4cd-a97e16003695,launched_at=2015-11-24T17:26:25Z,metadata={},migration_status=None,multiattach=False,previous_status='available',project_id=5eb39b0e30bb4ac29863756473578229,provider_auth=None,provider_geometry=None,provider_id=None,provider_location=None,replication_driver_data=None,replication_extended_status=None,replication_status='disabled',scheduled_at=2015-11-24T17:26:01Z,size=1,snapshot_id=None,source_volid=None,status='retyping',terminated_at=None,updated_at=2015-11-24T17:26:26Z,user_id=2d96440ca54c401d873306be09add713,volume_attachment=,volume_type=,volume_type_id=6ae77552-574c-4061-8599-cf670dfb4832)Volume updated successfully.
2015-11-24 15:43:21.755 DEBUG oslo_messaging._drivers.amqpdriver [req-24bb1e94-8f20-496e-a986-98fad008e264 None] CAST unique_id: a7a7c11420e2448cace00557c609bc45 exchange 'openstack' topic 'cinder-scheduler' _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:448
2015-11-24 15:43:21.764 DEBUG object [req-24bb1e94-8f20-496e-a986-98fad008e264 None] Cinder object Volume has no attribute named: type get /opt/stack/cinder/cinder/objects/base.py:117
2015-11-24 15:43:21.764 INFO cinder.volume.api [req-24bb1e94-8f20-496e-a986-98fad008e264 None] Volume(_name_id=None,admin_metadata={},attach_status='detached',availability_zone='nova',bootable=False,consistencygroup_id=None,created_at=2015-11-24T17:25:43Z,deleted=False,deleted_at=None,display_description=None,display_name='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',ec2_id=None,encryption_key_id=None,host='ubuntuasdfasd@lvmdriver-1#lvmdriver-1',id=ffe2a72d-cbb8-465c-b4cd-a97e16003695,launched_at=2015-11-24T17:26:25Z,metadata={},migration_status=None,multiattach=False,previous_status='available',project_id=5eb39b0e30bb4ac29863756473578229,provider_auth=None,provider_geometry=None,provider_id=None,provider_location=None,replication_driver_data=None,replication_extended_status=None,replication_status='disabled',scheduled_at=2015-11-24T17:26:01Z,size=1,snapshot_id=None,source_volid=None,status='retyping',terminated_at=None,updated_at=2015-11-24T17:26:26Z,user_id=2d96440ca54c401d873306be09add7
The text was updated successfully, but these errors were encountered: