Project

General

Profile

Actions

Bug #19063

closed

Regression: Package name incorrect after package upload

Added by Klaas D about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Repositories
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

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

package name error.png View package name error.png 14.2 KB lgtoclnt-8.2.0.5-1.x86_64.rpm-8.2.0.5-1.x86_64 Klaas D, 03/29/2017 04:11 AM

Related issues 2 (0 open2 closed)

Related to Katello - Bug #17489: Inconsistent Package Name when Uploading content into Repository via Web UI and Hammer CLIClosedEric Helms11/25/2016Actions
Related to Katello - Bug #20252: Regresion bug : Upload packages appear with wrong names adding version after rpm nameFeedback07/10/2017Actions
Actions

Also available in: Atom PDF