On Mon, Jun 15, 2020 at 4:54 PM Gilboa Davara <[email protected]> wrote:
>
> On Mon, Jun 15, 2020 at 11:46 AM Yedidyah Bar David <[email protected]> wrote:
> >
> > On Mon, Jun 15, 2020 at 11:21 AM Gilboa Davara <[email protected]> wrote:
> > >
> > > On Mon, Jun 15, 2020 at 9:13 AM Yedidyah Bar David <[email protected]> 
> > > wrote:
> > > >
> > > > On Fri, Jun 12, 2020 at 1:49 PM Gilboa Davara <[email protected]> wrote:
> > > > >
> > > > > Hello,
> > > > >
> > > > > I'm trying to deploy a hosted engine on one of my test setups.
> > > > > No matter how I tried to deploy the hosted engine, either via command 
> > > > > line or via "Hosted Engine" deployment from the cockpit web console, 
> > > > > I always fails with the same error message. [1]
> > > > > Manually trying to download RPMs via dnf from the host, work just 
> > > > > fine.
> > > > > Firewall log files are clean.
> > > > >
> > > > > Any idea what's going on?
> > > > >
> > > > > [1]  2020-06-12 06:09:38,609-0400 DEBUG 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > > > ansible_utils._process_output:103 {'msg': "Failed to download 
> > > > > metadata for repo 'AppStream'", 'results': [], 'rc': 1, 'invocation': 
> > > > > {'module_args': {'name': ['ovirt-engine'], 'state': 'present', 
> > > > > 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 
> > > > > 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 
> > > > > 'down  load_only': False, 'enable_plugin': [], 'enablerepo': [], 
> > > > > 'exclude': [], 'installroot': '/', 'install_repoquery': True, 
> > > > > 'install_weak_deps': True, 'security': False, 'skip_broken': False, 
> > > > > 'update_cache': False, 'update_only': False, 'validate_certs': True, 
> > > > > 'lock_timeout': 30, 'conf_file': None, 'disable_excludes': None, 
> > > > > 'download_dir': None, 'list': None, 'releasever': None}}, 
> > > > > '_ansible_no_log': False, 'changed  ': False, 
> > > > > '_ansible_delegated_vars': {'ansible_host': 
> > > > > 'test-vmengine.localdomain'}}
> > > > >   2020-06-12 06:09:38,709-0400 ERROR 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > > > ansible_utils._process_output:107 fatal: [localhost -> 
> > > > > gilboa-wx-vmovirt.localdomain]: FAILED! => {"changed": false, "msg": 
> > > > > "Failed to download metadata for repo 'AppStream'", "rc": 1, 
> > > > > "results": []}
> > > > >   2020-06-12 06:09:39,711-0400 DEBUG 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils 
> > > > > ansible_utils._process_output:103 PLAY RECAP [localhost] : ok: 183 
> > > > > changed: 57 unreachable: 0 skipped: 77 failed: 1
> > > > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:215 
> > > > > ansible-playbook rc: 2
> > > > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:222 
> > > > > ansible-playbook stdout:
> > > > >   2020-06-12 06:09:39,812-0400 DEBUG 
> > > > > otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils.run:225 
> > > > > ansible-playbook stderr:
> > > > >   2020-06-12 06:09:39,812-0400 DEBUG otopi.context 
> > > > > context._executeMethod:145 method exception
> > > > >   Traceback (most recent call last):
> > > > >     File "/usr/lib/python3.6/site-packages/otopi/context.py", line 
> > > > > 132, in _executeMethod
> > > > >       method['method']()
> > > > >     File 
> > > > > "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/misc.py",
> > > > >  line 403, in _closeup
> > > > >       r = ah.run()
> > > > >     File 
> > > > > "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/ansible_utils.py",
> > > > >  line 229, in run
> > > > >       raise RuntimeError(_('Failed executing ansible-playbook'))
> > > >
> > > > This snippet does not reveal the cause for failure, or the exact place
> > > > where it happened. Can you please check/share the full file, as long
> > > > as perhaps other files in /var/log/ovirt-hosted-engine-setup (and
> > > > maybe others in /var/log)? Thanks!
> > > >
> > > > Best regards,
> > > > --
> > > > Didi
> > > >
> > >
> > > H,
> > >
> > > Compressed tar.bz2 of ovirt-hosted-engine-setup attached.
> > > Please let me know if you need additional log files.
> > > (/var/log/messages seems rather empty)
> >
> > Ok, it's failing in the task "Install oVirt Engine package", which
> > tries to install/upgrade the package 'ovirt-engine' on the engine VM.
> > Can you try to do this manually and see if it works?
> >
> > At this stage, the engine VM is on libvirt's default network
> > (private), you can find the temporary address by searching the log for
> > local_vm_ip, which is 192.168.1.173, in your log.
> >
> > Good luck and best regards,
> > --
> > Didi
> >
>
> You are correct.
> $ dnf install -y ovirt-engine
>  Problem: package ovirt-engine-4.4.0.3-1.el8.noarch requires
> apache-commons-jxpath, but none of the providers can be installed
>   - conflicting requests
>   - package apache-commons-jxpath-1.3-29.module_el8.0.0+30+832da3a1.noarch
> is excluded
> (try to add '--skip-broken' to skip uninstallable packages or
> '--nobest' to use not only best candidate packages)

Is this on the engine machine? Or elsewhere?

Generally speaking, you need, for this, to first enable the module
'javapackages-tools'. But assuming that you are deploying the engine
VM from ovirt-engine-appliance, the image should already have this
done, so above error should not happen there. No idea why it does, if
indeed it's there and not e.g. on the host (where you should not need
to install the engine). Can you please clarify where you try this?

Best regards,
-- 
Didi
_______________________________________________
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/DEC7HB4QBZJVCFSLIID4CD3ERNHXAZTU/

Reply via email to