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 1328697

Summary: Fails to register new machine to satellite server after restoring from katello backup
Product: Red Hat Satellite Reporter: Pradeep Kumar Surisetty <psuriset>
Component: Subscription ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WORKSFORME QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: bbuckingham, dcaplan, dkaylor, psuriset, xdmoon
Target Milestone: UnspecifiedKeywords: PrioBumpPM, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-11 23:41:50 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: 1115190    

Description Pradeep Kumar Surisetty 2016-04-20 05:47:25 UTC
Description of problem:


1) Install satellite server
2) Take backup 
           (katelo-backup /home/backup)
3) While registering capsule, install katello-ca-consumer-latest.noarch.rpm and then register using (subscription-manager register) works fine


[root@vmcapsule02 ~]# subscription-manager register
Registering to: satserver.com:443/rhsm
Username: admin
Password: 
The system has been registered with ID: 7f6d542d-fbc1-4b6c-a5df-bb665bbe7ef6 


4) Restore satellite using backup 
          (katellote-restore /home/backup)
5) install katello-ca-consumer-latest.noarch.rpm and then register machine using subscription-manager register fails. 


ERROR:  could not read block 6 in file "base/17944/21882": read only 0 of 8192 bytes

This is postgresql bug with 9.0  





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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

Fails to register

Expected results:

Register to satellite server

Additional info:

Comment 2 Brad Buckingham 2016-06-10 15:52:54 UTC
Can we get the foreman-debug for the scenario?

Comment 4 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 5 Bryan Kearney 2016-07-26 15:29:41 UTC
Moving 6.2 bugs out to sat-backlog.