Created attachment 1637172 [details] log files Description of problem: When installing ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch with RHEL-H (RHEL 7.6 upgrade to RHEL 7.7), dependency installation failed since "python-passlib" and "python-jmespath" packages are missing. ---> Package ovirt-ansible-hosted-engine-setup.noarch 0:1.0.32-1.el7ev will be installed --> Processing Dependency: python-jmespath for package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch --> Processing Dependency: python-passlib for package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch --> Finished Dependency Resolution Error: Package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch (rhv-4.3.7) Requires: python-passlib Error: Package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch (rhv-4.3.7) Requires: python-jmespath Version-Release number of selected component (if applicable): RHEL-7.6-20181010.0-Server-x86_64-dvd1 rhv-release-4.3.7-5-001.noarch.rpm How reproducible: 100% Steps to Reproduce: 1. Clean install RHEL-7.6-20181010.0-Server-x86_64-dvd1 2. Upgrade RHEL to the latest RHEL 7.7 packages 3. Install RHV repos rpm 4. Install cockpit and cockpit-ovirt-dashboard Actual results: Installing cockpit-ovirt-dashboard failed since missing dependency "python-passlib" and "python-jmespath" packages Expected results: Package cockpit-ovirt-dashboard can be installed successfully. Additional info:
Did you enable ansible engine channel?
Thanks, Dusan! Test with http://bob.eng.lab.tlv.redhat.com/builds/4.3/rhv-4.3.7-5/rhv-release-host-4.3.7-5-001.noarch.rpm, installation successfully without any error. Then check the version of the key packages # rpm -qa|grep ansible ansible-2.9.1-1.el7.noarch # rpm -qa|grep python-passlib python-passlib-1.6.5-1.1.el7.noarch # rpm -qa|grep python-passlib python-passlib-1.6.5-1.1.el7.noarch # rpm -qa|grep ovirt-ansible-hosted-engine-setup ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch QE will move the status to "VERIFIED" after devel move it to "ON_QA"
Closing as not a bug since it was an issue with our internal repositories.
This is absolutely still a problem when deploying Cockpit and RHVM on a RHEL base rather than RHVH. Please run through the docs and test by setting up exactly through the steps in the docs. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/installing_red_hat_virtualization_as_a_self-hosted_engine_using_the_command_line/index#Enabling_the_Red_Hat_Enterprise_Linux_Host_Repositories_SHE_deployment_host We need to add python-passlib and python-jmespath to the rhel-7-server-rhv-4-mgmt-agent-rpms repo. Only after added the "extras" repo channel was I successfully able to complete the dependency chain and do the installation. But for a product, I should not be adding the "extras" repo. *********************************************************** *********************************************************** *********************************************************** # subscription-manager attach --pool=8a85f98d6fcb3 Successfully attached a subscription for: Employee SKU 2 local certificates have been deleted. [root@euclid ~]# subscription-manager repos \ > --disable='*' \ > --enable=rhel-7-server-rpms \ > --enable=rhel-7-server-rhv-4-mgmt-agent-rpms \ > --enable=rhel-7-server-ansible-2.9-rpms # yum update -y ... Complete! # reboot client_loop: send disconnect: Broken pipe # yum install cockpit-ovirt-dashboard Loaded plugins: product-id, search-disabled-repos, subscription-manager Resolving Dependencies --> Running transaction check ---> Package cockpit-ovirt-dashboard.noarch 0:0.13.10-1.el7ev will be installed ... --> Running transaction check ---> Package OpenIPMI-libs.x86_64 0:2.0.27-1.el7 will be installed ---> Package ovirt-ansible-hosted-engine-setup.noarch 0:1.0.32-1.el7ev will be installed --> Processing Dependency: python-jmespath for package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch --> Processing Dependency: python-passlib for package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch ---> Package python-tdb.x86_64 0:1.3.18-1.el7 will be installed --> Finished Dependency Resolution Error: Package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch (rhel-7-server-rhv-4-mgmt-agent-rpms) Requires: python-passlib Error: Package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch (rhel-7-server-rhv-4-mgmt-agent-rpms) Requires: python-jmespath ********************************************************************** yum can be configured to try to resolve such errors by temporarily enabling disabled repos and searching for missing dependencies. To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf ********************************************************************** Error: Package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch (rhel-7-server-rhv-4-mgmt-agent-rpms) Requires: python-passlib Error: Package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch (rhel-7-server-rhv-4-mgmt-agent-rpms) Requires: python-jmespath You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest # yum install rhvm-appliance Loaded plugins: product-id, search-disabled-repos, subscription-manager Resolving Dependencies --> Running transaction check ---> Package rhvm-appliance.x86_64 2:4.3-20200317.0.el7 will be installed ... --> Running transaction check ---> Package OpenIPMI-libs.x86_64 0:2.0.27-1.el7 will be installed ---> Package ovirt-ansible-hosted-engine-setup.noarch 0:1.0.32-1.el7ev will be installed --> Processing Dependency: python-jmespath for package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch --> Processing Dependency: python-passlib for package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch ---> Package python-tdb.x86_64 0:1.3.18-1.el7 will be installed --> Finished Dependency Resolution Error: Package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch (rhel-7-server-rhv-4-mgmt-agent-rpms) Requires: python-passlib Error: Package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch (rhel-7-server-rhv-4-mgmt-agent-rpms) Requires: python-jmespath ********************************************************************** yum can be configured to try to resolve such errors by temporarily enabling disabled repos and searching for missing dependencies. To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf ********************************************************************** Error: Package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch (rhel-7-server-rhv-4-mgmt-agent-rpms) Requires: python-passlib Error: Package: ovirt-ansible-hosted-engine-setup-1.0.32-1.el7ev.noarch (rhel-7-server-rhv-4-mgmt-agent-rpms) Requires: python-jmespath You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest # subscription-manager repos --list-enabled +----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: rhel-7-server-ansible-2.9-rpms Repo Name: Red Hat Ansible Engine 2.9 RPMs for Red Hat Enterprise Linux 7 Server Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/ansible/2.9/os Enabled: 1 Repo ID: rhel-7-server-rhv-4-mgmt-agent-rpms Repo Name: Red Hat Virtualization 4 Management Agents for RHEL 7 (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rhv-mgmt-agent/4/os Enabled: 1 Repo ID: rhel-7-server-rpms Repo Name: Red Hat Enterprise Linux 7 Server (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/os Enabled: 1 # yum repolist Loaded plugins: product-id, search-disabled-repos, subscription-manager repo id repo name status rhel-7-server-ansible-2.9-rpms/x86_64 Red Hat Ansible Engine 2.9 RPMs for Red Hat Enterprise Linux 7 Server 17 rhel-7-server-rhv-4-mgmt-agent-rpms/7Server/x86_64 Red Hat Virtualization 4 Management Agents for RHEL 7 (RPMs) 2,248 rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 29,080 repolist: 31,345 # subscription-manager repos --enable=rhel-7-server-extras-rpms Repository 'rhel-7-server-extras-rpms' is enabled for this system. # yum install cockpit-ovirt-dashboard Loaded plugins: product-id, search-disabled-repos, subscription-manager ... Resolving Dependencies --> Running transaction check ---> Package cockpit-ovirt-dashboard.noarch 0:0.13.10-1.el7ev will be installed ... Complete! # # yum install rhvm-appliance -y Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager, vdsmupgrade ... Installed: rhvm-appliance.x86_64 2:4.3-20200317.0.el7 Complete!
Created attachment 1693112 [details] RHV Install on RHEL 7.8
IIUC we need to ship those 2 packages now (were dropped between ansible 2.8 and 2.9) somehow we missed that in testing. They are being shipped in RHEL extra so it should be fine to just push them in agent channel. They are included in RHVH
Test with RHVH 4.3.10, it has no this problem. The two packages are included in RHVH image. And rhvm-appliance can be installed successfully from CDN. [root@hp-dl388g9-05 ~]# imgbase w You are on rhvh-4.3.10.1-0.20200513.0+1 [root@hp-dl388g9-05 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 7.8 [root@hp-dl388g9-05 ~]# rpm -qa|grep python-passlib python-passlib-1.6.5-1.1.el7.noarch [root@hp-dl388g9-05 ~]# rpm -qa|grep python-jmespath [root@hp-dl388g9-05 ~]# rpm -qa|grep jmespath python2-jmespath-0.9.0-4.el7ae.noarch [root@hp-dl388g9-05 ~]# rpm -qa|grep cockpit-ovirt-dashboard cockpit-ovirt-dashboard-0.13.10-1.el7ev.noarch [root@hp-dl388g9-05 ~]# subscription-manager register --username=xxxxx --password=xxxx --auto-attach Registering to: subscription.rhsm.redhat.com:443/subscription The system has been registered with ID: 5247c711-191f-4201-b467-ae9568f794ed The registered system name is: hp-dl388g9-05.lab.eng.pek2.redhat.com Installed Product Current Status: Product Name: Red Hat Virtualization Host Status: Subscribed [root@hp-dl388g9-05 ~]# subscription-manager repos --enable=rhel-7-server-rhvh-4-rpms Repository 'rhel-7-server-rhvh-4-rpms' is enabled for this system. [root@hp-dl388g9-05 ~]# yum search appliance Loaded plugins: enabled_repos_upload, imgbased-persist, package_upload, product-id, search-disabled-repos, subscription-manager, vdsmupgrade, versionlock Excluding 4 updates due to versionlock (use "yum versionlock status" to show them) =========================================================================================================== N/S matched: appliance =========================================================================================================== rhvm-appliance.noarch : The RHV-M Appliance image (OVA) rhvm-appliance.x86_64 : The RHV-M Appliance image (OVA) Name and summary matches only, use "search all" for everything. Uploading Enabled Repositories Report Loaded plugins: product-id, subscription-manager, versionlock Unable to upload Enabled Repositories Report [root@hp-dl388g9-05 ~]# yum install rhvm-appliance Loaded plugins: enabled_repos_upload, imgbased-persist, package_upload, product-id, search-disabled-repos, subscription-manager, vdsmupgrade, versionlock Excluding 4 updates due to versionlock (use "yum versionlock status" to show them) Resolving Dependencies --> Running transaction check ---> Package rhvm-appliance.x86_64 2:4.3-20200317.0.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================================================================================================== Installing: rhvm-appliance x86_64 2:4.3-20200317.0.el7 rhel-7-server-rhvh-4-rpms 1.3 G Transaction Summary ============================================================================================================================================================================================================================================== Install 1 Package Total download size: 1.3 G Installed size: 1.3 G Is this ok [y/d/N]: y Downloading packages: warning: /var/cache/yum/x86_64/7RedHatVirtualizationHost/rhel-7-server-rhvh-4-rpms/packages/rhvm-appliance-4.3-20200317.0.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY===========-] 1.1 MB/s | 1.3 GB 00:00:00 ETA Public key for rhvm-appliance-4.3-20200317.0.el7.x86_64.rpm is not installed rhvm-appliance-4.3-20200317.0.el7.x86_64.rpm | 1.3 GB 00:11:27 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Importing GPG key 0xFD431D51: Userid : "Red Hat, Inc. (release key 2) <security>" Fingerprint: 567e 347a d004 4ade 55ba 8a5f 199e 2f91 fd43 1d51 Package : redhat-release-virtualization-host-4.3.10-1.el7ev.x86_64 (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Is this ok [y/N]: y Importing GPG key 0x2FA658E0: Userid : "Red Hat, Inc. (auxiliary key) <security>" Fingerprint: 43a6 e49c 4a38 f4be 9abf 2a53 4568 9c88 2fa6 58e0 Package : redhat-release-virtualization-host-4.3.10-1.el7ev.x86_64 (installed) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Is this ok [y/N]: y Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 2:rhvm-appliance-4.3-20200317.0.el7.x86_64 1/1 Uploading Package Profile Loaded plugins: product-id, subscription-manager, versionlock Verifying : 2:rhvm-appliance-4.3-20200317.0.el7.x86_64 1/1 rhel-7-server-rhvh-4-rpms/x86_64/productid | 2.1 kB 00:00:00 Installed: rhvm-appliance.x86_64 2:4.3-20200317.0.el7 Complete! Uploading Enabled Repositories Report Loaded plugins: product-id, subscription-manager, versionlock Unable to upload Enabled Repositories Report
Wei, That is correct, RHVH works fine. I stated: ~~~~~ This is absolutely still a problem when deploying Cockpit and RHVM on a RHEL base rather than RHVH. Please run through the docs and test by setting up exactly through the steps in the docs. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/installing_red_hat_virtualization_as_a_self-hosted_engine_using_the_command_line/index#Enabling_the_Red_Hat_Enterprise_Linux_Host_Repositories_SHE_deployment_host ~~~~~ Do we not test this method of installing RHVM?? It is documented... Don't get me wrong I like the RHVH distribution but I chose this one so I could easily run some performance tests, using the base RHEL image, without attaching a bunch of strange EPEL or other subscriptions to get the repos I needed under RHVH. There are many other use cases for RHVM on RHEL. I should not my particular RHEL 7.8 install was minimal. Michal, I think you are correct, that the packages can be added to rhel-7-server-rhv-4-mgmt-agent-rpms, assuming that this dependency is considered required by RHVM and not Ansible. However, if this is an Ansible requirement, should it not go in the Ansible repo, rhel-7-server-ansible-2.9-rpms? I did not analyze the dependency chain to determine this. Brian
the reason it didn't show up earlier is that those packages were shipped by ansible 2.8 and existing installs already have that package installed from there. I have no idea why ansible dropped that, possibly it was just moved under RHEL Extras and then considered unneeded in ansible itself. But our product policy is not to use anything from Extras hence we will reship it
we are shipping this in bug 1842974. please follow up there if needed. thanks *** This bug has been marked as a duplicate of bug 1842974 ***