[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-22 Thread Gilboa Davara
On Mon, Jun 22, 2020 at 8:58 AM Yedidyah Bar David  wrote:
>
> On Sun, Jun 21, 2020 at 7:36 PM Gilboa Davara  wrote:
> >
> > On Thu, Jun 18, 2020 at 2:54 PM Yedidyah Bar David  wrote:
> > >
> > > On Thu, Jun 18, 2020 at 2:37 PM Gilboa Davara  wrote:
> > > >
> > > > On Wed, Jun 17, 2020 at 12:35 PM Yedidyah Bar David  
> > > > wrote:
> > > > > > However, when trying to install 4.4 on the test CentOS 8.x (now 8.2
> > > > > > after yesterday release), either manually (via hosted-engine 
> > > > > > --deploy)
> > > > > > or by using cockpit, fails when trying to download packages (see
> > > > > > attached logs) during the hosted engine deployment phase.
> > > > >
> > > > > Right. Didn't check them - I guess it's the same, no?
> > > >
> > > > Most likely you are correct. That said, the console version is more 
> > > > verbose.
> > > >
> > > >
> > > > > > Just to be clear, it is the hosted engine VM (during the deployment
> > > > > > process) that fails to automatically download packages, _not_ the
> > > > > > host.
> > > > >
> > > > > Exactly. That's why I asked you (because the logs do not reveal that)
> > > > > to manually login there and try to install (update) the package, and
> > > > > see what happens, why it failes, etc. Can you please try that? Thanks.
> > > >
> > > > Sadly enough, the failure comes early in the hosted engine deployment
> > > > process, making the VM completely inaccessible.
> > > > While I see qemu-kvm briefly start, it usually dies before I have any
> > > > chance to access it.
> > > >
> > > > Can I somehow prevent hosted-engine --deploy from destroying the
> > > > hosted engine VM, when the deployment fails, giving me access to it?
> > >
> > > This is how it should behave normally, it does not kill the VM.
> > > Perhaps check logs, try to find who/what killed it.
> > >
> > > Anyway: Earlier today I pushed this patch:
> > >
> > > https://gerrit.ovirt.org/109730
> > >
> > > Didn't yet get to try verifying it. Would you like to try? You can get
> > > an RPM from the CI build linked there, or download the patch and apply
> > > it manually (in the "gitweb" link [1]).
> > >
> > > Then, you can do:
> > >
> > > hosted-engine --deploy --ansible-extra-vars=he_offline_deployment=true
> > >
> > > If you try this, please share the results. Thanks!
> > >
> > > [1] 
> > > https://gerrit.ovirt.org/gitweb?p=ovirt-hosted-engine-setup.git;a=commitdiff_plain;h=f77fa8b84ed6d8a74cbe56b95accb1e8131afbb5
>
> Now filed https://bugzilla.redhat.com/1849517 for this.
>
> > >
> > > Best regards,
> > > --
> > > Didi
> > >
> >
> > Good news. I managed to connect to the VM and solve the problem.
>
> Glad to hear that, thanks for the report!
>
> >
> > For some odd reason our primary DNS server had upstream connection
> > issues and all the requests were silently handled by our secondary DNS
> > server.
> > Not sure I understand why, but while the ovirt host did manage to
> > silently spill over to the secondary DNS, the hosted engine, at least
> > during the initial deployment phase (when it still uses the host's
> > dnsmasq), failed to spill over to the secondary DNS server and the
> > deployment failed.
>
> Sounds like a bug in dnsmasq, although I am not sure.
>
> That said, DNS/DHCP are out of scope for oVirt. We simply assume they
> are robust.
>
> In retrospective, what do you think we should have done differently
> to make it easier for you to find (and fix) the problem?
>
> Best regards,
> --
> Didi

In retrospect, the main problem was the non-descriptive error message
generated by DNF (which has nothing to do with the ovirt installer).
That said, this could easily be circumvented by adding a simple
network-test script to the installer playbook.

Then again, the problem was clearly on my side...

- Gilboa
___
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/V7R5HVHLY7FH5AXEXDENTCSRG3HJ3M2V/


[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-21 Thread Yedidyah Bar David
On Sun, Jun 21, 2020 at 7:36 PM Gilboa Davara  wrote:
>
> On Thu, Jun 18, 2020 at 2:54 PM Yedidyah Bar David  wrote:
> >
> > On Thu, Jun 18, 2020 at 2:37 PM Gilboa Davara  wrote:
> > >
> > > On Wed, Jun 17, 2020 at 12:35 PM Yedidyah Bar David  
> > > wrote:
> > > > > However, when trying to install 4.4 on the test CentOS 8.x (now 8.2
> > > > > after yesterday release), either manually (via hosted-engine --deploy)
> > > > > or by using cockpit, fails when trying to download packages (see
> > > > > attached logs) during the hosted engine deployment phase.
> > > >
> > > > Right. Didn't check them - I guess it's the same, no?
> > >
> > > Most likely you are correct. That said, the console version is more 
> > > verbose.
> > >
> > >
> > > > > Just to be clear, it is the hosted engine VM (during the deployment
> > > > > process) that fails to automatically download packages, _not_ the
> > > > > host.
> > > >
> > > > Exactly. That's why I asked you (because the logs do not reveal that)
> > > > to manually login there and try to install (update) the package, and
> > > > see what happens, why it failes, etc. Can you please try that? Thanks.
> > >
> > > Sadly enough, the failure comes early in the hosted engine deployment
> > > process, making the VM completely inaccessible.
> > > While I see qemu-kvm briefly start, it usually dies before I have any
> > > chance to access it.
> > >
> > > Can I somehow prevent hosted-engine --deploy from destroying the
> > > hosted engine VM, when the deployment fails, giving me access to it?
> >
> > This is how it should behave normally, it does not kill the VM.
> > Perhaps check logs, try to find who/what killed it.
> >
> > Anyway: Earlier today I pushed this patch:
> >
> > https://gerrit.ovirt.org/109730
> >
> > Didn't yet get to try verifying it. Would you like to try? You can get
> > an RPM from the CI build linked there, or download the patch and apply
> > it manually (in the "gitweb" link [1]).
> >
> > Then, you can do:
> >
> > hosted-engine --deploy --ansible-extra-vars=he_offline_deployment=true
> >
> > If you try this, please share the results. Thanks!
> >
> > [1] 
> > https://gerrit.ovirt.org/gitweb?p=ovirt-hosted-engine-setup.git;a=commitdiff_plain;h=f77fa8b84ed6d8a74cbe56b95accb1e8131afbb5

Now filed https://bugzilla.redhat.com/1849517 for this.

> >
> > Best regards,
> > --
> > Didi
> >
>
> Good news. I managed to connect to the VM and solve the problem.

Glad to hear that, thanks for the report!

>
> For some odd reason our primary DNS server had upstream connection
> issues and all the requests were silently handled by our secondary DNS
> server.
> Not sure I understand why, but while the ovirt host did manage to
> silently spill over to the secondary DNS, the hosted engine, at least
> during the initial deployment phase (when it still uses the host's
> dnsmasq), failed to spill over to the secondary DNS server and the
> deployment failed.

Sounds like a bug in dnsmasq, although I am not sure.

That said, DNS/DHCP are out of scope for oVirt. We simply assume they
are robust.

In retrospective, what do you think we should have done differently
to make it easier for you to find (and fix) the problem?

Best regards,
-- 
Didi
___
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/N3QAVRLDCWM5N2STG4VP5TJMJIKA57ZY/


[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-21 Thread Gilboa Davara
On Thu, Jun 18, 2020 at 2:54 PM Yedidyah Bar David  wrote:
>
> On Thu, Jun 18, 2020 at 2:37 PM Gilboa Davara  wrote:
> >
> > On Wed, Jun 17, 2020 at 12:35 PM Yedidyah Bar David  wrote:
> > > > However, when trying to install 4.4 on the test CentOS 8.x (now 8.2
> > > > after yesterday release), either manually (via hosted-engine --deploy)
> > > > or by using cockpit, fails when trying to download packages (see
> > > > attached logs) during the hosted engine deployment phase.
> > >
> > > Right. Didn't check them - I guess it's the same, no?
> >
> > Most likely you are correct. That said, the console version is more verbose.
> >
> >
> > > > Just to be clear, it is the hosted engine VM (during the deployment
> > > > process) that fails to automatically download packages, _not_ the
> > > > host.
> > >
> > > Exactly. That's why I asked you (because the logs do not reveal that)
> > > to manually login there and try to install (update) the package, and
> > > see what happens, why it failes, etc. Can you please try that? Thanks.
> >
> > Sadly enough, the failure comes early in the hosted engine deployment
> > process, making the VM completely inaccessible.
> > While I see qemu-kvm briefly start, it usually dies before I have any
> > chance to access it.
> >
> > Can I somehow prevent hosted-engine --deploy from destroying the
> > hosted engine VM, when the deployment fails, giving me access to it?
>
> This is how it should behave normally, it does not kill the VM.
> Perhaps check logs, try to find who/what killed it.
>
> Anyway: Earlier today I pushed this patch:
>
> https://gerrit.ovirt.org/109730
>
> Didn't yet get to try verifying it. Would you like to try? You can get
> an RPM from the CI build linked there, or download the patch and apply
> it manually (in the "gitweb" link [1]).
>
> Then, you can do:
>
> hosted-engine --deploy --ansible-extra-vars=he_offline_deployment=true
>
> If you try this, please share the results. Thanks!
>
> [1] 
> https://gerrit.ovirt.org/gitweb?p=ovirt-hosted-engine-setup.git;a=commitdiff_plain;h=f77fa8b84ed6d8a74cbe56b95accb1e8131afbb5
>
> Best regards,
> --
> Didi
>

Good news. I managed to connect to the VM and solve the problem.

For some odd reason our primary DNS server had upstream connection
issues and all the requests were silently handled by our secondary DNS
server.
Not sure I understand why, but while the ovirt host did manage to
silently spill over to the secondary DNS, the hosted engine, at least
during the initial deployment phase (when it still uses the host's
dnsmasq), failed to spill over to the secondary DNS server and the
deployment failed.
Once I fixed our primary DNS upstream connection issues, the installer
managed to download packages successfully (but failed once I
provisioned the storage, more on that in a different mail).

Many thanks, again, for taking the time to assist me!
(And hope it helps anyone facing the same issue in the future)

- Gilboa



- Gilboa
___
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/TZ2OIGKWMFKL3SQTCNFKLAXPMK3ES65B/


[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-18 Thread Yedidyah Bar David
On Thu, Jun 18, 2020 at 2:37 PM Gilboa Davara  wrote:
>
> On Wed, Jun 17, 2020 at 12:35 PM Yedidyah Bar David  wrote:
> > > However, when trying to install 4.4 on the test CentOS 8.x (now 8.2
> > > after yesterday release), either manually (via hosted-engine --deploy)
> > > or by using cockpit, fails when trying to download packages (see
> > > attached logs) during the hosted engine deployment phase.
> >
> > Right. Didn't check them - I guess it's the same, no?
>
> Most likely you are correct. That said, the console version is more verbose.
>
>
> > > Just to be clear, it is the hosted engine VM (during the deployment
> > > process) that fails to automatically download packages, _not_ the
> > > host.
> >
> > Exactly. That's why I asked you (because the logs do not reveal that)
> > to manually login there and try to install (update) the package, and
> > see what happens, why it failes, etc. Can you please try that? Thanks.
>
> Sadly enough, the failure comes early in the hosted engine deployment
> process, making the VM completely inaccessible.
> While I see qemu-kvm briefly start, it usually dies before I have any
> chance to access it.
>
> Can I somehow prevent hosted-engine --deploy from destroying the
> hosted engine VM, when the deployment fails, giving me access to it?

This is how it should behave normally, it does not kill the VM.
Perhaps check logs, try to find who/what killed it.

Anyway: Earlier today I pushed this patch:

https://gerrit.ovirt.org/109730

Didn't yet get to try verifying it. Would you like to try? You can get
an RPM from the CI build linked there, or download the patch and apply
it manually (in the "gitweb" link [1]).

Then, you can do:

hosted-engine --deploy --ansible-extra-vars=he_offline_deployment=true

If you try this, please share the results. Thanks!

[1] 
https://gerrit.ovirt.org/gitweb?p=ovirt-hosted-engine-setup.git;a=commitdiff_plain;h=f77fa8b84ed6d8a74cbe56b95accb1e8131afbb5

Best regards,
-- 
Didi
___
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/MEKTS2TFIPZSA7H225ZA6YQLVOJSTCFV/


[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-18 Thread Gilboa Davara
On Wed, Jun 17, 2020 at 12:35 PM Yedidyah Bar David  wrote:
> > However, when trying to install 4.4 on the test CentOS 8.x (now 8.2
> > after yesterday release), either manually (via hosted-engine --deploy)
> > or by using cockpit, fails when trying to download packages (see
> > attached logs) during the hosted engine deployment phase.
>
> Right. Didn't check them - I guess it's the same, no?

Most likely you are correct. That said, the console version is more verbose.


> > Just to be clear, it is the hosted engine VM (during the deployment
> > process) that fails to automatically download packages, _not_ the
> > host.
>
> Exactly. That's why I asked you (because the logs do not reveal that)
> to manually login there and try to install (update) the package, and
> see what happens, why it failes, etc. Can you please try that? Thanks.

Sadly enough, the failure comes early in the hosted engine deployment
process, making the VM completely inaccessible.
While I see qemu-kvm briefly start, it usually dies before I have any
chance to access it.

Can I somehow prevent hosted-engine --deploy from destroying the
hosted engine VM, when the deployment fails, giving me access to it?

- Gilboa
___
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/JTVDXZL2DC7SEZ6YWE66IYSSCPFFMFOH/


[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-17 Thread Yedidyah Bar David
On Wed, Jun 17, 2020 at 11:39 AM Gilboa Davara  wrote:
>
> On Wed, Jun 17, 2020 at 10:12 AM Yedidyah Bar David  wrote:
> > Section 5.3 is not actually needed, the appliance already includes it.
> >
> > > The second document is missing the modules part.
> >
> > (Seems to me to include it as well, but again, it's not needed)
> >
> > > Now I can manually install ovirt-engine on the host.
> >
> > I think you got it wrong. Please see my previous posts in this thread.
> > In particular:
> >
> > 1. You do not need to install ovirt-engine on the host.
> > 2. You should try to see why it failed, on the engine VM.
> > 3. This engine vm should be left running by the failed deploy process,
> > and you can find its IP address by searching the setup logs for
> > 'local_vm_ip'. So please find it, ssh to it from the host (using the
> > root password you supplied), then try 'dnf install ovirt-engine'. If
> > it fails, try to fix the problem. My guess: Some kind of
> > networking/mirror/proxy/whatever issue.
> >
> > For an overview of the current hosted-engine deploy process, you can
> > have a look at "Hosted Engine 4.3 Deep Dive (Simone Tiraboschi)" in:
> >
> > https://www.ovirt.org/community/get-involved/resources/slide-decks.html
> >
> > It was written for 4.3, but most of it applies also for 4.4.
> >
> > Also:
> >
> > The engine package is already part of the appliance, so strictly
> > speaking, we should not try to install it. This is done so that if a
> > newer version is available (e.g. because you installed an older
> > appliance image rpm), you upgrade to the newer version.
> >
> > We have a bug open for allowing to prevent this, not sure about its
> > current status - see also the discussion in the linked github issue:
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=1816619
>
> Hello,
>
> My mistake. I think there is a miss-understanding on my end that
> side-stepped the main issue.
>
> Before I begin, I'd like to point out that I have a number of oVirt
> 4.3 deployments in production.

OK.

> Some installed via cockpit, others manually via hosted-engine --deploy.
>
> I'm attempting to cleanly test-install 4.4 on a CentOS 8.x machine
> before I begin (slowly) upgrading my existing 4.3 setups to 4.4.

Makes sense.

> However, when trying to install 4.4 on the test CentOS 8.x (now 8.2
> after yesterday release), either manually (via hosted-engine --deploy)
> or by using cockpit, fails when trying to download packages (see
> attached logs) during the hosted engine deployment phase.

Right. Didn't check them - I guess it's the same, no?

> The reason I mocked around with the java module (on the host) was in
> an attempt to see if the _host_ machine somehow had the wrong module
> configuration, triggering the hosted engine deployment process.

OK, and now I think we both agree this isn't the issue. Good.

>
> Just to be clear, it is the hosted engine VM (during the deployment
> process) that fails to automatically download packages, _not_ the
> host.

Exactly. That's why I asked you (because the logs do not reveal that)
to manually login there and try to install (update) the package, and
see what happens, why it failes, etc. Can you please try that? Thanks.

>
> Sorry again for the misunderstanding.

NP at all!

Best regards,
-- 
Didi
___
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/O4YLSJZXWPIK3C55ZJP6XFKLXUASF4BJ/


[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-17 Thread Gilboa Davara
On Wed, Jun 17, 2020 at 10:12 AM Yedidyah Bar David  wrote:
> Section 5.3 is not actually needed, the appliance already includes it.
>
> > The second document is missing the modules part.
>
> (Seems to me to include it as well, but again, it's not needed)
>
> > Now I can manually install ovirt-engine on the host.
>
> I think you got it wrong. Please see my previous posts in this thread.
> In particular:
>
> 1. You do not need to install ovirt-engine on the host.
> 2. You should try to see why it failed, on the engine VM.
> 3. This engine vm should be left running by the failed deploy process,
> and you can find its IP address by searching the setup logs for
> 'local_vm_ip'. So please find it, ssh to it from the host (using the
> root password you supplied), then try 'dnf install ovirt-engine'. If
> it fails, try to fix the problem. My guess: Some kind of
> networking/mirror/proxy/whatever issue.
>
> For an overview of the current hosted-engine deploy process, you can
> have a look at "Hosted Engine 4.3 Deep Dive (Simone Tiraboschi)" in:
>
> https://www.ovirt.org/community/get-involved/resources/slide-decks.html
>
> It was written for 4.3, but most of it applies also for 4.4.
>
> Also:
>
> The engine package is already part of the appliance, so strictly
> speaking, we should not try to install it. This is done so that if a
> newer version is available (e.g. because you installed an older
> appliance image rpm), you upgrade to the newer version.
>
> We have a bug open for allowing to prevent this, not sure about its
> current status - see also the discussion in the linked github issue:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1816619

Hello,

My mistake. I think there is a miss-understanding on my end that
side-stepped the main issue.

Before I begin, I'd like to point out that I have a number of oVirt
4.3 deployments in production.
Some installed via cockpit, others manually via hosted-engine --deploy.

I'm attempting to cleanly test-install 4.4 on a CentOS 8.x machine
before I begin (slowly) upgrading my existing 4.3 setups to 4.4.
However, when trying to install 4.4 on the test CentOS 8.x (now 8.2
after yesterday release), either manually (via hosted-engine --deploy)
or by using cockpit, fails when trying to download packages (see
attached logs) during the hosted engine deployment phase.
The reason I mocked around with the java module (on the host) was in
an attempt to see if the _host_ machine somehow had the wrong module
configuration, triggering the hosted engine deployment process.

Just to be clear, it is the hosted engine VM (during the deployment
process) that fails to automatically download packages, _not_ the
host.

Sorry again for the misunderstanding.
- Gilboa


ovirt-hosted-engine-setup.tar.bz2
Description: application/bzip
___
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/NR6JDQ33EM6XEOSAQ23G65T7WJF3WXTD/


[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-17 Thread Yedidyah Bar David
On Mon, Jun 15, 2020 at 8:20 PM Gilboa Davara  wrote:
>
> On Mon, Jun 15, 2020 at 5:18 PM Yedidyah Bar David  wrote:
> >
> > On Mon, Jun 15, 2020 at 4:54 PM Gilboa Davara  wrote:
> > >
> > > On Mon, Jun 15, 2020 at 11:46 AM Yedidyah Bar David  
> > > wrote:
> > > >
> > > > Ok, it's failing in the task "Install oVirt Engine package", which
> > > > tries to install/upgrade the package 'ovirt-engine' on the engine VM.
> > > > Can you try to do this manually and see if it works?
> > > >
> > > > At this stage, the engine VM is on libvirt's default network
> > > > (private), you can find the temporary address by searching the log for
> > > > local_vm_ip, which is 192.168.1.173, in your log.
> > > >
> > > > Good luck and best regards,
> > > > --
> > > > Didi
> > > >
> > >
> > > You are correct.
> > > $ dnf install -y ovirt-engine
> > >  Problem: package ovirt-engine-4.4.0.3-1.el8.noarch requires
> > > apache-commons-jxpath, but none of the providers can be installed
> > >   - conflicting requests
> > >   - package apache-commons-jxpath-1.3-29.module_el8.0.0+30+832da3a1.noarch
> > > is excluded
> > > (try to add '--skip-broken' to skip uninstallable packages or
> > > '--nobest' to use not only best candidate packages)
> >
> > Is this on the engine machine? Or elsewhere?
> >
> > Generally speaking, you need, for this, to first enable the module
> > 'javapackages-tools'. But assuming that you are deploying the engine
> > VM from ovirt-engine-appliance, the image should already have this
> > done, so above error should not happen there. No idea why it does, if
> > indeed it's there and not e.g. on the host (where you should not need
> > to install the engine). Can you please clarify where you try this?
> >
> > Best regards,
> > --
> > Didi
> >
>
> Managed to find the reason for the failure.
> Wrong documentation order in one document [1], missing documentation
> on another [2].
> [1] 
> https://www.ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine_using_the_cockpit_web_interface/
> [2] 
> https://www.ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine_using_the_command_line/
> The the first document, the cockpit part (5.2) actually precedes the
> oVirt engine module list (5.3).

Section 5.3 is not actually needed, the appliance already includes it.

> The second document is missing the modules part.

(Seems to me to include it as well, but again, it's not needed)

> Now I can manually install ovirt-engine on the host.

I think you got it wrong. Please see my previous posts in this thread.
In particular:

1. You do not need to install ovirt-engine on the host.
2. You should try to see why it failed, on the engine VM.
3. This engine vm should be left running by the failed deploy process,
and you can find its IP address by searching the setup logs for
'local_vm_ip'. So please find it, ssh to it from the host (using the
root password you supplied), then try 'dnf install ovirt-engine'. If
it fails, try to fix the problem. My guess: Some kind of
networking/mirror/proxy/whatever issue.

For an overview of the current hosted-engine deploy process, you can
have a look at "Hosted Engine 4.3 Deep Dive (Simone Tiraboschi)" in:

https://www.ovirt.org/community/get-involved/resources/slide-decks.html

It was written for 4.3, but most of it applies also for 4.4.

Also:

The engine package is already part of the appliance, so strictly
speaking, we should not try to install it. This is done so that if a
newer version is available (e.g. because you installed an older
appliance image rpm), you upgrade to the newer version.

We have a bug open for allowing to prevent this, not sure about its
current status - see also the discussion in the linked github issue:

https://bugzilla.redhat.com/show_bug.cgi?id=1816619

>
> That said, still no go.
> Both cockpit based deployment and command line based deployment (on
> the first node) fails.
> Log attached.

Thanks. As you can see there, it's still failing for the same reason:

Failed to download metadata for repo 'AppStream'

Good luck and best regards,
--
Didi
___
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/FQBSIHO3HBCPQ2GVWS2LPFAQNC2D3ANW/


[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-15 Thread Yedidyah Bar David
On Mon, Jun 15, 2020 at 4:54 PM Gilboa Davara  wrote:
>
> On Mon, Jun 15, 2020 at 11:46 AM Yedidyah Bar David  wrote:
> >
> > On Mon, Jun 15, 2020 at 11:21 AM Gilboa Davara  wrote:
> > >
> > > On Mon, Jun 15, 2020 at 9:13 AM Yedidyah Bar David  
> > > wrote:
> > > >
> > > > On Fri, Jun 12, 2020 at 1:49 PM Gilboa Davara  wrote:
> > > > >
> > > > > Hello,
> > > > >
> > > > > I'm trying to deploy a hosted engine on one of my test setups.
> > > > > No matter how I tried to deploy the hosted engine, either via command 
> > > > > line or via "Hosted Engine" deployment from the cockpit web console, 
> > > > > I always fails with the same error message. [1]
> > > > > Manually trying to download RPMs via dnf from the host, work just 
> > > > > fine.
> > > > > Firewall log files are clean.
> > > > >
> > > > > Any idea what's going on?
> > > > >
> > > > > [1]  2020-06-12 06:09:38,609-0400 DEBUG 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > > > ansible_utils._process_output:103 {'msg': "Failed to download 
> > > > > metadata for repo 'AppStream'", 'results': [], 'rc': 1, 'invocation': 
> > > > > {'module_args': {'name': ['ovirt-engine'], 'state': 'present', 
> > > > > 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 
> > > > > 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 
> > > > > 'down  load_only': False, 'enable_plugin': [], 'enablerepo': [], 
> > > > > 'exclude': [], 'installroot': '/', 'install_repoquery': True, 
> > > > > 'install_weak_deps': True, 'security': False, 'skip_broken': False, 
> > > > > 'update_cache': False, 'update_only': False, 'validate_certs': True, 
> > > > > 'lock_timeout': 30, 'conf_file': None, 'disable_excludes': None, 
> > > > > 'download_dir': None, 'list': None, 'releasever': None}}, 
> > > > > '_ansible_no_log': False, 'changed  ': False, 
> > > > > '_ansible_delegated_vars': {'ansible_host': 
> > > > > 'test-vmengine.localdomain'}}
> > > > >   2020-06-12 06:09:38,709-0400 ERROR 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > > > ansible_utils._process_output:107 fatal: [localhost -> 
> > > > > gilboa-wx-vmovirt.localdomain]: FAILED! => {"changed": false, "msg": 
> > > > > "Failed to download metadata for repo 'AppStream'", "rc": 1, 
> > > > > "results": []}
> > > > >   2020-06-12 06:09:39,711-0400 DEBUG 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > > > ansible_utils._process_output:103 PLAY RECAP [localhost] : ok: 183 
> > > > > changed: 57 unreachable: 0 skipped: 77 failed: 1
> > > > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:215 
> > > > > ansible-playbook rc: 2
> > > > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:222 
> > > > > ansible-playbook stdout:
> > > > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:225 
> > > > > ansible-playbook stderr:
> > > > >   2020-06-12 06:09:39,812-0400 DEBUG otopi.context 
> > > > > context._executeMethod:145 method exception
> > > > >   Traceback (most recent call last):
> > > > > File "/usr/lib/python3.6/site-packages/otopi/context.py", line 
> > > > > 132, in _executeMethod
> > > > >   method['method']()
> > > > > File 
> > > > > "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/misc.py",
> > > > >  line 403, in _closeup
> > > > >   r = ah.run()
> > > > > File 
> > > > > "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/ansible_utils.py",
> > > > >  line 229, in run
> > > > >   raise RuntimeError(_('Failed executing ansible-playbook'))
> > > >
> > > > This snippet does not reveal the cause for failure, or the exact place
> > > > where it happened. Can you please check/share the full file, as long
> > > > as perhaps other files in /var/log/ovirt-hosted-engine-setup (and
> > > > maybe others in /var/log)? Thanks!
> > > >
> > > > Best regards,
> > > > --
> > > > Didi
> > > >
> > >
> > > H,
> > >
> > > Compressed tar.bz2 of ovirt-hosted-engine-setup attached.
> > > Please let me know if you need additional log files.
> > > (/var/log/messages seems rather empty)
> >
> > Ok, it's failing in the task "Install oVirt Engine package", which
> > tries to install/upgrade the package 'ovirt-engine' on the engine VM.
> > Can you try to do this manually and see if it works?
> >
> > At this stage, the engine VM is on libvirt's default network
> > (private), you can find the temporary address by searching the log for
> > local_vm_ip, which is 192.168.1.173, in your log.
> >
> > Good luck and best regards,
> > --
> > Didi
> >
>
> You are correct.
> $ dnf install -y ovirt-engine
>  Problem: package ovirt-engine-4.4.0.3-1.el8.noarch requires
> apache-commons-jxpath, but none of the providers can be installed
>   - conflicting requests
>   - package apache-commons-jxpath-1.3-29.module_el8.0.0+30+832da3a1.noarc

[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-15 Thread Gilboa Davara
On Mon, Jun 15, 2020 at 11:46 AM Yedidyah Bar David  wrote:
>
> On Mon, Jun 15, 2020 at 11:21 AM Gilboa Davara  wrote:
> >
> > On Mon, Jun 15, 2020 at 9:13 AM Yedidyah Bar David  wrote:
> > >
> > > On Fri, Jun 12, 2020 at 1:49 PM Gilboa Davara  wrote:
> > > >
> > > > Hello,
> > > >
> > > > I'm trying to deploy a hosted engine on one of my test setups.
> > > > No matter how I tried to deploy the hosted engine, either via command 
> > > > line or via "Hosted Engine" deployment from the cockpit web console, I 
> > > > always fails with the same error message. [1]
> > > > Manually trying to download RPMs via dnf from the host, work just fine.
> > > > Firewall log files are clean.
> > > >
> > > > Any idea what's going on?
> > > >
> > > > [1]  2020-06-12 06:09:38,609-0400 DEBUG 
> > > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > > ansible_utils._process_output:103 {'msg': "Failed to download metadata 
> > > > for repo 'AppStream'", 'results': [], 'rc': 1, 'invocation': 
> > > > {'module_args': {'name': ['ovirt-engine'], 'state': 'present', 
> > > > 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 
> > > > 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 
> > > > 'down  load_only': False, 'enable_plugin': [], 'enablerepo': [], 
> > > > 'exclude': [], 'installroot': '/', 'install_repoquery': True, 
> > > > 'install_weak_deps': True, 'security': False, 'skip_broken': False, 
> > > > 'update_cache': False, 'update_only': False, 'validate_certs': True, 
> > > > 'lock_timeout': 30, 'conf_file': None, 'disable_excludes': None, 
> > > > 'download_dir': None, 'list': None, 'releasever': None}}, 
> > > > '_ansible_no_log': False, 'changed  ': False, 
> > > > '_ansible_delegated_vars': {'ansible_host': 
> > > > 'test-vmengine.localdomain'}}
> > > >   2020-06-12 06:09:38,709-0400 ERROR 
> > > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > > ansible_utils._process_output:107 fatal: [localhost -> 
> > > > gilboa-wx-vmovirt.localdomain]: FAILED! => {"changed": false, "msg": 
> > > > "Failed to download metadata for repo 'AppStream'", "rc": 1, "results": 
> > > > []}
> > > >   2020-06-12 06:09:39,711-0400 DEBUG 
> > > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > > ansible_utils._process_output:103 PLAY RECAP [localhost] : ok: 183 
> > > > changed: 57 unreachable: 0 skipped: 77 failed: 1
> > > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:215 
> > > > ansible-playbook rc: 2
> > > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:222 
> > > > ansible-playbook stdout:
> > > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:225 
> > > > ansible-playbook stderr:
> > > >   2020-06-12 06:09:39,812-0400 DEBUG otopi.context 
> > > > context._executeMethod:145 method exception
> > > >   Traceback (most recent call last):
> > > > File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, 
> > > > in _executeMethod
> > > >   method['method']()
> > > > File 
> > > > "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/misc.py",
> > > >  line 403, in _closeup
> > > >   r = ah.run()
> > > > File 
> > > > "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/ansible_utils.py",
> > > >  line 229, in run
> > > >   raise RuntimeError(_('Failed executing ansible-playbook'))
> > >
> > > This snippet does not reveal the cause for failure, or the exact place
> > > where it happened. Can you please check/share the full file, as long
> > > as perhaps other files in /var/log/ovirt-hosted-engine-setup (and
> > > maybe others in /var/log)? Thanks!
> > >
> > > Best regards,
> > > --
> > > Didi
> > >
> >
> > H,
> >
> > Compressed tar.bz2 of ovirt-hosted-engine-setup attached.
> > Please let me know if you need additional log files.
> > (/var/log/messages seems rather empty)
>
> Ok, it's failing in the task "Install oVirt Engine package", which
> tries to install/upgrade the package 'ovirt-engine' on the engine VM.
> Can you try to do this manually and see if it works?
>
> At this stage, the engine VM is on libvirt's default network
> (private), you can find the temporary address by searching the log for
> local_vm_ip, which is 192.168.1.173, in your log.
>
> Good luck and best regards,
> --
> Didi
>

You are correct.
$ dnf install -y ovirt-engine
 Problem: package ovirt-engine-4.4.0.3-1.el8.noarch requires
apache-commons-jxpath, but none of the providers can be installed
  - conflicting requests
  - package apache-commons-jxpath-1.3-29.module_el8.0.0+30+832da3a1.noarch
is excluded
(try to add '--skip-broken' to skip uninstallable packages or
'--nobest' to use not only best candidate packages)

- Gilboa
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Pri

[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-15 Thread Yedidyah Bar David
On Mon, Jun 15, 2020 at 11:21 AM Gilboa Davara  wrote:
>
> On Mon, Jun 15, 2020 at 9:13 AM Yedidyah Bar David  wrote:
> >
> > On Fri, Jun 12, 2020 at 1:49 PM Gilboa Davara  wrote:
> > >
> > > Hello,
> > >
> > > I'm trying to deploy a hosted engine on one of my test setups.
> > > No matter how I tried to deploy the hosted engine, either via command 
> > > line or via "Hosted Engine" deployment from the cockpit web console, I 
> > > always fails with the same error message. [1]
> > > Manually trying to download RPMs via dnf from the host, work just fine.
> > > Firewall log files are clean.
> > >
> > > Any idea what's going on?
> > >
> > > [1]  2020-06-12 06:09:38,609-0400 DEBUG 
> > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > ansible_utils._process_output:103 {'msg': "Failed to download metadata 
> > > for repo 'AppStream'", 'results': [], 'rc': 1, 'invocation': 
> > > {'module_args': {'name': ['ovirt-engine'], 'state': 'present', 
> > > 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 
> > > 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 
> > > 'down  load_only': False, 'enable_plugin': [], 'enablerepo': [], 
> > > 'exclude': [], 'installroot': '/', 'install_repoquery': True, 
> > > 'install_weak_deps': True, 'security': False, 'skip_broken': False, 
> > > 'update_cache': False, 'update_only': False, 'validate_certs': True, 
> > > 'lock_timeout': 30, 'conf_file': None, 'disable_excludes': None, 
> > > 'download_dir': None, 'list': None, 'releasever': None}}, 
> > > '_ansible_no_log': False, 'changed  ': False, '_ansible_delegated_vars': 
> > > {'ansible_host': 'test-vmengine.localdomain'}}
> > >   2020-06-12 06:09:38,709-0400 ERROR 
> > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > ansible_utils._process_output:107 fatal: [localhost -> 
> > > gilboa-wx-vmovirt.localdomain]: FAILED! => {"changed": false, "msg": 
> > > "Failed to download metadata for repo 'AppStream'", "rc": 1, "results": 
> > > []}
> > >   2020-06-12 06:09:39,711-0400 DEBUG 
> > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > ansible_utils._process_output:103 PLAY RECAP [localhost] : ok: 183 
> > > changed: 57 unreachable: 0 skipped: 77 failed: 1
> > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:215 
> > > ansible-playbook rc: 2
> > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:222 
> > > ansible-playbook stdout:
> > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:225 
> > > ansible-playbook stderr:
> > >   2020-06-12 06:09:39,812-0400 DEBUG otopi.context 
> > > context._executeMethod:145 method exception
> > >   Traceback (most recent call last):
> > > File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, 
> > > in _executeMethod
> > >   method['method']()
> > > File 
> > > "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/misc.py",
> > >  line 403, in _closeup
> > >   r = ah.run()
> > > File 
> > > "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/ansible_utils.py",
> > >  line 229, in run
> > >   raise RuntimeError(_('Failed executing ansible-playbook'))
> >
> > This snippet does not reveal the cause for failure, or the exact place
> > where it happened. Can you please check/share the full file, as long
> > as perhaps other files in /var/log/ovirt-hosted-engine-setup (and
> > maybe others in /var/log)? Thanks!
> >
> > Best regards,
> > --
> > Didi
> >
>
> H,
>
> Compressed tar.bz2 of ovirt-hosted-engine-setup attached.
> Please let me know if you need additional log files.
> (/var/log/messages seems rather empty)

Ok, it's failing in the task "Install oVirt Engine package", which
tries to install/upgrade the package 'ovirt-engine' on the engine VM.
Can you try to do this manually and see if it works?

At this stage, the engine VM is on libvirt's default network
(private), you can find the temporary address by searching the log for
local_vm_ip, which is 192.168.1.173, in your log.

Good luck and best regards,
-- 
Didi
___
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/XL5XFIBV75SEV6IYTRZIYUVGMMTUO3SN/


[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-15 Thread Gilboa Davara
On Mon, Jun 15, 2020 at 9:13 AM Yedidyah Bar David  wrote:
>
> On Fri, Jun 12, 2020 at 1:49 PM Gilboa Davara  wrote:
> >
> > Hello,
> >
> > I'm trying to deploy a hosted engine on one of my test setups.
> > No matter how I tried to deploy the hosted engine, either via command line 
> > or via "Hosted Engine" deployment from the cockpit web console, I always 
> > fails with the same error message. [1]
> > Manually trying to download RPMs via dnf from the host, work just fine.
> > Firewall log files are clean.
> >
> > Any idea what's going on?
> >
> > [1]  2020-06-12 06:09:38,609-0400 DEBUG 
> > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > ansible_utils._process_output:103 {'msg': "Failed to download metadata for 
> > repo 'AppStream'", 'results': [], 'rc': 1, 'invocation': {'module_args': 
> > {'name': ['ovirt-engine'], 'state': 'present', 'allow_downgrade': False, 
> > 'autoremove': False, 'bugfix': False, 'disable_gpg_check': False, 
> > 'disable_plugin': [], 'disablerepo': [], 'down  load_only': False, 
> > 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 
> > 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 
> > 'skip_broken': False, 'update_cache': False, 'update_only': False, 
> > 'validate_certs': True, 'lock_timeout': 30, 'conf_file': None, 
> > 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': 
> > None}}, '_ansible_no_log': False, 'changed  ': False, 
> > '_ansible_delegated_vars': {'ansible_host': 'test-vmengine.localdomain'}}
> >   2020-06-12 06:09:38,709-0400 ERROR 
> > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > ansible_utils._process_output:107 fatal: [localhost -> 
> > gilboa-wx-vmovirt.localdomain]: FAILED! => {"changed": false, "msg": 
> > "Failed to download metadata for repo 'AppStream'", "rc": 1, "results": []}
> >   2020-06-12 06:09:39,711-0400 DEBUG 
> > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > ansible_utils._process_output:103 PLAY RECAP [localhost] : ok: 183 changed: 
> > 57 unreachable: 0 skipped: 77 failed: 1
> >   2020-06-12 06:09:39,812-0400 DEBUG 
> > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:215 
> > ansible-playbook rc: 2
> >   2020-06-12 06:09:39,812-0400 DEBUG 
> > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:222 
> > ansible-playbook stdout:
> >   2020-06-12 06:09:39,812-0400 DEBUG 
> > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:225 
> > ansible-playbook stderr:
> >   2020-06-12 06:09:39,812-0400 DEBUG otopi.context 
> > context._executeMethod:145 method exception
> >   Traceback (most recent call last):
> > File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in 
> > _executeMethod
> >   method['method']()
> > File 
> > "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/misc.py",
> >  line 403, in _closeup
> >   r = ah.run()
> > File 
> > "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/ansible_utils.py",
> >  line 229, in run
> >   raise RuntimeError(_('Failed executing ansible-playbook'))
>
> This snippet does not reveal the cause for failure, or the exact place
> where it happened. Can you please check/share the full file, as long
> as perhaps other files in /var/log/ovirt-hosted-engine-setup (and
> maybe others in /var/log)? Thanks!
>
> Best regards,
> --
> Didi
>

H,

Compressed tar.bz2 of ovirt-hosted-engine-setup attached.
Please let me know if you need additional log files.
(/var/log/messages seems rather empty)

- Gilboa


ovirt-hosted-engine-setup.tar.bz2
Description: application/bzip
___
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/MMULT7I7G2IWFZVUR46CSAJXMRVRMHLS/


[ovirt-users] Re: Hosted engine deployment fails consistently when trying to download files.

2020-06-14 Thread Yedidyah Bar David
On Fri, Jun 12, 2020 at 1:49 PM Gilboa Davara  wrote:
>
> Hello,
>
> I'm trying to deploy a hosted engine on one of my test setups.
> No matter how I tried to deploy the hosted engine, either via command line or 
> via "Hosted Engine" deployment from the cockpit web console, I always fails 
> with the same error message. [1]
> Manually trying to download RPMs via dnf from the host, work just fine.
> Firewall log files are clean.
>
> Any idea what's going on?
>
> [1]  2020-06-12 06:09:38,609-0400 DEBUG 
> otopi.ovirt_hosted_engine_setup.ansible_utils 
> ansible_utils._process_output:103 {'msg': "Failed to download metadata for 
> repo 'AppStream'", 'results': [], 'rc': 1, 'invocation': {'module_args': 
> {'name': ['ovirt-engine'], 'state': 'present', 'allow_downgrade': False, 
> 'autoremove': False, 'bugfix': False, 'disable_gpg_check': False, 
> 'disable_plugin': [], 'disablerepo': [], 'down  load_only': False, 
> 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 
> 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 
> 'skip_broken': False, 'update_cache': False, 'update_only': False, 
> 'validate_certs': True, 'lock_timeout': 30, 'conf_file': None, 
> 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': 
> None}}, '_ansible_no_log': False, 'changed  ': False, 
> '_ansible_delegated_vars': {'ansible_host': 'test-vmengine.localdomain'}}
>   2020-06-12 06:09:38,709-0400 ERROR 
> otopi.ovirt_hosted_engine_setup.ansible_utils 
> ansible_utils._process_output:107 fatal: [localhost -> 
> gilboa-wx-vmovirt.localdomain]: FAILED! => {"changed": false, "msg": "Failed 
> to download metadata for repo 'AppStream'", "rc": 1, "results": []}
>   2020-06-12 06:09:39,711-0400 DEBUG 
> otopi.ovirt_hosted_engine_setup.ansible_utils 
> ansible_utils._process_output:103 PLAY RECAP [localhost] : ok: 183 changed: 
> 57 unreachable: 0 skipped: 77 failed: 1
>   2020-06-12 06:09:39,812-0400 DEBUG 
> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:215 
> ansible-playbook rc: 2
>   2020-06-12 06:09:39,812-0400 DEBUG 
> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:222 
> ansible-playbook stdout:
>   2020-06-12 06:09:39,812-0400 DEBUG 
> otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:225 
> ansible-playbook stderr:
>   2020-06-12 06:09:39,812-0400 DEBUG otopi.context context._executeMethod:145 
> method exception
>   Traceback (most recent call last):
> File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in 
> _executeMethod
>   method['method']()
> File 
> "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/misc.py",
>  line 403, in _closeup
>   r = ah.run()
> File 
> "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/ansible_utils.py",
>  line 229, in run
>   raise RuntimeError(_('Failed executing ansible-playbook'))

This snippet does not reveal the cause for failure, or the exact place
where it happened. Can you please check/share the full file, as long
as perhaps other files in /var/log/ovirt-hosted-engine-setup (and
maybe others in /var/log)? Thanks!

Best regards,
-- 
Didi
___
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/EGCD72YHVMHMOE7OER6SDGKUIYDQV7XR/