On Mon, Mar 16, 2020 at 3:10 PM Fedor Gavrilov <fgavrilo(a)redhat.com> wrote:
FC30 dev env engine indeed :) I've done this before on other OS,
so unless
there is a blindspot somewhere in my eye it should be configured fine.
[apple@apple ~]$ sudo systemctl status ansible-runner-service
● ansible-runner-service.service - Ansible Runner Service
Loaded: loaded (/usr/lib/systemd/system/ansible-runner-service.service;
enabled; vendor preset: disabled)
Active: active (running) since Mon 2020-03-16 14:27:15 CET; 16min ago
Main PID: 909 (gunicorn-3)
Tasks: 9 (limit: 4915)
Memory: 193.4M
CGroup: /system.slice/ansible-runner-service.service
├─ 909 /usr/bin/python3 /usr/bin/gunicorn-3 -b localhost:50001
-w 2 runner_service.wsgi:application
├─ 965 /usr/bin/python3 /usr/bin/gunicorn-3 -b localhost:50001
-w 2 runner_service.wsgi:application
├─ 973 /usr/bin/python3 /usr/bin/gunicorn-3 -b localhost:50001
-w 2 runner_service.wsgi:application
├─1501 /usr/bin/python3 -s /usr/bin/ansible-playbook
--private-key
/home/apple/ovirt-engine/etc/pki/ovirt-engine/keys/engine_id_rsa -i
/home/apple/ovirt-engine/share/ovirt-engine/ansible-runner-servi>
├─1512 ssh: /root/.ansible/cp/29e7064c0e [mux]
├─2601 /usr/bin/python3 -s /usr/bin/ansible-playbook
--private-key
/home/apple/ovirt-engine/etc/pki/ovirt-engine/keys/engine_id_rsa -i
/home/apple/ovirt-engine/share/ovirt-engine/ansible-runner-servi>
└─2607 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o
StrictHostKeyChecking=no -o Port=22 -o
IdentityFile="/home/apple/ovirt-engine/etc/pki/ovirt-engine/keys/engine_id_rsa"
-o KbdInteractiveAu>
And the config:
---
version: 1
# playbooks_root_dir
# location of the playbooks that the service will start
playbooks_root_dir:
'/home/apple/ovirt-engine/share/ovirt-engine/ansible-runner-service-project'
# port
# tcp port for the service to listen to
port: 50001
#
# ip_address
# Specific IP address to bind to
# ip_address: '0.0.0.0'
target_user: root
#event_cache_size: 3
ssh_private_key:
'/home/apple/ovirt-engine/etc/pki/ovirt-engine/keys/engine_id_rsa'
/home/apple/ovirt-engine is where engine is dev-installed. Not sure what
else to check now...
----- Original Message -----
From: "Martin Perina" <mperina(a)redhat.com>
To: "Fedor Gavrilov" <fgavrilo(a)redhat.com>
Cc: "Dana Elfassy" <delfassy(a)redhat.com>, "devel"
<devel(a)ovirt.org>
Sent: Monday, March 16, 2020 2:56:59 PM
Subject: Re: [ovirt-devel] Re: what's up with ansible-runner-service-dev
package?
On Mon, Mar 16, 2020 at 2:53 PM Fedor Gavrilov <fgavrilo(a)redhat.com>
wrote:
> Actually, it was too early for me to celebrate.
>
> On Fedora 30, the engine compiles and runs fine, but when I try adding
the
> host installation fails almost immediately and I get the following errors
> in the engine logs:
>
> ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
> (EE-ManagedThreadFactory-engine-Thread-1) [bdc3c01] Host installation
> failed for host '6402d350-69de-4181-bfc1-50e0e79c8228', 'banana':
Failed
to
> execute Ansible host-deploy role: Internal server error, please check
> Ansible runner error log.. Please check logs for more details:
>
/home/apple/ovirt-engine/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20200316144056-banana-bdc3c01.log
>
> There is nothing else. There is no file
>
/home/apple/ovirt-engine/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20200316144056-banana-bdc3c01.log
> Snapshot I'm using for the host is the same that worked just fine when
> engine was running on CentOS 7 and is CentOS 7 itself. Is that an issue?
>
As you mentioned building engine I assume you are using engine in dev env
on FC30, right? If so, have you manually configured ansible-runner-service
for dev env as mentioned in
https://github.com/oVirt/ovirt-engine/blob/master/README.adoc#ansible-run...
?
> Thanks,
> Fedor
>
> ----- Original Message -----
> From: "Fedor Gavrilov" <fgavrilo(a)redhat.com>
> To: "Martin Perina" <mperina(a)redhat.com>
> Cc: "Dana Elfassy" <delfassy(a)redhat.com>, "devel"
<devel(a)ovirt.org>
> Sent: Monday, March 16, 2020 12:37:44 PM
> Subject: [ovirt-devel] Re: what's up with ansible-runner-service-dev
> package?
>
> Hi,
>
> Resolved through installing engine on Fedora 30. From what I understand,
> CentOS 7 is not supported anymore.
>
> Fedor
>
> ----- Original Message -----
> From: "Martin Perina" <mperina(a)redhat.com>
> To: "Fedor Gavrilov" <fgavrilo(a)redhat.com>
> Cc: "Benny Zlotnik" <bzlotnik(a)redhat.com>, "Dana Elfassy"
<
> delfassy(a)redhat.com>, "devel" <devel(a)ovirt.org>, "Eyal
Shenitzky" <
> eshenitz(a)redhat.com>
> Sent: Monday, March 16, 2020 8:11:35 AM
> Subject: Re: [ovirt-devel] Re: what's up with ansible-runner-service-dev
> package?
>
> Hi Fedor,
>
> ansible-runner-service-dev package is available from
>
>
https://copr-be.cloud.fedoraproject.org/results/ondramachacek/ansible-run...
> repos which is included in ovirt-master-release package, which
> includes all repositories necessary for oVirt development:
>
https://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm
>
> Was your issue resolved or not?
>
> Regards,
> Martin
>
>
>
>
> On Thu, Mar 12, 2020 at 9:30 AM Eyal Shenitzky <eshenitz(a)redhat.com>
> wrote:
>
> > Adding also +Dana Elfassy <delfassy(a)redhat.com>
> >
> > On Wed, 11 Mar 2020 at 15:12, Benny Zlotnik <bzlotnik(a)redhat.com>
wrote:
> >
> >> ansible-runner was added in 4.4, you shouldn't need in 4.3
> >>
> >> On Wed, Mar 11, 2020 at 1:58 PM Fedor Gavrilov <fgavrilo(a)redhat.com>
> >> wrote:
> >> >
> >> > Hi Sandro,
> >> >
> >> > Thanks for the suggestion, but it seems to not help much.
> >> >
> >> > ansible-runner-service-dev still can't be found, I checked repos
that
> >> are installed from
> >>
https://resources.ovirt.org/pub/yum-repo/ovirt-release43-snapshot.rpm
> >> and haven't found similarly names packages either...
> >> >
> >> > $ sudo yum install ansible-runner-service-dev
> >> > Loaded plugins: fastestmirror
> >> > Repository centos-sclo-rh-release is listed more than once in the
> >> configuration
> >> > Repository sac-gluster-ansible is listed more than once in the
> >> configuration
> >> > Determining fastest mirrors
> >> > ovirt-4.3-epel/x86_64/metalink
> >>
> >> | 30 kB 00:00:00
> >> > ovirt-master-epel/x86_64/metalink
> >>
> >> | 30 kB 00:00:00
> >> > * base: ftp.sh.cvut.cz
> >> > * centos-sclo-rh: ftp.sh.cvut.cz
> >> > * centos-sclo-sclo: ftp.sh.cvut.cz
> >> > * extras: ftp.sh.cvut.cz
> >> > * ovirt-4.3-epel: mirror.karneval.cz
> >> > * ovirt-4.3-snapshot:
ftp.plusline.net
> >> > * ovirt-4.3-snapshot-static:
ftp.plusline.net
> >> > * ovirt-master-epel: mirror.karneval.cz
> >> > * ovirt-master-snapshot:
ftp.plusline.net
> >> > * ovirt-master-snapshot-static:
ftp.plusline.net
> >> > * updates: ftp.sh.cvut.cz
> >> > base
> >>
> >> | 3.6 kB 00:00:00
> >> > centos-opstools-release
> >>
> >> | 2.9 kB 00:00:00
> >> > centos-ovirt-common-testing
> >>
> >> | 3.4 kB 00:00:00
> >> > centos-ovirt44-testing
> >>
> >> | 3.4 kB 00:00:00
> >> > centos-qemu-ev-release
> >>
> >> | 3.4 kB 00:00:00
> >> > centos-sclo-rh
> >>
> >> | 3.0 kB 00:00:00
> >> > centos-sclo-rh-release
> >>
> >> | 3.0 kB 00:00:00
> >> > centos-sclo-sclo
> >>
> >> | 2.9 kB 00:00:00
> >> > epel-apache-maven
> >>
> >> | 3.3 kB 00:00:00
> >> > extras
> >>
> >> | 2.9 kB 00:00:00
> >> > ovirt-4.3-centos-gluster6
> >>
> >> | 2.9 kB 00:00:00
> >> > ovirt-4.3-centos-opstools
> >>
> >> | 2.9 kB 00:00:00
> >> > ovirt-4.3-centos-ovirt43
> >>
> >> | 2.9 kB 00:00:00
> >> > ovirt-4.3-centos-qemu-ev
> >>
> >> | 2.9 kB 00:00:00
> >> > ovirt-4.3-epel
> >>
> >> | 5.3 kB 00:00:00
> >> > ovirt-4.3-snapshot
> >>
> >> | 3.0 kB 00:00:00
> >> > ovirt-4.3-snapshot-static
> >>
> >> | 3.0 kB 00:00:00
> >> > ovirt-4.3-virtio-win-latest
> >>
> >> | 3.0 kB 00:00:00
> >> > ovirt-master-centos-gluster6
> >>
> >> | 2.9 kB 00:00:00
> >> > ovirt-master-centos-opstools-testing
> >>
> >> | 2.9 kB 00:00:00
> >> > ovirt-master-epel
> >>
> >> | 5.3 kB 00:00:00
> >> > ovirt-master-snapshot
> >>
> >> | 3.0 kB 00:00:00
> >> > ovirt-master-snapshot-static
> >>
> >> | 3.0 kB 00:00:00
> >> > ovirt-master-virtio-win-latest
> >>
> >> | 3.0 kB 00:00:00
> >> > ovirtwebui-ovirt-web-ui-master
> >>
> >> | 3.0 kB 00:00:00
> >> > sac-gluster-ansible
> >>
> >> | 3.3 kB 00:00:00
> >> > updates
> >>
> >> | 2.9 kB 00:00:00
> >> > (1/32): base/7/x86_64/group_gz
> >>
> >> | 165 kB 00:00:00
> >> > (2/32): base/7/x86_64/primary_db
> >>
> >> | 6.0 MB 00:00:00
> >> > (3/32): centos-sclo-rh/x86_64/primary_db
> >>
> >> | 4.2 MB 00:00:00
> >> > (4/32): centos-qemu-ev-release/x86_64/primary_db
> >>
> >> | 9.3 kB 00:00:00
> >> > (5/32): centos-sclo-sclo/x86_64/primary_db
> >>
> >> | 344 kB 00:00:00
> >> > (6/32): centos-ovirt44-testing/x86_64/primary_db
> >>
> >> | 1.1 kB 00:00:01
> >> > (7/32): extras/7/x86_64/primary_db
> >>
> >> | 164 kB 00:00:00
> >> > (8/32): centos-opstools-release/x86_64/primary_db
> >>
> >> | 429 kB 00:00:01
> >> > (9/32): centos-ovirt-common-testing/x86_64/primary_db
> >>
> >> | 101 kB 00:00:01
> >> > (10/32): ovirt-4.3-centos-gluster6/x86_64/primary_db
> >>
> >> | 116 kB 00:00:00
> >> > (11/32): ovirt-4.3-centos-qemu-ev/x86_64/primary_db
> >>
> >> | 73 kB 00:00:00
> >> > (12/32): ovirt-4.3-epel/x86_64/group_gz
> >>
> >> | 90 kB 00:00:00
> >> > (13/32): epel-apache-maven/x86_64/primary_db
> >>
> >> | 5.0 kB 00:00:01
> >> > (14/32): ovirt-4.3-epel/x86_64/updateinfo
> >>
> >> | 1.0 MB 00:00:00
> >> > (15/32): ovirt-4.3-centos-opstools/x86_64/primary_db
> >>
> >> | 429 kB 00:00:00
> >> > (16/32): ovirt-4.3-centos-ovirt43/x86_64/primary_db
> >>
> >> | 211 kB 00:00:00
> >> > (17/32): ovirt-4.3-snapshot-static/7/primary_db
> >>
> >> | 3.4 kB 00:00:00
> >> > (18/32): ovirt-4.3-snapshot/7/primary_db
> >>
> >> | 109 kB 00:00:00
> >> > (19/32): ovirt-master-centos-gluster6/x86_64/primary_db
> >>
> >> | 116 kB 00:00:00
> >> > (20/32): ovirt-4.3-epel/x86_64/primary_db
> >>
> >> | 6.7 MB 00:00:00
> >> > (21/32): ovirt-master-epel/x86_64/group_gz
> >>
> >> | 90 kB 00:00:00
> >> > (22/32): ovirt-master-epel/x86_64/updateinfo
> >>
> >> | 1.0 MB 00:00:00
> >> > (23/32): ovirt-master-snapshot/7/primary_db
> >>
> >> | 54 kB 00:00:00
> >> > (24/32): ovirt-4.3-virtio-win-latest/primary_db
> >>
> >> | 7.6 kB 00:00:01
> >> > (25/32): ovirt-master-snapshot-static/7/primary_db
> >>
> >> | 4.6 kB 00:00:00
> >> > (26/32): ovirt-master-epel/x86_64/primary_db
> >>
> >> | 6.7 MB 00:00:00
> >> > (27/32): ovirt-master-virtio-win-latest/primary_db
> >>
> >> | 7.6 kB 00:00:00
> >> > (28/32): centos-sclo-rh-release/x86_64/primary_db
> >>
> >> | 4.2 MB 00:00:03
> >> > (29/32): updates/7/x86_64/primary_db
> >>
> >> | 6.7 MB 00:00:00
> >> > (30/32): ovirt-master-centos-opstools-testing/x86_64/primary_db
> >>
> >> | 611 kB 00:00:01
> >> > (31/32): ovirtwebui-ovirt-web-ui-master/x86_64/primary_db
> >>
> >> | 2.3 kB 00:00:00
> >> > (32/32): sac-gluster-ansible/x86_64/primary_db
> >>
> >> | 13 kB 00:00:00
> >> > No package ansible-runner-service-dev available.
> >> > Error: Nothing to do
> >> >
> >> >
> >> > Fedor
> >> >
> >> > ----- Original Message -----
> >> > From: "Sandro Bonazzola" <sbonazzo(a)redhat.com>
> >> > To: "Fedor Gavrilov" <fgavrilo(a)redhat.com>
> >> > Cc: "Eyal Shenitzky" <eshenitz(a)redhat.com>,
"devel" <
devel(a)ovirt.org>
> >> > Sent: Tuesday, March 10, 2020 5:56:53 PM
> >> > Subject: Re: [ovirt-devel] Re: what's up with
> >> ansible-runner-service-dev package?
> >> >
> >> > Il giorno mar 10 mar 2020 alle ore 15:39 Fedor Gavrilov <
> >> fgavrilo(a)redhat.com>
> >> > ha scritto:
> >> >
> >> > > Thanks for the response, Eyal!
> >> > >
> >> > > I already had ovirt-master repo installed, but updated
everything
> >> just in
> >> > > case.
> >> > > I even tried both yum and dnf (since yum on centos was giving me
> lots
> >> of
> >> > > grief before and I learned their behaviour differs, especially
when
> it
> >> > > comes to bugs) but none works...
> >> > >
> >> > > >No package ansible-runner-service-dev available.
> >> > > >No match for argument: ansible-runner-service-dev
> >> > >
> >> > > Fedor
> >> > >
> >> > >
> >> > Looks like you're trying to install ovirt-master-snapshot on el7.
> >> > It won't work.
> >> > Master is not supporting el7 anymore.
> >> > You can use 4.3 snapshot rpm at :
> >> >
https://resources.ovirt.org/pub/yum-repo/ovirt-release43-snapshot.rpm
> >> if
> >> > you need to stay on el7.
> >> >
> >> >
> >> > > ----- Original Message -----
> >> > > From: "Eyal Shenitzky" <eshenitz(a)redhat.com>
> >> > > To: "Fedor Gavrilov" <fgavrilo(a)redhat.com>
> >> > > Cc: "devel" <devel(a)ovirt.org>
> >> > > Sent: Tuesday, March 10, 2020 2:24:16 PM
> >> > > Subject: Re: [ovirt-devel] what's up with
ansible-runner-service-dev
> >> > > package?
> >> > >
> >> > > Hi Fedor,
> >> > >
> >> > > Please try:
> >> > > 1. dnf install
> >> > >
http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm
> >> > > 2. dnf update
> >> > > 3. dnf install ansible-runner-service-dev
> >> > > 4. flow the instruction from thread 'New dependency for
development
> >> > > environment'
> >> > > The
> >> > >
> >> > > On Tue, 10 Mar 2020 at 14:55, Fedor Gavrilov
<fgavrilo(a)redhat.com
>
> >> wrote:
> >> > >
> >> > > > Hi everyone,
> >> > > >
> >> > > > After I screwed up my dev environment beyond repair I have
to
set
> >> it up
> >> > > > again and I see something I haven't last time (CentOS
7):
> >> > > >
> >> > > > $ sudo yum install ansible-runner-service-dev
> >> > > > Loaded plugins: fastestmirror
> >> > > > Loading mirror speeds from cached hostfile
> >> > > > * base: mirror.hosting90.cz
> >> > > > * centos-sclo-rh: mirror.hosting90.cz
> >> > > > * centos-sclo-sclo: mirror.hosting90.cz
> >> > > > * extras: mirror.hosting90.cz
> >> > > > * ovirt-master-epel: mirror.hosting90.cz
> >> > > > * ovirt-master-snapshot: ftp.nluug.nl
> >> > > > * ovirt-master-snapshot-static: ftp.nluug.nl
> >> > > > * updates: mirror.hosting90.cz
> >> > > > No package ansible-runner-service-dev available.
> >> > > >
> >> > > > Maybe something's missing from my notes, but where did
it go?
> >> Should I
> >> > > add
> >> > > > some repo?
> >> > > >
> >> > > > Fedor
> >> > > > _______________________________________________
> >> > > > Devel mailing list -- devel(a)ovirt.org
> >> > > > To unsubscribe send an email to devel-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/devel@ovirt.org/message/3KH5INHYMY3...
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > > Regards,
> >> > > Eyal Shenitzky
> >> > > _______________________________________________
> >> > > Devel mailing list -- devel(a)ovirt.org
> >> > > To unsubscribe send an email to devel-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/devel@ovirt.org/message/52BHRXMZGSV...
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Sandro Bonazzola
> >> >
> >> > MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
> >> >
> >> > Red Hat EMEA <
https://www.redhat.com/>
> >> >
> >> > sbonazzo(a)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>*
> >> > _______________________________________________
> >> > Devel mailing list -- devel(a)ovirt.org
> >> > To unsubscribe send an email to devel-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/devel@ovirt.org/message/26DWVGS47AN...
> >> _______________________________________________
> >> Devel mailing list -- devel(a)ovirt.org
> >> To unsubscribe send an email to devel-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/devel@ovirt.org/message/CLZ6L4VZCG3...
> >>
> >
> >
> > --
> > Regards,
> > Eyal Shenitzky
> > _______________________________________________
> > Devel mailing list -- devel(a)ovirt.org
> > To unsubscribe send an email to devel-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/devel@ovirt.org/message/4SY64VTL7AL...
> >
>
>
> --
> Martin Perina
> Manager, Software Engineering
> Red Hat Czech s.r.o.
> _______________________________________________
> Devel mailing list -- devel(a)ovirt.org
> To unsubscribe send an email to devel-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/devel@ovirt.org/message/VJOHBN5RHFQ...
>
>
--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.