[katello-devel] activation keys referencing non-existent pools

Tom McKay thomasmckay at redhat.com
Fri Apr 27 19:11:23 UTC 2012


I don't think disabling is an option. It's not there any more so there's nothing to reference.

On a related note, it bothers me that we have our own activation keys at all that lie completely outside of candlepin. Shouldn't we be letting candlepin handle them and piggy-backing any additional info?


----- Original Message -----
> From: "Og Maciel" <omaciel at redhat.com>
> To: "Tom McKay" <thomasmckay at redhat.com>
> Cc: katello-devel at redhat.com
> Sent: Friday, April 27, 2012 3:07:34 PM
> Subject: Re: [katello-devel] activation keys referencing non-existent pools
> 
> ----- Original Message -----
> > From: "Tom McKay" <thomasmckay at redhat.com>
> > My thinking for a fix is that in models/activation_key I would
> > check
> > with candlepin that all of the pools referenced are still valid. If
> > any are no longer valid, remove the reference and save the record.
> 
> Maybe disable instead of deleting? This way the end user is not
> surprised when the next day that pool is gone...
> --
> Og Maciel
> 
> Senior QA Engineer
> Red Hat, Inc.
> +1.919.754.4782
> Freenode: OgMaciel
> 




More information about the katello-devel mailing list