[katello-devel] Katello (Pulp) Distribution vs. Foreman OS
Dmitri Dolguikh
dmitri at redhat.com
Thu Jan 31 14:57:43 UTC 2013
This is to figure out how the two entities relate to each other, and
what sort of orchestration we'd need on the Katello side.
Distribution: defines family, variant, version, url, and arch attributes
(plus a few more). All of these are supported by Pulp.
Operating System: keeps track of hosts, images, puppet classes, and
config-templates among other things. Operating System is related to
several Katello Distributions (differentiated by architecture).
Distribution will have to be extended to persist Operating System id
locally.
Create/Delete operation on Distribution would require corresponding
changes in Operating Systems:
- on Distribution creation:
- create Architecture in Foreman (only if doesn't already exist)
- create Media in Foreman (only if there is no existing Media with
the same path)
- create the OS in Foreman
- create Distribution in Pulp
- persist Foreman OS id in Katello
On Distribution Delete:
- delete the OS in Foreman (I assume Foreman cleans up
Architecture/Media as required)
- delete Distribution in Pulp
- remove OS id stored in Katello
Thoughts?
-d
More information about the katello-devel
mailing list