[Openstack] Problem while launching instance using novaclient

andrewsben at gmail.com andrewsben at gmail.com
Tue Dec 31 06:35:57 UTC 2013


Usually when I have seen this the flavor was requiring more resources then
any of the nova nodes could support.

What is flavor 2 as far as resources go? And do you have enough allotted
for them?

Ben
On Dec 31, 2013 12:35 AM, "varun bhatnagar" <varun292006 at gmail.com> wrote:

> Hi,
>
> I am new to Openstack. With lots of difficulties I was able to install
> Openstack using devstack on my machine. I was trying to launch an instance
> using nova command:
>
> *"nova boot testnode --image <id> --flavor 2"*
>
> It tries to launch the instance but in dashboard once the spawning is done
> it throws an error saying:
>
> Error: Failed to launch instance "testnode": Please try again
> later[Error:No valid host was found.]
>
> Can anyone please tell me what is going wrong here?
>
> This is how my localrc files looks like:
>
> enable_service n-net
> #enable_service q-svc
> #enable_service q-agt
> #enable_service q-dhcp
> #enable_service q-l3
> #enable_service q-meta
> #enable_service quantum
> enable_service cinder
> enable_service c-api
> enable_service c-sch
> enable_service c-vol
> #enable_service q-fwaas
> #enable_service q-lbaas
>
>
> HOST_IP=127.0.0.1
> SERVICE_HOST=$HOST_IP
> IMAGE_HOST=$HOST_IP
> IDENTITY_HOST=$HOST_IP
> KEYSTONE_AUTH_HOST=$SERVICE_HOST
> KEYSTONE_SERVICE_HOST=$SERVICE_HOST
> #export no_proxy="localhost,127.0.0.1"
> # Misc
> DATABASE_PASSWORD=password
> RABBIT_PASSWORD=password
> SERVICE_TOKEN=password
> SERVICE_PASSWORD=password
> ADMIN_PASSWORD=password
>
> # Enable Logging
> LOGFILE=/opt/stack/logs/stack.sh.log
> VERBOSE=True
> LOG_COLOR=True
> SCREEN_LOGDIR=/opt/stack/logs
>
> #Q_PLUGIN="openvswitch"
>
> Any help would be appreciated.
>
> Regards,
> Varun
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131231/91d7c55b/attachment.html>


More information about the Openstack mailing list