Re: [Openstack] cinder-volume can not live migration

2018-06-01 Thread Erlon Cruz
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 楊禮銓 :

> 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.00   |
> | 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.00   |
> | 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
>
>
___
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


[Openstack] cinder-volume can not live migration

2018-02-22 Thread Cheung 楊禮銓
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.00   |
| 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.00   |
| 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.
2018-02-23 10:15:15.194 9918 INFO cinder.volume.flows.manager.create_volume [req-86b9bd49-4c80-4ae8-b800-8c5e93fe828a 5bfa4f66825a40709e44a047bd251bcb 963097c754bf40c5a077f2ae89be36c3 - 82415fe4f21e43618111b940c7a4564e 82415fe4f21e43618111b940c7a4564e] Volume 1495b9e9-e56a-468b-a134-59b0a728fa00: being created as raw with specification: {'status': u'creating', 'volume_size': 51, 'volume_name': 'volume-1495b9e9-e56a-468b-a134-59b0a728fa00'}
2018-02-23 10:15:15.471 9918 INFO cinder.volume.flows.manager.create_volume [req-86b9bd49-4c80-4ae8-b800-8c5e93fe828a 5bfa4f66825a40709e44a047bd251bcb 963097c754bf40c5a077f2ae89be36c3 - 82415fe4f21e43618111b940c7a4564e 82415fe4f21e43618111b940c7a4564e] Volume volume-1495b9e9-e56a-468b-a134-59b0a728fa00 (1495b9e9-e56a-468b-a134-59b0a728fa00): created successfully
2018-02-23 10:15:15.476 9918 INFO cinder.volume.manager [req-86b9bd49-4c80-4ae8-b800-8c5e93fe828a 5bfa4f66825a40709e44a047bd251bcb 963097c754bf40c5a077f2ae89be36c3 - 82415fe4f21e43618111b940c7a4564e 82415fe4f21e43618111b940c7a4564e] Created volume successfully.
2018-02-23 10:17:44.083 9918 INFO cinder.rpc [req-7cf513cf-64d5-4436-bd76-24eb7b10dfe9 0073abbfcf344f0697c7238a6fdd2501 b0ab0541ad07440dada20c40d8088b8b - default default] Automatica