Package Details: ovirt-guest-agent 1.0.16-1

Git Clone URL: https://aur.archlinux.org/ovirt-guest-agent.git (read-only)
Package Base: ovirt-guest-agent
Description: The oVirt Guest Agent
Upstream URL: https://ovirt.org/develop/developer-guide/vdsm/guest-agent
Keywords: ovirt rhev
Licenses: ASL 2.0
Submitter: k0ste
Maintainer: k0ste
Last Packager: k0ste
Votes: 1
Popularity: 0.000000
First Submitted: 2015-03-17 07:19
Last Updated: 2019-02-28 08:10

Latest Comments

k0ste commented on 2019-02-07 11:45

@Asator, this is strange... Updated, thank you.

Asator commented on 2019-02-07 10:28

The sha256sum for the ovirt-guest-agent package from github is outdated, please update.

digger commented on 2018-10-06 22:56

Found the fix for:

# tail /var/log/ovirt-guest-agent/ovirt-guest-agent.log
...
OSError: [Errno 13] Permission denied: '/dev/virtio-ports/ovirt-guest-agent.0'

Thanks to, https://bugzilla.redhat.com/show_bug.cgi?id=1472293#c4

Fix is:

# cat /etc/udev/rules.d/55-ovirt-guest-agent.rules
SYMLINK=="virtio-ports/ovirt-guest-agent.0", OWNER="ovirtagent", GROUP="ovirtagent"

# udevadm trigger --subsystem-match="virtio-ports"

digger commented on 2018-10-06 22:05

The package builds, but if running with $ makepkg -sic the install fails because two packages are created.

...
==> Creating package "ovirt-guest-agent"...
...
==> Starting package_ovirt-guest-agent-common()...
...
==> Creating package "ovirt-guest-agent-common"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ovirt-guest-agent 1.0.14-1 (Sat 06 Oct 2018 01:56:23 PM PDT)
==> Installing ovirt-guest-agent package group with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: ovirt-guest-agent and ovirt-guest-agent-common are in conflict
==> WARNING: Failed to install built package(s).
==> Cleaning up...

So I just installed one of the two packages.

$ sudo pacman -U ovirt-guest-agent-common-1.0.14-1-x86_64.pkg.tar.xz

But then it fails to start. :(

# systemctl status ovirt-guest-agent
● ovirt-guest-agent.service - oVirt Guest Agent
   Loaded: loaded (/usr/lib/systemd/system/ovirt-guest-agent.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2018-10-06 14:07:03 PDT; 1s ago
  Process: 15217 ExecStart=/usr/bin/python2 /usr/share/ovirt-guest-agent/ovirt-guest-agent.py -p /run/ovirtagent/o>
  Process: 15216 ExecStartPre=/usr/bin/modprobe virtio_console (code=exited, status=0/SUCCESS)
 Main PID: 15217 (code=exited, status=1/FAILURE)

Oct 06 14:07:03 <host> systemd[1]: Starting oVirt Guest Agent...
Oct 06 14:07:03 <host> systemd[1]: Started oVirt Guest Agent.
Oct 06 14:07:03 <host> systemd[1]: ovirt-guest-agent.service: Main process exited, code=exited, status=1/FAILURE
Oct 06 14:07:03 <host> systemd[1]: ovirt-guest-agent.service: Failed with result 'exit-code'.

# tail /var/log/ovirt-guest-agent/ovirt-guest-agent.log 
    self.agent = LinuxVdsAgent(config)
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 469, in __init__
    AgentLogicBase.__init__(self, config)
  File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 189, in __init__
    self.vio = VirtIoChannel(config.get("virtio", "device_prefix"))
  File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 160, in __init__
    self._stream = VirtIoStream(vport_name)
  File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 141, in __init__
    self._vport = os.open(vport_name, os.O_RDWR)
OSError: [Errno 13] Permission denied: '/dev/virtio-ports/ovirt-guest-agent.0'

Heading down the troubleshooting rabbit hole now.

digger commented on 2018-10-06 01:28

usermode is a dependency. But it is not listed as one on, https://aur.archlinux.org/packages/ovirt-guest-agent/

==> Installing ovirt-guest-agent package group with pacman -U...
loading packages...
resolving dependencies...
warning: cannot resolve "usermode", a dependency of "ovirt-guest-agent-common"
:: The following package cannot be upgraded due to unresolvable dependencies:
      ovirt-guest-agent-common

:: Do you want to skip the above package for this upgrade? [y/N] 

k0ste commented on 2018-03-15 01:01

yaourt -G ovirt-guest-agent

cd ovirt-guest-agent

makepkg

yaourt -U [your version of package]

valdar commented on 2018-03-14 17:39

Same problem here as @brando56894

brando56894 commented on 2017-12-21 13:26

Trying to install this gives the following error when trying to install the package

looking for conflicting packages... error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: ovirt-guest-agent and ovirt-guest-agent-common are in conflict

I never installed ovirt-guest-agent-common, nor is it installed when I close out of this.

k0ste commented on 2017-02-15 11:45

Hello, I think you should create issue to oVirt directly https://bugzilla.redhat.com/describecomponents.cgi?product=ovirt-guest-agent

Or may be suggestions how to fix it on PKGBUILD?

LazAnt commented on 2017-02-15 07:12

I'm getting error.
Host is oVirt 4.1.0 on CentOS 7.3, guest is Fresh Arch Linux.


$ sudo systemctl status ovirt-guest-agent.service
● ovirt-guest-agent.service - oVirt Guest Agent
Loaded: loaded (/usr/lib/systemd/system/ovirt-guest-agent.service; enabled; vendor preset: disabled)
Active: failed (Result: signal) since Wed 2017-02-15 16:00:18 JST; 12s ago
Process: 1667 ExecStart=/usr/bin/python2 /usr/share/ovirt-guest-agent/ovirt-guest-agent.py -p /tmp/ovirt-guest-agent.pid (code=killed, signal=ABRT)
Process: 1665 ExecStartPre=/usr/bin/modprobe virtio_console (code=exited, status=0/SUCCESS)
Main PID: 1667 (code=killed, signal=ABRT)

Feb 15 16:00:18 test.local systemd[1]: Started oVirt Guest Agent.
Feb 15 16:00:18 test.local python2[1667]: *** stack smashing detected ***: /usr/bin/python2 terminated
Feb 15 16:00:18 test.local python2[1667]: ======= Backtrace: =========
Feb 15 16:00:18 test.local python2[1667]: /usr/lib/libc.so.6(+0x70c4b)[0x7fc4297b8c4b]
Feb 15 16:00:18 test.local python2[1667]: /usr/lib/libc.so.6(__fortify_fail+0x37)[0x7fc429840f17]
Feb 15 16:00:18 testlocal python2[1667]: /usr/lib/libc.so.6(__fortify_fail+0x0)[0x7fc429840ee0]
Feb 15 16:00:18 test.local python2[1667]: /usr/lib/python2.7/site-packages/ethtool.so(+0x396d)[0x7fc42106d96d]
Feb 15 16:00:18 test.local systemd[1]: ovirt-guest-agent.service: Main process exited, code=killed, status=6/ABRT
Feb 15 16:00:18 test.local systemd[1]: ovirt-guest-agent.service: Unit entered failed state.
Feb 15 16:00:18 test.local systemd[1]: ovirt-guest-agent.service: Failed with result 'signal'.


$ cat /var/log/ovirt-guest-agent/ovirt-guest-agent.log
MainThread::INFO::2017-02-15 16:00:18,863::ovirt-guest-agent::59::root::Starting oVirt guest agent
MainThread::INFO::2017-02-15 16:00:18,866::GuestAgentLinux2::172::root::Unknown package management. Application list report is disabled.
CredServer::INFO::2017-02-15 16:00:18,870::CredServer::258::root::CredServer is running...