Package Details: ovirt-guest-agent 1.0.16-1

Git Clone URL: https://aur.archlinux.org/ovirt-guest-agent.git (read-only, click to copy)
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 (UTC)
Last Updated: 2019-02-28 08:10 (UTC)

Latest Comments

1 2 Next › Last »

MarsSeed commented on 2022-07-07 02:48 (UTC)

Project README says:

IMPORTANT: This project has been dropped from oVirt

Keeping the repo only for reference.

Also package is broken due to missing python2-pycodestyle makedepend.

k0ste commented on 2019-02-07 11:45 (UTC)

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

Asator commented on 2019-02-07 10:28 (UTC)

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

digger commented on 2018-10-06 22:56 (UTC)

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 (UTC) (edited on 2018-10-06 22:40 (UTC) by digger)

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 (UTC) (edited on 2018-10-06 22:42 (UTC) by digger)

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 (UTC) (edited on 2018-03-15 01:02 (UTC) by k0ste)

yaourt -G ovirt-guest-agent

cd ovirt-guest-agent

makepkg

yaourt -U [your version of package]

valdar commented on 2018-03-14 17:39 (UTC)

Same problem here as @brando56894

brando56894 commented on 2017-12-21 13:26 (UTC)

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 (UTC)

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?