Bug 1306411
| Summary: | upload doesn't upload rpm to a custom repo but reports success | ||
|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Irina Gulina <igulina> |
| Component: | Tools | Assignee: | Patrick Creech <pcreech> |
| Status: | CLOSED ERRATA | QA Contact: | Irina Gulina <igulina> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.0.0 | CC: | pcreech |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-01 22:11:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1198817 | ||
|
Description
Irina Gulina
2016-02-10 18:41:27 UTC
On RHEL6 iso 20160719 >> etenforce Permissive >> rhui (repo) => l Custom Repositories protected_repo unprotected_repo >> rhui (repo) => u Select the repositories to upload the package into: - 1 : protected_repo - 2 : unprotected_repo Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1-2 Select the repositories to upload the package into: x 1 : protected_repo x 2 : unprotected_repo Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c Enter the location of the packages to upload. If the location is an RPM, the file will be uploaded. If the location is a directory, all RPMs in that directory will be uploaded: /tmp The following RPMs will be uploaded: rh-amazon-rhui-client-rhs30-2.2.130-1.el6.noarch.rpm Proceed? (y/n) y Uploading /tmp/rh-amazon-rhui-client-rhs30-2.2.130-1.el6.noarch.rpm to server... Associating /tmp/rh-amazon-rhui-client-rhs30-2.2.130-1.el6.noarch.rpm has been queued, task will run at the next available time slot. ------------------------------------------------------------------------------ rhui (repo) => i Select one or more repositories: Custom Repositories - 1 : protected_repo - 2 : unprotected_repo Red Hat Repositories Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1-2 Select one or more repositories: Custom Repositories x 1 : protected_repo x 2 : unprotected_repo Red Hat Repositories Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c Name: protected_repo Type: Custom Relative Path: protected_repo GPG Check: No Package Count: 1 Name: unprotected_repo Type: Custom Relative Path: unprotected_repo GPG Check: No Package Count: 1 >> rhui (repo) => p Choose a repository: 1 - protected_repo 2 - unprotected_repo Enter value (1-2) or 'b' to abort: 1-2 Enter value (1-2) or 'b' to abort: 1 Enter the first few characters (case insensitive) of an RPM to filter the results (blank line for no filter): Only filtered results that contain less than 100 packages will have their contents displayed. Results with more than 100 packages will display a package count only. Packages: rh-amazon-rhui-client-rhs30-2.2.130-1.el6.noarch.rpm >> pulp-admin rpm repo list +----------------------------------------------------------------------+ RPM Repositories +----------------------------------------------------------------------+ Id: unprotected_repo Display Name: unprotected_repo Description: unprotected_repo Content Unit Counts: Rpm: 1 Id: protected_repo Display Name: protected_repo Description: protected_repo Content Unit Counts: Rpm: 1 >> ls -la /var/lib/pulp/published/yum/master/yum_distributor/protected_repo/1469033963.67/r repodata/ rh-amazon-rhui-client-rhs30-2.2.130-1.el6.noarch.rpm Everything is ok on RHEL7 iso 20160719
rhui (repo) => u
Select the repositories to upload the package into:
- 1 : protected_repo
- 2 : unprotected_repo
Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1-2
Select the repositories to upload the package into:
x 1 : protected_repo
x 2 : unprotected_repo
Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c
Enter the location of the packages to upload. If the location is an RPM,
the file will be uploaded. If the location is a directory, all RPMs in that
directory will be uploaded:
/tmp
The following RPMs will be uploaded:
rh-amazon-rhui-client-rhs30-2.2.130-1.el7.noarch.rpm
Proceed? (y/n) y
Uploading /tmp/rh-amazon-rhui-client-rhs30-2.2.130-1.el7.noarch.rpm to server...
Associating /tmp/rh-amazon-rhui-client-rhs30-2.2.130-1.el7.noarch.rpm has been queued, task will run at the next available time slot.
------------------------------------------------------------------------------
rhui (repo) => l
Custom Repositories
protected_repo
unprotected_repo
------------------------------------------------------------------------------
rhui (repo) => i
Select one or more repositories:
Custom Repositories
- 1 : protected_repo
- 2 : unprotected_repo
Red Hat Repositories
Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1-2
Select one or more repositories:
Custom Repositories
x 1 : protected_repo
x 2 : unprotected_repo
Red Hat Repositories
Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c
Name: protected_repo
Type: Custom
Relative Path: protected_repo
GPG Check: No
Package Count: 1
Name: unprotected_repo
Type: Custom
Relative Path: unprotected_repo
GPG Check: No
Package Count: 1
pulp-admin rpm repo list
+----------------------------------------------------------------------+
RPM Repositories
+----------------------------------------------------------------------+
Id: unprotected_repo
Display Name: unprotected_repo
Description: unprotected_repo
Content Unit Counts:
Rpm: 1
Id: protected_repo
Display Name: protected_repo
Description: protected_repo
Content Unit Counts:
Rpm: 1
ls -la /var/lib/pulp/published/yum/master/yum_distributor/unprotected_repo/1469034838.55/rh-amazon-rhui-client-rhs30-2.2.130-1.el7.noarch.rpm
lrwxrwxrwx. 1 apache apache 134 Jul 20 13:13 /var/lib/pulp/published/yum/master/yum_distributor/unprotected_repo/1469034838.55/rh-amazon-rhui-client-rhs30-2.2.130-1.el7.noarch.rpm -> /var/lib/pulp/content/units/rpm/b3/046639b471c16fb435ef25740ca97f33acd9f6121d0bac16c000624602d8fb/03323dcb-3f57-4adb-a3f0-1e60df39b38a
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-2017:0367 |