#1216 Unable to restore entitlement registration
Closed: Fixed None Opened 12 years ago by edewata.

It should be possible to restore an old entitlement registration by re-registering using the old UUID. In that case the old enrollment certificates should become available again.

Currently this doesn't work. When registering entitlement with an old UUID, a new UUID is always returned and the old certificates are not available.

% ipa entitle-register admin --ipaentitlementid=18280c6c-87d6-470e-ba6c-21a4be50843e
Password:
Enter Password again to verify:
---------------------------------
Registered to entitlement server.
---------------------------------
  UUID: 40c40fc0-87d8-4c41-9225-2a024d5471db



% ipa entitle-get
----------------------------
Number of entries returned 0
----------------------------

There is no way to do this currently in python-rhsm. I filed RFE https://bugzilla.redhat.com/show_bug.cgi?id=717014

In the meantime I'll have it raise an exception when you try to pass in a UUID. Removing it would cause a major API change.

Metadata Update from @edewata:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.1 - 2011/07

7 years ago

Login to comment on this ticket.

Metadata