[Openstack-operators] Reconstruction of Erasure coded ring is taking more and more time

2016-06-27 Thread OpenStack Mailing List Archive

Link: https://openstack.nimeyo.com/88829/?show=88829#q88829
From: Pompon 

Hello all,

I'm investigating the logs for my Erasure coded ring. Last week, I used to have a full reconstruction process done in about one hour with around 30 partitions per second treated. Here is an extract of the object-reconstructor logs I had :

Jun 18 06:26:51 STACO1 object-reconstructor: 102414/113992 (89.84%) partitions of 7/7 (100.00%) devices reconstructed in 3600.01s (28.45/sec, 6m remaining)


Then I started puting data into the ring (Already sent 5TB of data into it), but the more data are injected into my erasure coded ring, the more times it takes, and the values are today : 70 hours for a full reconstruction process with only 5 partitions per seconds treated.

Jun 27 06:33:08 STACO1 object-reconstructor: 818326/818326 (100.00%) partitions of 7/7 (100.00%) devices reconstructed in 159563.78s (5.13/sec, 0s remaining)
Jun 27 06:38:39 STACO1 object-reconstructor: 955/116211 (0.82%) partitions of 1/7 (14.29%) devices reconstructed in 300.03s (3.18/sec, 70h remaining)


Also what means the "partitions" values given here? Last week I had only 113992 partitions, and now I have 818326?  However, my ring only contains 26244 partitions.

Between last week and now, I injected 5TB of data to the ring and added a 28th device into it

# swift-ring-builder object-1.builder
object-1.builder, build version 66
262144 partitions, 12.00 replicas, 1 regions, 4 zones, 28 devices, 0.82 balance, 31.02 dispersion
The minimum number of hours before a partition can be reassigned is 1 (0:00:00 remaining)
The overload factor is 0.00% (0.00)


Si should I worry about this long reconstruction time or not? And what can I do to enhance it in case? 

Thanks.



___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


[Openstack-operators] How to get instance name only by floating ip and then change it to hostname

2016-06-07 Thread OpenStack Mailing List Archive

Link: https://openstack.nimeyo.com/86809/?show=86809#q86809
From: Wenqi 

Hi,
What is the cli to get the instance name only and then change it to hostname?
I know how to get the instance info table from private ip by below command:
nova list --ip 11.11.111.11
I just want the name and then use the below command to change it with hostname
nova rename server name



___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators