<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
FYI and please guide Gianluca against what to open a BZ<br>
<br>
<div class="moz-forward-container"><br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
</th>
<td>Re: [ovirt-users] getVdsCapabilites unexpected exception
[was: Re: AIO 3.4 on fedora 19 initial errors before
coming up]</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
<td>Sun, 11 May 2014 23:49:06 +0200</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
<td>Gianluca Cecchi <a class="moz-txt-link-rfc2396E" href="mailto:gianluca.cecchi@gmail.com"><gianluca.cecchi@gmail.com></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
<td>Roy Golan <a class="moz-txt-link-rfc2396E" href="mailto:rgolan@redhat.com"><rgolan@redhat.com></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">CC: </th>
<td>users <a class="moz-txt-link-rfc2396E" href="mailto:users@ovirt.org"><users@ovirt.org></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, May 11, 2014 at 8:41 PM,
Gianluca Cecchi <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div>
<div class="h5"><br>
<div class="gmail_quote">On Sun, May 11, 2014 at
8:18 PM, Gianluca Cecchi <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:gianluca.cecchi@gmail.com"
target="_blank">gianluca.cecchi@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>
<div class="gmail_extra">
<div class="gmail_quote">On Sun, May 11,
2014 at 4:10 PM, Roy Golan <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:rgolan@redhat.com"
target="_blank">rgolan@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"
text="#000000"><br>
The vm will stay in "Waiting.." as
the getVdsCaps is failing and the
monitoring of Vms will not take
place.<br>
need to fix this "Unexpected
error" first. is it a matter of
ssl enabled configuration for host
communication? i.e. can you try
vdsClient -s 0 getVdsCaps ?<br>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@ovirt.org"
target="_blank">Users@ovirt.org</a><br>
<a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/users"
target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
<br>
</div>
</div>
<div class="gmail_extra">I didn't change
anything on this server.<br>
It is an all-in-one config so both engine
and vdsm host are on it.<br>
</div>
<div class="gmail_extra">Yesterday and every
previous day I was able to start the
system and start the VM; I only applied
the yum update command yeseterday<br>
</div>
<div class="gmail_extra">(with --exclude=sos
due to the opened bug) and then I made
shutdown of the system.<br>
</div>
<div class="gmail_extra">Today after startup
I got this problem.<br>
<br>
[root@tekkaman vdsm]# vdsClient -s 0
getVdsCaps<br>
Unexpected exception<br>
<br>
</div>
<div class="gmail_extra">it seems the error
in vdsm.log when I run the command above
is of this type:<br>
<br>
Thread-25::ERROR::2014-05-11
20:18:02,202::BindingXMLRPC::1086::vds::(wrapper)
unexpected error<br>
Traceback (most recent call last):<br>
File "/usr/share/vdsm/BindingXMLRPC.py",
line 1070, in wrapper<br>
res = f(*args, **kwargs)<br>
File "/usr/share/vdsm/BindingXMLRPC.py",
line 393, in getCapabilities<br>
ret = api.getCapabilities()<br>
File "/usr/share/vdsm/API.py", line
1185, in getCapabilities<br>
c = caps.get()<br>
File "/usr/share/vdsm/caps.py", line
369, in get<br>
caps.update(netinfo.get())<br>
File
"/usr/lib64/python2.7/site-packages/vdsm/netinfo.py",
line 557, in get<br>
netAttr.get('qosOutbound'))<br>
File
"/usr/lib64/python2.7/site-packages/vdsm/netinfo.py",
line 487, in _getNetInfo<br>
ipv4addr, ipv4netmask, ipv6addrs =
getIpInfo(iface)<br>
File
"/usr/lib64/python2.7/site-packages/vdsm/netinfo.py",
line 317, in getIpInfo<br>
ipv6addrs =
devInfo.get_ipv6_addresses()<br>
SystemError: error return without
exception set<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
Based on above errors, I think that for some reason
these two python related packages that were updated
yesterday are causing some problems with vdsm.<br>
Can you confirm that you can run ok the 3.4 vdsm with
those?<br>
<br>
vdsm-4.14.6-0.fc19.x86_64
<div class=""><br>
<br>
May 10 21:24:23 Updated:
python-ethtool-0.9-2.fc19.x86_64<br>
</div>
May 10 21:24:23 Updated:
python-lxml-3.3.5-1.fc19.x86_64<br>
<br>
</div>
<div class="gmail_extra">I can also try to rollback and
see...<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
I was right.<br>
</div>
<div class="gmail_extra">Against what to bugzilla? <br>
</div>
<div class="gmail_extra">This is a show stopper for fedora 19
ovirt users...<br>
<br>
</div>
<div class="gmail_extra">
<br>
[root@tekkaman log]# vdsClient -s 0 getVdsCaps<br>
Unexpected exception<br>
<br>
[root@tekkaman log]# yum downgrade python-lxml python-ethtool<br>
Loaded plugins: fastestmirror, langpacks, refresh-packagekit,
versionlock<br>
Dropbox
| 951 B 00:00:00 <br>
adobe-linux-x86_64
| 951 B 00:00:00 <br>
fedora-virt-preview
| 2.9 kB 00:00:00 <br>
google-chrome
| 951 B 00:00:00 <br>
livna
| 1.3 kB 00:00:00 <br>
ovirt-3.3.3
| 2.9 kB 00:00:00 <br>
ovirt-stable
| 2.9 kB 00:00:00 <br>
rpmfusion-free-updates
| 3.3 kB 00:00:00 <br>
rpmfusion-nonfree-updates
| 3.3 kB 00:00:00 <br>
updates/19/x86_64/metalink
| 28 kB 00:00:00 <br>
Loading mirror speeds from cached hostfile<br>
* fedora: <a moz-do-not-send="true"
href="http://mirror.netcologne.de">mirror.netcologne.de</a><br>
* livna: <a moz-do-not-send="true"
href="http://rpm.livna.org">rpm.livna.org</a><br>
* rpmfusion-free: <a moz-do-not-send="true"
href="http://mirror.switch.ch">mirror.switch.ch</a><br>
* rpmfusion-free-updates: <a moz-do-not-send="true"
href="http://mirror.switch.ch">mirror.switch.ch</a><br>
* rpmfusion-nonfree: <a moz-do-not-send="true"
href="http://mirror.switch.ch">mirror.switch.ch</a><br>
* rpmfusion-nonfree-updates: <a moz-do-not-send="true"
href="http://mirror.switch.ch">mirror.switch.ch</a><br>
* updates: <a moz-do-not-send="true"
href="http://mirror.netcologne.de">mirror.netcologne.de</a><br>
Resolving Dependencies<br>
--> Running transaction check<br>
---> Package python-ethtool.x86_64 0:0.8-1.fc19 will be a
downgrade<br>
---> Package python-ethtool.x86_64 0:0.9-2.fc19 will be
erased<br>
---> Package python-lxml.x86_64 0:3.2.1-1.fc19 will be a
downgrade<br>
---> Package python-lxml.x86_64 0:3.3.5-1.fc19 will be
erased<br>
--> Finished Dependency Resolution<br>
<br>
Dependencies Resolved<br>
<br>
======================================================================================================================================================<br>
Package
Arch
Version
Repository Size<br>
======================================================================================================================================================<br>
Downgrading:<br>
python-ethtool
x86_64
0.8-1.fc19
fedora 32 k<br>
python-lxml
x86_64
3.2.1-1.fc19
fedora 752 k<br>
<br>
Transaction Summary<br>
======================================================================================================================================================<br>
Downgrade 2 Packages<br>
<br>
Total download size: 785 k<br>
Is this ok [y/d/N]: <br>
Downloading packages:<br>
(1/2):
python-ethtool-0.8-1.fc19.x86_64.rpm
| 32 kB 00:00:00 <br>
(2/2):
python-lxml-3.2.1-1.fc19.x86_64.rpm
| 752 kB 00:00:02 <br>
------------------------------------------------------------------------------------------------------------------------------------------------------<br>
Total
317 kB/s | 785 kB 00:00:02 <br>
Running transaction check<br>
Running transaction test<br>
Transaction test succeeded<br>
Running transaction<br>
Installing :
python-lxml-3.2.1-1.fc19.x86_64
1/4 <br>
Installing :
python-ethtool-0.8-1.fc19.x86_64
2/4 <br>
Cleanup :
python-lxml-3.3.5-1.fc19.x86_64
3/4 <br>
Cleanup :
python-ethtool-0.9-2.fc19.x86_64
4/4 <br>
Verifying :
python-ethtool-0.8-1.fc19.x86_64
1/4 <br>
Verifying :
python-lxml-3.2.1-1.fc19.x86_64
2/4 <br>
Verifying :
python-ethtool-0.9-2.fc19.x86_64
3/4 <br>
Verifying :
python-lxml-3.3.5-1.fc19.x86_64
4/4 <br>
<br>
Removed:<br>
python-ethtool.x86_64
0:0.9-2.fc19
python-lxml.x86_64
0:3.3.5-1.fc19 <br>
<br>
Installed:<br>
python-ethtool.x86_64
0:0.8-1.fc19
python-lxml.x86_64
0:3.2.1-1.fc19 <br>
<br>
Complete!<br>
<br>
[root@tekkaman log]# vdsClient -s 0 getVdsCaps<br>
Unexpected exception<br>
<br>
<br>
[root@tekkaman log]# systemctl restart vdsmd <br>
<br>
[root@tekkaman log]# systemctl status vdsmd <br>
vdsmd.service - Virtual Desktop Server Manager<br>
Loaded: loaded (/usr/lib/systemd/system/vdsmd.service;
enabled)<br>
Active: active (running) since Sun 2014-05-11 23:44:52
CEST; 16s ago<br>
Process: 13935
ExecStopPost=/usr/libexec/vdsm/vdsmd_init_common.sh
--post-stop (code=exited, status=0/SUCCESS)<br>
Process: 13939
ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh
--pre-start (code=exited, status=0/SUCCESS)<br>
Main PID: 14003 (vdsm)<br>
CGroup: name=systemd:/system/vdsmd.service<br>
├─14003 /usr/bin/python /usr/share/vdsm/vdsm<br>
├─14074 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 32 30<br>
├─14081 rpc.statd --no-notify<br>
├─14103 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 34 32<br>
├─14105 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 41 40<br>
├─14106 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 48 46<br>
├─14107 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 54 48<br>
├─14108 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 41 40<br>
├─14121 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 50 41<br>
├─14123 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 66 65<br>
├─14125 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 71 50<br>
├─14129 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 75 71<br>
├─14131 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 81 75<br>
├─14135 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 92 89<br>
├─14137 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 75 65<br>
└─14138 /usr/bin/python
/usr/share/vdsm/storage/remoteFileHandler.pyc 89 75<br>
<br>
May 11 23:44:53 tekkaman.localdomain.local vdsm[14003]: vdsm
vds WARNING Unable to load the json rpc server module. Please
make sure it is installed.<br>
May 11 23:44:53 tekkaman.localdomain.local python[14003]:
DIGEST-MD5 client step 2<br>
May 11 23:44:53 tekkaman.localdomain.local python[14003]:
DIGEST-MD5 parse_server_challenge()<br>
May 11 23:44:53 tekkaman.localdomain.local python[14003]:
DIGEST-MD5 ask_user_info()<br>
May 11 23:44:53 tekkaman.localdomain.local python[14003]:
DIGEST-MD5 client step 2<br>
May 11 23:44:53 tekkaman.localdomain.local python[14003]:
DIGEST-MD5 ask_user_info()<br>
May 11 23:44:53 tekkaman.localdomain.local python[14003]:
DIGEST-MD5 make_client_response()<br>
May 11 23:44:53 tekkaman.localdomain.local python[14003]:
DIGEST-MD5 client step 3<br>
May 11 23:44:57 tekkaman.localdomain.local rpc.statd[14081]:
Version 1.2.7 starting<br>
May 11 23:44:57 tekkaman.localdomain.local rpc.statd[14081]:
Flags: TI-RPC<br>
<br>
[root@tekkaman log]# vdsClient -s 0 getVdsCaps<br>
HBAInventory = {'FC': [], 'iSCSI': [{'InitiatorName':
'iqn.1994-05.com.redhat:e6aa759a959'}]}<br>
ISCSIInitiatorName = 'iqn.1994-05.com.redhat:e6aa759a959'<br>
bondings = {'bond0': {'addr': '',<br>
'cfg': {},<br>
'hwaddr': '9a:0f:68:19:0f:87',<br>
'ipv6addrs': [],<br>
'mtu': '1500',<br>
'netmask': '',<br>
'slaves': []}}<br>
bridges = {';vdsmdummy;': {'addr': '',<br>
'cfg': {},<br>
'gateway': '',<br>
'ipv6addrs': [],<br>
'ipv6gateway': '::',<br>
'mtu': '1500',<br>
'netmask': '',<br>
'ports': [],<br>
'stp': 'off'},<br>
'ovirtmgmt': {'addr': '192.168.1.101',<br>
'cfg': {'BOOTPROTO': 'none',<br>
'DELAY': '0',<br>
'DEVICE': 'ovirtmgmt',<br>
'GATEWAY': '192.168.1.1',<br>
'IPADDR':
'192.168.1.101',<br>
'NETMASK':
'255.255.255.0',<br>
'NM_CONTROLLED': 'no',<br>
'ONBOOT': 'yes',<br>
'TYPE': 'Bridge'},<br>
'gateway': '192.168.1.1',<br>
'ipv6addrs':
['fe80::92e6:baff:fec9:f1e1/64'],<br>
'ipv6gateway': '::',<br>
'mtu': '1500',<br>
'netmask': '255.255.255.0',<br>
'ports': ['p10p1'],<br>
'stp': 'off'}}<br>
clusterLevels = ['3.0', '3.1', '3.2', '3.3', '3.4']<br>
cpuCores = '4'<br>
cpuFlags =
'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,ht,syscall,nx,mmxext,fxsr_opt,pdpe1gb,rdtscp,lm,3dnowext,3dnow,constant_tsc,rep_good,nopl,nonstop_tsc,extd_apicid,pni,monitor,cx16,popcnt,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,skinit,wdt,hw_pstate,npt,lbrv,svm_lock,nrip_save,model_athlon,model_Opteron_G3,model_Opteron_G1,model_phenom,model_Opteron_G2'<br>
cpuModel = 'AMD Athlon(tm) II X4 630 Processor'<br>
cpuSockets = '1'<br>
cpuSpeed = '2800.000'<br>
cpuThreads = '4'<br>
emulatedMachines = ['pc',<br>
'pc-q35-1.4',<br>
'pc-q35-1.5',<br>
'q35',<br>
'isapc',<br>
'pc-0.10',<br>
'pc-0.11',<br>
'pc-0.12',<br>
'pc-0.13',<br>
'pc-0.14',<br>
'pc-0.15',<br>
'pc-1.0',<br>
'pc-1.1',<br>
'pc-1.2',<br>
'pc-1.3',<br>
'pc-i440fx-1.4',<br>
'pc-i440fx-1.5',<br>
'none']<br>
guestOverhead = '65'<br>
hooks = {}<br>
kvmEnabled = 'true'<br>
lastClient = '192.168.1.101'<br>
lastClientIface = 'ovirtmgmt'<br>
management_ip = '0.0.0.0'<br>
memSize = '16048'<br>
netConfigDirty = 'False'<br>
networks = {'ovirtmgmt': {'addr': '192.168.1.101',<br>
'bridged': True,<br>
'cfg': {'BOOTPROTO': 'none',<br>
'DELAY': '0',<br>
'DEVICE': 'ovirtmgmt',<br>
'GATEWAY':
'192.168.1.1',<br>
'IPADDR':
'192.168.1.101',<br>
'NETMASK':
'255.255.255.0',<br>
'NM_CONTROLLED': 'no',<br>
'ONBOOT': 'yes',<br>
'TYPE': 'Bridge'},<br>
'gateway': '192.168.1.1',<br>
'iface': 'ovirtmgmt',<br>
'ipv6addrs':
['fe80::92e6:baff:fec9:f1e1/64'],<br>
'ipv6gateway': '::',<br>
'mtu': '1500',<br>
'netmask': '255.255.255.0',<br>
'ports': ['p10p1'],<br>
'stp': 'off'}}<br>
nics = {'p10p1': {'addr': '',<br>
'cfg': {'BRIDGE': 'ovirtmgmt',<br>
'DEVICE': 'p10p1',<br>
'HWADDR': '90:e6:ba:c9:f1:e1',<br>
'NM_CONTROLLED': 'no',<br>
'ONBOOT': 'yes'},<br>
'hwaddr': '90:e6:ba:c9:f1:e1',<br>
'ipv6addrs':
['fe80::92e6:baff:fec9:f1e1/64'],<br>
'mtu': '1500',<br>
'netmask': '',<br>
'speed': 100}}<br>
operatingSystem = {'name': 'Fedora', 'release': '8',
'version': '19'}<br>
packages2 = {'kernel': {'buildtime': 1398276657.0,<br>
'release': '100.fc19.x86_64',<br>
'version': '3.13.11'},<br>
'libvirt': {'buildtime': 1387094943,<br>
'release': '1.fc19',<br>
'version': '1.1.3.2'},<br>
'mom': {'buildtime': 1391183561, 'release':
'1.fc19', 'version': '0.4.0'},<br>
'qemu-img': {'buildtime': 1384762225,<br>
'release': '2.fc19',<br>
'version': '1.6.1'},<br>
'qemu-kvm': {'buildtime': 1384762225,<br>
'release': '2.fc19',<br>
'version': '1.6.1'},<br>
'spice-server': {'buildtime': 1383130020,<br>
'release': '3.fc19',<br>
'version': '0.12.4'},<br>
'vdsm': {'buildtime': 1395804204, 'release':
'0.fc19', 'version': '4.14.6'}}<br>
reservedMem = '321'<br>
rngSources = ['random']<br>
software_revision = '0'<br>
software_version = '4.14'<br>
supportedENGINEs = ['3.0', '3.1', '3.2', '3.3', '3.4']<br>
supportedProtocols = ['2.2', '2.3']<br>
uuid = 'E0E1001E-8C00-002A-6F9A-90E6BAC9F1E1'<br>
version_name = 'Snow Man'<br>
vlans = {}<br>
vmTypes = ['kvm']<br>
<br>
</div>
<div class="gmail_extra">And I'm now able to start and connect
to my VM again.<br>
<br>
</div>
<div class="gmail_extra">
HIH,<br>
Gianluca<br>
</div>
</div>
<br>
</div>
<br>
</body>
</html>