[katello-devel] Merged Repo Remodel to master

Bryan Kearney bkearney at redhat.com
Tue Nov 8 22:36:10 UTC 2011


On 11/08/2011 09:48 AM, Partha Aji wrote:
>
> Just a heads up, that I merged the contents of repo-remodel branch to master. This modifies the orchestration of the repos from Katello. Katello will now store some information about the repo in its database before calling pulp. So for example during Katello's pulp repo create / repo clone operations, we'd store the repo information in KT database. This information will help us in a lot of ways including faster retrieval of basic info needed for many pages, help with blacklisting repos, help with search, permission checks etc. The Repository AR model will now lazily load from pulp if one needs information like Packages belonging to pulp and so on.
> A note and possibly an issue with this mapping which we should plan address at some point is the connectivity to the Candlepin 'Content' idea. We do not map Repository to Content yet. That part of the orchestration is left as it was before. This purely a wrapper over pulp repo.
>
> One annoyance with this merge is this will require you to run the clean-all on your database :/, since it changes the mappings across products and environments. I initially thought of creating a migrate script to alter the tables, but then noticed that one would need to reimport the manifest and recreate the repos in the database anyway, for the data to be in Pulp and Katello's database. So run the clean all. For those of you upgrading from the RPM, katello-reset-db might not be enough at this point since it does not reset everything. Will look into that in a bit. Please let me know/file bugs if you run into issues.
>
>
>
> Partha
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
Does this resolve ther performance issues on the sync page?

-- bk




More information about the katello-devel mailing list