Thread Previous • Date Previous • Date Next • Thread Next |
VNC consoles used to be an openstackx extension. Anthony is working today on moving it into openstack contrib. On Wed, Jan 18, 2012 at 3:06 PM, Mohammad Banikazemi <mb@xxxxxxxxxx> wrote: > Thanks for the script. > Maybe I am being paranoid or I have messed up my setup but since yesterday > I cannot use VNC console. > I get the following: > *Error: *Unable to get VNC console for instance > "7874ca62-d756-43cb-90ad-1c25ea781723" > Any idea what may have led to this issue. Thanks much. > > > [image: Inactive hide details for Joshua Harlow ---01/18/2012 03:59:19 > PM---I've also had to run the following before. Might be useful]Joshua > Harlow ---01/18/2012 03:59:19 PM---I've also had to run the following > before. Might be useful for others. Might be a bug somewhere that > > From: Joshua Harlow <harlowja@xxxxxxxxxxxxx> > To: Anthony Young <sleepsonthefloor@xxxxxxxxx>, Mohammad > Banikazemi/Watson/IBM@IBMUS, > Cc: "openstack-bounces+mb=us.ibm.com@xxxxxxxxxxxxxxxxxxx" > <openstack-bounces+mb=us.ibm.com@xxxxxxxxxxxxxxxxxxx>, openstack < > openstack@xxxxxxxxxxxxxxxxxxx> > Date: 01/18/2012 03:59 PM > Subject: Re: [Openstack] libvirt issues > ------------------------------ > > > > I’ve also had to run the following before. > Might be useful for others. Might be a bug somewhere that causes them to > be leftover... > > $ more clear-domains.py > import libvirt > import sys > > connUri = "qemu:///system" > conn = libvirt.open(connUri) > > if(conn == None): > print("Could not open connection to " + connUri) > sys.exit(1) > > > definedDomains = conn.listDefinedDomains() > am = len(definedDomains) > print("Found %s leftover domains" %(am)) > print(definedDomains) > > if(am): > print("Clearing %s domains" %(am)) > for domain in definedDomains: > print("Found domain " +domain) > dom = conn.lookupByName(domain) > print "Clearing domain id %d running %s" % (dom.ID(), dom.OSType()) > print(dom.info()) > dom.undefine() > > > > On 1/18/12 11:37 AM, "Anthony Young" <*sleepsonthefloor@xxxxxxxxx*<http://sleepsonthefloor@xxxxxxxxx>> > wrote: > > It is likely that one of devstack, nova, openstackx, or dashboard are > out-of-date. You should update those directories, and then re-run stack.sh > > A > > On Wed, Jan 18, 2012 at 8:42 AM, Mohammad Banikazemi <*mb@xxxxxxxxxx*<http://mb@xxxxxxxxxx>> > wrote: > I resolved the 2nd problem by using "virsh undefine > instance-00000002". Still have the 1st problem. > > Mohammad Banikazemi---01/18/2012 11:36:03 AM---After the dashboard > issues were resolved yesterday I run into the following problems: > > From: Mohammad Banikazemi/Watson/IBM@IBMUS > To: openstack <*openstack@xxxxxxxxxxxxxxxxxxx*<http://openstack@xxxxxxxxxxxxxxxxxxx>>, > > Date: 01/18/2012 11:36 AM > Subject: [Openstack] libvirt issues > Sent by: *openstack-bounces+mb=us.ibm.com@xxxxxxxxxxxxxxxxxxx*<http://openstack-bounces+mb=us.ibm.com@xxxxxxxxxxxxxxxxxxx> > ------------------------------ > > > > After the dashboard issues were resolved yesterday I run into the > following problems: > > 1- Now eventhough my dashboard interface looks ok I still keep > getting the red box errors on top of my main page:* > Error: *Unable to get service info: This error may be caused by a > misconfigured Nova url in keystone's service catalog, or by missing > openstackx extensions in Nova. See the Horizon README. > What am i missing here? > > > 2- I am not sure if this is related to the changes or something on > my part has been modified incorrectly but trying to create a vm everything > seems to be going fine until I see the following errors essentially saying > there is a instance with the same name already and the vm does not get > created. What am I doing wrong? The nova/instance directory is empty and > since I start with devstack, the nova tables are all empty in the database. > * > > libvir: Domain Config error : operation failed: domain > 'instance-00000003' already exists with uuid > 500d2d3e-df6c-8e6a-5775-c39b60c18997* > > 2012-01-18 11 <tel:2012-01-18%2011> :14:28,641 ERROR > nova.compute.manager [-] Instance 3e9ac9b4-c018-490d-a546-1b3a7d3ee5f4 > failed to spawn > (nova.compute.manager): TRACE: Traceback (most recent call last): > (nova.compute.manager): TRACE: File > "/opt/stack/nova/nova/compute/manager.py", line 507, in _spawn > (nova.compute.manager): TRACE: network_info, block_device_info) > (nova.compute.manager): TRACE: File > "/opt/stack/nova/nova/exception.py", line 126, in wrapped > (nova.compute.manager): TRACE: return f(*args, **kw) > (nova.compute.manager): TRACE: File > "/opt/stack/nova/nova/virt/libvirt/connection.py", line 679, in spawn > (nova.compute.manager): TRACE: domain = > self._create_new_domain(xml) > (nova.compute.manager): TRACE: File > "/opt/stack/nova/nova/virt/libvirt/connection.py", line 1261, in > _create_new_domain > (nova.compute.manager): TRACE: domain = > self._conn.defineXML(xml) > (nova.compute.manager): TRACE: File > "/usr/lib/python2.7/dist-packages/libvirt.py", line 1708, in defineXML > (nova.compute.manager): TRACE: if ret is None:raise > libvirtError('virDomainDefineXML() failed', conn=self) > (nova.compute.manager): TRACE: libvirtError: operation failed: > domain 'instance-00000003' already exists with uuid > 500d2d3e-df6c-8e6a-5775-c39b60c18997 > (nova.compute.manager): TRACE: > 2012-01-18 11 <tel:2012-01-18%2011> :14:28,644 DEBUG > nova.compute.manager [-] deallocating network for instance: > 3e9ac9b4-c018-490d-a546-1b3a7d3ee5f4 from (pid=3170) _deallocate_network > /opt/stack/nova/nova/compute/manager.py:529 > 2012-01-18 11 <tel:2012-01-18%2011> :14:28,644 DEBUG nova.rpc [-] > Making asynchronous cast on network... from (pid=3170) cast > /opt/stack/nova/nova/rpc/impl_kombu.py:859 > 2012-01-18 11 <tel:2012-01-18%2011> :14:28,799 ERROR nova.rpc [-] > Exception during message handling > (nova.rpc): TRACE: Traceback (most recent call last): > (nova.rpc): TRACE: File "/opt/stack/nova/nova/rpc/impl_kombu.py", > line 723, in _process_data > (nova.rpc): TRACE: rval = node_func(context=ctxt, **node_args) > (nova.rpc): TRACE: File "/opt/stack/nova/nova/exception.py", line > 126, in wrapped > (nova.rpc): TRACE: return f(*args, **kw) > (nova.rpc): TRACE: File > "/opt/stack/nova/nova/compute/manager.py", line 149, in decorated_function > (nova.rpc): TRACE: self.add_instance_fault_from_exc(context, > instance_uuid, e) > (nova.rpc): TRACE: File "/usr/lib/python2.7/contextlib.py", line > 24, in __exit__ > (nova.rpc): TRACE: self.gen.next() > (nova.rpc): TRACE: File > "/opt/stack/nova/nova/compute/manager.py", line 144, in decorated_function > (nova.rpc): TRACE: return function(self, context, > instance_uuid, *args, **kwargs) > (nova.rpc): TRACE: File > "/opt/stack/nova/nova/compute/manager.py", line 561, in run_instance > (nova.rpc): TRACE: self._run_instance(context, instance_uuid, > **kwargs) > (nova.rpc): TRACE: File > "/opt/stack/nova/nova/compute/manager.py", line 390, in _run_instance > (nova.rpc): TRACE: vm_state=vm_states.ERROR) > (nova.rpc): TRACE: File "/usr/lib/python2.7/contextlib.py", line > 24, in __exit__ > (nova.rpc): TRACE: self.gen.next() > (nova.rpc): TRACE: File > "/opt/stack/nova/nova/compute/manager.py", line 377, in _run_instance > (nova.rpc): TRACE: self._deallocate_network(context, instance) > (nova.rpc): TRACE: File "/usr/lib/python2.7/contextlib.py", line > 24, in __exit__ > (nova.rpc): TRACE: self.gen.next() > (nova.rpc): TRACE: File > "/opt/stack/nova/nova/compute/manager.py", line 374, in _run_instance > (nova.rpc): TRACE: injected_files, admin_password) > (nova.rpc): TRACE: File > "/opt/stack/nova/nova/compute/manager.py", line 507, in _spawn > (nova.rpc): TRACE: network_info, block_device_info) > (nova.rpc): TRACE: File "/opt/stack/nova/nova/exception.py", line > 126, in wrapped > (nova.rpc): TRACE: return f(*args, **kw) > (nova.rpc): TRACE: File > "/opt/stack/nova/nova/virt/libvirt/connection.py", line 679, in spawn > (nova.rpc): TRACE: domain = self._create_new_domain(xml) > (nova.rpc): TRACE: File > "/opt/stack/nova/nova/virt/libvirt/connection.py", line 1261, in > _create_new_domain > (nova.rpc): TRACE: domain = self._conn.defineXML(xml) > (nova.rpc): TRACE: File > "/usr/lib/python2.7/dist-packages/libvirt.py", line 1708, in defineXML > (nova.rpc): TRACE: if ret is None:raise > libvirtError('virDomainDefineXML() failed', conn=self) > (nova.rpc): TRACE: libvirtError: operation failed: domain > 'instance-00000003' already exists with uuid > 500d2d3e-df6c-8e6a-5775-c39b60c18997 > (nova.rpc): TRACE: _______________________________________________ > Mailing list: *https://launchpad.net/~openstack*<https://launchpad.net/~openstack> > Post to : *openstack@xxxxxxxxxxxxxxxxxxx*<http://openstack@xxxxxxxxxxxxxxxxxxx> > 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 : *openstack@xxxxxxxxxxxxxxxxxxx*<http://openstack@xxxxxxxxxxxxxxxxxxx> > 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 : openstack@xxxxxxxxxxxxxxxxxxx > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > >
Thread Previous • Date Previous • Date Next • Thread Next |