[cinder] volume snapshot on queens not working as in ocata
Hello All, I have tow different openstack installations: ocata and queens. On both I have the same cinder sorage based on netapp via nfs. If I run the following steps on ocata, it works fine: [root@redhatcontrol ~(keystone_admin)]# openstack user list | grep -E 'demo|admin' | 1ced168db56f40819fef88d926dab69f | admin | | 66a09025a74448089bc110d5beded3d7 | demo | [root@redhatcontrol ~(keystone_admin)]# openstack project list +----------------------------------+---------------------+ | ID | Name | +----------------------------------+---------------------+ | 422a93f6de4f47c2971dcf38bd6db818 | demo | | 54d2cfa23b894357be9688b08374e1a9 | default test tenant | | 5e34c44cbf8b4db782187a01c82b890a | admin | | 95fe0e009128404aa3e0fac1e970f240 | Migration Tenant | | c266b36c8f0e4959b0cbdba2c11e4371 | services | +----------------------------------+---------------------+ [root@redhatcontrol ~(keystone_admin)]# openstack role list +----------------------------------+---------------+ | ID | Name | +----------------------------------+---------------+ | 4de19a9f2c3947a09b57fc6e5d09255c | SwiftOperator | | 71c439ed9e5c43ab87a81432e108739e | admin | | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | fa8209d2929540d8a590703c00d2a83f | ResellerAdmin | +----------------------------------+---------------+ openstack trust create --impersonate --project 422a93f6de4f47c2971dcf38bd6db818 --role 9fe2ff9ee4384b1894a90878d3e92bab 66a09025a74448089bc110d5beded3d7 1ced168db56f40819fef88d926dab69f +--------------------+----------------------------------+ | Field | Value | +--------------------+----------------------------------+ | deleted_at | None | | expires_at | None | | id | 34e04d74345b42b987ed177b463de36f | | impersonation | True | | project_id | 422a93f6de4f47c2971dcf38bd6db818 | | redelegation_count | 0 | | remaining_uses | None | | roles | _member_ | | trustee_user_id | 1ced168db56f40819fef88d926dab69f | | trustor_user_id | 66a09025a74448089bc110d5beded3d7 | +--------------------+----------------------------------+ openstack --os-trust-id 34e04d74345b42b987ed177b463de36f --os-username admin --os-auth-url http://142.44.137.114:5000/v3 --os_identity_api_version 3 --os-password xxxxxx volume list +--------------------------------------+------+-----------+------+-------------+ | ID | Name | Status | Size | Attached to | +--------------------------------------+------+-----------+------+-------------+ | fde028b7-2dbb-4c7e-a1e9-7a21e05d6810 | vol1 | available | 1 | | +--------------------------------------+------+-----------+------+-------------+ openstack --os-trust-id 34e04d74345b42b987ed177b463de36f --os-username admin --os-password 1f53a5fd265b40b3 volume snapshot create fde028b7-2dbb-4c7e-a1e9-7a21e05d6810 +-------------+--------------------------------------+ | Field | Value | +-------------+--------------------------------------+ | created_at | 2019-01-22T22:31:09.633331 | | description | None | | id | 3e3bd85e-e223-42da-a682-168eb65e57c1 | | name | fde028b7-2dbb-4c7e-a1e9-7a21e05d6810 | | properties | | | size | 1 | | status | creating | | updated_at | None | | volume_id | fde028b7-2dbb-4c7e-a1e9-7a21e05d6810 | :: Same steps on queens produce errors: [root@controller ~(keystone_admin)]# openstack project list +----------------------------------+----------+ | ID | Name | +----------------------------------+----------+ | 65588a4fefc04676b58b7218cc806631 | test | | be28cd5925ef4e9a9a67880374702b92 | services | | d04bc32a65554223868ae3da8d38b986 | demo | | f31311f2b8e943c7ac0d9ffde3da301e | admin | +----------------------------------+----------+ [root@controller ~(keystone_admin)]# openstack user list +----------------------------------+-------------+ | ID | Name | +----------------------------------+-------------+ | 0abd6ac789d94e738d08b436cb3a4032 | neutron | | 115ce41c43d14ac8aba0703b45b64fd7 | sunil | | 138c168dc5b44b5a80de03249a955b6b | swift | | 2fdf04289f15459cb63ea8503e93449d | ceilometer | | 34d8b24e389940b192f17a83d9524966 | placement | | 499e005a7f3b4e0980289f894a8b9b80 | cinder | | 4fbbb1237d464795973544608986701a | triliovault | | 600374eb0884476ba4a2dd8c83684d7e | glance | | 849a4e937c1e481a8d0f414feb5022d5 | aodh | | 9731c45b5a2b48dda26b709b21d2149c | demo | | 9bf75dc88e7d4cc4a5d8eb8fa8428ede | gnocchi | | b032b818c1ef4ce7b8d7b8f9a34f632c | nova | | e66caefd407344bfbec86d079949132f | admin | +----------------------------------+-------------+ [root@controller ~(keystone_admin)]# openstack role list +----------------------------------+---------------+ | ID | Name | +----------------------------------+---------------+ | 51b3dbaa08634312ba4ca29f5d081752 | SwiftOperator | | 5282071e3609458dbbb08daf50d59dfb | ResellerAdmin | | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | b42186fc8953476eb2f5b4c697ce1408 | admin | +----------------------------------+---------------+ [root@controller ~(keystone_admin)]# openstack volume list +--------------------------------------+------------+-----------+------+------------------------------------+ | ID | Name | Status | Size | Attached to | +--------------------------------------+------------+-----------+------+------------------------------------+ | a603c9a5-ebbf-4622-b836-cd430f10aa5d | iscsi test | available | 1 | | | 263be5ed-f120-4b3b-a15d-181d59c0f85f | vol1 | in-use | 1 | Attached to server1 on /dev/vdb | | 12bc6248-b624-4fb0-81f2-c1f986c4697c | amit_vol | in-use | 1 | Attached to amit_test on /dev/vdb | | a8db08ee-7beb-484d-bdfc-7c5b123c1457 | amit_vol | available | 1 | | | d6fb4fac-c4a7-48a2-8a73-86316ca624d5 | amit_vol | available | 1 | | | 97afbe02-79c7-4907-b7c2-e6ef81d9b765 | temp | available | 1 | | | 62a489e9-6524-4ad2-8b7e-c70206568b10 | temp | error | 1 | | | abfd441e-51fe-4949-bb8c-0dd9395fb687 | amit_vol | available | 1 | | +--------------------------------------+------------+-----------+------+------------------------------------+ [root@controller ~(keystone_admin)]# openstack trust create --project f31311f2b8e943c7ac0d9ffde3da301e --role b42186fc8953476eb2f5b4c697ce1408 --impersonate e66caefd407344bfbec86d079949132f 4fbbb1237d464795973544608986701a +--------------------+----------------------------------+ | Field | Value | +--------------------+----------------------------------+ | deleted_at | None | | expires_at | None | | id | 464864573bf24a08a5c4aadd90492b90 | | impersonation | True | | project_id | f31311f2b8e943c7ac0d9ffde3da301e | | redelegation_count | 0 | | remaining_uses | None | | roles | admin | | trustee_user_id | 4fbbb1237d464795973544608986701a | | trustor_user_id | e66caefd407344bfbec86d079949132f | +--------------------+----------------------------------+ [root@controller ~]# openstack --os-trust-id 464864573bf24a08a5c4aadd90492b90 --os-username triliovault --os-password ********** --os-auth-url http://192.168.4.205:5000/v3 --os-identity-api-version 3 volume snapshot create --force --volume 12bc6248-b624-4fb0-81f2-c1f986c4697c amit_test +-------------+--------------------------------------+ | Field | Value | +-------------+--------------------------------------+ | created_at | 2019-01-23T08:59:01.276145 | | description | None | | id | 8f148320-4952-4641-aede-8b393155ea97 | | name | amit_test | | properties | | | size | 1 | | status | creating | | updated_at | None | | volume_id | 12bc6248-b624-4fb0-81f2-c1f986c4697c | +-------------+--------------------------------------+ [root@controller ~]# openstack --os-trust-id 464864573bf24a08a5c4aadd90492b90 --os-username triliovault --os-password ********** --os-auth-url http://192.168.4.205:5000/v3 --os-identity-api-version 3 volume snapshot show 8f148320-4952-4641-aede-8b393155ea97 +--------------------------------------------+--------------------------------------+ | Field | Value | +--------------------------------------------+--------------------------------------+ | created_at | 2019-01-23T08:59:01.000000 | | description | None | | id | 8f148320-4952-4641-aede-8b393155ea97 | | name | amit_test | | os-extended-snapshot-attributes:progress | 0% | | os-extended-snapshot-attributes:project_id | f31311f2b8e943c7ac0d9ffde3da301e | | properties | | | size | 1 | | status | error | | updated_at | 2019-01-23T08:59:03.000000 | | volume_id | 12bc6248-b624-4fb0-81f2-c1f986c4697c | +--------------------------------------------+--------------------------------------+ Any help, please ? Ignazio
On Wed, Jan 23, 2019 at 03:55:17PM +0100, Ignazio Cassano wrote:
Hello All, I have tow different openstack installations: ocata and queens. On both I have the same cinder sorage based on netapp via nfs. If I run the following steps on ocata, it works fine:
| status | error | | updated_at | 2019-01-23T08:59:03.000000 | | volume_id | 12bc6248-b624-4fb0-81f2-c1f986c4697c | +--------------------------------------------+--------------------------------------+
Any help, please ?
Ignazio
There is most likely an issue between Cinder and the backend storage device. You may be able to get some details by using the 'cinder message-list' and 'cinder message-show' command line: https://docs.openstack.org/python-cinderclient/latest/cli/details.html#cinde... If that does not provide a reasonable message at least pointing to where the problem is (which we should probably see if we can improve) then you will likely need to go to the cinder-volume log files. If you search in there, there will probably be traceback messages or other errors indicating why the snapshot failed. Sean
Thanks. I'll send logs asap. Regards Ignazio Il giorno Mer 23 Gen 2019 16:58 Sean McGinnis <sean.mcginnis@gmx.com> ha scritto:
On Wed, Jan 23, 2019 at 03:55:17PM +0100, Ignazio Cassano wrote:
Hello All, I have tow different openstack installations: ocata and queens. On both I have the same cinder sorage based on netapp via nfs. If I run the following steps on ocata, it works fine:
| status | error | | updated_at | 2019-01-23T08:59:03.000000 | | volume_id | 12bc6248-b624-4fb0-81f2-c1f986c4697c |
+--------------------------------------------+--------------------------------------+
Any help, please ?
Ignazio
There is most likely an issue between Cinder and the backend storage device.
You may be able to get some details by using the 'cinder message-list' and 'cinder message-show' command line:
https://docs.openstack.org/python-cinderclient/latest/cli/details.html#cinde...
If that does not provide a reasonable message at least pointing to where the problem is (which we should probably see if we can improve) then you will likely need to go to the cinder-volume log files. If you search in there, there will probably be traceback messages or other errors indicating why the snapshot failed.
Sean
Sorry , It works fine . Snapshot is created fine. I made a mistake. Ignazio Il giorno mer 23 gen 2019 alle ore 18:05 Ignazio Cassano < ignaziocassano@gmail.com> ha scritto:
Thanks. I'll send logs asap. Regards Ignazio
Il giorno Mer 23 Gen 2019 16:58 Sean McGinnis <sean.mcginnis@gmx.com> ha scritto:
On Wed, Jan 23, 2019 at 03:55:17PM +0100, Ignazio Cassano wrote:
Hello All, I have tow different openstack installations: ocata and queens. On both I have the same cinder sorage based on netapp via nfs. If I run the following steps on ocata, it works fine:
| status | error | | updated_at | 2019-01-23T08:59:03.000000 | | volume_id | 12bc6248-b624-4fb0-81f2-c1f986c4697c |
+--------------------------------------------+--------------------------------------+
Any help, please ?
Ignazio
There is most likely an issue between Cinder and the backend storage device.
You may be able to get some details by using the 'cinder message-list' and 'cinder message-show' command line:
https://docs.openstack.org/python-cinderclient/latest/cli/details.html#cinde...
If that does not provide a reasonable message at least pointing to where the problem is (which we should probably see if we can improve) then you will likely need to go to the cinder-volume log files. If you search in there, there will probably be traceback messages or other errors indicating why the snapshot failed.
Sean
participants (2)
-
Ignazio Cassano
-
Sean McGinnis