[ovirt-users] Re: Ovirt Hosted Engine - Offline Deployment

2023-02-06 Thread Yedidyah Bar David
On Mon, Feb 6, 2023 at 8:22 PM  wrote:
>
> Hi Team,
>
> I need some help deploying Ovirt Hosted Engine. I have installed Ovirt Node 
> 4.5.4 on my intel NUC as a small development environment for a bigger project.
>
> I am not able to connect the NUC to the internet but am able to download any 
> relevant packages onto a hard drive and connect this to the system.
>
> I have attempted to deploy Hosted Engine via the CLI with the following 
> command: "hosted-engine --deploy --4
> --ansible-extra-vars=he_offline_deployment=true". This Fails as it is unable 
> to resolve the URL for the mirror? I feel as though I must be missing some 
> pre-deployment step which changes the repo path but my knowledge in this area 
> is definitely not where it needs to be. I've trolled through the internet but 
> cant find any sort of documentation which details the involved steps.
>
> Does anyone have any knowledge on how do accomplish this with my previously 
> mentioned restrictions?

Please provide more details - what did you install, what did you run,
what was the error message, relevant snippets from relevant logs, etc.
Thanks.

It might be enough to pre-install the appliance package.

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


[ovirt-users] Re: oVirt Hosted Engine Offline Deployment

2021-08-30 Thread Yedidyah Bar David
On Fri, Aug 27, 2021 at 7:59 PM Thomas Hoberg  wrote:
>
> You would do good to mirror everything that oVirt is using, especially if you 
> want to install/rebuild while remaining offline.
>
> The 1.1 GB file you mention is the oVirt appliance initial machine image, 
> which unfortunately seems to get explicitly deleted from time to time, most 
> likely the official clean-up scripts I use, whenever a deployment failed and 
> I want to restart from a clean sheet.

The only place I know of that removes the appliance is in the end of
hosted-engine deployment, not ovirt-hosted-engine-cleanup:

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

You should be able to prevent that by passing
--ansible-extra-vars=he_remove_appliance_rpm=false . I didn't try
that.

You can also prevent _installing_ (or trying to update) the appliance
rpm by passing the ova path as he_appliance_ova (or
OVEHOSTED_VM/ovfArchive), e.g.:

hosted-engine --deploy
--otopi-environment=OVEHOSTED_VM/ovfArchive=str:/path/to/file.ova

hosted-engine --deploy --ansible-extra-vars=he_appliance_ova=/path/to/file.ova

See e.g. https://gerrit.ovirt.org/c/ovirt-system-tests/+/115589

>
> If you're operating disconnected, security bugs won't scare you, which is 
> where most of the updates are coming from. A good frozen CentOS7 repo state 
> can last a long time, but sometimes even those are glitchy so you need to 
> test thoroughly before going completely offline.
>
> oVirt 4.3 is *very* stable (nothing done any more), but not free of bugs. You 
> may be lucky and in an offline mode the combination may be good... until you 
> want online again or add hardware too novel.
>
> It's how I operate currently with most of my oVirt installations: 
> CentOS7.latest and oVirt-4.3.last-with-bugs, because I want to test stuff in 
> the VMs not underneath the hypervisor (and I am mostly using recycled 
> producation hardware to support a lab).

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


[ovirt-users] Re: oVirt Hosted Engine Offline Deployment

2021-08-27 Thread Thomas Hoberg
You would do good to mirror everything that oVirt is using, especially if you 
want to install/rebuild while remaining offline.

The 1.1 GB file you mention is the oVirt appliance initial machine image, which 
unfortunately seems to get explicitly deleted from time to time, most likely 
the official clean-up scripts I use, whenever a deployment failed and I want to 
restart from a clean sheet.

If you're operating disconnected, security bugs won't scare you, which is where 
most of the updates are coming from. A good frozen CentOS7 repo state can last 
a long time, but sometimes even those are glitchy so you need to test 
thoroughly before going completely offline.

oVirt 4.3 is *very* stable (nothing done any more), but not free of bugs. You 
may be lucky and in an offline mode the combination may be good... until you 
want online again or add hardware too novel.

It's how I operate currently with most of my oVirt installations: 
CentOS7.latest and oVirt-4.3.last-with-bugs, because I want to test stuff in 
the VMs not underneath the hypervisor (and I am mostly using recycled 
producation hardware to support a lab).
___
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/N2IV4ZR5ZO4XJTMQNFVNRZ3LS7Q7W3SI/


[ovirt-users] Re: oVirt Hosted Engine Offline Deployment

2021-08-15 Thread Strahil Nikolov via Users
The offline install mode should work in both 4.3 and 4.4 .About CentOS Stream 
... it is as it is. You can use any EL8 distro (for example RHEL8 with the new 
developer subscription, the company can have up to 16 physical prod 
systems).4.3 is not supported which means that it has no bug fixes, thus 
consider 4.4

Best Regards,Strahil Nikolov
 
 
  On Sun, Aug 15, 2021 at 18:41, Marcel d'Heureuse wrote:   
___
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/WGTGIJSCV7PTGHJ65JDRBN3AYT3ETALX/
  
___
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/6X64FHVFLKUZ4HVOZAMATFPKOH7BZKDR/


[ovirt-users] Re: oVirt Hosted Engine Offline Deployment

2021-08-15 Thread Marcel d'Heureuse

Moin,

We require a stable Centos Version and we selected Centos 7. I think the 
4.4 is moved to Centos 8 and i am not sure if you can deploy it offline 
with the stream in background.


We use the Ovirt Node installer for the servers with an Kickstart file 
and after the bare metal installation we start do to a lot with ansible 
but not the gluster deployment and the hosted engine deployment. Good 
working ansible scripts are missing yet.


but if you have Ovirt 4.4 running without any internet activities please 
give me an information.


Thanks
Marcel


-- Originalnachricht --
Von: "Strahil Nikolov via Users" 
An: "Andrew Lamarra" ; users@ovirt.org
Gesendet: 15.08.2021 15:48:31
Betreff: [ovirt-users] Re: oVirt Hosted Engine Offline Deployment


I would try latest 4.4 (I think it was 4.4.7).

Best Regards,
Strahil Nikolov


On Sun, Aug 15, 2021 at 16:46, Andrew Lamarra
 wrote:
Thank you, both, for the help!

I see that there's a version 4.3.10. Will that version not work?


Andrew
___
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/KXTQQSQJA7V3UX2Y57Z7Q45PFBLNRCJC/
___
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/WGTGIJSCV7PTGHJ65JDRBN3AYT3ETALX/


[ovirt-users] Re: oVirt Hosted Engine Offline Deployment

2021-08-15 Thread Strahil Nikolov via Users
I would try latest 4.4 (I think it was 4.4.7).
Best Regards,Strahil Nikolov
 
 
  On Sun, Aug 15, 2021 at 16:46, Andrew Lamarra 
wrote:   Thank you, both, for the help!

I see that there's a version 4.3.10. Will that version not work?

Andrew
___
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/KXTQQSQJA7V3UX2Y57Z7Q45PFBLNRCJC/
  
___
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/JUGKSIOO2QJWRWWONIRKCUW74QQGTVWE/


[ovirt-users] Re: oVirt Hosted Engine Offline Deployment

2021-08-15 Thread Andrew Lamarra
Thank you, both, for the help!

I see that there's a version 4.3.10. Will that version not work?

Andrew
___
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/KXTQQSQJA7V3UX2Y57Z7Q45PFBLNRCJC/


[ovirt-users] Re: oVirt Hosted Engine Offline Deployment

2021-08-14 Thread marcel d'heureuse
Moin,

There is a package which you need to install before you deploy the engine. It 
is round 1,1 GB RPM file where the engine vm is implemented.
For offline Installation we use the ovirt Version 4.3.9.

And remove the ovirt repos because you will lose a lot of time because he try 
to found euch mirror. Starts in us and stopps in Japan.

Br
Marcel

Am 14. August 2021 09:12:17 MESZ schrieb Strahil Nikolov via Users 
:
>I think that first you need to install the appliance and then in offline mode 
>ot should skip connecting to yum repos.
>
>Best Regards,Strahil Nikolov
> 
> 
>  On Fri, Aug 13, 2021 at 19:56, Andrew Lamarra 
> wrote:   Hi there. I'm trying to get oVirt up & running on a server in a 
> network that has no access to the Internet. We do host mirrors of CentOS 7 & 
> 8 repos (no Stream). I first tried the latest version of oVirt 4.4, however, 
> I ran into an issue when trying to do the Hosted Engine deployment. The 
> command I used was "hosted-engine --deploy 
> --ansible-extra-vars=he_offline_deployment=true". But at some point, I get 
> the following error:
>
>[ INFO  ] DNF Errors during downloading metadata for repository 
>'ovirt-4.4-centos-ceph-pacific':
>          - Status code: 404 for 
>http://mirror.centos.org/centos/8-stream/storage/x86_64/ceph-pacific/repodata/repomd.xml
>[ ERROR ] DNF Failed to download metadata for repo 
>'ovirt-4.4-centos-ceph-pacific': Cannot download repomd.xml: Cannot download 
>repodata/repomd.xml: All mirrors were tried
>
>Seems like it's still trying to download something from the CentOS 8 Stream 
>repo. So I figured that since we have the CentOS 7 repos hosted, I'll try 
>oVirt v4.3. However, I don't see an option to do an "offline deployment" with 
>this version. It says the "--ansible-extra-vars" option is invalid. I tried 
>doing a regular deployment but it tries downloading from the oVirt repo:
>
>[ INFO ] TASK [ovirt.hosted_enging_setup : Install ovirt-engine-appliance rpm]
>[ ERROR ] fatal: [localhost]: FAILED! => ["attempts": 10, "changed": false, 
>"msg": "Failure talking to yum: cannot retrieve metalink for repository: 
>ovirt-4.3-epel/x86_64. Please verify its path and try again"}
>
>I can bring over a mirror of the ovirt-4.3 repo. I also see that there's some 
>other repos in the "ovirt-4.3-dependencies.repo" file. Are those required for 
>deploying the hosted engine VM as well? Or does anyone know if there's a way 
>to do this deployment completely offline?
>
>Thank you for your time.
>___
>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/GDWCIZ3X3OKE4WXCWUNKQVG7GOVP5AW4/
>  
___
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/3PTSMV3IV2QGVNQAHN4PMZHBEFAGVS3Y/


[ovirt-users] Re: oVirt Hosted Engine Offline Deployment

2021-08-14 Thread Strahil Nikolov via Users
I think that first you need to install the appliance and then in offline mode 
ot should skip connecting to yum repos.

Best Regards,Strahil Nikolov
 
 
  On Fri, Aug 13, 2021 at 19:56, Andrew Lamarra 
wrote:   Hi there. I'm trying to get oVirt up & running on a server in a 
network that has no access to the Internet. We do host mirrors of CentOS 7 & 8 
repos (no Stream). I first tried the latest version of oVirt 4.4, however, I 
ran into an issue when trying to do the Hosted Engine deployment. The command I 
used was "hosted-engine --deploy 
--ansible-extra-vars=he_offline_deployment=true". But at some point, I get the 
following error:

[ INFO  ] DNF Errors during downloading metadata for repository 
'ovirt-4.4-centos-ceph-pacific':
          - Status code: 404 for 
http://mirror.centos.org/centos/8-stream/storage/x86_64/ceph-pacific/repodata/repomd.xml
[ ERROR ] DNF Failed to download metadata for repo 
'ovirt-4.4-centos-ceph-pacific': Cannot download repomd.xml: Cannot download 
repodata/repomd.xml: All mirrors were tried

Seems like it's still trying to download something from the CentOS 8 Stream 
repo. So I figured that since we have the CentOS 7 repos hosted, I'll try oVirt 
v4.3. However, I don't see an option to do an "offline deployment" with this 
version. It says the "--ansible-extra-vars" option is invalid. I tried doing a 
regular deployment but it tries downloading from the oVirt repo:

[ INFO ] TASK [ovirt.hosted_enging_setup : Install ovirt-engine-appliance rpm]
[ ERROR ] fatal: [localhost]: FAILED! => ["attempts": 10, "changed": false, 
"msg": "Failure talking to yum: cannot retrieve metalink for repository: 
ovirt-4.3-epel/x86_64. Please verify its path and try again"}

I can bring over a mirror of the ovirt-4.3 repo. I also see that there's some 
other repos in the "ovirt-4.3-dependencies.repo" file. Are those required for 
deploying the hosted engine VM as well? Or does anyone know if there's a way to 
do this deployment completely offline?

Thank you for your time.
___
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/GDWCIZ3X3OKE4WXCWUNKQVG7GOVP5AW4/
  
___
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/UXYHDSSE6OOVC2BLF3HIQZSZW5Q2U7GO/