[ovirt-users] Re: [oVirt 4.4.6] Offline deployment of hosted engine

2021-06-06 Thread Yedidyah Bar David
On Sun, Jun 6, 2021 at 11:37 AM Strahil Nikolov  wrote:
>
> Hi Didi,
>
> can't we just make ansible check via ansible  package facts the status of the 
> appliance and if it's available set to offline mode.
> I can take a look in the Ansible code for that purpose.

The "non-offline-mode" is also for updating packages, not only for
appliance installation.

This is especially important because we not always release a new
appliance on new releases, so "non-offline-mode" makes sure you update
to the latest engine prior to engine-setup  - and this is especially
important on restore-from-file.

> Otherwise , the cockpit installer can have a tick for offline mode.

Indeed.

Best regards,

>
> Best Regards,
> Strahil Nikolov
>
> On Sun, Jun 6, 2021 at 9:14, Yedidyah Bar David
>  wrote:
> On Sun, Jun 6, 2021 at 9:03 AM sharma.is...@fujitsu.com
>  wrote:
> >
> > Hello Strahil,
> >
> >
> >
> > Thank you for your suggestion. Yes, I downloaded ovirt-engine-appliance rpm 
> > and installed manually, but it seems that it still tries to access to 
> > internet repository as below. Is it possible to do the whole deployment 
> > offline?
> >
> >
> >
> > [ ERROR ] fatal: [localhost -> ovirt-engine.macc.local]: FAILED! => 
> > {"changed": false, "msg": "Failed to download metadata for repo 
> > 'appstream': Cannot prepare internal mirrorlist: Curl
> >
> > error (7): Couldn't connect to server for 
> > http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream&infra=stock
> >  [Failed to connect to jp.fujitsu.com port 123456789: No
> >
> > route to host]", "rc": 1, "results": []}
>
> Please try with:
>
> - appliance installed
>
> - '--ansible-extra-vars=he_offline_deployment=true'
>
> - latest released code (with your custom patch removed)
>
> If it still fails, please open a bug and attach all relevant logs. 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/RQRXMG7LU5J2NSXUWHEZUYEE72LG2TI4/
>


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


[ovirt-users] Re: [oVirt 4.4.6] Offline deployment of hosted engine

2021-06-06 Thread Strahil Nikolov via Users
Hi Didi,
can't we just make ansible check via ansible  package facts the status of the 
appliance and if it's available set to offline mode.I can take a look in the 
Ansible code for that purpose.Otherwise , the cockpit installer can have a tick 
for offline mode.
Best Regards,Strahil Nikolov
 
 
  On Sun, Jun 6, 2021 at 9:14, Yedidyah Bar David wrote:   On 
Sun, Jun 6, 2021 at 9:03 AM sharma.is...@fujitsu.com
 wrote:
>
> Hello Strahil,
>
>
>
> Thank you for your suggestion. Yes, I downloaded ovirt-engine-appliance rpm 
> and installed manually, but it seems that it still tries to access to 
> internet repository as below. Is it possible to do the whole deployment 
> offline?
>
>
>
> [ ERROR ] fatal: [localhost -> ovirt-engine.macc.local]: FAILED! => 
> {"changed": false, "msg": "Failed to download metadata for repo 'appstream': 
> Cannot prepare internal mirrorlist: Curl
>
> error (7): Couldn't connect to server for 
> http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream&infra=stock
>  [Failed to connect to jp.fujitsu.com port 123456789: No
>
> route to host]", "rc": 1, "results": []}

Please try with:

- appliance installed

- '--ansible-extra-vars=he_offline_deployment=true'

- latest released code (with your custom patch removed)

If it still fails, please open a bug and attach all relevant logs. 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/RQRXMG7LU5J2NSXUWHEZUYEE72LG2TI4/
  
___
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/MJ2UVPNHPZSX3EHCBI5SERQ2SPOATXQZ/


[ovirt-users] Re: [oVirt 4.4.6] Offline deployment of hosted engine

2021-06-05 Thread Yedidyah Bar David
On Sun, Jun 6, 2021 at 9:03 AM sharma.is...@fujitsu.com
 wrote:
>
> Hello Strahil,
>
>
>
> Thank you for your suggestion. Yes, I downloaded ovirt-engine-appliance rpm 
> and installed manually, but it seems that it still tries to access to 
> internet repository as below. Is it possible to do the whole deployment 
> offline?
>
>
>
> [ ERROR ] fatal: [localhost -> ovirt-engine.macc.local]: FAILED! => 
> {"changed": false, "msg": "Failed to download metadata for repo 'appstream': 
> Cannot prepare internal mirrorlist: Curl
>
> error (7): Couldn't connect to server for 
> http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream&infra=stock
>  [Failed to connect to jp.fujitsu.com port 123456789: No
>
> route to host]", "rc": 1, "results": []}

Please try with:

- appliance installed

- '--ansible-extra-vars=he_offline_deployment=true'

- latest released code (with your custom patch removed)

If it still fails, please open a bug and attach all relevant logs. 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/RQRXMG7LU5J2NSXUWHEZUYEE72LG2TI4/


[ovirt-users] Re: [oVirt 4.4.6] Offline deployment of hosted engine

2021-06-05 Thread sharma.is...@fujitsu.com
Hello Strahil,

Thank you for your suggestion. Yes, I downloaded ovirt-engine-appliance rpm and 
installed manually, but it seems that it still tries to access to internet 
repository as below. Is it possible to do the whole deployment offline?

[ ERROR ] fatal: [localhost -> ovirt-engine.macc.local]: FAILED! => {"changed": 
false, "msg": "Failed to download metadata for repo 'appstream': Cannot prepare 
internal mirrorlist: Curl
error (7): Couldn't connect to server for 
http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream&infra=stock
 [Failed to connect to jp.fujitsu.com port 123456789: No
route to host]", "rc": 1, "results": []}

With regards
Ishan

From: Strahil Nikolov 
Sent: Friday, June 4, 2021 16:35
To: Sharma, Ishan.Nath/Sharma I.N ; 'users@ovirt.org' 

Cc: Sharma, Ishan.Nath/Sharma I.N ; Tsukahara, 
Tomohiro/塚原 知宏 ; Fukumoto, Shinya/福本 真也 
; Wagner, John (FSE) 
Subject: Re: [ovirt-users] [oVirt 4.4.6] Offline deployment of hosted engine

I think you can download and install the ovirt-engine-appliance rpm (the big 
one) from https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/x86_64/

in advance.


Best Regards,
Strahil Nikolov

On Fri, Jun 4, 2021 at 9:40, 
sharma.is...@fujitsu.com
mailto:sharma.is...@fujitsu.com>> wrote:

Hello,



I am trying to test oVirt node 4.4.6 inside my company’s network which needs 
proxy setting for internet access.

Is there any possibility to deploy host engine without any internet access? 
i.e. Is offline deployment of hosted engine possible?



I have added the following line at the end of the file 
/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml

environment:

https_proxy: 
"http://:"

http_proxy: 
"http://:"



But it gives error in the process of “hosted-engine --deploy”. I am not sure if 
this a typical issue in my company’s network but, it would be great if there is 
any offline installation method (without accessing internet repository).



I have also tried to use “hosted-engine --deploy 
--ansible-extra-vars=he_offline_deployment=true” but, it is not helping me at 
all.



With regards

**

Ishan Nath Sharma

Technical Computing Solutions Unit

Fujitsu Limited

E-mail: sharma.is...@jp.fujitsu.com

http://www.fujitsu.com

**


___
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/Z2Q3JFI5ARXV77SDS6VYXK4QKGHXMH43/
___
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/X4T2WQZCPF46DHVYYSNXMGFV6TO4GPXC/


[ovirt-users] Re: [oVirt 4.4.6] Offline deployment of hosted engine

2021-06-04 Thread Strahil Nikolov via Users
I think you can download and install the ovirt-engine-appliance rpm (the big 
one) from https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/x86_64/
in advance.

Best Regards,Strahil Nikolov
 
 
  On Fri, Jun 4, 2021 at 9:40, 
sharma.is...@fujitsu.com wrote:
Hello,
 
  
 
I am trying to test oVirt node 4.4.6 inside my company’s network which needs 
proxy setting for internet access.
 
Is there any possibility to deploy host engine without any internet access? 
i.e. Is offline deployment of hosted engine possible?
 
  
 
I have added the following line at the end of the file 
/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml
 
environment:
 
    https_proxy: "http://:"
 
    http_proxy: "http://:"
 
  
 
But it gives error in the process of “hosted-engine --deploy”. I am not sure if 
this a typical issue in my company’s network but, it would be great if there is 
any offline installation method (without accessing internet repository).
 
  
 
I have also tried to use “hosted-engine --deploy 
--ansible-extra-vars=he_offline_deployment=true” but, it is not helping me at 
all.
 
  
 
With regards
 
**
 
Ishan Nath Sharma
 
Technical Computing Solutions Unit
 
Fujitsu Limited
 
E-mail:sharma.is...@jp.fujitsu.com
 
http://www.fujitsu.com
 
**
 
  
 ___
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/Z2Q3JFI5ARXV77SDS6VYXK4QKGHXMH43/
  
___
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/DIBXDV5IIB3UGN7TDKRIVTT5NNXW4CXN/