Bug 1469347 - Support for FreeBSD on ovirt-guest-agent
Summary: Support for FreeBSD on ovirt-guest-agent
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: ovirt-guest-agent
Classification: oVirt
Component: RFEs
Version: 1.0.13
Hardware: x86_64
OS: FreeBSD
unspecified
low with 7 votes
Target Milestone: ---
: ---
Assignee: Tomáš Golembiovský
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-11 04:23 UTC by Vinícius Ferrão
Modified: 2022-03-11 14:45 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-02-05 00:33:22 UTC
oVirt Team: Virt
Embargoed:
sbonazzo: ovirt-4.4-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-45157 0 None None None 2022-03-11 14:45:09 UTC

Description Vinícius Ferrão 2017-07-11 04:23:22 UTC
Description of problem:
There's no ovirt-guest-agent releaes for FreeBSD.

How reproducible:
100%

Steps to Reproduce:
1. Look for ovirt-guest-agent for FreeBSD and just can't found it.
2. Try to compile from source, it works with: --without-sso
3. Fail to load binaries due to lack of knowledge of how ovirt-guest-agent works

Actual results:
None

Expected results:
Support for basic tools in oVirt Hosted Engine.

Additional info:
I was able to compile the latest version of ovirt-guest-agent on FreeBSD 11.0-EELEASE but I was unable to execute the required software due to lack of knowledge of how ovirt-guest-agent works. Probably a debug should de made and the software may need to be adapted to work correctly on FreeBSD.

I'm targeting 11.0-RELEASE since it supports the required virtio_console driver: https://www.freebsd.org/cgi/man.cgi?query=virtio_console&sektion=4

More information can be found on oVirt mailing list, since some users already tried/asked for the same feature in the past:

1. http://lists.ovirt.org/pipermail/users/2013-August/015770.html
2. http://lists.ovirt.org/pipermail/users/2015-June/033271.html

Comment 1 Michal Skrivanek 2017-07-12 13:53:05 UTC
didn't we have some request like that long time ago...wasn't it actually partially working?

Comment 2 Vinzenz Feenstra [evilissimo] 2017-07-13 14:00:56 UTC
@mskrivan 

Here's what I had to do on FBSD 11

pkgconf, git, autoconf and automake

git clone https://gerrit.ovirt.org/ovirt-guest-agent

cd ovirt-guest-agent

-- Applying changes from https://gerrit.ovirt.org/#/c/79395/ (When not merged yet)

mkdir -p m4
curl https://raw.githubusercontent.com/pkgconf/pkgconf/master/pkg.m4 > m4/pkg.m4
./autogen.sh
./configure --without-sso --with-sudohelper=sudo --prefix=/usr --sysconfdir=/etc 

sudo make install
sudo mkdir -p /var/log/ovirt-guest-agent /run

# You need to find the right channel it's something like /dev/ttyV0.1/2/3 or so but I am not sure which one is which just yet

sudo ln -s /dev/ttyV0.2 /dev/ovirt-guest-agent.0
sudo python2 /usr/share/ovirt-guest-agent/ovirt-guest-agent.py


This is for now the 'workaround' to get it working there would be ofc more sensible changes needed to do it for a real support and there are quite a lot of missing features - You can shutdown the system from the UI anything else I did not test and is most likely not working

Comment 3 Marco 2018-02-10 18:19:14 UTC
I'm using the very popular pfSense firewall in my ovirt infrastructure; pfSense is based on FreeBSD.
It would be great to have ovirt-guest-agent also fot this platform.

Comment 4 Sandro Bonazzola 2018-03-16 07:15:58 UTC
FreeNas is also freebsd based and it ships by default vmware agent.
It would be nice to get ovirt agent on it as well but for doing so we need the guest agent to run on freebsd too.

Comment 5 Mike Goodwin 2018-08-01 01:25:09 UTC
+1 For pfSense ovirt-guest-agent

Comment 6 paul 2018-09-03 16:10:50 UTC
+1 for pfSense ovirt-guest-agent

Comment 7 Ryan Barry 2018-10-08 13:23:31 UTC
Targeting late due to capacity

Comment 8 Ryan Barry 2019-02-05 00:33:22 UTC
ovirt-guest-agent is EOL In RHV 4.3. We are migrating to qemu-guest-agent, which should work on FreeBSD AFAIK


Note You need to log in before you can comment on or make changes to this bug.