[ovirt-users] Re: ovirt guest agent ubuntu 16.04.6 LTS

2020-11-09 Thread suporte
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"  
Para: "suporte"  
Cc: "Tomáš Golembiovský" , "Arik Hadas" 
, "users"  
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 < supo...@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 ? 


BQ_BEGIN



thanks 


De: "Tomáš Golembiovský" < tgole...@redhat.com > 
Para: "Sandro Bonazzola" < sbona...@redhat.com > 
Cc: "suporte" < supo...@logicworks.pt >, "Arik Hadas" < aha...@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 < supo...@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 < tgole...@redhat.com > , +Arik Hadas < aha...@redhat.com 
> > can 
> you help here? 
> 
> 
> 
> 
> > 
> > -- 
> > *De: *"Sandro Bonazzola" < sbona...@redhat.com > 
> > *Para: *"suporte" < supo...@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 < supo...@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 
> >> 
> >> 
> >> -- 
> >> 

[ovirt-users] Re: ovirt guest agent ubuntu 16.04.6 LTS

2020-11-06 Thread Sandro Bonazzola
Il giorno ven 6 nov 2020 alle ore 16:56  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ý" 
> *Para: *"Sandro Bonazzola" 
> *Cc: *"suporte" , "Arik Hadas" ,
> "users" 
> *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  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  , +Arik Hadas <
> aha...@redhat.com> can
> > you help here?
> >
> >
> >
> >
> > >
> > > --
> > > *De: *"Sandro Bonazzola" 
> > > *Para: *"suporte" 
> > > *Cc: *"users" 
> > > *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  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-le...@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:
> > >>
> 

[ovirt-users] Re: ovirt guest agent ubuntu 16.04.6 LTS

2020-11-06 Thread suporte
Hi, 

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

thanks 


De: "Tomáš Golembiovský"  
Para: "Sandro Bonazzola"  
Cc: "suporte" , "Arik Hadas" , 
"users"  
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  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  , +Arik Hadas  
> can 
> you help here? 
> 
> 
> 
> 
> > 
> > -- 
> > *De: *"Sandro Bonazzola"  
> > *Para: *"suporte"  
> > *Cc: *"users"  
> > *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  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-le...@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 RHV 
> > 
> > Red Hat EMEA  
> > 
> > sbona...@redhat.com 
> >  
> > 
> > 
> > 
> > *Red Hat respects your work life balance. Therefore there is no 

[ovirt-users] Re: ovirt guest agent ubuntu 16.04.6 LTS

2020-11-04 Thread Tomáš Golembiovský
Hi,

On Tue, Nov 03, 2020 at 11:00:36AM +0100, Sandro Bonazzola wrote:
> Il giorno lun 2 nov 2020 alle ore 20:58  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  , +Arik Hadas  
> can
> you help here?
> 
> 
> 
> 
> >
> > --
> > *De: *"Sandro Bonazzola" 
> > *Para: *"suporte" 
> > *Cc: *"users" 
> > *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  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-le...@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 RHV
> >
> > Red Hat EMEA 
> >
> > sbona...@redhat.com
> > 
> >
> >
> >
> > *Red Hat respects your work life balance. Therefore there is no need to
> > answer this email out of your office hours.
> > *
> >
> >
> > * *
> >
> >
> 
> -- 
> 
> Sandro Bonazzola
> 
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
> 
> Red Hat EMEA 
> 
> sbona...@redhat.com
> 
> 
> *Red Hat respects your work life balance. Therefore there is no need to

[ovirt-users] Re: ovirt guest agent ubuntu 16.04.6 LTS

2020-11-03 Thread Sandro Bonazzola
Il giorno lun 2 nov 2020 alle ore 20:58  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?
>

+Tomas Golembiovsky  , +Arik Hadas  can
you help here?




>
> --
> *De: *"Sandro Bonazzola" 
> *Para: *"suporte" 
> *Cc: *"users" 
> *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  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-le...@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 RHV
>
> Red Hat EMEA 
>
> sbona...@redhat.com
> 
>
>
>
> *Red Hat respects your work life balance. Therefore there is no need to
> answer this email out of your office hours.
> *
>
>
> * *
>
>

-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.
*


* *
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/HPXTFTIL74W3YH33RKM33LZXRB6OABFA/


[ovirt-users] Re: ovirt guest agent ubuntu 16.04.6 LTS

2020-11-02 Thread suporte
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"  
Para: "suporte"  
Cc: "users"  
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 < supo...@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
 ? 



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@ovirt.org 
To unsubscribe send an email to users-le...@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/
 

BQ_END



-- 


Sandro Bonazzola 

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV 

Red Hat EMEA 



sbona...@redhat.com 




Red Hat respects your work life balance. Therefore there is no need to answer 
this email out of your office hours. 




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/QBVNDYRUEEAQN7XA2T4P6ZWJFGJ3XH7E/


[ovirt-users] Re: ovirt guest agent ubuntu 16.04.6 LTS

2020-11-02 Thread Sandro Bonazzola
Il giorno sab 31 ott 2020 alle ore 21:04  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-le...@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 RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.
*


* *
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/YRLLMGUA3CHNFFR2PBKEG23JKUDGLF25/


[ovirt-users] Re: ovirt guest agent ubuntu 16.04.6 LTS

2020-11-01 Thread Strahil Nikolov via Users
Check if qemu-guest-agent(s) is availabile and use that instead.

Best Regards,
Strahil Nikolov






В събота, 31 октомври 2020 г., 22:04:46 Гринуич+2,  
написа: 





What is the best way to install ovirt guest on Ubuntu 16.04.6?

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-le...@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/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/MFE7UHHGE5YDITLOF374EYRN5V4RGFIX/