Re: [Openstack] launching multiple VMs takes very long time

2013-04-30 Thread Melanie Witt

This presentation from the summit might be of interest to you:

http://www.openstack.org/summit/portland-2013/session-videos/presentation/scaling-the-boot-barrier-identifying-and-eliminating-contention-in-openstack

I couldn't find just the slide deck anywhere so far.

Your issue is different being that you're seeing 30 minute launch time, that's extreme, but this 
info might help you get a high level picture of the flow.


Melanie

On 4/30/13 11:42 AM, Steve Heistand wrote:

if I launch one vm at a time its doesnt very long to start up the instance. 
maybe a minute.
if I launch 4 instances (of the same snapshot as before) it takes 30 minutes.

they are all launching to different compute nodes, the controllers are all 
multicore,
I dont see any processes on the compute nodes taking much cpu power, the 
controller has
a keystone process mostly sucking up 1 core, loads and loads of beam.smp from 
rabbitmq but
none are really taking any cpu time.

the glance image storage is on the controller node, the snapshots are 2-3G in 
size.

where should I start looking to find out why things are so slow?

thanks

s



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Error in Creating ssh keypair (Openstack Essex)

2012-10-22 Thread Melanie Witt
Looking at the source for handling of the public key 
(https://github.com/openstack/nova/blob/stable/essex/nova/api/openstack/compute/contrib/keypairs.py#L108), 
it's failing at generating the fingerprint for your key. Then if you look at the code for that 
(https://github.com/openstack/nova/blob/stable/essex/nova/crypto.py#L119) you see the underlying 
command ssh-keygen -q -l -f public key file. Maybe you can get to the root of the problem with 
your key by running that command manually.


Melanie

On 10/22/12 2:42 PM, Pavan Kulkarni wrote:


Hi all,

   I am trying to add a ssh keypair in Openstack Essex on RHEL.
I have id_rsa.pub which i use to create the keypair

But when i run the command
*nova keypair-add --pub_key id_rsa.pub mykey*
*I get an error as follows*
*ERROR: KeyPair data is invalid (HTTP 400)*
*
*
I recreated the public key etc, but did'nt help
Any idea regarding this error is appreciated.Thanks


--

--With Regards
Pavan Kulkarni




___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp