[Openstack] ImportError: CRITICAL nova [-] No module named urlmap
Hi All, I am running openstack nova services on single node from diablo3 series. I am not able to lauch nova-api service, I am getting this error. ImportError: CRITICAL nova [-] No module named urlmap I am able to run other services such as glance_api, glance-reg, object store, compute, network, scheduler. please find log here, 2011-10-26 16:24:51,610 CRITICAL nova [-] No module named urlmap (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File /home/praveen/diablo3/nova_test/nova-2011.3/bin/nova-api, line 64, in module (nova): TRACE: sys.exit(main()) (nova): TRACE: File /home/praveen/diablo3/nova_test/nova-2011.3/bin/nova-api, line 52, in main (nova): TRACE: service = nova.service.WSGIService(api) (nova): TRACE: File /home/praveen/diablo3/nova_test/nova-2011.3/nova/service.py, line 309, in __init__ (nova): TRACE: self.app = self.loader.load_app(name) (nova): TRACE: File /home/praveen/diablo3/nova_test/nova-2011.3/nova/wsgi.py, line 415, in load_app (nova): TRACE: return deploy.loadapp(config:%s % self.config_path, name=name) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp (nova): TRACE: return loadobj(APP, uri, name=name, **kw) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 271, in loadobj (nova): TRACE: global_conf=global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext (nova): TRACE: global_conf=global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 320, in _loadconfig (nova): TRACE: return loader.get_context(object_type, name, global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 454, in get_context (nova): TRACE: section) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 476, in _context_from_use (nova): TRACE: object_type, name=use, global_conf=global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 406, in get_context (nova): TRACE: global_conf=global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext (nova): TRACE: global_conf=global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 328, in _loadegg (nova): TRACE: return loader.get_context(object_type, name, global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 620, in get_context (nova): TRACE: object_type, name=name) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 646, in find_egg_entry_point (nova): TRACE: possible.append((entry.load(), protocol, entry.name)) (nova): TRACE: File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 1954, in load (nova): TRACE: entry = __import__(self.module_name, globals(),globals(), ['__name__']) (nova): TRACE: ImportError: No module named urlmap (nova): TRACE: if you know the answer, please write to me. --Thanks and regards, Praveen GK. ___ 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] ImportError: CRITICAL nova [-] No module named urlmap
Thanks Jay... I had installed paste package it is coming up now. --Thanks and regards, Praveen GK. On Wed, Oct 26, 2011 at 8:47 PM, Jay Pipes jaypi...@gmail.com wrote: Hi Praveen! Please report bugs and/or questions like this on Launchpad's Bugs or Answers areas for Nova: https://bugs.launchpad.net/nova https://answers.launchpad.net/nova Looks to me like you may not have Paste installed. Try installing the python-paste package. cheers, -jay On Wed, Oct 26, 2011 at 7:08 AM, praveen_kumar girir gkpra...@gmail.com wrote: Hi All, I am running openstack nova services on single node from diablo3 series. I am not able to lauch nova-api service, I am getting this error. ImportError: CRITICAL nova [-] No module named urlmap I am able to run other services such as glance_api, glance-reg, object store, compute, network, scheduler. please find log here, 2011-10-26 16:24:51,610 CRITICAL nova [-] No module named urlmap (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File /home/praveen/diablo3/nova_test/nova-2011.3/bin/nova-api, line 64, in module (nova): TRACE: sys.exit(main()) (nova): TRACE: File /home/praveen/diablo3/nova_test/nova-2011.3/bin/nova-api, line 52, in main (nova): TRACE: service = nova.service.WSGIService(api) (nova): TRACE: File /home/praveen/diablo3/nova_test/nova-2011.3/nova/service.py, line 309, in __init__ (nova): TRACE: self.app = self.loader.load_app(name) (nova): TRACE: File /home/praveen/diablo3/nova_test/nova-2011.3/nova/wsgi.py, line 415, in load_app (nova): TRACE: return deploy.loadapp(config:%s % self.config_path, name=name) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 247, in loadapp (nova): TRACE: return loadobj(APP, uri, name=name, **kw) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 271, in loadobj (nova): TRACE: global_conf=global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext (nova): TRACE: global_conf=global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 320, in _loadconfig (nova): TRACE: return loader.get_context(object_type, name, global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 454, in get_context (nova): TRACE: section) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 476, in _context_from_use (nova): TRACE: object_type, name=use, global_conf=global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 406, in get_context (nova): TRACE: global_conf=global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 296, in loadcontext (nova): TRACE: global_conf=global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 328, in _loadegg (nova): TRACE: return loader.get_context(object_type, name, global_conf) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 620, in get_context (nova): TRACE: object_type, name=name) (nova): TRACE: File /usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py, line 646, in find_egg_entry_point (nova): TRACE: possible.append((entry.load(), protocol, entry.name)) (nova): TRACE: File /usr/lib/python2.7/dist-packages/pkg_resources.py, line 1954, in load (nova): TRACE: entry = __import__(self.module_name, globals(),globals(), ['__name__']) (nova): TRACE: ImportError: No module named urlmap (nova): TRACE: if you know the answer, please write to me. --Thanks and regards, Praveen GK. ___ 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] Installation errors
Hi All, I am trying to install openstack nova diablo-3 on single node from source. I am facing this error, when i am doing uec-publish-tarball ubuntu-10.10-server-uec- amd64.tar.gz mybucket step , i am getting unknown error Unable to run euca-describe-images. Is euca200ls environment set up? , but i have installed euca200ls setup. when i started manual setup euca-register mybucket/machine.manifest.xml its giving Unknown error, please try again error. Please can any one help me to resolve this issue. i have tried steps again and again with the help of http://wiki.openstack.org/RunningNova http://wiki.openstack.org/RunningNova/ManualImageRegistration I am able to run euca-describe-availability-zones verbose command and able to get the output. If I run curl s3 host IP i,e 10.233.84.52 , able to get traces on nova-objectsotre window. changed this s3_host IP to 127.0.0.1 but still facing the same problem. Thanks, praveen GK. On Mon, Aug 29, 2011 at 7:15 PM, bhaskar kotha kothabhas...@gmail.comwrote: Dear Leo van den Bulck , When i am doing ./nova.sh install i am getting following error Downloading/unpacking glance from bzr+https://launchpad.net/glance (from -r /root/dash/openstack-dashboard/tools/pip-requires (line 19)) Checking out https://launchpad.net/glance to ./.dashboard-venv/build/glance bzr: ERROR: Connection error: curl connection error (server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none) i am having restriction with curl but if i know from where the curl commond runs i can put -k option. But here this is from line 19: pip-requires file bzr+ https://launchpad.net/glance#egg=glance so here i am not getting how to disable curl certification fail. please can any one help me to resolve this issue. Thanks, Bhaskar.K On Mon, Aug 29, 2011 at 4:22 PM, Leo van den Bulck lvdbu...@gmail.comwrote: Hi, Why don't you use this guide to set up Openstack (nova//glance): I tried numerous procedures that I found all over the internet (it's REALLY confusing which is which and what's the status of all those documents) and permutations thereof, but finally this one worked for me and it's really easy. (the other ones include complete Ubuntu images from Stackops, complete manual installation, automated installation with Vagrant/Chef etc etc - none of them really worked for me) It even includes installation of the Dashboard (web-based management interface for Nova) integrated with Keystone (unified authentication service). However to get Dashboard/Keystone working I had to do some hacking because this didn't work out of the box. I can send you my notes on that if you want to get Dashboard working as well. Cheers, Leo On Aug 29, 2011, at 12:13 PM, KothaBhaskar wrote: Dear All, I am interested in Openstack development, i started installation setup, i am getting some errors like when i am doing uec-publish-tarball ubuntu-10.10-server-uec- amd64.tar.gz mybucket step , i am getting unknown error Unable to run euca-describe-images. Is euca200ls environment set up? , but i have installed euca200ls setup. when i started manual setup euca-register mybucket/machine.manifest.xml its giving Unknown error, please try again error. Please can any one help me to resolve this issue. i have tried steps again and again with the help of http://wiki.openstack.org/RunningNova http://wiki.openstack.org/RunningNova/ManualImageRegistration Thanks, Bhaskar.K -- This message was sent from Launchpad by KothaBhaskar (https://launchpad.net/~kothabhaskar) to each member of the OpenStack Team team using the Contact this team link on the OpenStack Team team page (https://launchpad.net/~openstack). For more information see https://help.launchpad.net/YourAccount/ContactingPeople -- Thanks, Bhaskar.K ___ 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] nova cloud controller and compute issues Diablo v3
Dear Steve, Initially I faced the same issue with bexar release of Nova, when I installed on 3 node cluster. on Ubuntu 11.04 server edition. I am suggesting you to check the following. 1. On master node, check /var/lib/nova/instances/_base directory for files. There you will find two executables. Copy these two files to the slave nodes at respective directory i,e on slave node, /var/lib/nova/instances/_base directory. 2.Change the group and owner ship of kvm and qemu. 3. Freshly create few instances on the controller node, you can see, your instances running on the slave nodes. Hope this will solve your problem on RHEL.. platform too. do reply to me, once you are done with above steps. --regards, Praveen On Fri, Aug 19, 2011 at 5:02 AM, Steve Eastham steve.east...@gmail.comwrote: I recently deployed a couple of test servers for Nova; I'm using Diablo v3 (http://wiki.openstack.org/NovaInstall/RHEL6Notes-Diablo-3) on RHEL v6; here are my current issues: On the Cloud Controller node I can launch instances and I'm able to ping them but they don't come up cleanly because they're unable to connect to the 169.254.169.254 host via HTTP for metadata cloud-setup: checking http://169.254.169.254/2009-04-04/meta-data/instance-id wget: can't connect to remote host (169.254.169.254): Connection timed out cloud-setup: failed 1/30: up 1.38. request failed I've tried various IPTables settings but still no go. On the compute only node (1st one of hopefully many); I have larger issues: I haven't figured out how to successfully change the bridge interface for br100; my network uses eth0 for the monitoring/admin NW and I can't change that. I was able to change it OK for the cloud controller via the settings for the network. Also, when instances try to run on the compute node I receive the errors below; also I see that the kernel files out in the instances sub-directories are 0 byte files: ./instance-000b: total 4124 -rw-r--r-- 1 root root 0 Aug 17 23:28 ramdisk -rw-r--r-- 1 nova nobody1704 Aug 17 23:28 libvirt.xml -rw-r--r-- 1 root root 0 Aug 17 23:28 kernel -rw-r--r-- 1 root root 6291456 Aug 17 23:28 disk drwxr-xr-x 2 nova nobody4096 Aug 17 23:28 . -rw-r- 1 root root 0 Aug 17 23:29 console.logdrwxr-xr-x 7 nova nobody4096 Aug 18 18:12 .. 2011-08-18 18:10:46,058 nova: called setup_basic_filtering in nwfilter 2011-08-18 18:10:46,059 nova: ensuring static filters 2011-08-18 18:10:46,194 nova.virt.libvirt_conn: instance instance-001c: Creating image 2011-08-18 18:10:46,292 nova.virt.libvirt_conn: instance instance-001c: injecting key into image 3 2011-08-18 18:11:00,652 nova.compute.disk: list index out of range (nova.compute.disk): TRACE: Traceback (most recent call last): (nova.compute.disk): TRACE: File /usr/lib/python2.6/site-packages/nova/virt/disk.py, line 82, in inject_data (nova.compute.disk): TRACE: device = devices[0] (nova.compute.disk): TRACE: IndexError: list index out of range (nova.compute.disk): TRACE: 2011-08-18 18:11:00,750 nova.virt.libvirt_conn: instance instance-001c: ignoring error injecting data into image 3 (list index out of range) 2011-08-18 18:11:01,541 nova.exception: Uncaught exception (nova.exception): TRACE: Traceback (most recent call last): (nova.exception): TRACE: File /usr/lib/python2.6/site-packages/nova/exception.py, line 97, in wrapped (nova.exception): TRACE: return f(*args, **kw) (nova.exception): TRACE: File /usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py, line 582, in spawn (nova.exception): TRACE: domain = self._create_new_domain(xml) (nova.exception): TRACE: File /usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py, line 1048, in _create_new_domain (nova.exception): TRACE: domain.createWithFlags(launch_flags) (nova.exception): TRACE: File /usr/lib64/python2.6/site-packages/libvirt.py, line 337, in createWithFlags (nova.exception): TRACE: if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) (nova.exception): TRACE: libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/0 (nova.exception): TRACE: qemu: could not load kernel '/var/lib/nova/instances/instance-001c/kernel': Inappropriate ioctl for device (nova.exception): TRACE: (nova.exception): TRACE: 2011-08-18 18:11:01,542 nova.compute.manager: Instance '28' failed to spawn. Is virtualization enabled in the BIOS? Details: internal error Process exited while reading console log output: char device redirected to /dev/pts/0 qemu: could not load kernel '/var/lib/nova/instances/instance-001c/kernel': Inappropriate ioctl for device (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File /usr/lib/python2.6/site-packages/nova/compute/manager.py, line 355, in _run_instance (nova.compute.manager):
[Openstack] How to install diablo3 on Multi node cluster from source.
Dear All, Could you please tell me or point out to proper documentation for to install diablo3 on multi node cluster. --Thanks and regards, Praveen GK. ___ 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] Unable to run instances , instance status is networking,
Hi Wayne, Thanks for your reply. On my slave node, if I run following command, I am able to see instances but state is ' shut off ' root@openstack3:~# virsh list --all Id Name State -- - instance-002ashut off - instance-003cshut off - instance-003eshut off - instance-0040shut off root@openstack3:~# I went ahead and started instances manually, I have got following errrors. virsh # start instance-002a *error: Failed to start domain instance-002a error: operation failed: failed to retrieve chardev info in qemu with 'info chardev'* virsh # I have checked the log files also, 2011-08-18 11:03:06.324: starting up LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name instance-003c -uuid d846d3ab-e7c4-fe41-7e6f-769e899943d7 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-003c.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=readline -rtc base=utc -boot c -kernel /var/lib/nova/instances/instance-003c/kernel -append root=/dev/vda console=ttyS0 -drive file=/var/lib/nova/instances/instance-003c/disk,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -netdev tap,fd=19,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=02:16:3e:51:69:8a,bus=pci.0,addr=0x3 -chardev file,id=charserial0,path=/var/lib/nova/instances/instance-003c/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -usb -vnc 0.0.0.0:0 -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 char device redirected to /dev/pts/2 *qemu: could not load kernel '/var/lib/nova/instances/instance-003c/kernel': Inappropriate ioctl for device 2011-08-18 11:03:06.625: shutting down* Could any one can help me here. --Thanks and regards, Praveen GK. On Thu, Aug 18, 2011 at 10:03 AM, Wayne A. Walls wa...@openstack.orgwrote: Greetings, Praveen! On your compute nodes, the only required service is nova-compute. There has been a semi-recent update to nova-network that adds HA to the service, and this requires nova-network to be installed on all the compute nodes as well. As far as api and scheduler go, they are not required on every node. For more information on nova-network's HA work, check out Vish's blog: http://www.unchainyourbrain.com/openstack/13-networking-in-nova Cheers, Wayne From: praveen_kumar girir gkpra...@gmail.com Date: Thu, 18 Aug 2011 09:28:32 +0530 To: Dan Wendlandt d...@nicira.com Cc: openstack openstack@lists.launchpad.net Subject: Re: [Openstack] Unable to run instances , instance status is networking, Dear Dan, I have changed my /etc/nova/nova.conf file to reflect proper fixed_ip range, then it start to launch. I have one more question, does the compute nodes required to have all the nova softwares to run. because on my slave nodes initially it was only nova-compute, later installed nova-scheduler, api, network n all. Started multiple instances from master node, able to create vm on slave nodes, but the status is shutdown. No idea. if I am able to access these from slave nodes, it requires EC2_ACCESS_KEY. By default it is not set, do I need to set it manually. Could any one please clarify my doubts. --Thanks and regards, Praveen GK. On Wed, Aug 17, 2011 at 8:43 PM, Dan Wendlandt d...@nicira.com wrote: Hi Praveen, The error you are seeing is because there is no 'network' record in the nova database corresponding to 'br100' (which is the default value for the bridge). Spawning a VM requires finding the appropriate network(s) for that VM in the database, and assigning the VM an IP address from the associated network subnet. Did you run nova-manage to create a network? If so, can you send out the command you ran? For example the Running Nova wiki (http://wiki.openstack.org/RunningNova) includes the line: sudo nova-manage network create novanetwork 10.0.0.0/8 1 64 Dan On Tue, Aug 16, 2011 at 9:45 PM, praveen_kumar girir gkpra...@gmail.comwrote: Dear Mandell, The nova-network process is running. But I am not able to see any log file under /var/log/libvert/qemu/ directory. When I run describe instance command , I am able to see this output. root@openstack2:~# euca-describe-instances RESERVATIONr-l4zr8lygbexardefault INSTANCEi-000cami-2b84327cnetworkingtest (bexar, openstack2)0m1.tiny2011-08-12T11:29:42Znova RESERVATIONr-s8zj5yjebexardefault INSTANCEi-000aami-2b84327cnetworkingtest (bexar, openstack2)0m1.tiny2011-08-12T11:29:33Znova logs output: nova
Re: [Openstack] Please welcome OpenStack's new community manager, Stefano Maffulli
Dear Stefano, Good Morning,,, I have newly joined to this community as developer and managing own private cloud at an organization. Here I have suggestion, on our openstack site, we are showcasing multiple releases of openstack projects, we should provide more informations as release features, platform specific features, stable release, and which release is compatible on which platform. As we have in our kernel.org site. --Thanks and regards, Praveen GK. On Thu, Aug 18, 2011 at 1:25 AM, Jay Pipes jaypi...@gmail.com wrote: Hello all! I'd like everyone to welcome Stefano Maffulli to the OpenStack project! Stefano is OpenStack's new community manager and will be leading efforts to grow and strengthen OpenStack's user and developer community. Stefano brings with him a wealth of community-building experience from working with the Free Software Foundation, Funambol, Twitter and most-recently the FreedomBox Foundation. Oh, did I mention he's an architect, too? Not the IT kind... the building kind. And Stefano is hoping to build our little OpenStack community into one of the open source world's most engaging and innovative communities. Anyway, if you have a moment, drop Stefano an email (or just respond to this post), and tell him who you are, what you do, what you like and don't like about OpenStack, suggestions for things you'd like to see happen in the community and any insights you have on what makes this community, in particular, tick. I'm sure he'd be delighted to hear from you. Stefano's email is stef...@maffulli.net (soon to be available also at stef...@openstack.org) and his IRC nick is reed. I'd also like to thank Stephen Spector for his work as Community Manager. He is taking on a new role, but will be instrumental in helping Stefano get up to speed, and will continue to focus on making sure the October design summit comes off with out a hitch. Cheers, jay ___ 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] Unable to run instances , instance status is networking,
Dear Dan, I have changed my /etc/nova/nova.conf file to reflect proper fixed_ip range, then it start to launch. I have one more question, does the compute nodes required to have all the nova softwares to run. because on my slave nodes initially it was only nova-compute, later installed nova-scheduler, api, network n all. Started multiple instances from master node, able to create vm on slave nodes, but the status is shutdown. No idea. if I am able to access these from slave nodes, it requires EC2_ACCESS_KEY. By default it is not set, do I need to set it manually. Could any one please clarify my doubts. --Thanks and regards, Praveen GK. On Wed, Aug 17, 2011 at 8:43 PM, Dan Wendlandt d...@nicira.com wrote: Hi Praveen, The error you are seeing is because there is no 'network' record in the nova database corresponding to 'br100' (which is the default value for the bridge). Spawning a VM requires finding the appropriate network(s) for that VM in the database, and assigning the VM an IP address from the associated network subnet. Did you run nova-manage to create a network? If so, can you send out the command you ran? For example the Running Nova wiki (http://wiki.openstack.org/RunningNova) includes the line: sudo nova-manage network create novanetwork 10.0.0.0/8 1 64 Dan On Tue, Aug 16, 2011 at 9:45 PM, praveen_kumar girir gkpra...@gmail.comwrote: Dear Mandell, The nova-network process is running. But I am not able to see any log file under /var/log/libvert/qemu/ directory. When I run describe instance command , I am able to see this output. root@openstack2:~# euca-describe-instances RESERVATIONr-l4zr8lygbexardefault INSTANCEi-000cami-2b84327cnetworkingtest (bexar, openstack2)0m1.tiny2011-08-12T11:29:42Znova RESERVATIONr-s8zj5yjebexardefault INSTANCEi-000aami-2b84327cnetworkingtest (bexar, openstack2)0m1.tiny2011-08-12T11:29:33Znova logs output: nova-compute.log: 2011-08-17 10:00:46,016 ERROR nova [-] Exception during message handling (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/rpc.py, line 188, in _receive (nova): TRACE: rval = node_func(context=ctxt, **node_args) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/exception.py, line 120, in _wrap (nova): TRACE: return f(*args, **kw) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/compute/manager.py, line 219, in run_instance (nova): TRACE: self.get_network_topic(context), (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/compute/manager.py, line 173, in get_network_topic (nova): TRACE: host = self.network_manager.get_network_host(context) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/network/manager.py, line 276, in get_network_host (nova): TRACE: FLAGS.flat_network_bridge) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/db/api.py, line 620, in network_get_by_bridge (nova): TRACE: return IMPL.network_get_by_bridge(context, bridge) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/db/sqlalchemy/api.py, line 98, in wrapper (nova): TRACE: return f(*args, **kwargs) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/db/sqlalchemy/api.py, line 1294, in network_get_by_bridge (nova): TRACE: raise exception.NotFound(_('No network for bridge %s') % bridge) *(nova): TRACE: NotFound: No network for bridge br100* (nova): TRACE: 2011-08-17 10:01:45,446 INFO nova.compute.manager [-] Found instance 'instance-000b' in DB but no VM. State=0, so assuming spawn is in progress. Here, I have highlighted the error, here I am pasting br100 details. root@openstack2:~# cat /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback auto br100 iface br100 inet static bridge_ports eth0 bridge_stp off bridge_maxwait 0 bridge_fd 0 address 10.223.84.45 netmask 255.255.255.0 broadcast 10.223.84.255 gateway 10.223.84.251 dns-nameservers 10.223.45.36 root@openstack2:~# could any one help me out here. --Thanks and regards, Praveen GK. On Tue, Aug 16, 2011 at 8:24 PM, Mandell Degerness mdege...@gmail.comwrote: Check first that the network process is running and not producing errors. Then check for errors in /var/log/libvert/qemu/instance-0001.log. I suspect the issue lies with, either, the network configuration or with a missing file for qemu (kvm-pxe). -Mandell On Mon, Aug 15, 2011 at 9:48 PM, praveen_kumar girir gkpra...@gmail.com wrote: Dear All, I am facing issue while running instances under ubuntu 11.04 server edition. Steps followed: Installed openstack nova, bexar edition to my cluster. check all the running processes Able to publish the image. Able to describe the images
[Openstack] Unable to run instances.
Dear All, I am facing issue while running instances under ubuntu 11.04 server edition. *Steps followed:* 1. Installed openstack nova, bexar edition to my cluster. 2. check all the running processes 3. Able to publish the image. 4. Able to describe the images, which change the state from .gz to untarring. Run the command* euca-run-instances $emi -k my_key -t m1.tiny. * After this, check the status using, *euca-describe-images*. the status is shows *NETWORKING* rather *RUNNING* When I checked the logs under /var/log/nova/nova-manage.log file, I am able to see this error. *2011-08-12 17:36:22,305 INFO nova.compute.manager [-] Found instance 'instance-000e' in DB but no VM. State=0, so assuming spawn is in progress.* Could any one put some light on this --Thanks and regards, Praveen GK, ___ 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] Unable to run instances , instance status is networking,
Dear Mandell, The nova-network process is running. But I am not able to see any log file under /var/log/libvert/qemu/ directory. When I run describe instance command , I am able to see this output. root@openstack2:~# euca-describe-instances RESERVATIONr-l4zr8lygbexardefault INSTANCEi-000cami-2b84327cnetworkingtest (bexar, openstack2)0m1.tiny2011-08-12T11:29:42Znova RESERVATIONr-s8zj5yjebexardefault INSTANCEi-000aami-2b84327cnetworkingtest (bexar, openstack2)0m1.tiny2011-08-12T11:29:33Znova logs output: nova-compute.log: 2011-08-17 10:00:46,016 ERROR nova [-] Exception during message handling (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/rpc.py, line 188, in _receive (nova): TRACE: rval = node_func(context=ctxt, **node_args) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/exception.py, line 120, in _wrap (nova): TRACE: return f(*args, **kw) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/compute/manager.py, line 219, in run_instance (nova): TRACE: self.get_network_topic(context), (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/compute/manager.py, line 173, in get_network_topic (nova): TRACE: host = self.network_manager.get_network_host(context) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/network/manager.py, line 276, in get_network_host (nova): TRACE: FLAGS.flat_network_bridge) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/db/api.py, line 620, in network_get_by_bridge (nova): TRACE: return IMPL.network_get_by_bridge(context, bridge) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/db/sqlalchemy/api.py, line 98, in wrapper (nova): TRACE: return f(*args, **kwargs) (nova): TRACE: File /usr/lib/pymodules/python2.7/nova/db/sqlalchemy/api.py, line 1294, in network_get_by_bridge (nova): TRACE: raise exception.NotFound(_('No network for bridge %s') % bridge) *(nova): TRACE: NotFound: No network for bridge br100* (nova): TRACE: 2011-08-17 10:01:45,446 INFO nova.compute.manager [-] Found instance 'instance-000b' in DB but no VM. State=0, so assuming spawn is in progress. Here, I have highlighted the error, here I am pasting br100 details. root@openstack2:~# cat /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback auto br100 iface br100 inet static bridge_ports eth0 bridge_stp off bridge_maxwait 0 bridge_fd 0 address 10.223.84.45 netmask 255.255.255.0 broadcast 10.223.84.255 gateway 10.223.84.251 dns-nameservers 10.223.45.36 root@openstack2:~# could any one help me out here. --Thanks and regards, Praveen GK. On Tue, Aug 16, 2011 at 8:24 PM, Mandell Degerness mdege...@gmail.comwrote: Check first that the network process is running and not producing errors. Then check for errors in /var/log/libvert/qemu/instance-0001.log. I suspect the issue lies with, either, the network configuration or with a missing file for qemu (kvm-pxe). -Mandell On Mon, Aug 15, 2011 at 9:48 PM, praveen_kumar girir gkpra...@gmail.com wrote: Dear All, I am facing issue while running instances under ubuntu 11.04 server edition. Steps followed: Installed openstack nova, bexar edition to my cluster. check all the running processes Able to publish the image. Able to describe the images, which change the state from .gz to untarring. Run the command euca-run-instances $emi -k my_key -t m1.tiny. After this, check the status using, euca-describe-images. the status is shows NETWORKING rather RUNNING When I checked the logs under /var/log/nova/nova-manage.log file, I am able to see this error. 2011-08-12 17:36:22,305 INFO nova.compute.manager [-] Found instance 'instance-000e' in DB but no VM. State=0, so assuming spawn is in progress. Could any one put some light on this --Thanks and regards, Praveen GK, ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- Regards, Mandell Degerness True glory consists in doing what deserves to be written; in writing what deserves to be read; and in so living as to make the world happier for our living in it. Pliny the Elder ___ 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