Bug 1730883 - Host can't register after rebuilding
Summary: Host can't register after rebuilding
Keywords:
Status: CLOSED DUPLICATE of bug 1717006
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Perry Gagne
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-17 19:28 UTC by Perry Gagne
Modified: 2019-07-22 21:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-22 21:03:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Perry Gagne 2019-07-17 19:28:13 UTC
Description of problem:
I provisioned a host via satellite. When I rebuilt it, the host was not able to subscribe

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


How reproducible: Always 


Steps to Reproduce:
1. Create a Host via PXE provisioning. Wait for it to finish.
2. Rebuild it ("Build" Button on host details page). 
3. Wait for the re-install to finish. 

Actual results: 
The host is not able to register during the reinstall. When I tried to subscribe manually i get this error:

[root@lucy-medlen ~]# subscription-manager register --org="Default_Organization" --activationkey="ak-rhel-7"
HTTP error (422 - Unknown): Please unregister or remove hosts which match this host before registering: lucy-medlen.lab.eng.rdu2.redhat.com


Expected results:
Host is able to register during reinstall. 

Additional info:
Foreman debug:
https://drive.google.com/file/d/15s5e4H-pNeKyeXEzW2MP6ow2kOrHLRmR/view?usp=sharing

Comment 3 Mike McCune 2019-07-17 20:04:45 UTC
IMO, this is a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1717006

Comment 4 Brad Buckingham 2019-07-22 21:03:16 UTC

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


Note You need to log in before you can comment on or make changes to this bug.