[katello-devel] Renaming of environments: summary

Dmitri Dolguikh dmitri at redhat.com
Mon Aug 13 15:00:35 UTC 2012


On 13/08/12 03:57 PM, Justin Sherrill wrote:
> On 08/13/2012 10:55 AM, Dmitri Dolguikh wrote:
>> On 13/08/12 03:52 PM, Justin Sherrill wrote:
>>> On 08/13/2012 10:45 AM, Dmitri Dolguikh wrote:
>>>> This is a summary of the thread started at 
>>>> https://www.redhat.com/archives/katello-devel/2012-August/msg00102.html. 
>>>>
>>>> Please see https://bugzilla.redhat.com/show_bug.cgi?id=795928 for 
>>>> details of the issue with environment renaming.
>>>>
>>>> Quite a few folks suggested using of an immutable label instead of 
>>>> environment name, but at the end the idea was defeated by a comment 
>>>> from Cliff Perry about users from locales using non-ascii-based 
>>>> character sets.
>>>> Another issue that was discovered was the migration of already 
>>>> established environments from current version of Katello to the 
>>>> version containing the fix. My current thinking is to use 
>>>> environment name value as uuid for "legacy" environments. This 
>>>> would significantly simply upgrade, as there will be no need to 
>>>> regenerate entitlement certificates, etc.
>>>>
>>>> Katello:
>>>>  - introduce environment uuids (update db schema, model, etc)
>>>>  - update candlepin (this will include updates to schema, and 
>>>> resource controller)
>>>>  - update katello/katello cli to use uuids for environment 
>>>> identification
>>>>  - update repository-related functionality to use environment uuids
>>>>  - figure out/create migration from 1.0 to current
>>>>
>>>> Bryan, everything minus the migration bit is probably a couple days 
>>>> worth of work. Should I create a new story, or I can start on this 
>>>> right away?
>>>>
>>>> -d
>>>>
>>>> _______________________________________________
>>>> katello-devel mailing list
>>>> katello-devel at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/katello-devel
>>> Any idea what the redhat.repo file will look like with numerical 
>>> ids?  Or yum repolist ?
>> Same as now, but with environment uuids instead on environment names.
>> -d
>
Apologies, I didn't understand the question. The latter.
-d
> So
>
> [123456]
> name=123456
> baseurl=http://hostname/pulp/ACME_Corporation/123456/repo/
>
> or
>
> [123456]
> name=Red Hat Enterprise Linux Server 6 RPMS
> baseurl=http://hostname/pulp/ACME_Corporation/123456/repo/
>
>
> ?
>
>
>>>
>>> -Justin
>>>
>>> _______________________________________________
>>> katello-devel mailing list
>>> katello-devel at redhat.com
>>> https://www.redhat.com/mailman/listinfo/katello-devel
>>
>>
>> _______________________________________________
>> katello-devel mailing list
>> katello-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/katello-devel
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel





More information about the katello-devel mailing list