Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1900517

Summary: Satellite clone failed due to type error (old-style classes or derived from BaseException, not str)
Product: Red Hat Satellite Reporter: Devendra Singh <desingh>
Component: Satellite CloneAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Vladimír Sedmík <vsedmik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: egolov, mmccune
Target Milestone: 6.9.0Keywords: Regression, Triaged, UpgradeBlocker
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-02 22:21:49 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 Devendra Singh 2020-11-23 09:22:50 UTC
Description of problem: Satellite clone failed due to type error (old-style classes or derived from BaseException, not str)


Version-Release number of selected component (if applicable):
6.8

How reproducible:
always

Steps to Reproduce:

1. Use upstream satellite-clone master branch.
2. Update all the required configuration file to trigger the satellite-clone-playbook.yml job for restore.
3. while checking the satellite version in metadata file gets below error

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: exceptions must be old-style classes or derived from BaseException, not str

Actual results:
Satellite version check failed due to a type error.

Expected results:
Satellite version check should be successful.

Additional info:

Comment 3 Mike McCune 2020-12-02 22:21:49 UTC
this is because satellite-clone does not support 6.8 yet, see this BZ and PR:

https://bugzilla.redhat.com/show_bug.cgi?id=1896460

https://github.com/RedHatSatellite/satellite-clone/pull/379

going to close this out as a dupe of the above BZ as the PR above includes the support for the new puppet 6 version.

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

Comment 4 Evgeni Golov 2020-12-03 08:45:08 UTC
(In reply to Mike McCune from comment #3)
> this is because satellite-clone does not support 6.8 yet, see this BZ and PR:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1896460
> 

actually, it's because error handling in that function is broken -- I commented such in the PR ;)