[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Spacewalk-devel] Bootstrap image feature



On Wed, Aug 08, 2012 at 11:29:27AM +0200, Uwe Gansert wrote:
> On 02.08.2012 11:15, Jan Pazdziora wrote:
> 
> >>* inventing a new architecture "bootstrap-linux" that automatically
> >>gets the new entitlement during registration.
> >
> >Could you please explain some more why new architecture is needed?
> >Won't we actually need to know what architecture (the physical one)
> >the machine is?
> 
> I wanted to clean up the patch today and noticed, that we still need
> the architecture.
> The architecture is directly connected to the new
> bootstrap-entitlement in the database via
> rhnServerServerGroupArchCompat table:
> 
> 
> insert into rhnServerServerGroupArchCompat ( server_arch_id,
> server_group_type)
>     values (lookup_server_arch('bootstrap-linux'),
>             lookup_sg_type('bootstrap_entitled'));
> 
> insert into rhnServerServerGroupArchCompat ( server_arch_id,
> server_group_type)
>     values (lookup_server_arch('bootstrap-linux'),
>             lookup_sg_type('provisioning_entitled'));
> 
> if a machine registers with that arch, it'll get the
> bootstrap-entitlement automatically.
> Please correct me if I'm wrong or misunderstood something but I'm
> afraid, we still need the arch.

Well, the question still is, why does it have to exist at all (and be
connected)? We should be able to figure out the real architecture on
the running (bootstrapped) machine just fine.

And if we use the activation key method for adding the entitlement
instead of the bootstrap-linux, it shouldn't be needed.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]