Project

General

Profile

Actions

Bug #30414

closed

satellite-maintain upgrade check failing on error saying "No package yum-utils available".

Added by Suraj Patil almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1790654

Description of problem:

satellite-maintain upgrade check failing on error saying "No package yum-utils available".

Version-Release number of selected component (if applicable):
satellite-6.6.1-1.el7sat.noarch
satellite-maintain-0.0.1-1.el7sat.noarch
rubygem-foreman_maintain-0.4.10-1.el7sat.noarch

How reproducible:
New installation of 6.6

Steps to Reproduce:
1. Install new satellite 6.6
2. Try to update minor version of satellite
3. Use # satellite-maintain upgrade check --target-version 6.6.z

Actual results:

  1. satellite-maintain upgrade check --target-version 6.6.z
    Running preparation steps required to run the next scenarios ================================================================================
    Install packages: Loaded plugins: foreman-protector, product-id, search-disabled-repos, subscription-manager

WARNING: Excluding 12184 updates due to foreman-protector.
Use foreman-maintain packages install/update <package>
to safely install packages without restrictions.
Use foreman-maintain upgrade run for full upgrade.

No package yum-utils available.
Error: Nothing to do
[FAIL]
Failed executing yum install yum-utils, exit status 1
--------------------------------------------------------------------------------
Install packages: Loaded plugins: foreman-protector, product-id, search-disabled-repos, subscription-manager

WARNING: Excluding 12184 updates due to foreman-protector.
Use foreman-maintain packages install/update <package>
to safely install packages without restrictions.
Use foreman-maintain upgrade run for full upgrade.

Resolving Dependencies
--> Running transaction check
---> Package fio.x86_64 0:3.7-1.el7 will be installed
--> Processing Dependency: libibverbs.so.1(IBVERBS_1.0)(64bit) for package: fio-3.7-1.el7.x86_64
--> Processing Dependency: libibverbs.so.1(IBVERBS_1.1)(64bit) for package: fio-3.7-1.el7.x86_64
--> Processing Dependency: libpmem.so.1(LIBPMEM_1.0)(64bit) for package: fio-3.7-1.el7.x86_64
--> Processing Dependency: libpmemblk.so.1(LIBPMEMBLK_1.0)(64bit) for package: fio-3.7-1.el7.x86_64
--> Processing Dependency: librdmacm.so.1(RDMACM_1.0)(64bit) for package: fio-3.7-1.el7.x86_64
--> Processing Dependency: libibverbs.so.1()(64bit) for package: fio-3.7-1.el7.x86_64
--> Processing Dependency: libpmem.so.1()(64bit) for package: fio-3.7-1.el7.x86_64
--> Processing Dependency: libpmemblk.so.1()(64bit) for package: fio-3.7-1.el7.x86_64
--> Processing Dependency: librados.so.2()(64bit) for package: fio-3.7-1.el7.x86_64
--> Processing Dependency: librbd.so.1()(64bit) for package: fio-3.7-1.el7.x86_64
--> Processing Dependency: librdmacm.so.1()(64bit) for package: fio-3.7-1.el7.x86_64
--> Running transaction check
---> Package libibverbs.x86_64 0:22.1-3.el7 will be installed
--> Processing Dependency: rdma-core(x86-64) = 22.1-3.el7 for package: libibverbs-22.1-3.el7.x86_64
---> Package libpmem.x86_64 0:1.5.1-2.1.el7 will be installed
---> Package libpmemblk.x86_64 0:1.5.1-2.1.el7 will be installed
--> Processing Dependency: libdaxctl.so.1(LIBDAXCTL_2)(64bit) for package: libpmemblk-1.5.1-2.1.el7.x86_64
--> Processing Dependency: libndctl.so.6(LIBNDCTL_1)(64bit) for package: libpmemblk-1.5.1-2.1.el7.x86_64
--> Processing Dependency: libndctl.so.6(LIBNDCTL_14)(64bit) for package: libpmemblk-1.5.1-2.1.el7.x86_64
--> Processing Dependency: libndctl.so.6(LIBNDCTL_3)(64bit) for package: libpmemblk-1.5.1-2.1.el7.x86_64
--> Processing Dependency: libdaxctl.so.1()(64bit) for package: libpmemblk-1.5.1-2.1.el7.x86_64
--> Processing Dependency: libndctl.so.6()(64bit) for package: libpmemblk-1.5.1-2.1.el7.x86_64
---> Package librados2.x86_64 1:10.2.5-4.el7 will be installed
---> Package librbd1.x86_64 1:10.2.5-4.el7 will be installed
---> Package librdmacm.x86_64 0:22.1-3.el7 will be installed
--> Running transaction check
---> Package daxctl-libs.x86_64 0:64.1-2.el7 will be installed
---> Package ndctl-libs.x86_64 0:64.1-2.el7 will be installed
---> Package rdma-core.x86_64 0:22.1-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================================================================================
Package Arch Version Repository Size ===================================================================================================================================================================================================================
Installing:
fio x86_64 3.7-1.el7 rhel-7-server-rpms 467 k
Installing for dependencies:
daxctl-libs x86_64 64.1-2.el7 rhel-7-server-rpms 26 k
libibverbs x86_64 22.1-3.el7 rhel-7-server-rpms 267 k
libpmem x86_64 1.5.1-2.1.el7 rhel-7-server-rpms 59 k
libpmemblk x86_64 1.5.1-2.1.el7 rhel-7-server-rpms 80 k
librados2 x86_64 1:10.2.5-4.el7 rhel-7-server-rpms 1.8 M
librbd1 x86_64 1:10.2.5-4.el7 rhel-7-server-rpms 2.4 M
librdmacm x86_64 22.1-3.el7 rhel-7-server-rpms 63 k
ndctl-libs x86_64 64.1-2.el7 rhel-7-server-rpms 64 k
rdma-core x86_64 22.1-3.el7 rhel-7-server-rpms 50 k

Transaction Summary ===================================================================================================================================================================================================================
Install 1 Package (+9 Dependent packages)

Total download size: 5.3 M
Installed size: 16 M
Is this ok [y/d/N]: y
Downloading packages:
(1/10): daxctl-libs-64.1-2.el7.x86_64.rpm | 26 kB 00:00:00
(2/10): libibverbs-22.1-3.el7.x86_64.rpm | 267 kB 00:00:00
(3/10): libpmem-1.5.1-2.1.el7.x86_64.rpm | 59 kB 00:00:00
(4/10): fio-3.7-1.el7.x86_64.rpm | 467 kB 00:00:01
(5/10): libpmemblk-1.5.1-2.1.el7.x86_64.rpm | 80 kB 00:00:00
(6/10): librados2-10.2.5-4.el7.x86_64.rpm | 1.8 MB 00:00:00
(7/10): librbd1-10.2.5-4.el7.x86_64.rpm | 2.4 MB 00:00:00
(8/10): librdmacm-22.1-3.el7.x86_64.rpm | 63 kB 00:00:00
(9/10): ndctl-libs-64.1-2.el7.x86_64.rpm | 64 kB 00:00:00
(10/10): rdma-core-22.1-3.el7.x86_64.rpm | 50 kB 00:00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.9 MB/s | 5.3 MB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libpmem-1.5.1-2.1.el7.x86_64 1/10
Installing : rdma-core-22.1-3.el7.x86_64 2/10
Installing : libibverbs-22.1-3.el7.x86_64 3/10
Installing : 1:librados2-10.2.5-4.el7.x86_64 4/10
Installing : daxctl-libs-64.1-2.el7.x86_64 5/10
Installing : ndctl-libs-64.1-2.el7.x86_64 6/10
Installing : libpmemblk-1.5.1-2.1.el7.x86_64 7/10
Installing : 1:librbd1-10.2.5-4.el7.x86_64 8/10
Installing : librdmacm-22.1-3.el7.x86_64 9/10
Installing : fio-3.7-1.el7.x86_64 10/10
Verifying : 1:librbd1-10.2.5-4.el7.x86_64 1/10
Verifying : daxctl-libs-64.1-2.el7.x86_64 2/10
Verifying : libibverbs-22.1-3.el7.x86_64 3/10
Verifying : fio-3.7-1.el7.x86_64 4/10
Verifying : 1:librados2-10.2.5-4.el7.x86_64 5/10
Verifying : libpmemblk-1.5.1-2.1.el7.x86_64 6/10
Verifying : librdmacm-22.1-3.el7.x86_64 7/10
Verifying : rdma-core-22.1-3.el7.x86_64 8/10
Verifying : libpmem-1.5.1-2.1.el7.x86_64 9/10
Verifying : ndctl-libs-64.1-2.el7.x86_64 10/10

Installed:
fio.x86_64 0:3.7-1.el7

Dependency Installed:
daxctl-libs.x86_64 0:64.1-2.el7 libibverbs.x86_64 0:22.1-3.el7 libpmem.x86_64 0:1.5.1-2.1.el7 libpmemblk.x86_64 0:1.5.1-2.1.el7 librados2.x86_64 1:10.2.5-4.el7 librbd1.x86_64 1:10.2.5-4.el7
librdmacm.x86_64 0:22.1-3.el7 ndctl-libs.x86_64 0:64.1-2.el7 rdma-core.x86_64 0:22.1-3.el7

Complete!
[OK]
--------------------------------------------------------------------------------
Scenario [preparation steps required to run the next scenarios] failed.

The following steps ended up in failing state:

[packages-install]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="packages-install"

  1. satellite-maintain upgrade check --target-version 6.6.z
    Running preparation steps required to run the next scenarios ================================================================================
    Install packages: Loaded plugins: foreman-protector, product-id, search-disabled-repos, subscription-manager

WARNING: Excluding 12184 updates due to foreman-protector.
Use foreman-maintain packages install/update <package>
to safely install packages without restrictions.
Use foreman-maintain upgrade run for full upgrade.

No package yum-utils available.
Error: Nothing to do
[FAIL]
Failed executing yum install yum-utils, exit status 1
--------------------------------------------------------------------------------
Scenario [preparation steps required to run the next scenarios] failed.

The following steps ended up in failing state:

[packages-install]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="packages-install"

Expected results:

Installer/foreman-maintain should resolve the packages installation itself

Additional info:

Workaround:

  1. foreman-maintain packages unlock
  2. yum install yum-utils
  3. foreman-maintain packages lock

Or

  1. foreman-maintain packages install yum-utils
Actions #1

Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/385 added
Actions #2

Updated by Suraj Patil over 3 years ago

  • Assignee changed from Anurag Patel to Suraj Patil
Actions #3

Updated by Amit Upadhye over 3 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/5764 added
Actions #4

Updated by Amit Upadhye over 3 years ago

  • Project changed from Foreman Maintain to Packaging
Actions #5

Updated by Amit Upadhye over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF