I installed everything from ubuntu's 12.04 repositories. Below is the nova config file template i'm using. I don't have access to the machine i'm using at the moment, so i can't get the final output. I hope it's enough :/
[DEFAULT] > > # LOG/State > > verbose=True > > >> # Authentication > > auth_strategy=keystone > > >> # Scheduler > > compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler > > >> # VOLUMES > > volume_group=nova-volumes > > volume_name_template=volume-%08x > > iscsi_helper=tgtadm > > iscsi_ip_prefix=%HOST_IP% > > >> # COMPUTE > > libvirt_type=%LIBVIRT_TYPE% > > connection_type=libvirt > > instance_name_template=instance-%08x > > api_paste_config=/etc/nova/api-paste.ini > > allow_resize_to_same_host=True > > root_helper=sudo nova-rootwrap > > libvirt_use_virtio_for_bridges=True > > api_paste_config=api-paste-keystone.ini > > allow_admin_api=true > > >> # DATABASE > > sql_connection=mysql://nova:%MYSQL_NOVA_PASS%@%MYSQL_HOST%/nova > > >> # APIS > > >> osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions > > osapi_host=%HOST_IP% > > >> >> # Glance > > glance_api_servers=%HOST_IP%:9292 > > >> # RABBITMQ > > rabbit_host=%HOST_IP% > > >> # NETWORK > > firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver > > dhcpbridge_flagfile=/etc/nova/nova.conf > > dhcpbridge=/usr/bin/nova-dhcpbridge > > force_dhcp_release=True > > public_interface=%PUBLIC_INTERFACE% > > vlan_interface=%VLAN_INTERFACE% > > vlan_start=%VLAN_START% > > zone_name=%REGION% > > node_availability_zone=%REGION% > > storage_availability_zone=%REGION% > > enable_zone_routing=true > > >> # NOVNC CONSOLE > > novncproxy_base_url=http://%HOST_IP%:6080/vnc_auto.html > > vncserver_proxyclient_address=%HOST_IP% > > vncserver_listen=%HOST_IP% > > >> > On Fri, Apr 27, 2012 at 7:40 PM, Jay Pipes <[email protected]> wrote: > Hi Leander, > > Looks like a misconfiguration. The base path for nova's instances is > typically /var/lib/nova/instances, set by the instances_path configuration > option. > > Somehow it is being set to "/usr/lib/python2.7/dist-**packages/instances", > which is clearly incorrect. > > How did you install your Nova code? > > Best, > -jay > > > On 04/27/2012 12:00 PM, Leander Bessa wrote: > >> Hello, >> >> I'm clueless as how to solve this problem, any ideas? >> >> DEBUG nova.utils [req-007e9c3f-2dcb-4b42-8486-**800a51e272e1 None >> None] backend <module 'nova.db.sqlalchemy.api' from >> '/usr/lib/python2.7/dist-**packages/nova/db/sqlalchemy/**api.pyc'> >> from (pid=17035) __get_backend >> /usr/lib/python2.7/dist-**packages/nova/utils.py:658 >> >> Traceback (most recent call last): >> >> File "/usr/lib/python2.7/dist-**packages/eventlet/hubs/hub.py"* >> *, >> line 336, in fire_timers >> >> timer() >> >> File >> "/usr/lib/python2.7/dist-**packages/eventlet/hubs/timer.**py", >> line >> 56, in __call__ >> >> cb(*args, **kw) >> >> File >> "/usr/lib/python2.7/dist-**packages/eventlet/greenthread.**py", >> line >> 192, in main >> >> result = function(*args, **kwargs) >> >> File "/usr/lib/python2.7/dist-**packages/nova/service.py", line >> 101, in run_server >> >> server.start() >> >> File "/usr/lib/python2.7/dist-**packages/nova/service.py", line >> 174, in start >> >> self.manager.update_available_**resource(ctxt) >> >> File >> "/usr/lib/python2.7/dist-**packages/nova/compute/manager.**py", >> line >> 2403, in update_available_resource >> >> self.driver.update_available_**resource(context, self.host) >> >> File >> "/usr/lib/python2.7/dist-**packages/nova/virt/libvirt/** >> connection.py", >> line 1898, in update_available_resource >> >> 'local_gb': self.get_local_gb_total(), >> >> File >> "/usr/lib/python2.7/dist-**packages/nova/virt/libvirt/** >> connection.py", >> line 1712, in get_local_gb_total >> >> stats = libvirt_utils.get_fs_info(**FLAGS.instances_path) >> >> File >> "/usr/lib/python2.7/dist-**packages/nova/virt/libvirt/**utils.py", >> line 277, in get_fs_info >> >> hddinfo = os.statvfs(path) >> >> OSError: [Errno 2] No such file or directory: >> '/usr/lib/python2.7/dist-**packages/instances' >> >> 2012-04-27 16:51:48 CRITICAL nova [-] [Errno 2] No such file or >> directory: '/usr/lib/python2.7/dist-**packages/instances' >> >> 2012-04-27 16:51:48 TRACE nova Traceback (most recent call last): >> >> 2012-04-27 16:51:48 TRACE nova File "/usr/bin/nova-compute", >> line 49, in <module> >> >> 2012-04-27 16:51:48 TRACE nova service.wait() >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/nova/service.py", line 413, in >> wait >> >> 2012-04-27 16:51:48 TRACE nova _launcher.wait() >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/nova/service.py", line 131, in >> wait >> >> 2012-04-27 16:51:48 TRACE nova service.wait() >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/eventlet/greenthread.**py", >> line >> 166, in wait >> >> 2012-04-27 16:51:48 TRACE nova return self._exit_event.wait() >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/eventlet/event.py", line 116, >> in wait >> >> 2012-04-27 16:51:48 TRACE nova return hubs.get_hub().switch() >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/eventlet/hubs/hub.py"**, line >> 177, in switch >> >> 2012-04-27 16:51:48 TRACE nova return self.greenlet.switch() >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/eventlet/greenthread.**py", >> line >> 192, in main >> >> 2012-04-27 16:51:48 TRACE nova result = function(*args, >> **kwargs) >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/nova/service.py", line 101, in >> run_server >> >> 2012-04-27 16:51:48 TRACE nova server.start() >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/nova/service.py", line 174, in >> start >> >> 2012-04-27 16:51:48 TRACE nova >> self.manager.update_available_**resource(ctxt) >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/nova/compute/manager.**py", >> line >> 2403, in update_available_resource >> >> 2012-04-27 16:51:48 TRACE nova >> self.driver.update_available_**resource(context, self.host) >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/nova/virt/libvirt/** >> connection.py", >> line 1898, in update_available_resource >> >> 2012-04-27 16:51:48 TRACE nova 'local_gb': >> self.get_local_gb_total(), >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/nova/virt/libvirt/** >> connection.py", >> line 1712, in get_local_gb_total >> >> 2012-04-27 16:51:48 TRACE nova stats = >> libvirt_utils.get_fs_info(**FLAGS.instances_path) >> >> 2012-04-27 16:51:48 TRACE nova File >> "/usr/lib/python2.7/dist-**packages/nova/virt/libvirt/**utils.py", >> line 277, in get_fs_info >> >> 2012-04-27 16:51:48 TRACE nova hddinfo = os.statvfs(path) >> >> 2012-04-27 16:51:48 TRACE nova OSError: [Errno 2] No such file >> or directory: '/usr/lib/python2.7/dist-**packages/instances' >> >> 2012-04-27 16:51:48 TRACE nova >> >> Exception KeyError: KeyError(140477118368240,) in <module >> 'threading' from '/usr/lib/python2.7/threading.**pyc'> ignored >> >> >> >> Regards, >> >> Leander >> >> >> ______________________________**_________________ >> Mailing list: >> https://launchpad.net/~**openstack<https://launchpad.net/~openstack> >> Post to : [email protected] >> Unsubscribe : >> https://launchpad.net/~**openstack<https://launchpad.net/~openstack> >> More help : >> https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp> >> > > ______________________________**_________________ > Mailing list: > https://launchpad.net/~**openstack<https://launchpad.net/~openstack> > Post to : [email protected] > Unsubscribe : > https://launchpad.net/~**openstack<https://launchpad.net/~openstack> > More help : > https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp> >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

