[Openstack] Problem while launching instance using novaclient

Ritesh Nanda riteshnanda09 at gmail.com
Tue Dec 31 06:20:13 UTC 2013


Hello,

Check services nova-scheduler and compute are running. Nova-compute service
should send update  to nova-scheduler , which i hope is not doing . You can
check the service logs in /opt/stack/logs according to your localrc file.

Regards,
Ritesh


On Tue, Dec 31, 2013 at 11:00 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
>
>


-- 


* With Regards  *


* Ritesh Nanda*


 <http://www.ericsson.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131231/e9fe8f32/attachment.html>


More information about the Openstack mailing list