[katello-devel] Different params for unsubscription in RHSM and Katello CLI

Lukas Zapletal lzap at redhat.com
Wed Jan 18 07:46:03 UTC 2012


It's because of Candlepin's API I guess.

You are providing a serial when unsubscribing. This gives you better
flexibility of choosing which one should go.

If possible leave the option there.

LZ

On Tue, Jan 17, 2012 at 11:12:38PM +0100, Martin Bacovsky wrote:
> Hi,
> 
> I found out that params needed to unsubscribe system in Katello CLI
> and RHSM differs:
> 
> CLI: system unsubscribe --org ACME_Corporation --name
> mbacovsk-test1.redhat.com --pool=ff80808134cde4dc0134d1ac03290027
> (the --pool means in fact entitlement, it will be fixed)
> RHSM: subscription-manager unsubscribe --serial=<serial>
> 
> CLI (as well as Candlepin API) uses entitlementId while RHSM uses
> serial. I was curious why is the difference, shouldn't it be
> unified?
> 
> Regards,
> 
> Martin
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel

-- 
Later,

 Lukas Zapletal | E32E400A
 RHN Satellite Engineering
 Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list