[ovirt-users] Re: understanding if real engine offline deployment is possible

2022-04-29 Thread Vincent Kwiatkowski
Hi Erez,

Indeed its in London ld6^^

Even if I use only "he_offline_deployment=true", the engine tries to reach
internet repo.

my version of ovirt-ansible-collection is 1.6.6-1.el8.noarch, it seems to
be the latest version available on ovirt-4.4 repo (I have tested on another
server that has internet, and installed official ovirt-release44.rpm
package, and it's the same)

in file
/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/full_execution.yml
, the var "ovirt_engine_setup_offline" is on line 38:

 38 ovirt_engine_setup_offline: "{{ he_offline_deployment }}"

in file
/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/engine_setup/tasks/main.yml
line 7 I have:

7   when: not ovirt_engine_setup_perform_upgrade

  am I using wrong repo of missing something? (as it seems I d on't have
the latest files)

yes it makes sense to have a look at hooks, so the engine is customized,
I'll check that.

It's just that initially I would like to test the "100% offline method", as
it should avoid me to customize the engine

10.243.140.1 is a simple internal dns server, it's not the host from where
I deploy the engine.

Yes I recently understood the created network between the local VM and the
host from where we deploy the engine. When I saw that "nameserver" in
resolv.conf of the engine points to 192.168.222.1, which is the vibr0 IP of
the physical host, I was quite surprised, because on old ovirt deployment I
did, the engines have the dns servers I've specified in their resolv.conf,
not the vibr0 ip of their host . But it's maybe changed later in the
process of the deployment

I will stop specifying the ova file as indeed, I don't think it's useful
here.

Just wanna make sure if:

 - 100% offline deploy is possible only using the extra var
"he_offline_deployment=true" (maybe I need to udpate some packages?)
or
 - 100% offline deploy is ONLY possible using hooks and internal repo

your help is really appreciated, I can understand that not all the scenario
are tested by dev teams, maybe my case can help other peoples^^

thx a lot, have a nice week end!


*Vincent Kwiatkowski*
Operations - System Team • Itiviti
Production System Engineer

Direct: +33 1 44 50 25 45
vincent.kwiatkow...@itiviti.com

21 Boulevard Haussmann
<https://maps.google.com/?q=21+Boulevard+Haussmann+75009+Paris,+France=gmail=g>
75009 Paris, France
<https://maps.google.com/?q=21+Boulevard+Haussmann+75009+Paris,+France=gmail=g>
Phone: +33 1 49 95 30 00


Le ven. 29 avr. 2022 à 18:20, Erez Zarum  a écrit :

> 1. You have a typo in your hosted-engine deploy line as you do not enclose
> the quotes correctly:
>
> --ansible-extra-vars=he_appliance_ova=/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.4-20211020135049.1.el8.ova
> he_offline_deployment=true it should be
> --ansible-extra-vars="he_appliance_ova=/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.4-20211020135049.1.el8.ova
> he_offline_deployment=true"
> 2. Can you check which version of ovirt ansible collection are you using?
> it is possible that the version you are using does not have the fix, the
> fix was released around november.
> to clarify you do have it, on the host where you run the hosted-engine
> script from, please check the following:
>
> /usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/full_execution.yml
> at line 39 should have ovirt_engine_setup_offline var set to the
> he_offline_deployment var (
> https://github.com/oVirt/ovirt-ansible-collection/blob/master/roles/hosted_engine_setup/tasks/full_execution.yml
> )
>
>  
> /usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/engine_setup/tasks/main.yml
> at line 7 should have this: when: not
> ovirt_engine_setup_perform_upgrade|bool and not
> ovirt_engine_setup_offline|bool (
> https://github.com/oVirt/ovirt-ansible-collection/blob/master/roles/engine_setup/tasks/main.yml
> )
> 3. i'm not sure regarding the ovirt appliance, but as far as it seems if
> you don't specify it will try to download one, but this happens from the
> host you run the hosted-engine script from which in what you describe uses
> your local repo so it should be able to download from there.
> 4. If i were you, i would hooks
> https://www.ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine_using_the_command_line/index.html#customizing_engine_vm_during_deployment_auto_SHE_cli_deploy
> You would want to use the "enginevm_before_engine_setup" hook and
> create an ansible task that configure local repos on the engine vm,
> anything you put in that folder hook ("enginevm_before_engine_setup") will
> run on the engine vm, it will allow you to skip later configuring the
> engine 

[ovirt-users] issue on engine deployment on oVirt node

2018-02-19 Thread Vincent Kwiatkowski
Hi Folks,

I tried a few time to configure a simple oVirt engine on oVirt node.

After the fresh install of the node, I connect cockpit and launch the
engine setup, then at the end I have the message that I need to connect to
the VM with "hosted-engine --console" or via VNC.

Via VNC, I can't do nothing, have no prompt

using the --console, I have the error:

:internal error: character device console0 is not using a PTY

What can I do to continue the setup?

Thx a lot in advance

-- 

Vincent Kwiatkowski | Production System Engineer |ULLINK |  D: + 33 1
44 50 25 45 |  T: +1 49 95 30 00

| 23/25 rue de Provence |  75009, Paris |  v...@ullink.com

Please consider the environment before printing this email

-- 
*The information contained in or attached to this email is strictly 
confidential. If you are not the intended recipient, please notify us 
immediately by telephone and return the message to us.*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users