Ask Your Question
0

Instance waiting on scheduling

asked 2011-02-18 22:52:21 -0500

harsha-gluster gravatar image

Hi Everyone,

I have been following this blog in test environment with just one node running.

I have completed till the process of

euca-run-instances $emi -k mykey -t m1.tiny

But all i am seeing now is the instance is just waiting for scheduling for an Hr or so

RESERVATION r-lcb18uqx myproject default INSTANCE i-00000002 ami-xggshuo1 scheduling mykey (myproject, None) 0 m1.tiny2011-02-18 22:26:19.277799 unknown zone

http://fnords.wordpress.com/2010/12/02/bleeding-edge-openstack-nova-on-maverick/ (http://fnords.wordpress.com/2010/12/0...)

Is there anything that i missed here? can any one help me.

Regards

edit retag flag offensive close merge delete

8 answers

Sort by ยป oldest newest most voted
0

answered 2014-06-30 11:19:23 -0500

Eduard Barrera gravatar image
I have the same problem with icehouse:

   openstack-nova-cert-2014.1.1-1.fc20.noarch
   openstack-swift-object-1.13.1-1.fc21.noarch
   openstack-cinder-2014.1-2.fc21.noarch
   openstack-neutron-2014.1.1-3.fc21.noarch
   openstack-puppet-modules-2014.1-15.fc21.noarch openstack-ceilometer-common-2014.1.1-1.fc21.noarch
   openstack-neutron-ml2-2014.1.1-3.fc21.noarch
   python-django-openstack-auth-1.1.5-1.fc21.noarch
   openstack-nova-api-2014.1.1-1.fc20.noarch
   openstack-nova-compute-2014.1.1-1.fc20.noarch
   openstack-swift-plugin-swift3-1.7-3.fc20.noarch
   openstack-ceilometer-collector-2014.1.1-1.fc21.noarch
   openstack-utils-2014.1-3.fc20.noarch
   openstack-packstack-puppet-2014.1.1-0.21.dev1157.fc21.noarch
   openstack-ceilometer-alarm-2014.1.1-1.fc21.noarch
   openstack-nova-scheduler-2014.1.1-1.fc20.noarch
   openstack-swift-container-1.13.1-1.fc21.noarch openstack-nova-common-2014.1.1-1.fc20.noarch
   openstack-nova-conductor-2014.1.1-1.fc20.noarc
 openstack-dashboard-2014.1.1-1.fc20.noarch
  openstack-swift-proxy-1.13.1-1.fc21.noarch
   openstack-ceilometer-central-2014.1.1-1.fc21.noarch
   openstack-packstack-2014.1.1-0.21.dev1157.fc21.noarch
   openstack-ceilometer-compute-2014.1.1-1.fc21.noarch
   openstack-nova-novncproxy-2014.1.1-1.fc20.noarch
   openstack-neutron-openvswitch-2014.1.1-3.fc21.noarch
   openstack-swift-1.13.1-1.fc21.noarch
   openstack-keystone-2014.1.1-1.fc21.noarch
   openstack-ceilometer-notification-2014.1.1-1.fc21.noarch
   openstack-glance-2014.1-2.fc21.noarch
   openstack-ceilometer-api-2014.1.1-1.fc21.noarch
   openstack-nova-console-2014.1.1-1.fc20.noarch
   openstack-swift-account-1.13.1-1.fc21.noarch

#nova --debug boot testinstance2 --flavor 2 --image dfbd99aa-ecb4-4ead-abc1-edf30cbbb0d1 --nic net-id=351f68c7-17b7-4157-8bf6-338f4db2e6f4

REQ: curl -i 'http://192.168.101.149:5000/v2.0/tokens' -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "971677560d634468"}}}'

INFO (connectionpool:187) Starting new HTTP connection (1): 192.168.101.149
DEBUG (connectionpool:357) "POST /v2.0/tokens HTTP/1.1" 200 9277
RESP: [200] CaseInsensitiveDict({'date': 'Mon, 30 Jun 2014 16:11:33 GMT', 'content-type': 'application/json', 'content-length': '9277', 'vary': 'X-Auth-Token'})
RESP BODY: {"access": {"token": {"issued_at": "2014-06-30T16:11:33.221526", "expires": "2014-07-01T16:11:33Z", "id": "MIIQSQYJKoZIhvcNAQcCoIIQOjCCEDYCAQExCTAHBgUrDgMCGjCCDp8GCSqGSIb3DQEHAaCCDpAEgg6MeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wNi0zMFQxNjoxMTozMy4yMjE1MjYiLCAiZXhwaXJlcyI6ICIyMDE0LTA3LTAxVDE2OjExOjMzWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9u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ImlkIjogIjFlOWFkMTliZGM2YjRkYzRhYzA2NDQxYmIyYTI1MTlkIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vMTkyLjE2OC4xMDEuMTQ5OjUwMDAvdjIuMCJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJpZGVudGl0eSIsICJuYW1lIjogImtleXN0b25lIn1dLCAidXNlciI6IHsidXNlcm5hbWUiOiAiYWRtaW4iLCAicm9sZXNfbGlua3MiOiBbXSwgImlkIjogIjJiYmYwZjRiMzc5MjRmNjQ5MmQ1OTIxNGVjOTRkYTc1IiwgInJvbGVzIjogW3sibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiMDY5NTQ5N2YwZGJkNGU4MmIxMjA2MDM3MjZjMTZlZTciXX19fTGCAYEwggF9AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgMBVVuc2V0MQ4wDAYDVQQHDAVVbnNldDEOMAwGA1UECgwFVW5zZXQxGDAWBgNVBAMMD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASCAQB5Zsj3B7xMM93-Ri5v6Y0kTP0XpEu97GCoOKPBqgcL5s5eGISGFjKorMaEth5mEXLIhDnChd1-MeryPRiPoPfREbtWuauFljaN8EBAyqWUiDpzuJzYG7RxbwCuTeY8ACo8rBFRblOdYM1u5VfQU-HQ8tMcTawbmkubPor-OIdGokC71GIawcjSfY3NEF4+Kf1DrkToYO9QNfwQFuFXLkxVnYN0ByaBIyEEre1tecFLtZ1CTJd4Ixg8aQG6Zx+4XmRLPPGG+RSKQmAPIPIZZHYx0V93eP+SqVhnPA0XzqMvVixFgpJKJTGG-KDvSU1KM5MX0sqSjPLs4UWiJY44JHZb", "tenant": {"description": "admin tenant", "enabled": true, "id": "6742eeb3d02d4583a51847422374b186", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://192.168.101.149:8774/v2/6742eeb3d02d4583a51847422374b186", "region": "RegionOne", "internalURL": "http://192.168.101.149:8774/v2/6742eeb3d02d4583a51847422374b186", "id": "1e60cb10ea7e4d80b793c0e460238b90", "publicURL": "http://192.168.101.149:8774/v2/6742eeb3d02d4583a51847422374b186"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.101.149:9696/", "region": "RegionOne", "internalURL": "http://192.168.101.149:9696/", "id": "2134ce91f39245a3b4771b4df5ece35a", "publicURL": "http://192.168.101.149:9696/"}], "endpoints_links": [], "type": "network", "name": "neutron"}, {"endpoints": [{"adminURL": "http://192.168.101.149:8776/v2/6742eeb3d02d4583a51847422374b186", "region": "RegionOne", "internalURL": "http://192.168.101.149:8776/v2/6742eeb3d02d4583a51847422374b186", "id": "0a9c882dd93649c197b2bebf2cd0ce31", "publicURL": "http://192.168.101.149:8776/v2/6742eeb3d02d4583a51847422374b186"}], "endpoints_links": [], "type": "volumev2", "name": "cinder_v2"}, {"endpoints": [{"adminURL": "http://192.168.101.149:8080", "region": "RegionOne", "internalURL": "http://192.168.101.149:8080", "id": "0723bcdb34a34112af3ef3af88dabba6", "publicURL": "http://192.168.101.149:8080"}], "endpoints_links": [], "type": "s3", "name": "swift_s3"}, {"endpoints": [{"adminURL": "http://192.168.101.149:9292", "region": "RegionOne", "internalURL": "http://192.168.101.149:9292", "id": "1fb1ebf483634ecbbcbc91add23e5cf7", "publicURL": "http://192.168.101.149:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://192.168.101.149:8777", "region": "RegionOne", "internalURL": "http://192.168.101.149:8777", "id": "3446ea2b4fbc4466a0735c5bfe7aac0b", "publicURL": "http://192.168.101.149:8777"}], "endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints": [{"adminURL": "http://192.168.101.149:8776/v1/6742eeb3d02d4583a51847422374b186", "region": "RegionOne", "internalURL ...
(more)
edit flag offensive delete link more
0

answered 2011-02-18 23:00:13 -0500

annegentle gravatar image

There is some troubleshooting information on this page that may help you. http://docs.openstack.org/openstack-c...

edit flag offensive delete link more
0

answered 2011-02-18 23:11:26 -0500

harsha-gluster gravatar image

I have seen that but the current problem i have is the instance is stuck at scheduling, there are no such enough warning or error messages.

The error which is described in documentation is for pending instances, for now i can't even create one with libvirt.xml if i had to since i don't have it where its supposed.

Looks like i am missing something from the blog.

root@ubuntu1010template:/var/log/libvirt/qemu# ls -ltr total 0 root@ubuntu1010template:/var/log/libvirt/qemu#

edit flag offensive delete link more
0

answered 2011-02-19 01:05:58 -0500

annegentle gravatar image

When I've had this happen to me, it was a network problem or a bug in trunk.

Trunk is changing extremely rapidly right now. Perhaps if you reinstall using ppa:nova-core/release your image will launch.

From Wayne, who is a great troubleshooter: "Since you have already installed the /trunk PPA, you'll have to make sure to disable it, and uninstall the nova-* packages. Then add the /release PPA, and apt-get all the nova-* packages again. Not sure on the python dependencies that are brought down, so if it's not too much hassle a reinstall might be worth it."

Good luck - let us know how it goes.

edit flag offensive delete link more
0

answered 2011-02-21 19:27:17 -0500

harsha-gluster gravatar image

Well after re installation of everything

root@ubuntu1010template:~# euca-describe-instances RESERVATION r-pp418fvo myproject default INSTANCE i-0000000c ami-xggshuo1 10.1.80.6 10.1.80.6 pending mykey (myproject, ubuntu1010template) 0m1.tiny 2011-02-21 19:24:01.777161 nova
root@ubuntu1010template:~#

Stays pending for ever.

edit flag offensive delete link more
0

answered 2011-02-22 06:48:25 -0500

berendt gravatar image

What says the logfile of nova-compute?

edit flag offensive delete link more
0

answered 2011-02-22 18:44:07 -0500

harsha-gluster gravatar image

I think i saw the problem in libvirt.xml which was pointing for kvm as "type" this resulted in hangs since i was testing inside a virtual machine, looks like the libvirt was defaulting things to 'kvm' . Changing that to qemu everything started working.

edit flag offensive delete link more
0

answered 2011-02-22 18:44:26 -0500

harsha-gluster gravatar image

I think i saw the problem in libvirt.xml which was pointing for kvm as "type" this resulted in hangs since i was testing inside a virtual machine, looks like the libvirt was defaulting things to 'kvm' . Changing that to qemu everything started working.

edit flag offensive delete link more

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

Stats

Asked: 2011-02-18 22:52:21 -0500

Seen: 365 times

Last updated: Jun 30 '14