Hi!

On Tue, Feb 14, 2023 at 12:40 PM <lars.sto...@bvg.de> wrote:
>
> Hi,
> I want to upgrade oVirt 4.3 to oVirt 4.4. Thus i have to reinstall one node 
> to EL8 an deploy the engine with restore.

It's not completely clear, what you are trying to do. I suppose you
refer to hosted-engine deployment with --restore-from-file.

>
> i get this error message at deploy:
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Install oVirt Engine package]
> [ ERROR ] fatal: [localhost -> 192.168.2.143]: FAILED! => {"changed": false, 
> "msg": "Failed to download metadata for repo 'ovirt-4.4-centos-ceph-pacific': 
> Cannot prepare internal mirrorlist: Curl error (56): Failure when receiving 
> data from the peer for 
> http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=storage-ceph-pacific
>  [Recv failure: Connection reset by peer]", "rc": 1, "results": []}
>
> Since i do use our satellite server, this URL is not included in the 
> repositories i provided. A repository named 'ovirt-4.4-centos-ceph-pacific' 
> is deinitely provided and available.
> How do i get the deploy to use the correct repositories?

 IIUC this code runs inside the engine VM, not the host, so your
customizations on the host do not apply there. The appliance image
used for creating the engine VM includes in itself a suitable
ovirt-release package, which also includes the above failing repo.
Does the engine VM (via the host it's running on) have direct access
to the Internet? Or do you force all comm to go through your satellite
proxy?

Anyway, some ways you can try to overcome the situation:
- Run it offline (--ansible-extra-vars=he_offline_deployment=true)
- Provide a custom enginevm_before_engine_setup hook to patch the
configuration. See e.g. how this is done in ovirt-system-tests [1].
- Pass (similarly to above) he_pause_before_engine_setup=true . Should
work since 4.4.7, https://bugzilla.redhat.com/show_bug.cgi?id=1959273
.
- See also [2]

[1] https://github.com/oVirt/ovirt-system-tests Search the code for
'proxy', 'socks', etc.
[2] 
https://github.com/didib/ovirt-ansible-collection/tree/master/roles/hosted_engine_setup#make-changes-in-the-engine-vm-during-the-deployment

>
> I hope someone can help me out,

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/NUL42RNRZZ3KCAMTFWCCF3IHVAKLYTCH/

Reply via email to