Bug 1746976
Summary: | Problem installing Hosted Engine in disconnected with latest installation media | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Robert McSwain <rmcswain> |
Component: | ovirt-engine-metrics | Assignee: | Shirly Radco <sradco> |
Status: | CLOSED ERRATA | QA Contact: | Guilherme Santos <gdeolive> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.3.4 | CC: | mavital, pelauter, stefano.stagnaro |
Target Milestone: | ovirt-4.3.7 | Keywords: | ZStream |
Target Release: | 4.3.7 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-metrics-1.3.5.1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-12-12 10:36:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Metrics | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Robert McSwain
2019-08-29 16:35:08 UTC
On a disconnected environment host-deployment currently fails with: 2019-09-05 12:43:03,641 p=1974 u=ovirt | TASK [oVirt.metrics/roles/oVirt.initial-validations : Check Rsyslog packages are available] *** 2019-09-05 12:43:17,294 p=1974 u=ovirt | failed: [c76he20190905h1.localdomain] (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog" } MSG: Error from repoquery: ['/usr/bin/repoquery', '--show-duplicates', '--plugins', '--quiet', '--disablerepo', '', '--enablerepo', '', '--qf', '%{name}|%{epoch}|%{version}|%{release}|%{arch}|%{repoid}', 'rsyslog']: Repository ovirt-4.3-epel is listed more than once in the configuration Repository ovirt-4.3-centos-gluster6 is listed more than once in the configuration Repository ovirt-4.3-virtio-win-latest is listed more than once in the configuration Repository ovirt-4.3-centos-qemu-ev is listed more than once in the configuration Repository ovirt-4.3-centos-ovirt43 is listed more than once in the configuration Repository ovirt-4.3-centos-opstools is listed more than once in the configuration Repository centos-sclo-rh-release is listed more than once in the configuration Repository sac-gluster-ansible is listed more than once in the configuration Repository ovirt-4.3 is listed more than once in the configuration Could not match packages: Cannot find a valid baseurl for repo: base/7/x86_64 Please notice that rsyslog was already there: [root@c76he20190905h1 ~]# yum list installed rsyslog Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id, search-disabled-repos, subscription-manager, vdsmupgrade This system is not registered with an entitlement server. You can use subscription-manager to register. Loading mirror speeds from cached hostfile * base: mirrors.prometeus.net * epel: mirror.imt-systems.com * extras: mirrors.prometeus.net * ovirt-4.3: ovirt.repo.nfrance.com * ovirt-4.3-epel: mirror.imt-systems.com * updates: mirrors.prometeus.net Installed Packages rsyslog.x86_64 8.24.0-34.el7 @base Uploading Enabled Repositories Report in: https://github.com/oVirt/ovirt-engine-metrics/blob/master/roles/oVirt.initial-validations/tasks/check_logging_collectors.yml#L30 we have: yum: list: so it should be able at least to reach the yum repos. Verified on: ovirt-engine-4.3.7.1-0.1.el7.noarch ovirt-engine-metrics-1.3.5.1-1.el7ev.noarch Host environment: rsyslog-8.24.0-41.el7_7.2.x86_64 installed and up to date collectd-5.8.1-3.el7ost.x86_64 installed and up to date Steps: 1. Installed rsyslog and collectd packages on host. 2. Edited the ansible host-deploy playbook adding the following lines on very beginning of ovirt-host-deploy-facts/tasks/main.yml: #--- # - name: Break connection # shell: /sbin/route del default gw $(/sbin/route -n | awk '$1=="0.0.0.0" {print $2; exit}') #(...) This was done in order to cancel any route to internet and have a disconnect environment. 3. Logged in on the engine and run the Installation of host (host-deploy) Results: Completed successfully Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:4229 |