Bug 1635580

Summary: UnicodeWarning while trying to run katello-package-upload
Product: Red Hat Satellite Reporter: Prajeesh <pmadathi>
Component: katello-agentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: khowell
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-09 16:43:16 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:

Description Prajeesh 2018-10-03 10:10:50 UTC
Description of problem:

UnicodeWarning while trying to run katello-package-upload.

Error:

/usr/lib64/python2.7/site-packages/rhsm/profile.py:68: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  self.vendor == other.vendor:


How reproducible:

1. Get the file  "/var/lib/rpm/Packages" from the customer and restored in my 

test system.

2. Ran the command "katello-package-upload" it throwing mentioned waring 

message.

Additional Info:

"katello-package-upload --force" work without any warning message.

Comment 1 Brad Buckingham 2018-10-05 15:37:34 UTC
*** Bug 1635579 has been marked as a duplicate of this bug. ***

Comment 3 Kevin Howell 2019-01-09 16:43:16 UTC
This behavior comes from the subscription-manager or python-rhsm package, and thus is a dupe of either bug 1569909 (or bug 1639086 on RHEL7).

*** This bug has been marked as a duplicate of bug 1569909 ***