Unable to connect to VCenter 5.5 VimFaultException: Server raised fault: 'Element tag ns0:RetrieveServiceContent uses an undefined namespace prefix ns0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
suds (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
James Page | ||
Utopic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Users of the Nova VMWare integration can't use the distro provided package.
[Test Case]
sudo apt-get install nova-compute-vmware
(configure /etc/nova/nova.conf to point to a vsphere deployment)
error in original bug report
[Regression potential]
The fix is to drop a distro patch which has all ready been dropped in Debian and utopic.
[Original Bug Report]
I'm currently trying to integrate an OpenStack testbed (based on Icehouse nova-2014.1 , Ubuntu 14.04 standard packages) with VCenter. I configured nova.conf http://
compute_
reserved_
[vmware]
host_ip=
host_username=root
host_password=
cluster_name=VCOS
datastore_
Using the password I'm able to login to VCenter using vSphere Web Client, Cluster VCOS was created using DRS, and I also defined a port group br-int on the ESXi hosts in the cluster. Although OpenStack Nova using KVM works like a breeze on two other compute nodes, I constantly get error messages on the node running VMwareVCDriver in note-compute.log
2014-04-30 16:44:10.263 1383 ERROR suds.client [-] <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:ns1="http://
<ns1:Body>
<
<_this type="ServiceIn
<
</ns1:Body>
</SOAP-
2014-04-30 16:44:10.265 1383 CRITICAL nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
2014-04-30 16:44:10.265 1383 TRACE nova.virt.
...to me it seems like there is some problem with the SOAP message... ns0 is not defined as a namespace und <SOAP-ENV:
I also tried a fresh install of the VCenter Appliance 5.1 and 5.5 without any luck. From the error message names above I cannot see any configuration etc. I might have missed?
I tracked this down to be a problem with package python-suds 0.4.1-11build1 in Ubuntu 14.04... I was finally able to successfully connect to VCenter 5.5 without recieving the error named above after:
mv /usr/lib/ python2. 7/dist- packages/ suds /usr/lib/ python2. 7/dist- packages/ suds.old python2. 7/dist- packages/ suds-0.4.1.egg-info /usr/lib/ python2. 7/dist- packages/ suds-0. 4.1.egg- info.old
mv /usr/lib/
# since python-suds is a dependency for python-nova I didn't want to purge both...
pip install suds
After restarting nova-compute the problem disappeared... maybe I will dig deeper later on the find the differences between Ubuntu 14.04 suds package and the one installed using pip...
...so this doesn't seem to be a nova problem, but rather a problem in combination with the python-suds package in Ubuntu 14.04...