Bug 1996075 - Package python-pulp-manifest missing from Satellite Tool repos
Summary: Package python-pulp-manifest missing from Satellite Tool repos
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.10.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: 6.10.0
Assignee: satellite6-bugs
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-20 13:13 UTC by Ganesh Payelkar
Modified: 2021-11-16 14:13 UTC (History)
9 users (show)

Fixed In Version: python-pulp_manifest-3.0.0-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:13:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github theforeman pulpcore-packaging pull 295 0 None open add pulp-manifest package 2021-10-08 13:53:28 UTC
Pulp Redmine 9289 0 Normal CLOSED - COMPLETE Port pulp-manifest tool from pulp 2 to pulp 3 2021-10-13 13:15:35 UTC
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:13:30 UTC

Description Ganesh Payelkar 2021-08-20 13:13:57 UTC
Description of problem:

Package "python-pulp-manifest" missing from Satellite Tool repos 

Version-Release number of selected component (if applicable):
satellite-6.10.0-0.6.beta


How reproducible:
On a new installation of 6.10 Beta


Steps to Reproduce:
1. Install new 6.10 Beta 
2. Create a local file type repos 
3. Ensure the Server and Satellite Tools 6.10 repositories are enabled.
4. Install the Pulp Manifest package:
   # satellite-maintain packages install python-pulp-manifest

Actual results:

# satellite-maintain packages install python-pulp-manifest
Running preparation steps required to run the next scenarios
================================================================================
Check if tooling for package locking is installed:                    [OK]
--------------------------------------------------------------------------------


Running install packages in unlocked session
================================================================================
Confirm installer run is allowed: 

WARNING: This script runs satellite-installer after the yum execution 
to ensure the Satellite is in a consistent state.
As a result some of your services may be restarted. 

Do you want to proceed?, [y(yes), q(quit)] y
                                                                      [OK]      
--------------------------------------------------------------------------------
Unlock packages:                                                      [OK]
--------------------------------------------------------------------------------
Install packages: Loaded plugins: product-id, search-disabled-repos, subscription-manager
Sat6-CI_Red_Hat_Satellite_6_10_Composes_Satellite_6_10_RHEL7                                                                                                                                | 2.5 kB  00:00:00     
Sat6-CI_Red_Hat_Satellite_6_10_Composes_Satellite_Tools_6_10_RHEL7                                                                                                                          | 2.1 kB  00:00:00     
No package python-pulp-manifest available.
Error: Nothing to do
                                                    [WARNING]
Failed executing yum --disableplugin=foreman-protector install python-pulp-manifest, exit status 1
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
Check status of version locking of packages: 
  Automatic locking of package versions is enabled in installer.
  Packages are locked.                                                [OK]
--------------------------------------------------------------------------------
Scenario [install packages in unlocked session] failed.

The following steps ended up in warning state:

  [packages-install]

The steps in warning state itself might not mean there is an error,
but it should be reviewed to ensure the behavior is expected


Expected results:
Creating a Custom File Type Repository in a Local Directory this package is required.

Additional info:

Comment 2 Eric Helms 2021-08-24 15:49:57 UTC
This was a tool packaged within the Pulp 2 codebase and similar tool and package does not exist for Pulp 3 at present. We will need to investigate extracting said tool and re-packaging it.

Comment 3 pulp-infra@redhat.com 2021-08-24 17:14:45 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 4 pulp-infra@redhat.com 2021-08-24 17:14:46 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 5 Tanya Tereshchenko 2021-08-31 21:02:08 UTC
Eric, it turned out it's been in pulp_file repo for some time :), my bad.
https://github.com/pulp/pulp_file/tree/main/pulp_manifest

Comment 6 pulp-infra@redhat.com 2021-08-31 21:07:32 UTC
The Pulp upstream bug status is at CLOSED - NOTABUG. Updating the external tracker on this bug.

Comment 7 Justin Sherrill 2021-09-28 16:11:45 UTC
moving back to pulp, as I think the tool needs to be packaged in pypi

Comment 8 pulp-infra@redhat.com 2021-09-28 16:11:48 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 9 Justin Sherrill 2021-09-28 18:29:32 UTC
actually putting on pulp component

Comment 12 pulp-infra@redhat.com 2021-10-05 20:17:07 UTC
The Pulp upstream bug status is at CLOSED - COMPLETE. Updating the external tracker on this bug.

Comment 13 pulp-infra@redhat.com 2021-10-05 21:08:23 UTC
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.

Comment 14 pulp-infra@redhat.com 2021-10-12 11:07:17 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 15 pulp-infra@redhat.com 2021-10-13 13:15:36 UTC
The Pulp upstream bug status is at CLOSED - COMPLETE. Updating the external tracker on this bug.

Comment 16 Lukas Pramuk 2021-10-14 21:39:38 UTC
VERIFIED.

@Satellite 6.10.0 Snap23
# yum --disableplugin=foreman-protector install python3-pulp_manifest
...

Resolving Dependencies
--> Running transaction check
---> Package python3-pulp_manifest.noarch 0:3.0.0-1.el7pc will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package                   Arch       Version            Repository                                                Size
========================================================================================================================
Installing:
 python3-pulp_manifest     noarch     3.0.0-1.el7pc      Sat6-CI_Satellite_6_10_Composes_Satellite_6_10_RHEL7      14 k

Transaction Summary
========================================================================================================================
Install  1 Package

Total download size: 14 k
Installed size: 25 k
Is this ok [y/d/N]: y
Downloading packages:
python3-pulp_manifest-3.0.0-1.el7pc.noarch.rpm                                                   |  14 kB  00:00:00     
...

Installed:
  python3-pulp_manifest.noarch 0:3.0.0-1.el7pc                                                                          

Complete!

>>> python3-pulp_manifest can be installed successfully, however I would prefer dash instead of underscore in the rpm name to be more consistent with other rpms

Comment 17 Lukas Pramuk 2021-10-14 21:46:05 UTC
FailedQA.

Why do we ship the rpm in Satellite repo? When python2 version of the tool was shipped in Tools repo
Even BZ title asks for Tools repo

I should've failed the BZ instead

Comment 18 Lukas Pramuk 2021-10-14 21:48:02 UTC
And if Satellite repo is OK then it should be in Capsule repo aswell.

Comment 19 Patrick Creech 2021-10-17 03:32:38 UTC
It was added to the incorrect repo.  I have moved it to the tools repo for the next snap

Comment 20 pulp-infra@redhat.com 2021-10-17 04:10:30 UTC
Requesting needsinfo from upstream developer ttereshc because the 'FailedQA' flag is set.

Comment 22 Lukas Pramuk 2021-10-26 09:51:12 UTC
VERIFIED.

@Satellite 6.10.0 Snap24

by the following manual reproducer:

1) Subscribe RHEL7 machine to Satellite Tools (candidate) repo

2) Install newly named rpm  

# yum install python3-pulp_manifest
...

Resolving Dependencies
--> Running transaction check
---> Package python3-pulp_manifest.noarch 0:3.0.0-1.el7pc will be installed
...

Dependencies Resolved

========================================================================================================================
 Package             Arch   Version       Repository                                                               Size
========================================================================================================================
Installing:
 python3-pulp_manifest
                     noarch 3.0.0-1.el7pc Sat6-CI_Satellite_Tools_6_10_Composes_Satellite_Tools_6_10_RHEL7_x86_64  14 k
Installing for dependencies:
 python3             x86_64 3.6.8-18.el7  rhel-7-server-rpms                                                       70 k
 python3-libs        x86_64 3.6.8-18.el7  rhel-7-server-rpms                                                      6.9 M
 python3-pip         noarch 9.0.3-8.el7   rhel-7-server-rpms                                                      1.6 M
 python3-setuptools  noarch 39.2.0-10.el7 rhel-7-server-rpms                                                      629 k

Transaction Summary
========================================================================================================================
Install  1 Package (+4 Dependent packages)
...

Installed:
  python3-pulp_manifest.noarch 0:3.0.0-1.el7pc                                                                          

Dependency Installed:
  python3.x86_64 0:3.6.8-18.el7                python3-libs.x86_64 0:3.6.8-18.el7    python3-pip.noarch 0:9.0.3-8.el7   
  python3-setuptools.noarch 0:39.2.0-10.el7   

Complete!

>>> python3-pulp_manifest can be installed successfully from Tools repo

Comment 25 errata-xmlrpc 2021-11-16 14:13:24 UTC
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 (Moderate: Satellite 6.10 Release), 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/RHSA-2021:4702


Note You need to log in before you can comment on or make changes to this bug.