Actions
Bug #19063
closedRegression: Package name incorrect after package upload
Description
Hi,
I think this was introduced in katello 3.2 but I only noticed it recently. Uploading a package (through hammer) will display an incorrect name. However it seems the packages work fine inside the repository.
This example uses a custom rpm build by emc (backup tool) and signed by myself for our environment.
I upload the package like this:
# hammer repository upload-content --product "Product" --name "Repository" --organization ORG --path ./lgtoclnt-8.2.0.5-1.x86_64.rpm Successfully uploaded file 'lgtoclnt-8.2.0.5-1.x86_64.rpm'.
it then shows in GUI like this:
lgtoclnt-8.2.0.5-1.x86_64.rpm-8.2.0.5-1.x86_64 (see attached screenshot)
the package details:
# hammer package info --id 8c28a831-73d3-467d-9013-39bef5241d11 ID: 161109 Name: lgtoclnt-8.2.0.5-1.x86_64.rpm Version: 8.2.0.5 Architecture: x86_64 Epoch: 0 Release: 1 Author: Filename: lgtoclnt-8.2.0.5-1.x86_64.rpm Build Host: bluejay.lss.emc.com Vendor: EMC Software. License: commercial Relative Path: lgtoclnt-8.2.0.5-1.x86_64.rpm Description: EMC NetWorker protects the critical business data of more than 10,000 enterprise customers worldwide by simplifying, centralizing, and automating backup and recovery operations across Unix, Windows, Linux and NetWare platforms in DAS, NAS, and SAN storage environments. Built upon an open, highly scalable client-server architecture, NetWorker reduces management overhead by providing "lights out" protection of storage assets in the largest corporate data centers and the smallest satellite branch offices.
Workaround:
I can rename the file and upload the package like this:
hammer repository upload-content --product "Product" --name "Repository" --organization ORG --path ./lgtoclnt
and it will work as expected :)
Greetings
Klaas
Files
Actions