Sorry, but after a while the error came back.
ovirt-guest-agent looks like it's working, at least the engine doesn't shows an error

thanks


De: "Sandro Bonazzola" <sbonazzo@redhat.com>
Para: "suporte" <suporte@logicworks.pt>
Cc: "Tomáš Golembiovský" <tgolembi@redhat.com>, "Arik Hadas" <ahadas@redhat.com>, "users" <users@ovirt.org>
Enviadas: Sexta-feira, 6 De Novembro de 2020 16:43:54
Assunto: Re: [ovirt-users] ovirt guest agent ubuntu 16.04.6 LTS



Il giorno ven 6 nov 2020 alle ore 16:56 <suporte@logicworks.pt> ha scritto:
Hi,

Yes, that worked but I needed to uninstall unattended-upgrades

@Tomas Golembiovsky can you please review https://github.com/oVirt/ovirt-site/pull/2387 ?

 


thanks


De: "Tomáš Golembiovský" <tgolembi@redhat.com>
Para: "Sandro Bonazzola" <sbonazzo@redhat.com>
Cc: "suporte" <suporte@logicworks.pt>, "Arik Hadas" <ahadas@redhat.com>, "users" <users@ovirt.org>
Enviadas: Quinta-feira, 5 De Novembro de 2020 7:48:26
Assunto: Re: [ovirt-users] ovirt guest agent ubuntu 16.04.6 LTS

Hi,

On Tue, Nov 03, 2020 at 11:00:36AM +0100, Sandro Bonazzola wrote:
> Il giorno lun 2 nov 2020 alle ore 20:58 <suporte@logicworks.pt> ha scritto:
>
> > I get this error during the installation:
> >
> > # apt-key add - < Release.key
> > gpg: invalid key resource URL
> > `/etc/apt/trusted.gpg.d/home:evilissimo:ubuntu:16.04.gpg'
> > gpg: keyblock resource `(null)': general error
> > gpg: Total number processed: 10
> > gpg:       skipped new keys: 10
> >
> >
> > I was able to intall and start quemu-guest-agent, but the engine keeps
> > complaining about there is no guest installed.
> >
> > Any idea?
> >

I checked the qemu-ga version in Ubuntu 16.04 and it is too old. It is
version 2.5 but you need at least 2.10 for it to work properly with
oVirt. I tried to install the package from Ubuntu 18.04 [1] and it was
without issues. Is that a viable option for you?

    Tomas

[1] https://packages.ubuntu.com/bionic/qemu-guest-agent

>
> +Tomas Golembiovsky <tgolembi@redhat.com> , +Arik Hadas <ahadas@redhat.com> can
> you help here?
>
>
>
>
> >
> > ------------------------------
> > *De: *"Sandro Bonazzola" <sbonazzo@redhat.com>
> > *Para: *"suporte" <suporte@logicworks.pt>
> > *Cc: *"users" <users@ovirt.org>
> > *Enviadas: *Segunda-feira, 2 De Novembro de 2020 14:27:30
> > *Assunto: *Re: [ovirt-users] ovirt guest agent ubuntu 16.04.6 LTS
> >
> >
> >
> > Il giorno sab 31 ott 2020 alle ore 21:04 <suporte@logicworks.pt> ha
> > scritto:
> >
> >> What is the best way to install ovirt guest on Ubuntu 16.04.6?
> >>
> >
> >
> > Did you see
> > https://ovirt.org/develop/release-management/features/virt/guestagentubuntu.html
> > ?
> >
> >
> >
> >
> >>
> >>
> >> What I did:
> >> # apt-get install ovirt-guest-agent
> >>
> >> I changed value in /etc/ovirt-guest-agent.conf to look like:
> >> [virtio]
> >> # device = /dev/virtio-ports/com.redhat.rhevm.vdsm
> >> device = /dev/virtio-ports/ovirt-guest-agent.0
> >>
> >> # systemctl start ovirt-guest-agent
> >>
> >> Error on the log:
> >> OSError: [Errno 13] Permission denied:
> >> '/dev/virtio-ports/ovirt-guest-agent.0
> >>
> >> Than I set the owner and group
> >> # chown ovirtagent:ovirtagent /dev/virtio-ports/ovirt-guest-agent.0
> >>
> >> Than I was able to start the agent
> >>
> >> # systemctl status ovirt-guest-agent
> >> ● ovirt-guest-agent.service - oVirt Guest Agent
> >> Loaded: loaded (/lib/systemd/system/ovirt-guest-agent.service; enabled;
> >> vendor preset: enabled)
> >> Active: active (running) since Sat 2020-10-31 19:50:03 WET; 9min ago
> >> Process: 6531 ExecStartPre=/bin/chown ovirtagent:ovirtagent
> >> /run/ovirt-guest-agent.pid (code=exited, status=0/SUCCESS)
> >> Process: 6527 ExecStartPre=/bin/touch /run/ovirt-guest-agent.pid
> >> (code=exited, status=0/SUCCESS)
> >> Process: 6524 ExecStartPre=/sbin/modprobe virtio_console (code=exited,
> >> status=0/SUCCESS)
> >> Main PID: 6537 (python)
> >> Tasks: 3
> >> Memory: 68.7M
> >> CPU: 5.462s
> >> CGroup: /system.slice/ovirt-guest-agent.service
> >> └─6537 /usr/bin/python /usr/share/ovirt-guest-agent/ovirt-guest-agent.py
> >>
> >> Oct 31 19:52:05 alfa.acloud.pt python[6537]: [100B blob data]
> >> Oct 31 19:54:06 alfa.acloud.pt python[6537]: [90B blob data]
> >> Oct 31 19:54:06 alfa.acloud.pt python[6537]: [155B blob data]
> >> Oct 31 19:54:06 alfa.acloud.pt python[6537]: [100B blob data]
> >> Oct 31 19:56:06 alfa.acloud.pt python[6537]: [90B blob data]
> >> Oct 31 19:56:07 alfa.acloud.pt python[6537]: [155B blob data]
> >> Oct 31 19:56:07 alfa.acloud.pt python[6537]: [100B blob data]
> >> Oct 31 19:58:07 alfa.acloud.pt python[6537]: [90B blob data]
> >> Oct 31 19:58:08 alfa.acloud.pt python[6537]: [155B blob data]
> >> Oct 31 19:58:08 alfa.acloud.pt python[6537]: [100B blob data]
> >>
> >> Everytime I restart the VM I need to set the owner and group
> >>
> >> # chown ovirtagent:ovirtagent /dev/virtio-ports/ovirt-guest-agent.0
> >>
> >>
> >> --
> >> ------------------------------
> >> Jose Ferradeira
> >> http://www.logicworks.pt
> >> _______________________________________________
> >> Users mailing list -- users@ovirt.org
> >> To unsubscribe send an email to users-leave@ovirt.org
> >> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> >> oVirt Code of Conduct:
> >> https://www.ovirt.org/community/about/community-guidelines/
> >> List Archives:
> >> https://lists.ovirt.org/archives/list/users@ovirt.org/message/GKJLH7EKUPHCHIUBYSYPX7RU7FSMG35N/
> >>
> >
> >
> > --
> >
> > Sandro Bonazzola
> >
> > MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
> >
> > Red Hat EMEA <https://www.redhat.com/>
> >
> > sbonazzo@redhat.com
> > <https://www.redhat.com/>
> >
> >
> >
> > *Red Hat respects your work life balance. Therefore there is no need to
> > answer this email out of your office hours.
> > <https://mojo.redhat.com/docs/DOC-1199578>*
> >
> >
> > * <https://www.redhat.com/it/forums/emea/italy-track>*
> >
> >
>
> --
>
> Sandro Bonazzola
>
> MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
>
> Red Hat EMEA <https://www.redhat.com/>
>
> sbonazzo@redhat.com
> <https://www.redhat.com/>
>
> *Red Hat respects your work life balance. Therefore there is no need to
> answer this email out of your office hours.
> <https://mojo.redhat.com/docs/DOC-1199578>*
>
>
> * <https://www.redhat.com/it/forums/emea/italy-track>*

--
Tomáš Golembiovský <tgolembi@redhat.com>


--