← Back to team overview

openstack team mailing list archive

Re: nova-compute cannot be started.

 

yes, I miss the " connection_type " in nova.conf file because I am editing
the devstack scripts to deploy a mini installation of mutil nodes.

Thanks all.

2012/3/5 Jesse Andrews <anotherjesse@xxxxxxxxx>

> That looks like a line from devstack.
>
> I just did a fresh install of oneiric and ran devstack (kvm) and
> didn't see this issue.
>
> Any details?
> Jesse
>
> On Sun, Mar 4, 2012 at 11:12 PM, Shang Wu <shang@xxxxxxxxxx> wrote:
> > What is the environment that you used to deploy this? Did you specify the
> > connection_type in the nova.conf file?
> >
> >
> >
> > On 12-03-05 01:53 PM, DeadSun wrote:
> >
> > when I use "sg libvirtd /data/stack/nova/bin/nova-compute &"
> >
> > it show:
> >
> > stack@n-cpu-1:~/nova$ 2012-03-05 13:47:56 CRITICAL nova [-] Unknown
> > connection type "None"
> > (nova): TRACE: Traceback (most recent call last):
> > (nova): TRACE: File "/data/stack/nova/bin/nova-compute", line 47, in
> > <module>
> > (nova): TRACE: server = service.Service.create(binary='nova-compute')
> > (nova): TRACE: File "/data/stack/nova/nova/service.py", line 241, in
> create
> > (nova): TRACE: report_interval, periodic_interval)
> > (nova): TRACE: File "/data/stack/nova/nova/service.py", line 150, in
> > __init__
> > (nova): TRACE: self.manager = manager_class(host=self.host, *args,
> **kwargs)
> > (nova): TRACE: File "/data/stack/nova/nova/compute/manager.py", line
> 198, in
> > __init__
> > (nova): TRACE: utils.import_object(compute_driver),
> > (nova): TRACE: File "/data/stack/nova/nova/utils.py", line 87, in
> > import_object
> > (nova): TRACE: return cls()
> > (nova): TRACE: File "/data/stack/nova/nova/virt/connection.py", line 82,
> in
> > get_connection
> > (nova): TRACE: raise Exception('Unknown connection type "%s"' % t)
> > (nova): TRACE: Exception: Unknown connection type "None"
> > (nova): TRACE:
> >
> >
> > how can fix it?
> >
> > --
> > 非淡薄无以明志,非宁静无以致远
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> >
> >
> >
> > --
> > Shang Wu
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> >
>



-- 
非淡薄无以明志,非宁静无以致远

References