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?
De: "Sandro Bonazzola" <sbonazzo(a)redhat.com>
Para: "suporte" <suporte(a)logicworks.pt>
Cc: "users" <users(a)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(a)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/guestagentubun... ?
BQ_BEGIN
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(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/GKJLH7EKUPH...
BQ_END
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA
sbonazzo(a)redhat.com
Red Hat respects your work life balance. Therefore there is no need to answer this email
out of your office hours.