BackUp是将Volume备份到别的地方(备份设备),将来可以通过restore操作恢复。
 
BackUp VS Snapshot
 
查看backup功能好像与snapshot很相似,都可以保存volume的当前状态,以备以后恢复。但二者在用途和实现上还是有却别的,具体表现在:
 
    1、Snapshot依赖于源volume,不能独立存在;而backup不依赖与源volume,即使源volume不存在了,也可以restore
    2、Snapshot 与源volume 通常放在一起,都由同一个volume provider 管理;而backup存放在独立的备份设备中,有自己的备份方案和实现,与volume provider 没有关系。
    3、上面两点决定了backup 具有容灾功能;而snapshot则提供volume provider内便捷的回溯功能
 
配置cinder-backup
 
Cinder 的Backup功能是由 cinder-backup 服务提供的,DevStack 默认没有启用该服务,需要手工启动。与cinder-volume类似,cinder-backup也通过driver架构支持多种备份backend,包括POSIX文件系统、NFS、Ceph、GlusterFS、Swift和IBM TSM。支持的driver 源文件放在/opt/stack/cinder/cinder/backup/drivers/目录下
 
[root@DevStack-Rocky-Compute-22 ~]# ll /opt/stack/cinder/cinder/backup/drivers/
total 132
-rw-r--r--. 1 stack root 53872 Jun  6 23:22 ceph.py
-rw-r--r--. 1 stack root 15322 Jun  6 23:22 gcs.py
-rw-r--r--. 1 stack root  3528 Jun  6 23:22 glusterfs.py
-rw-r--r--. 1 stack root     0 Jun  6 23:22 __init__.py
-rw-r--r--. 1 stack root  3868 Jun  6 23:22 nfs.py
-rw-r--r--. 1 stack root  5865 Jun  6 23:22 posix.py
-rw-r--r--. 1 stack root 18587 Jun  6 23:22 swift.py
-rw-r--r--. 1 stack root 21172 Jun  6 23:22 tsm.py
 
本节以NFS为backend来研究backup操作。
 
在实验环境中,存放volume backup 的NFS 远程目录为 10.12.28.8:/home/nfs ,cinder-backup服务节点上 挂载点为 /backup_mount 。需要在/etc/cinder/cinder.conf中进行配置
 
[DEFAULT]
backup_driver = cinder.backup.drivers.nfs
backup_mount_point_base = /backup_mount
backup_share = 10.12.28.8:/home/nfs
 
启动cinder-backup,第一次执行会报错,第二次就好了(第二次执行加 & ,这样不会占用终端)
/usr/bin/python /usr/bin/cinder-backup --config-file /etc/cinder/cinder.conf
 
目前只能在命令行执行backup操作(因为要执行backup的volume当前attach到了Instance上,所以需要添加--force选项,还可以添加 --incremental 选项执行增量备份)
 
[stack@DevStack-Rocky-Compute-22 ~]$ cinder list
+--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+
| ID                                   | Status | Name | Size | Volume Type | Bootable | Attached to                          |
+--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+
| 06984f3c-44e1-42a5-b03c-08a0cfa19f73 | in-use |      | 1    | lvmdriver-1 | true     | 502d7935-e350-4164-8ef4-95cc8b34bd54 |
+--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+
[stack@DevStack-Rocky-Compute-22 ~]$ cinder backup-create 06984f3c-44e1-42a5-b03c-08a0cfa19f73 --force
+-----------+--------------------------------------+
| Property  | Value                                |
+-----------+--------------------------------------+
| id        | 2e20eca6-07ed-4231-8576-891446ae5ff7 |
| name      | None                                 |
| volume_id | 06984f3c-44e1-42a5-b03c-08a0cfa19f73 |
+-----------+--------------------------------------+
[stack@DevStack-Rocky-Compute-22 ~]$ cinder list
+--------------------------------------+------------+-------------------------------------------------+------+-------------+----------+--------------------------------------+
| ID                                   | Status     | Name                                            | Size | Volume Type | Bootable | Attached to                          |
+--------------------------------------+------------+-------------------------------------------------+------+-------------+----------+--------------------------------------+
| 06984f3c-44e1-42a5-b03c-08a0cfa19f73 | backing-up |                                                 | 1    | lvmdriver-1 | true     | 502d7935-e350-4164-8ef4-95cc8b34bd54 |
| 964ba140-4b45-4072-ac6a-4a3c0ff50fc8 | available  | backup-vol-06984f3c-44e1-42a5-b03c-08a0cfa19f73 | 1    | lvmdriver-1 | false    |                                      |
+--------------------------------------+------------+-------------------------------------------------+------+-------------+----------+--------------------------------------+
[stack@DevStack-Rocky-Compute-22 ~]$ cinder list
+--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+
| ID                                   | Status | Name | Size | Volume Type | Bootable | Attached to                          |
+--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+
| 06984f3c-44e1-42a5-b03c-08a0cfa19f73 | in-use |      | 1    | lvmdriver-1 | true     | 502d7935-e350-4164-8ef4-95cc8b34bd54 |
+--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+
[stack@DevStack-Rocky-Compute-22 ~]$ cinder backup-list
+--------------------------------------+--------------------------------------+-----------+------+------+--------------+--------------------------------------------+
| ID                                   | Volume ID                            | Status    | Name | Size | Object Count | Container                                  |
+--------------------------------------+--------------------------------------+-----------+------+------+--------------+--------------------------------------------+
| 2e20eca6-07ed-4231-8576-891446ae5ff7 | 06984f3c-44e1-42a5-b03c-08a0cfa19f73 | available | -    | 1    | 2            | 2e/20/2e20eca6-07ed-4231-8576-891446ae5ff7 |
+--------------------------------------+--------------------------------------+-----------+------+------+--------------+--------------------------------------------+
 
cinder-backup执行backup过程分析:
 
    1、启动backup操作,mount NFS
    2、创建volume的临时快照,见上面backup过程中  cinder list 内容
    3、创建存放backup的container目录
    4、对临时快照进行数据压缩,并保存到container目录
    5、创建并保存sha256(加密)文件和metadata文件
    6、删除临时快照
 
 
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: INFO cinder.api.openstack.wsgi [None req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 admin admin] GET http://10.12.30.21/volume/v3/9ed27f1df9814f91b370d1003b066b0a/volumes/06984f3c-44e1-42a5-b03c-08a0cfa19f73
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: DEBUG cinder.api.openstack.wsgi [None req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 admin admin] Empty body provided in request {{(pid=21071) get_body /opt/stack/cinder/cinder/api/openstack/wsgi.py:718}}
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: DEBUG cinder.api.openstack.wsgi [None req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 admin admin] Calling method 'show' {{(pid=21071) _process_stack /opt/stack/cinder/cinder/api/openstack/wsgi.py:872}}
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: INFO cinder.volume.api [None req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 admin admin] Volume info retrieved successfully.
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: INFO cinder.api.openstack.wsgi [None req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 admin admin] http://10.12.30.21/volume/v3/9ed27f1df9814f91b370d1003b066b0a/volumes/06984f3c-44e1-42a5-b03c-08a0cfa19f73 returned with HTTP 200
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: INFO cinder.api.openstack.wsgi [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin admin] POST http://10.12.30.21/volume/v3/9ed27f1df9814f91b370d1003b066b0a/backups
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: DEBUG cinder.api.openstack.wsgi [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin admin] Action: 'create', calling method: create, body: {"backup": {"force": true, "description": null, "snapshot_id": null, "incremental": false, "volume_id": "06984f3c-44e1-42a5-b03c-08a0cfa19f73", "container": null, "name": null}} {{(pid=21070) _process_stack /opt/stack/cinder/cinder/api/openstack/wsgi.py:869}}
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: DEBUG cinder.api.contrib.backups [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin admin] Creating new backup {u'backup': {u'container': None, u'description': None, u'snapshot_id': None, u'incremental': False, u'volume_id': u'06984f3c-44e1-42a5-b03c-08a0cfa19f73', u'force': True, u'name': None}} {{(pid=21070) create /opt/stack/cinder/cinder/api/contrib/backups.py:153}}
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: INFO cinder.api.contrib.backups [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin admin] Creating backup of volume 06984f3c-44e1-42a5-b03c-08a0cfa19f73 in container None
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: INFO cinder.volume.api [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin admin] Volume info retrieved successfully.
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: DEBUG cinder.quota [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin admin] Created reservations ['b33376fa-e857-46ee-a118-5fc01bb4b25b', '0d228dee-b8d3-430b-97ff-47b96565649a'] {{(pid=21070) reserve /opt/stack/cinder/cinder/quota.py:1029}}
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: DEBUG cinder.backup.rpcapi [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin admin] create_backup in rpcapi backup_id 2e20eca6-07ed-4231-8576-891446ae5ff7 {{(pid=21070) create_backup /opt/stack/cinder/cinder/backup/rpcapi.py:57}}
Jul  2 22:20:26 DevStack-Rocky-Controller-21 devstack@c-api.service: INFO cinder.api.openstack.wsgi [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin admin] http://10.12.30.21/volume/v3/9ed27f1df9814f91b370d1003b066b0a/backups returned with HTTP 202
Jul  2 22:20:28 DevStack-Rocky-Controller-21 cinder-volume: DEBUG cinder.volume.driver [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Creating a new backup for volume volume-06984f3c-44e1-42a5-b03c-08a0cfa19f73. {{(pid=22852) _get_backup_volume_temp_volume /opt/stack/cinder/cinder/volume/driver.py:1177}}
Jul  2 22:20:28 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvs --noheadings --unit=g -o vg_name,name,size --nosuffix stack-volumes-lvmdriver-1/volume-06984f3c-44e1-42a5-b03c-08a0cfa19f73 {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:20:28 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvs --noheadings --unit=g -o vg_name,name,size --nosuffix stack-volumes-lvmdriver-1/volume-06984f3c-44e1-42a5-b03c-08a0cfa19f73" returned: 0 in 0.306s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:20:28 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvcreate --name volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 --snapshot stack-volumes-lvmdriver-1/volume-06984f3c-44e1-42a5-b03c-08a0cfa19f73 {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:20:28 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvcreate --name volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 --snapshot stack-volumes-lvmdriver-1/volume-06984f3c-44e1-42a5-b03c-08a0cfa19f73" returned: 0 in 0.399s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:20:28 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvchange -a y --yes -k n stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:20:29 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvchange -a y --yes -k n stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8" returned: 0 in 0.319s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:20:29 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvchange -a y --yes -K stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:20:29 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvchange -a y --yes -K stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8" returned: 0 in 0.273s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:20:29 DevStack-Rocky-Controller-21 cinder-volume: INFO cinder.volume.targets.lio [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Creating iscsi_target for volume: volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8
Jul  2 22:20:29 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" acquired by "cinder.volume.targets.lio._execute" :: waited 0.000s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273}}
Jul  2 22:20:29 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool create /dev/stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 iqn.2010-10.org.openstack:volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 kMQqe7C9R67buRENfic3 aRBksd8xc8M23UqP False -p3260 -a10.12.30.21 {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:20:30 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool create /dev/stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 iqn.2010-10.org.openstack:volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 kMQqe7C9R67buRENfic3 aRBksd8xc8M23UqP False -p3260 -a10.12.30.21" returned: 0 in 0.624s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:20:30 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" released by "cinder.volume.targets.lio._execute" :: held 0.626s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285}}
Jul  2 22:20:30 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" acquired by "cinder.volume.targets.lio._execute" :: waited 0.000s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273}}
Jul  2 22:20:30 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool get-targets {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:20:30 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool get-targets" returned: 0 in 0.498s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:20:30 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" released by "cinder.volume.targets.lio._execute" :: held 0.500s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285}}
Jul  2 22:20:30 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" acquired by "cinder.volume.targets.lio._execute" :: waited 0.000s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273}}
Jul  2 22:20:30 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool save {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:20:31 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool save" returned: 0 in 0.577s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:20:31 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" released by "cinder.volume.targets.lio._execute" :: held 0.579s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285}}
Jul  2 22:20:31 DevStack-Rocky-Controller-21 cinder-volume: DEBUG cinder.volume.targets.iscsi [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Set provider_location to: 10.12.30.21:3260,iqn.2010-10.org.openstack:volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 iqn.2010-10.org.openstack:volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 0 {{(pid=22852) create_export /opt/stack/cinder/cinder/volume/targets/iscsi.py:215}}
Jul  2 22:20:31 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" acquired by "cinder.volume.targets.lio._execute" :: waited 0.000s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273}}
Jul  2 22:20:31 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool add-initiator iqn.2010-10.org.openstack:volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 kMQqe7C9R67buRENfic3 aRBksd8xc8M23UqP iqn.1994-05.com.redhat:ce630fd6190 {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:20:31 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool add-initiator iqn.2010-10.org.openstack:volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 kMQqe7C9R67buRENfic3 aRBksd8xc8M23UqP iqn.1994-05.com.redhat:ce630fd6190" returned: 0 in 0.536s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:20:31 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" released by "cinder.volume.targets.lio._execute" :: held 0.539s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285}}
Jul  2 22:20:31 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" acquired by "cinder.volume.targets.lio._execute" :: waited 0.000s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273}}
Jul  2 22:20:31 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool save {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:20:32 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool save" returned: 0 in 0.591s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:20:32 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" released by "cinder.volume.targets.lio._execute" :: held 0.593s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285}}
Jul  2 22:20:32 DevStack-Rocky-Controller-21 cinder-volume: INFO cinder.volume.manager [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Initialize volume connection completed successfully.
Jul  2 22:20:59 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" acquired by "cinder.volume.targets.lio._execute" :: waited 0.000s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273}}
Jul  2 22:20:59 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool delete-initiator iqn.2010-10.org.openstack:volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 iqn.1994-05.com.redhat:ce630fd6190 {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:21:00 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool delete-initiator iqn.2010-10.org.openstack:volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 iqn.1994-05.com.redhat:ce630fd6190" returned: 0 in 1.041s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:21:00 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" released by "cinder.volume.targets.lio._execute" :: held 1.042s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285}}
Jul  2 22:21:00 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" acquired by "cinder.volume.targets.lio._execute" :: waited 0.000s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273}}
Jul  2 22:21:00 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool save {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool save" returned: 0 in 0.588s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" released by "cinder.volume.targets.lio._execute" :: held 0.590s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285}}
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: INFO cinder.volume.manager [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Terminate volume connection completed successfully.
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" acquired by "cinder.volume.targets.lio._execute" :: waited 0.000s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273}}
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool get-targets {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: DEBUG cinder.coordination [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "cinder-964ba140-4b45-4072-ac6a-4a3c0ff50fc8-delete_volume" acquired by "delete_volume" :: waited 0.048s {{(pid=22852) _synchronized /opt/stack/cinder/cinder/coordination.py:150}}
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: INFO cinder.volume.manager [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Trying to delete temp volume: 964ba140-4b45-4072-ac6a-4a3c0ff50fc8
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool get-targets" returned: 0 in 0.518s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" released by "cinder.volume.targets.lio._execute" :: held 0.520s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285}}
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: INFO cinder.volume.targets.lio [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Removing iscsi_target: 964ba140-4b45-4072-ac6a-4a3c0ff50fc8
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" acquired by "cinder.volume.targets.lio._execute" :: waited 0.000s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273}}
Jul  2 22:21:01 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool delete iqn.2010-10.org.openstack:volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:21:02 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool delete iqn.2010-10.org.openstack:volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8" returned: 0 in 0.551s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:21:02 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" released by "cinder.volume.targets.lio._execute" :: held 0.553s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285}}
Jul  2 22:21:02 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" acquired by "cinder.volume.targets.lio._execute" :: waited 0.000s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273}}
Jul  2 22:21:02 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool save {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:21:02 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool save" returned: 0 in 0.558s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:21:02 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" released by "cinder.volume.targets.lio._execute" :: held 0.562s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285}}
Jul  2 22:21:02 DevStack-Rocky-Controller-21 cinder-volume: INFO cinder.volume.manager [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Remove volume export completed successfully.
Jul  2 22:21:02 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" acquired by "cinder.volume.targets.lio._execute" :: waited 1.532s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273}}
Jul  2 22:21:02 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool get-targets {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:21:03 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool get-targets" returned: 0 in 0.515s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:21:03 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.lockutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "lioadm" released by "cinder.volume.targets.lio._execute" :: held 0.516s {{(pid=22852) inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285}}
Jul  2 22:21:03 DevStack-Rocky-Controller-21 cinder-volume: INFO cinder.volume.targets.iscsi [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Skipping remove_export. No iscsi_target is presently exported for volume: 964ba140-4b45-4072-ac6a-4a3c0ff50fc8
Jul  2 22:21:03 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvs --noheadings --unit=g -o vg_name,name,size --nosuffix stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:21:03 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvs --noheadings --unit=g -o vg_name,name,size --nosuffix stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8" returned: 0 in 0.286s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:21:03 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvdisplay --noheading -C -o Attr stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:21:03 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvdisplay --noheading -C -o Attr stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8" returned: 0 in 0.289s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:21:03 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Running cmd (subprocess): sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvremove --config activation { retry_deactivation = 1}  -f stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8 {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:372}}
Jul  2 22:21:04 DevStack-Rocky-Controller-21 cinder-volume: DEBUG oslo_concurrency.processutils [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvremove --config activation { retry_deactivation = 1}  -f stack-volumes-lvmdriver-1/volume-964ba140-4b45-4072-ac6a-4a3c0ff50fc8" returned: 0 in 0.365s {{(pid=22852) execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:409}}
Jul  2 22:21:04 DevStack-Rocky-Controller-21 cinder-volume: INFO cinder.volume.drivers.lvm [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Successfully deleted volume: 964ba140-4b45-4072-ac6a-4a3c0ff50fc8
Jul  2 22:21:04 DevStack-Rocky-Controller-21 cinder-volume: WARNING py.warnings [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] /usr/lib64/python2.7/site-packages/sqlalchemy/orm/evaluator.py:71: SAWarning: Evaluating non-mapped column expression 'updated_at' onto ORM instances; this is a deprecated use case.  Please make use of the actual mapped columns in ORM-evaluated UPDATE / DELETE expressions.
Jul  2 22:21:04 DevStack-Rocky-Controller-21 cinder-volume: INFO cinder.volume.manager [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Deleted volume successfully.
Jul  2 22:21:04 DevStack-Rocky-Controller-21 cinder-volume: DEBUG cinder.coordination [req-97bdb30a-2461-4d92-8d77-1da241b2f3a5 req-8b498153-3faf-4bc2-bda8-6c290b69c6dc admin None] Lock "cinder-964ba140-4b45-4072-ac6a-4a3c0ff50fc8-delete_volume" released by "delete_volume" :: held 3.087s {{(pid=22852) _synchronized /opt/stack/cinder/cinder/coordination.py:162}}
 
 
 
 

O059、Backup Volume 操作的更多相关文章

  1. Backup Volume 操作 - 每天5分钟玩转 OpenStack(59)

    本节我们讨论 volume 的 Backup 操作. Backup 是将 volume 备份到别的地方(备份设备),将来可以通过 restore 操作恢复. Backup VS Snapshot 初看 ...

  2. Detach Volume 操作 - 每天5分钟玩转 OpenStack(55)

    上一节我们成功地通过 attach 操作为 instance 添加了 volume,而与之相对的操作是 detach,就是将 volume 从 instance 上卸载下来. 下图是 Detach 操 ...

  3. Create Volume 操作(Part I) - 每天5分钟玩转 OpenStack(50)

    前面已经学习了 Cinder 的架构和相关组件,从本节我们开始详细分析 Cinder 的各种操作,首先讨论 Cinder 如何创建 volume. Create 操作流程如下: 客户(可以是 Open ...

  4. O050、Create Volume 操作 (Part I)

    参考https://www.cnblogs.com/CloudMan6/p/5603312.html   前面已经学习了Cinder的架构和相关组件,从本节开始详细分析 Cinder 的各种操作,首先 ...

  5. Restore Volume 操作 - 每天5分钟玩转 OpenStack(60)

    前面我们 backup 了 voluem,今天我们将讨论如何 restore volume. restore 的过程其实很简单,两步走: 在存储节点上创建一个空白 volume. 将 backup 的 ...

  6. Snapshot Volume 操作 - 每天5分钟玩转 OpenStack(58)

    Snapshot 可以为 volume 创建快照,快照中保存了 volume 当前的状态,以后可以通过 snapshot 回溯.snapshot 操作实现比较简单,流程图如下: 向 cinder-ap ...

  7. O060、Restore Volume 操作

    参考https://www.cnblogs.com/CloudMan6/p/5668872.html   前面我们学习了backup操作,现在我们来学习如何使用backup进行restore.   r ...

  8. Delete Volume 操作 - 每天5分钟玩转 OpenStack(57)

    今天讨论 cinder 如何删除 volume . 状态为 Available 的 volume 才能够被 delete.如果 volume 当前已经 attach 到 instance,需要先 de ...

  9. Extend Volume 操作 - 每天5分钟玩转 OpenStack(56)

    前面我们讨论了 volume 的 attach 和 detach 操作,今天讨论如何扩大 volume 的容量.为了保护现有数据,cinder 不允许缩小 volume. Extend 操作用于扩大 ...

随机推荐

  1. Flutter移动电商实战 --(10)使用FlutterSwiper制作轮播效果

    1.引入flutter_swiper插件 flutter最强大的siwiper, 多种布局方式,无限轮播,Android和IOS双端适配. 好牛X得介绍,一般敢用“最”的一般都是神级大神,看到这个介绍 ...

  2. 2017-12-3 Crontab(字符串处理)

    Crontab 哈哈本人的不及格代码(暂留): #include<iostream> #include<queue> #include<cmath> #includ ...

  3. Linux终端Terminal常用快捷键

    快捷键 功能CTRL+ALT+T 打开终端Ctrl+a 光标移动到开始位置Ctrl+e 光标移动到最末尾Ctrl+k 删除此处至末尾的所有内容Ctrl+u 删除此处至开始的所有内容Ctrl+d 删除当 ...

  4. 【批处理】ren命令_批量重命名文件

    [ren命令] 说明:ren是“rename(重命名)”的简写: 命令:REN [Drive:][path] <old filename> <new filename> 解释: ...

  5. cat中文正常vi中文乱码

    Linux cat中文正常vi中文乱码 问题示例 出现此问题,有可能是vim 编辑器的配置编码方面的问题. 出现此情况,在vim 编辑器中输入 :e ++enc=utf8 :e ++enc=zh_CN ...

  6. 在业务控制方法中写入包装User的模型来收集参数

    可以在业务控制方法中书写0个或多个模型来收集客户端的参数 1)  如果多个模型中有相同的属性时,可以用user.name或admin.name来收集客户端参数 2)  用一个新的模型将User和Adm ...

  7. css3弹性盒子display:flex

    先看上面的代码,解释一下意思,看你能认识多少(后面有注释): .container { display: flex; //弹性布局 flex-direction: column; //容器内项目的排列 ...

  8. WPF 绑定集合 根据集合个数改变样式 INotifyCollectionChanged

    问题:当前ListBox Items 绑定 集合数据源ListA时候:ListA集合数据源中存在另外一个集合ListB,当更改或往ListB集合中添加数据的时候,通知改变? 实体类继承 INotify ...

  9. 关于java面试题

    java的优点: Java是一种跨平台,适合于分布式计算环境的面向对象编程语言. 具体来说,它具有如下特性: 简单性.面向对象.分布式.解释型.可靠.安全.平台无关.可移植.高性能.多线程.动态性等.

  10. Windows10系统python环境下安装Dlib库(转载,蔡军帅亲测可用)

    Dlib是一个很优秀的机器学习库,最近做人脸识别要用到这个库,简要记录一下配置过程,准备工作: 1.python环境 2.安装好pip(这里有个简单的安装教程) 3.Dlib包,贴一个我安装的版本,链 ...