On Wed, Nov 11, 2020 at 11:49 AM Matteo Bonardi <[email protected]> wrote:
>
> Hi Didi,
>
> > On Tue, Nov 10, 2020 at 7:18 PM Strahil Nikolov via Users
> > <users(a)ovirt.org&gt; wrote:
> >
> > I already suggested to open a bug for this earlier in this thread.
>
> I will open a bug for that.

Thanks.

>
> > I am not sure. I talked with Sandro about this, and we agreed that a
> > common enterprise requirement is being able to use a local _mirror_
> > (e.g. Foreman), mainly for disconnected use (without an Internet
> > connection). A proxy is technically quite different, even if in
> > principle can be used for the same need.
> >
>
> I can understand your point, but since the deploy script already checks that 
> the proxy is set, I don't see why it can't pass this information to the 
> engine.

Sorry, where?

Also:

On Wed, Nov 11, 2020 at 11:39 AM Matteo Bonardi <[email protected]> wrote:
>
> Thanks to all yours suggestions I, finally, complete the deploy with success.
> The solution is been to edit the file 
> /usr/share/ansible/roles/ovirt.engine-setup/tasks/install_packages.yml adding 
> the proxy variable:

Which version?

Perhaps you had 4.4.2 and then updated to 4.4.3 before retrying, or
something similar?

>
> - name: Install oVirt Engine package
>   package:
>     name: "ovirt-engine"
>     state: present
>   environment:
>     https_proxy: "http://<proxy_host>:<proxy_port>"
>     http_proxy: "http://<proxy_host>:<proxy_port>"
>     ftp_proxy: "http://<proxy_host>:<proxy_port>"
>   when: ovirt_engine_setup_product_type | lower == 'ovirt'
> [..]
>
> One suggestion for who will have the same problem:
> This file was created by the first failed run of the deploy.
> Without run the deploy, this file does not exists.
> So you have to run the deploy one time, let it fail and then edit the file.
> I know that it seems a stupid suggestion but i think could help someone.

It's not stupid! :-). I think you unknowingly ran into something
caused by the move to ovirt-ansible-roles in 4.4.3 [1].

Until 4.4.2, this file was in the package ovirt-ansible-engine-setup , in:

/usr/share/ansible/roles/ovirt.engine-setup/tasks/install_packages.yml

In 4.4.3, this file, along with many others (including hosted-engine
ansible code), is in ovirt-ansible-collection, in:

/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/engine_setup/tasks/install_packages.yml

Can't guess, though, your exact flow - if you suspect a bug, please
check/share relevant logs (including dnf, but perhaps also ansible),
perhaps in a separate bug.

Sorry if this is confusing/messy. Feel free to comment on [1] if you
have something specific to add (it's a RHV bug, though, so if unsure,
perhaps file another bug. RHV's and oVirt's documentation are not as
aligned as their source code).

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1891749

Thanks and best regards,
-- 
Didi
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/55HJDO63UT6XQPEIPPPB2GLUVMDTJXT7/

Reply via email to