<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br>
Better workaround is to download newer python-apt from here [1] and<br>
install it manually with dpkg. The guest agent seems to work OK with it.<br>
There&#39;s much less chance of breaking something else, also newer<br>
python-apt will be picked-up automatically on upgrades.<br>
<br>
    Tomas<br>
<br>
<br>
[1] <a href="https://packages.ubuntu.com/yakkety/python-apt" rel="noreferrer" target="_blank">https://packages.ubuntu.com/<wbr>yakkety/python-apt</a><br>
<span class="gmail-HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div><br></div><div>Thank you, this is fix the problem! </div><br><div><div class="gmail-hljs gmail-ruby" style="display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248);font-family:monospace"><div></div><div><br></div><div><div>root@vmdczen01<span class="gmail-hljs-symbol" style="color:rgb(188,96,96)">:~</span><span class="gmail-hljs-comment" style="color:rgb(136,136,136)"># dpkg -i python-apt_1.1.0~beta5_amd64.deb</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Selecting previously unselected package python-apt.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">(Reading database ... 155994 files and directories currently installed.)</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Preparing to unpack python-apt_1.1.0~beta5_amd64.deb ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Unpacking python-apt (1.1.0~beta5) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">dpkg: dependency problems prevent configuration of python-apt:</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)"> python-apt depends on dirmngr | gnupg (&lt;&lt; 2); however:</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">  Package dirmngr is not installed.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">  Version of gnupg on system is 2.1.15-1ubuntu6.</span></div><div><br></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">dpkg: error processing package python-apt (--install):</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)"> dependency problems - leaving unconfigured</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Errors were encountered while processing:</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)"> python-apt</span></div><div><br></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">root<span class="gmail-hljs-doctag" style="font-weight:bold">@vmdczen</span>01:~# apt-get -f install</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Reading package lists... Done</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Building dependency tree</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Reading state information... Done</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Correcting dependencies... Done</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">The following packages were automatically installed and are no longer required:</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">  linux-headers-4.4.0-83 linux-headers-4.4.0-83-generic linux-image-4.4.0-83-generic linux-image-extra-4.4.0-83-generic</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Use &#39;sudo apt autoremove&#39; to remove them.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">The following additional packages will be installed:</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">  dirmngr</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">The following NEW packages will be installed:</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">  dirmngr</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">1 not fully installed or removed.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Need to get 235 kB of archives.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">After this operation, 644 kB of additional disk space will be used.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Do you want to continue? [Y/n] y</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Get:1 <a href="http://it.archive.ubuntu.com/ubuntu">http://it.archive.ubuntu.com/ubuntu</a> xenial/main amd64 dirmngr amd64 2.1.11-6ubuntu2 [235 kB]</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Fetched 235 kB in 0s (775 kB/s)</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Selecting previously unselected package dirmngr.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">(Reading database ... 156021 files and directories currently installed.)</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Preparing to unpack .../dirmngr_2.1.11-6ubuntu2_amd64.deb ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Unpacking dirmngr (2.1.11-6ubuntu2) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Processing triggers for man-db (2.7.5-1) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Setting up dirmngr (2.1.11-6ubuntu2) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Setting up python-apt (1.1.0~beta5) ...</span></div><div><br></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">root<span class="gmail-hljs-doctag" style="font-weight:bold">@vmdczen</span>01:~# apt-get install ovirt-guest-agent</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Reading package lists... Done</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Building dependency tree</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Reading state information... Done</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">The following packages were automatically installed and are no longer required:</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">  linux-headers-4.4.0-83 linux-headers-4.4.0-83-generic linux-image-4.4.0-83-generic linux-image-extra-4.4.0-83-generic</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Use &#39;sudo apt autoremove&#39; to remove them.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">The following additional packages will be installed:</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">  libnl-route-3-200 python-dbus python-ethtool qemu-guest-agent</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Suggested packages:</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">  python-dbus-doc python-dbus-dbg</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Recommended packages:</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">  python-gi | python-qt4-dbus</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">The following NEW packages will be installed:</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">  libnl-route-3-200 ovirt-guest-agent python-dbus python-ethtool qemu-guest-agent</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Need to get 383 kB of archives.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">After this operation, 1,574 kB of additional disk space will be used.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Do you want to continue? [Y/n] y</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Get:1 <a href="http://it.archive.ubuntu.com/ubuntu">http://it.archive.ubuntu.com/ubuntu</a> xenial-updates/main amd64 libnl-route-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [124 kB]</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Get:2 <a href="http://it.archive.ubuntu.com/ubuntu">http://it.archive.ubuntu.com/ubuntu</a> xenial/main amd64 python-dbus amd64 1.2.0-3 [83.5 kB]</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Get:3 <a href="http://it.archive.ubuntu.com/ubuntu">http://it.archive.ubuntu.com/ubuntu</a> xenial/universe amd64 python-ethtool amd64 0.11-3 [18.0 kB]</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Get:4 <a href="http://it.archive.ubuntu.com/ubuntu">http://it.archive.ubuntu.com/ubuntu</a> xenial-updates/universe amd64 qemu-guest-agent amd64 1:2.5+dfsg-5ubuntu10.14 [135 kB]</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Get:5 <a href="http://it.archive.ubuntu.com/ubuntu">http://it.archive.ubuntu.com/ubuntu</a> xenial/universe amd64 ovirt-guest-agent all 1.0.11.2.dfsg-1 [23.4 kB]</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Fetched 383 kB in 0s (993 kB/s)</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Selecting previously unselected package libnl-route-3-200:amd64.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">(Reading database ... 156038 files and directories currently installed.)</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Preparing to unpack .../libnl-route-3-200_3.2.27-1ubuntu0.16.04.1_amd64.deb ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Unpacking libnl-route-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Selecting previously unselected package python-dbus.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Preparing to unpack .../python-dbus_1.2.0-3_amd64.deb ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Unpacking python-dbus (1.2.0-3) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Selecting previously unselected package python-ethtool.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Preparing to unpack .../python-ethtool_0.11-3_amd64.deb ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Unpacking python-ethtool (0.11-3) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Selecting previously unselected package qemu-guest-agent.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Preparing to unpack .../qemu-guest-agent_1%3a2.5+dfsg-5ubuntu10.14_amd64.deb ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Unpacking qemu-guest-agent (1:2.5+dfsg-5ubuntu10.14) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Selecting previously unselected package ovirt-guest-agent.</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Preparing to unpack .../ovirt-guest-agent_1.0.11.2.dfsg-1_all.deb ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Unpacking ovirt-guest-agent (1.0.11.2.dfsg-1) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Processing triggers for libc-bin (2.23-0ubuntu9) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Processing triggers for man-db (2.7.5-1) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Processing triggers for systemd (229-4ubuntu19) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Processing triggers for ureadahead (0.100.0-19) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Processing triggers for dbus (1.10.6-1ubuntu3.3) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Setting up libnl-route-3-200:amd64 (3.2.27-1ubuntu0.16.04.1) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Setting up python-dbus (1.2.0-3) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Remove stale byte-compiled files...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Setting up python-ethtool (0.11-3) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Setting up qemu-guest-agent (1:2.5+dfsg-5ubuntu10.14) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Setting up ovirt-guest-agent (1.0.11.2.dfsg-1) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Processing triggers for libc-bin (2.23-0ubuntu9) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Processing triggers for systemd (229-4ubuntu19) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Processing triggers for ureadahead (0.100.0-19) ...</span></div><div><span class="gmail-hljs-comment" style="color:rgb(136,136,136)">Processing triggers for dbus (1.10.6-1ubuntu3.3) ...</span></div></div><div></div></div></div><br><div><br></div><div><br></div><div>I&#39;m using the package from official repository so I can confirm this bug (<a href="https://bugs.launchpad.net/ubuntu/+source/ovirt-guest-agent/+bug/1609130">https://bugs.launchpad.net/ubuntu/+source/ovirt-guest-agent/+bug/1609130</a>) and the chown fix</div><div></div><br><div><div class="hljs javascript" style="display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248);font-family:monospace"><div><br></div><div><div> systemctl status ovirt-guest-agent</div><div>● ovirt-guest-agent.service - oVirt Guest Agent</div><div>   Loaded: loaded (<span class="hljs-regexp" style="color:rgb(188,96,96)">/lib/</span>systemd/system/ovirt-guest-agent.service; disabled; vendor preset: enabled)</div><div>   Active: active (running) since Mon <span class="hljs-number" style="color:rgb(136,0,0)">2017</span><span class="hljs-number" style="color:rgb(136,0,0)">-08</span><span class="hljs-number" style="color:rgb(136,0,0)">-07</span> <span class="hljs-number" style="color:rgb(136,0,0)">17</span>:<span class="hljs-number" style="color:rgb(136,0,0)">40</span>:<span class="hljs-number" style="color:rgb(136,0,0)">43</span> CEST; <span class="hljs-number" style="color:rgb(136,0,0)">1</span>min <span class="hljs-number" style="color:rgb(136,0,0)">25</span>s ago</div><div>  Process: <span class="hljs-number" style="color:rgb(136,0,0)">3417</span> ExecStartPre=<span class="hljs-regexp" style="color:rgb(188,96,96)">/bin/</span>chown ovirtagent:ovirtagent /run/ovirt-guest-agent.pid (code=exited, status=<span class="hljs-number" style="color:rgb(136,0,0)">0</span>/SUCCESS)</div><div>  Process: <span class="hljs-number" style="color:rgb(136,0,0)">3415</span> ExecStartPre=<span class="hljs-regexp" style="color:rgb(188,96,96)">/bin/</span>touch /run/ovirt-guest-agent.pid (code=exited, status=<span class="hljs-number" style="color:rgb(136,0,0)">0</span>/SUCCESS)</div><div>  Process: <span class="hljs-number" style="color:rgb(136,0,0)">3412</span> ExecStartPre=<span class="hljs-regexp" style="color:rgb(188,96,96)">/sbin/m</span>odprobe virtio_console (code=exited, status=<span class="hljs-number" style="color:rgb(136,0,0)">0</span>/SUCCESS)</div><div> Main PID: <span class="hljs-number" style="color:rgb(136,0,0)">3420</span> (python)</div><div>   CGroup: <span class="hljs-regexp" style="color:rgb(188,96,96)">/system.slice/</span>ovirt-guest-agent.service</div><div>           └─<span class="hljs-number" style="color:rgb(136,0,0)">3420</span> /usr/bin/python /usr/share/ovirt-guest-agent/ovirt-guest-agent.py</div></div><div></div></div></div><br><div><br></div><div><br></div><div><br></div><div>Thank you again</div></div>
</div></div>