Ask Your Question

Virtual machine does not come up

asked 2013-09-18 01:54:39 -0500

hackman gravatar image

I am running devstack (grizzly) with Ubuntu 12.04 Precise (desktop version). When I switch project to demo, and try to start the default cirros m1.tiny image, it is stuck at the "Scheduling" step for ever.

The localrc enabled services has this: ENABLED_SERVICES=q-meta,q-lbaas,n-obj,n-cpu,n-sch,n-cauth,horizon,mysql,rabbit,cinder,c-api,c-vol,c-sch,n-cond,neutron,q-svc,q-agt,q-dhcp,q-l3,n-novnc,n-xvnc,q-lbaas,g-api,g-reg,key,n-api,n-crt

I don't know if this is related to this message seen on console output Error: Service n-sch is not running

This is a Supermicro rack mounted unit with 8GB memory.

edit retag flag offensive close merge delete



Looks like your Nova Scheduler failed to start. Could you post the entire log output of the Nova Scheduler? You can access these logs via GNU Screen. So you'd have to say 'screen -x' and then "Ctrl-a ' (no. of n-sch)"

Sirushti Murugesan gravatar imageSirushti Murugesan ( 2013-09-18 02:12:09 -0500 )edit

Thanks a lot for the immediate reply. I replied to this via e-mail, but posting it again here: Looks like an issue with the python code for the 'simple' module. I am just getting started with Openstack, and so I need to get familiar with what is going on under the hood. The n-sch program output is on screen 19, and here is the log from that: 2013-09-17 21:17:12.075 DEBUG nova.servicegroup.api [-] ServiceGroup driver defined as an instance of db from (pid=12836) __new__ /opt/stack/nova/nova/servicegroup/ 2013-09-17 21:17:12.184 DEBUG stevedore.extension [-] found extension EntryPoint.parse('file =') from (pid=12836) _load_plugins /usr/local/lib/python2.7/dist-packages/stevedore/ 2013-09-17 21:17:12.272 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative 2013-09-17 21:17:12 ...(more)

hackman gravatar imagehackman ( 2013-09-18 14:42:31 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-18 15:48:39 -0500

hackman gravatar image

Thanks for pointing me to the logs. Looks like there is no simple scheduler. I used the chance schduler in /opt/stack/nova/nova/scheduler/

After changing my localrc line from SCHEDULER=nova.scheduler.simple.SimpleScheduler to SCHEDULER=nova.scheduler.chance.ChanceScheduler

I am able to get the image running.

edit flag offensive delete link more


Please click the "tick" next to your answer to mark it as the accepted answer to this question. This will prevent the question being listed as unanswered. Thanks!

sgordon gravatar imagesgordon ( 2013-09-19 08:23:09 -0500 )edit

Hey, Glad to hear you got your problem resolved. Btw, It'd be great if you could edit the question and paste the logs in a formatted fashion there rather than posting it in a comment. That way it'd be easier to read for the reviewer :) Cheers.

Sirushti Murugesan gravatar imageSirushti Murugesan ( 2013-09-19 11:43:14 -0500 )edit

Thanks for the pointer. It was the first time for my post. After posting I realized that the format was messed up, and then found the code formatting button above.

hackman gravatar imagehackman ( 2013-09-21 16:13:17 -0500 )edit

I ran into this issue only when running a custom neutron plugin, very odd but very useful thanks.

Sovietaced gravatar imageSovietaced ( 2013-10-17 19:05:21 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-09-18 01:54:39 -0500

Seen: 539 times

Last updated: Sep 18 '13