Re: [Openstack] New instances booting time

2015-08-14 Thread Ivan Derbenev
Well, I have 4gb qcow2 image But it contains a 100gb filesystem And the rest 96 gbs are still copied Regards, IT engineer Farheap, Russia Ivan Derbenev -Original Message- From: Jay Pipes [mailto:jaypi...@gmail.com] Sent: Friday, August 14, 2015 4:56 PM To: openstack@lists.openstack.org

Re: [Openstack] changing hostname by changing instance name

2015-08-14 Thread mad Engineer
Yes Jerry Instance hostname is still old name of instance.Is there any way to update metadata with new name so that reboot will give it a new hostname? On Sat, Aug 15, 2015 at 12:01 AM, Jerry Zhao wrote: > I wonder whether the previous hostname was associated with the instance > name or not. If

Re: [Openstack] New instances booting time

2015-08-14 Thread Ivan Derbenev
Well, thanks. Actually, wanted to know, if this behavior is ok for every installation, or I has misconfigured smthing Regards, IT engineer Farheap, Russia Ivan Derbenev -Original Message- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: Friday, August 14, 2015 5:56 PM To: J

Re: [Openstack] changing hostname by changing instance name

2015-08-14 Thread David Medberry
This is a VM specific issue. You may be able to do so with cloud init but primarily you will need to go into the instance if you do this after the instance is booted. during the build state, the hostname is part of cloud-init. However, cloud-init has some fields that are read/set only once (IIRC).

Re: [Openstack] changing hostname by changing instance name

2015-08-14 Thread John Griffith
On Fri, Aug 14, 2015 at 12:31 PM, Jerry Zhao wrote: > I wonder whether the previous hostname was associated with the instance > name or not. If yes, then your cloud-init worked, just that metadata was > not updated by changing the instance name. If no, you need cloud-init built > in the image and

Re: [Openstack] changing hostname by changing instance name

2015-08-14 Thread Jerry Zhao
I wonder whether the previous hostname was associated with the instance name or not. If yes, then your cloud-init worked, just that metadata was not updated by changing the instance name. If no, you need cloud-init built in the image and it will poll the metadata after reboot. On 08/14/2015 1

Re: [Openstack] changing hostname by changing instance name

2015-08-14 Thread mad Engineer
so is editing cloudinit manually the only way to change hostname?.I wonder how would it get the instance name as hostname during build state. On Fri, Aug 14, 2015 at 11:06 PM, David Medberry wrote: > This is a VM specific issue. You may be able to do so with cloud init but > primarily you will n

[Openstack] changing hostname by changing instance name

2015-08-14 Thread mad Engineer
is there any way to change hostname by changing instance name. I tried changing instance name and then did a hard reboot but hostname is still the same.If this is not the right approach for changing hostname can some one tell me what should be done to change hostname of instances without logging to

Re: [Openstack] New instances booting time

2015-08-14 Thread Daniel P. Berrange
On Fri, Aug 14, 2015 at 03:34:09PM +0100, Daniel P. Berrange wrote: > On Fri, Aug 14, 2015 at 03:10:13PM +0100, Daniel P. Berrange wrote: > > On Fri, Aug 14, 2015 at 09:55:42AM -0400, Jay Pipes wrote: > > > On 08/13/2015 11:37 PM, Ivan Derbenev wrote: > > > >*From:*Ivan Derbenev [mailto:ivan.derbe.

Re: [Openstack] [KILO] [CEPH] Live Migration failure

2015-08-14 Thread Mehdi BADAOUI
Exactly David, I fix this error with generate the same uuid for both compute nodes. Thank you, Kind Regards, 2015-08-14 15:00 GMT+02:00 David Medberry : > I think they need to be the same UUID. Let me look where the UUID is > used... > > In nova.conf you should have: > rbd_secret_uuid=UUID >

Re: [Openstack] New instances booting time

2015-08-14 Thread Daniel P. Berrange
On Fri, Aug 14, 2015 at 03:10:13PM +0100, Daniel P. Berrange wrote: > On Fri, Aug 14, 2015 at 09:55:42AM -0400, Jay Pipes wrote: > > On 08/13/2015 11:37 PM, Ivan Derbenev wrote: > > >*From:*Ivan Derbenev [mailto:ivan.derbe...@tech-corps.com] > > >*Sent:* Wednesday, August 5, 2015 1:21 PM > > >*To:*

Re: [Openstack] New instances booting time

2015-08-14 Thread Daniel P. Berrange
On Fri, Aug 14, 2015 at 09:55:42AM -0400, Jay Pipes wrote: > On 08/13/2015 11:37 PM, Ivan Derbenev wrote: > >*From:*Ivan Derbenev [mailto:ivan.derbe...@tech-corps.com] > >*Sent:* Wednesday, August 5, 2015 1:21 PM > >*To:* openstack@lists.openstack.org > >*Subject:* [Openstack] New instances booting

Re: [Openstack] New instances booting time

2015-08-14 Thread Jay Pipes
On 08/13/2015 11:37 PM, Ivan Derbenev wrote: *From:*Ivan Derbenev [mailto:ivan.derbe...@tech-corps.com] *Sent:* Wednesday, August 5, 2015 1:21 PM *To:* openstack@lists.openstack.org *Subject:* [Openstack] New instances booting time Hello, guys, I have a question We now have OS Kilo + KVM+ Ubunt

Re: [Openstack] [KILO] [CEPH] Live Migration failure

2015-08-14 Thread David Medberry
I think they need to be the same UUID. Let me look where the UUID is used... In nova.conf you should have: rbd_secret_uuid=UUID It's not 100% clear to me they have to be the same on both nodes but that's how I've always done it. rbd_secret_uuid = *None*(StrOpt) The libvirt UUID of the secret for

Re: [Openstack] [KILO] [CEPH] Live Migration failure

2015-08-14 Thread Mehdi BADAOUI
Thank you David & Mike, I have a different uuid "secret stored in libvirt" in my two compute nodes, is it normal? First compute : 40e501a1-e802-4f60-bcca-5e1b83269f7c Second compute : 899f90c8-e8e8-47b7-8d25-3e14fc2f270a but, # virsh secret-get-value uuid gave me same results on my two nodes Re