Mailing List Archive

cinder-volume can not live migration
Dear:

If the volume size is bigger than 50G, I can not live migration lvm volume.

I am using openstack pike version.

Do I miss something?

[root@controller01<mailto:root@controller01>: cinder]# cinder get-pools
+----------+--------------------------+
| Property | Value |
+----------+--------------------------+
| name | controller01@lvm<mailto:controller01@lvm>#LVM-SAS |
+----------+--------------------------+
+----------+--------------------------+
| Property | Value |
+----------+--------------------------+
| name | controller02@lvm<mailto:controller02@lvm>#LVM-SAS |
+----------+--------------------------+


[root@controller01<mailto:root@controller01>: cinder]# openstack volume show 1495b9e9-e56a-468b-a134-59b0a728fa00
+--------------------------------+--------------------------------------+
| Field | Value |
+--------------------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2018-02-23T02:15:14.000000 |
| description | |
| encrypted | False |
| id | 1495b9e9-e56a-468b-a134-59b0a728fa00 |
| migration_status | error |
| multiattach | False |
| name | windows |
| os-vol-host-attr:host | controller01@lvm<mailto:controller01@lvm>#LVM-SAS |
| os-vol-mig-status-attr:migstat | error |
| os-vol-mig-status-attr:name_id | None |
| os-vol-tenant-attr:tenant_id | 963097c754bf40c5a077f2ae89be36c3 |
| properties | |
| replication_status | None |
| size | 51 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| type | LVM-SAS |
| updated_at | 2018-02-23T02:18:47.000000 |
| user_id | 5bfa4f66825a40709e44a047bd251bcb |
+--------------------------------+--------------------------------------+






--
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

The information contained in this communication and attachment is confidential and is intended only for the use of the recipient to which this communication is addressed. Any disclosure, copying or distribution of this communication without the sender's consents is strictly prohibited. If you are not the intended recipient, please notify the sender and delete this communication entirely without using, retaining, or disclosing any of its contents. Internet communications cannot be guaranteed to be virus-free. The recipient is responsible for ensuring that this communication is virus free and the sender accepts no liability for any damages caused by virus transmitted by this communication.
Re: cinder-volume can not live migration [ In reply to ]
Hi Cheung,

Can't figure out much from your logs. Its more likely to be an LVM thing.
We haven't tested this scenario, as the tests we run only tests 1GB volumes
for performace reasons. But why would someone create a volume bigger than
that? :P

Can you open a bug on launchpad? Describing the steps to reproduce.

Erlon

2018-02-22 23:30 GMT-03:00 Cheung ??? <Cheung@ezfly.com>:

> Dear:
>
> If the volume size is bigger than 50G, I can not live migration lvm volume.
>
> I am using openstack pike version.
>
> Do I miss something?
>
> [root@controller01: cinder]# cinder get-pools
> +----------+--------------------------+
> | Property | Value |
> +----------+--------------------------+
> | name | controller01@lvm#LVM-SAS |
> +----------+--------------------------+
> +----------+--------------------------+
> | Property | Value |
> +----------+--------------------------+
> | name | controller02@lvm#LVM-SAS |
> +----------+--------------------------+
>
>
> [root@controller01: cinder]# openstack volume show
> 1495b9e9-e56a-468b-a134-59b0a728fa00
> +--------------------------------+--------------------------------------+
> | Field | Value |
> +--------------------------------+--------------------------------------+
> | attachments | [] |
> | availability_zone | nova |
> | bootable | false |
> | consistencygroup_id | None |
> | created_at | 2018-02-23T02:15:14.000000 |
> | description | |
> | encrypted | False |
> | id | 1495b9e9-e56a-468b-a134-59b0a728fa00 |
> | migration_status | error |
> | multiattach | False |
> | name | windows |
> | os-vol-host-attr:host | controller01@lvm#LVM-SAS |
> | os-vol-mig-status-attr:migstat | error |
> | os-vol-mig-status-attr:name_id | None |
> | os-vol-tenant-attr:tenant_id | 963097c754bf40c5a077f2ae89be36c3 |
> | properties | |
> | replication_status | None |
> | size | 51 |
> | snapshot_id | None |
> | source_volid | None |
> | status | available |
> | type | LVM-SAS |
> | updated_at | 2018-02-23T02:18:47.000000 |
> | user_id | 5bfa4f66825a40709e44a047bd251bcb |
> +--------------------------------+--------------------------------------+
>
>
>
>
>
>
> --
> ???????????????????????????????????????????????????????????????????????
> ???????????????????????????????????????????????????????????????????????????????
>
>
> The information contained in this communication and attachment is
> confidential and is intended only for the use of the recipient to which
> this communication is addressed. Any disclosure, copying or distribution of
> this communication without the sender's consents is strictly prohibited. If
> you are not the intended recipient, please notify the sender and delete
> this communication entirely without using, retaining, or disclosing any of
> its contents. Internet communications cannot be guaranteed to be
> virus-free. The recipient is responsible for ensuring that this
> communication is virus free and the sender accepts no liability for any
> damages caused by virus transmitted by this communication.
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>
>