Re: [ovirt-users] Issues getting agent working on Ubuntu 17.04
It is a bug that is also present in 16.04. The log directory in /var/log/ovirt-guest-agent has the wrong user (or permission) It should have ovirtagent as user and group. /Johan On Tue, 2017-08-08 at 15:59 -0400, Wesley Stewart wrote: > I am having trouble getting the ovirt agent working on Ubuntu 17.04 > (perhaps it just isnt there yet) > > Currently I have two test machines a 16.04 and a 17.04 ubuntu > servers. > > > On the 17.04 server: > Currently isntalled: > ovirt-guest-agent (1.0.12.2.dfsg-2), and service --status-all reveals > a few virtualization agents: > [ - ] open-vm-tools > [ - ] ovirt-guest-agent > [ + ] qemu-guest-agent > > I can't seem to start ovirt-guest-agent > sudo service ovirt-guest-agent start/restart does nothing > > Running sudo systemctl status ovirt-guest-agent.service > Aug 08 15:31:50 ubuntu-template systemd[1]: Starting oVirt Guest > Agent... > Aug 08 15:31:50 ubuntu-template systemd[1]: Started oVirt Guest > Agent. > Aug 08 15:31:51 ubuntu-template python[1219]: *** stack smashing > detected ***: /usr/bin/python terminated > Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest- > agent.service: Main process exited, code=killed, status=6/ABRT > Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest- > agent.service: Unit entered failed state. > Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest- > agent.service: Failed with result 'signal'. > > sudo systemctl enable ovirt-guest-agent.service > Also does not seem to do antyhing. > > Doing more research, I found: > http://lists.ovirt.org/pipermail/users/2017-July/083071.html > So perhaps the ovirt-guest-agent is broken for Ubuntu 17.04? > > > On the 16.04 Server I have: > Took some fiddling, but I eventually got it working > > > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Issues getting agent working on Ubuntu 17.04
Wesley, it doesn't work at all. Seems to do something with Python, not sure. Has been reported here before and the person who maintains it has been involved but didn't reply. Fernando On 08/08/2017 16:59, Wesley Stewart wrote: I am having trouble getting the ovirt agent working on Ubuntu 17.04 (perhaps it just isnt there yet) Currently I have two test machines a 16.04 and a 17.04 ubuntu servers. *On the 17.04 server*: Currently isntalled: ovirt-guest-agent (1.0.12.2.dfsg-2), and service --status-all reveals a few virtualization agents: [ - ] open-vm-tools [ - ] ovirt-guest-agent [ + ] qemu-guest-agent I can't seem to start ovirt-guest-agent sudo service ovirt-guest-agent start/restart does nothing Running */_sudo systemctl status ovirt-guest-agent.service_/* Aug 08 15:31:50 ubuntu-template systemd[1]: Starting oVirt Guest Agent... Aug 08 15:31:50 ubuntu-template systemd[1]: Started oVirt Guest Agent. Aug 08 15:31:51 ubuntu-template python[1219]: *** stack smashing detected ***: /usr/bin/python terminated Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest-agent.service: Main process exited, code=killed, status=6/ABRT Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest-agent.service: Unit entered failed state. Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest-agent.service: Failed with result 'signal'. */_sudo systemctl enable ovirt-guest-agent.service_/* Also does not seem to do antyhing. Doing more research, I found: http://lists.ovirt.org/pipermail/users/2017-July/083071.html So perhaps the ovirt-guest-agent is broken for Ubuntu 17.04? *On the 16.04 Server I have:* Took some fiddling, but I eventually got it working ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Issues getting agent working on Ubuntu 17.04
And it would have been good if i read the whole email :) On Tue, 2017-08-08 at 22:04 +0200, Johan Bernhardsson wrote: > It is a bug that is also present in 16.04. The log directory in > /var/log/ovirt-guest-agent has the wrong user (or permission) It > should have ovirtagent as user and group. > > /Johan > > On Tue, 2017-08-08 at 15:59 -0400, Wesley Stewart wrote: > > I am having trouble getting the ovirt agent working on Ubuntu 17.04 > > (perhaps it just isnt there yet) > > > > Currently I have two test machines a 16.04 and a 17.04 ubuntu > > servers. > > > > > > On the 17.04 server: > > Currently isntalled: > > ovirt-guest-agent (1.0.12.2.dfsg-2), and service --status-all > > reveals a few virtualization agents: > > [ - ] open-vm-tools > > [ - ] ovirt-guest-agent > > [ + ] qemu-guest-agent > > > > I can't seem to start ovirt-guest-agent > > sudo service ovirt-guest-agent start/restart does nothing > > > > Running sudo systemctl status ovirt-guest-agent.service > > Aug 08 15:31:50 ubuntu-template systemd[1]: Starting oVirt Guest > > Agent... > > Aug 08 15:31:50 ubuntu-template systemd[1]: Started oVirt Guest > > Agent. > > Aug 08 15:31:51 ubuntu-template python[1219]: *** stack smashing > > detected ***: /usr/bin/python terminated > > Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest- > > agent.service: Main process exited, code=killed, status=6/ABRT > > Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest- > > agent.service: Unit entered failed state. > > Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest- > > agent.service: Failed with result 'signal'. > > > > sudo systemctl enable ovirt-guest-agent.service > > Also does not seem to do antyhing. > > > > Doing more research, I found: > > http://lists.ovirt.org/pipermail/users/2017-July/083071.html > > So perhaps the ovirt-guest-agent is broken for Ubuntu 17.04? > > > > > > On the 16.04 Server I have: > > Took some fiddling, but I eventually got it working > > > > > > > > ___ > > Users mailing list > > Users@ovirt.org > > http://lists.ovirt.org/mailman/listinfo/users > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Issues getting agent working on Ubuntu 17.04
Actually just got it working. 17.04 seems to have version .12-1 of python-ethtool. I simply removed it and the ovirt agent sudo apt-get remove python-ethtool And then I found the same version of python-ethtool on my 16.04 ubuntu server (0.11-3) and found a deb file for it: wget http://ftp.ubuntu.com/ubuntu/ubuntu/pool/universe/p/python- ethtool/python-ethtool_0.11-3_amd64.deb dpkg -i python-ethtool_0.11-3_amd64.deb and the reinstalled ovirt sudo apt-get install ovirt-guest-agent The GUI is now giving me memory and CPU and indicating that everything is up to date! On Tue, Aug 8, 2017 at 4:04 PM, Johan Bernhardsson wrote: > It is a bug that is also present in 16.04. The log directory in > /var/log/ovirt-guest-agent has the wrong user (or permission) It should > have ovirtagent as user and group. > > /Johan > > On Tue, 2017-08-08 at 15:59 -0400, Wesley Stewart wrote: > > I am having trouble getting the ovirt agent working on Ubuntu 17.04 > (perhaps it just isnt there yet) > > Currently I have two test machines a 16.04 and a 17.04 ubuntu servers. > > > *On the 17.04 server*: > Currently isntalled: > ovirt-guest-agent (1.0.12.2.dfsg-2), and service --status-all reveals a > few virtualization agents: > [ - ] open-vm-tools > [ - ] ovirt-guest-agent > [ + ] qemu-guest-agent > > I can't seem to start ovirt-guest-agent > sudo service ovirt-guest-agent start/restart does nothing > > Running *sudo systemctl status ovirt-guest-agent.service* > Aug 08 15:31:50 ubuntu-template systemd[1]: Starting oVirt Guest Agent... > Aug 08 15:31:50 ubuntu-template systemd[1]: Started oVirt Guest Agent. > Aug 08 15:31:51 ubuntu-template python[1219]: *** stack smashing detected > ***: /usr/bin/python terminated > Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest-agent.service: > Main process exited, code=killed, status=6/ABRT > Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest-agent.service: > Unit entered failed state. > Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest-agent.service: > Failed with result 'signal'. > > *sudo systemctl enable ovirt-guest-agent.service* > Also does not seem to do antyhing. > > Doing more research, I found: > http://lists.ovirt.org/pipermail/users/2017-July/083071.html > So perhaps the ovirt-guest-agent is broken for Ubuntu 17.04? > > > *On the 16.04 Server I have:* > Took some fiddling, but I eventually got it working > > > > ___ > Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users > > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Issues getting agent working on Ubuntu 17.04
Oddly enough, on Ubuntu 16.04 I had similar issues, but different outputs. The "fix" for me was pretty much the same. The oddest part was that apt reported that python-ethtool was on version 0.11-3. I removed it and installed via a deb file anyways. sudo apt-get remove python-ethool *(even though reporting 0.11-3, this also remove ovirt-guest-agent*) wget http://ftp.ubuntu.com/ubuntu/ubuntu/pool/universe/p/ python-ethtool/python-ethtool_0.11-3_amd64.deb sudo dpkg -i python-ethtool_0.11-3_amd64.deb sudo apt-get install ovirt-guest-agent sudo systemctl enable ovirt-guest-agent.service sudo systemctl status ovirt-guest-agent.service (now reports as active (running)!) On Tue, Aug 8, 2017 at 4:14 PM, Wesley Stewart wrote: > Actually just got it working. > > 17.04 seems to have version .12-1 of python-ethtool. > I simply removed it and the ovirt agent > > sudo apt-get remove python-ethtool > > And then I found the same version of python-ethtool on my 16.04 ubuntu > server (0.11-3) and found a deb file for it: > > wget http://ftp.ubuntu.com/ubuntu/ubuntu/pool/universe/p/python-e > thtool/python-ethtool_0.11-3_amd64.deb > dpkg -i python-ethtool_0.11-3_amd64.deb > > and the reinstalled ovirt > sudo apt-get install ovirt-guest-agent > > The GUI is now giving me memory and CPU and indicating that everything is > up to date! > > On Tue, Aug 8, 2017 at 4:04 PM, Johan Bernhardsson wrote: > >> It is a bug that is also present in 16.04. The log directory in >> /var/log/ovirt-guest-agent has the wrong user (or permission) It should >> have ovirtagent as user and group. >> >> /Johan >> >> On Tue, 2017-08-08 at 15:59 -0400, Wesley Stewart wrote: >> >> I am having trouble getting the ovirt agent working on Ubuntu 17.04 >> (perhaps it just isnt there yet) >> >> Currently I have two test machines a 16.04 and a 17.04 ubuntu servers. >> >> >> *On the 17.04 server*: >> Currently isntalled: >> ovirt-guest-agent (1.0.12.2.dfsg-2), and service --status-all reveals a >> few virtualization agents: >> [ - ] open-vm-tools >> [ - ] ovirt-guest-agent >> [ + ] qemu-guest-agent >> >> I can't seem to start ovirt-guest-agent >> sudo service ovirt-guest-agent start/restart does nothing >> >> Running *sudo systemctl status ovirt-guest-agent.service* >> Aug 08 15:31:50 ubuntu-template systemd[1]: Starting oVirt Guest Agent... >> Aug 08 15:31:50 ubuntu-template systemd[1]: Started oVirt Guest Agent. >> Aug 08 15:31:51 ubuntu-template python[1219]: *** stack smashing detected >> ***: /usr/bin/python terminated >> Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest-agent.service: >> Main process exited, code=killed, status=6/ABRT >> Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest-agent.service: >> Unit entered failed state. >> Aug 08 15:31:51 ubuntu-template systemd[1]: ovirt-guest-agent.service: >> Failed with result 'signal'. >> >> *sudo systemctl enable ovirt-guest-agent.service* >> Also does not seem to do antyhing. >> >> Doing more research, I found: >> http://lists.ovirt.org/pipermail/users/2017-July/083071.html >> So perhaps the ovirt-guest-agent is broken for Ubuntu 17.04? >> >> >> *On the 16.04 Server I have:* >> Took some fiddling, but I eventually got it working >> >> >> >> ___ >> Users mailing >> listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users >> >> >> ___ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> >> > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Issues getting agent working on Ubuntu 17.04
Try https://packages.debian.org/sid/python/python-ethtool This fixed it for me, looks like a bug that's been fixed in debian but not yet ported over to ubuntu Ubuntu was 0.12-1 where as debian has a newer 0.12-1.1 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users