Il giorno mer 11 nov 2020 alle ore 11:01 Yedidyah Bar David <[email protected]> ha scritto:
> 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> 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? > Sincerely I didn't read the code, but reading the log there are more than one reference to proxy. For example: 2020-11-10 18:15:48,518+0100 WARNING otopi.plugins.gr_he_common.network.gateway gateway._setup:88 It seems that this host is configured to use a *proxy*, please ensure that this host will be able to reach the engine VM trough that proxy or add a specific exception. 2020-11-10 18:15:49,637+0100 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:197 ansible-playbook: env: {'LS_COLORS': [..], 'USER': 'root', 'PWD': '', 'HOME': '', 'SSH_CLIENT': '', *'https_proxy': 'http://10.248.2.50:3128/ <http://10.248.2.50:3128/>', 'http_proxy': 'http://10.248.2.50:3128/ <http://10.248.2.50:3128/>', 'no_proxy': '<my_engine>.<my_domain>'*, 'SSH_TTY': '/dev/pts/0', 'MAIL': '/var/spool/mail/root', 'SHELL': '/bin/bash', 'TERM': 'xterm', 'SHLVL': '1', 'PYTHONPATH': '/usr/share/ovirt-hosted-engine-setup/scripts/..:',[..], 'HE_ANSIBLE_LOG_PATH': '/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-get_network_interfaces-20201110181549-tppuv6.log'} 2020-11-10 18:17:11,505+0100 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:111 TASK [ovirt.ovirt.hosted_engine_setup : *Check http/https proxy*] I'm not sure at all, but the log makes me think the proxy is being checked more than once. Of course I can be wrong. > 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? > Before retry the deploy, I have completely cleanup the installation with: [root@<my-host> ~]# ovirt-hosted-engine-cleanup [root@<my-host> ~]# yum remove ovirt-* And then reinstall all: [root@<my-host> ~]# yum install https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm [root@<my-host> ~]# yum install ovirt-engine-appliance [root@<my-host> ~]# yum install ovirt-hosted-engine-setup I am a bit confused on how to check the version (it is embarrassing, but I am new on ovirt and ansible). There is a mismatch between the version in deployment server and in engine vm. I have attached the rpm version of both. The manager web console shows 4.4.2 as version. > > > > - 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 > > Regards, Matteo
ovirt-ansible-cluster-upgrade-1.2.3-1.el8.noarch ovirt-ansible-disaster-recovery-1.3.0-1.el8.noarch ovirt-ansible-engine-setup-1.2.4-1.el8.noarch ovirt-ansible-hosted-engine-setup-1.1.8-1.el8.noarch ovirt-ansible-image-template-1.2.2-1.el8.noarch ovirt-ansible-infra-1.2.2-1.el8.noarch ovirt-ansible-manageiq-1.2.1-1.el8.noarch ovirt-ansible-repositories-1.2.5-1.el8.noarch ovirt-ansible-roles-1.2.3-1.el8.noarch ovirt-ansible-shutdown-env-1.1.0-1.el8.noarch ovirt-ansible-vm-infra-1.2.3-1.el8.noarch ovirt-cockpit-sso-0.1.4-1.el8.noarch ovirt-dependencies-4.4.2-1.el8.noarch ovirt-engine-4.4.2.6-1.el8.noarch ovirt-engine-api-explorer-0.0.6-1.el8.noarch ovirt-engine-backend-4.4.2.6-1.el8.noarch ovirt-engine-dbscripts-4.4.2.6-1.el8.noarch ovirt-engine-dwh-4.4.2.1-1.el8.noarch ovirt-engine-dwh-grafana-integration-setup-4.4.2.1-1.el8.noarch ovirt-engine-dwh-setup-4.4.2.1-1.el8.noarch ovirt-engine-extension-aaa-jdbc-1.2.0-1.el8.noarch ovirt-engine-extension-aaa-ldap-1.4.1-1.el8.noarch ovirt-engine-extension-aaa-ldap-setup-1.4.1-1.el8.noarch ovirt-engine-extension-aaa-misc-1.1.0-1.el8.noarch ovirt-engine-extension-logger-log4j-1.1.0-1.el8.noarch ovirt-engine-extensions-api-1.0.1-1.el8.noarch ovirt-engine-metrics-1.4.1.1-1.el8.noarch ovirt-engine-restapi-4.4.2.6-1.el8.noarch ovirt-engine-setup-4.4.2.6-1.el8.noarch ovirt-engine-setup-base-4.4.2.6-1.el8.noarch ovirt-engine-setup-plugin-cinderlib-4.4.2.6-1.el8.noarch ovirt-engine-setup-plugin-imageio-4.4.2.6-1.el8.noarch ovirt-engine-setup-plugin-ovirt-engine-4.4.2.6-1.el8.noarch ovirt-engine-setup-plugin-ovirt-engine-common-4.4.2.6-1.el8.noarch ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.4.2.6-1.el8.noarch ovirt-engine-setup-plugin-websocket-proxy-4.4.2.6-1.el8.noarch ovirt-engine-tools-4.4.2.6-1.el8.noarch ovirt-engine-tools-backup-4.4.2.6-1.el8.noarch ovirt-engine-ui-extensions-1.2.3-1.el8.noarch ovirt-engine-vmconsole-proxy-helper-4.4.2.6-1.el8.noarch ovirt-engine-webadmin-portal-4.4.2.6-1.el8.noarch ovirt-engine-websocket-proxy-4.4.2.6-1.el8.noarch ovirt-engine-wildfly-19.1.0-2.el8.x86_64 ovirt-engine-wildfly-overlay-19.1.0-2.el8.noarch ovirt-imageio-common-2.0.10-1.el8.x86_64 ovirt-imageio-daemon-2.0.10-1.el8.x86_64 ovirt-openvswitch-2.11-0.2020061801.el8.noarch ovirt-openvswitch-ovn-2.11-0.2020061801.el8.noarch ovirt-openvswitch-ovn-central-2.11-0.2020061801.el8.noarch ovirt-openvswitch-ovn-common-2.11-0.2020061801.el8.noarch ovirt-provider-ovn-1.2.30-1.el8.noarch ovirt-python-openvswitch-2.11-0.2020061801.el8.noarch ovirt-release44-4.4.2-1.el8.noarch ovirt-vmconsole-1.0.8-1.el8.noarch ovirt-vmconsole-proxy-1.0.8-1.el8.noarch ovirt-web-ui-1.6.4-1.el8.noarch python3-ovirt-engine-lib-4.4.2.6-1.el8.noarch python3-ovirt-engine-sdk4-4.4.4-1.el8.x86_64 python3-ovirt-setup-lib-1.3.2-1.el8.noarch
cockpit-ovirt-dashboard-0.14.13-1.el8.noarch ovirt-ansible-collection-1.2.0-0.3.el8.noarch ovirt-ansible-engine-setup-1.2.4-1.el8.noarch ovirt-ansible-hosted-engine-setup-1.1.8-1.el8.noarch ovirt-host-4.4.1-4.el8.x86_64 ovirt-host-dependencies-4.4.1-4.el8.x86_64 ovirt-hosted-engine-ha-2.4.5-1.el8.noarch ovirt-hosted-engine-setup-2.4.8-1.el8.noarch ovirt-imageio-client-2.1.1-1.el8.x86_64 ovirt-imageio-common-2.1.1-1.el8.x86_64 ovirt-imageio-daemon-2.1.1-1.el8.x86_64 ovirt-openvswitch-2.11-0.2020061801.el8.noarch ovirt-openvswitch-ovn-2.11-0.2020061801.el8.noarch ovirt-openvswitch-ovn-common-2.11-0.2020061801.el8.noarch ovirt-openvswitch-ovn-host-2.11-0.2020061801.el8.noarch ovirt-provider-ovn-driver-1.2.32-1.el8.noarch ovirt-python-openvswitch-2.11-0.2020061801.el8.noarch ovirt-release44-4.4.3-1.el8.noarch ovirt-vmconsole-1.0.8-1.el8.noarch ovirt-vmconsole-host-1.0.8-1.el8.noarch python3-ovirt-engine-sdk4-4.4.6-1.el8.x86_64 python3-ovirt-setup-lib-1.3.2-1.el8.noarch
_______________________________________________ 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/U46C7A7AA7WJ5BZT4WR6KXX7IB6QX6ED/

