[katello-devel] Systems with the same name in the UI
Garik Khachikyan
gkhachik at redhat.com
Thu Sep 13 08:49:23 UTC 2012
On 12/09/12 17:30, Bryan Kearney wrote:
> On 09/12/2012 11:26 AM, Eric Sammons wrote:
>>
>>
>> ----- Original Message -----
>>> On 09/12/2012 11:12 AM, Tom McKay wrote:
>>>>
>>>>
>>>> ----- Original Message -----
>>>>> From: "Bryan Kearney" <bkearney at redhat.com>
>>>>> To: katello-devel at redhat.com
>>>>> Sent: Wednesday, September 12, 2012 11:10:07 AM
>>>>> Subject: Re: [katello-devel] Systems with the same name in the UI
>>>>>
>>>>> As eric mentioned, duplicate names are probably indicitive of an
>>>>> issue.
>>>>> What about leaving them there. If you name all your machines "bob"
>>>>> you
>>>>> are probably doing something wrong.
>>>>>
>>>>> -- bk
>>>>>
>>>>> On 09/12/2012 11:05 AM, Garik Khachikyan wrote:
>>>>>> (about colors): and for the system being re-registered some 100s
>>>>>> of
>>>>>> times?
>>>>>>
>>>>>>
>>>>>> On 12/09/12 17:01, Jason Rist wrote:
>>>>>>> On Wed 12 Sep 2012 08:59:28 AM MDT, Lukas Zapletal wrote:
>>>>>>>> Hey,
>>>>>>>>
>>>>>>>> as I mentioned on the demo, if there are multiple systems with
>>>>>>>> the same
>>>>>>>> name, in the UI list they look exactly the same. We might like
>>>>>>>> to
>>>>>>>> add
>>>>>>>> something to differentiate them.
>>>>>>>>
>>>>>>>> The logical option is to add UUID there, but if you open up
>>>>>>>> system list
>>>>>>>> you'll see there is not plenty of space on each line and UUID
>>>>>>>> is
>>>>>>>> pretty
>>>>>>>> long. That would practically mean to extend each record with
>>>>>>>> one
>>>>>>>> line.
>>>>>>>>
>>>>>>>> Another approach could be to give each system a color square
>>>>>>>> that
>>>>>>>> would
>>>>>>>> be calculated as a hash from it's UUID. This works pretty well,
>>>>>>>> I
>>>>>>>> already used it in one project. If you'd hover over it, it
>>>>>>>> would
>>>>>>>> show a
>>>>>>>> bubble with the UUID. Saves space and you can still visually
>>>>>>>> differentiate among systems with the same name, but this is not
>>>>>>>> good for
>>>>>>>> color-blind people.
>>>>>>>>
>>>>>>>> Any other options? Recommendations?
>>>>>>>>
>>>>>>>> ps - I am going to create a bugzilla for this I guess.
>>>>>>>>
>>>>>>> Aren't most hashes fairly unique up to 6 characters? Can we
>>>>>>> just
>>>>>>> do a
>>>>>>> bit of the hash with a ...? I like the color box idea too.
>>>>>>>
>>>>>>> -J
>>>>>>>
>>>>>>> --
>>>>>>> Jason E. Rist
>>>>>>> Senior Software Engineer
>>>>>>> Systems Management and Cloud Enablement
>>>>>>> Red Hat, Inc.
>>>>>>> +1.919.754.4048
>>>>>>> Freenode: jrist
>>>>>>>
>>>>>>>
>>>>
>>>> How common is it going to be to have same-named systems? I am not
>>>> in favour of making them distinctive at all in the left hand list.
>>>>
>>>> That said, I wouldn't mind seeing a hover-over tipsy in _all_ the
>>>> left lists that brings up the Details for an item. This would let
>>>> me hover over a system and see in the Details the distinguishing
>>>> details. This would be much quicker and more realistic then trying
>>>> to click back and forth between two same-named entries.
>>>>
>>> The main use case is a duplicate case. I blew away a machine, and
>>> re-provisioned with the same hostname.
>>>
>>> -- bk
>>
>> For this use case I would expect the existing name to be "over
>> written" so that we don't have one active and one inactive (I thought
>> this is where sub-mgr --force came into play). Having an active and
>> a inactive would cause confusion.
>
> Force only deletes the current consumer if hte id is on the box. It
> does not cover the "I deleted the id". We are going to need to do dupe
> checking anyways.. since a manual re provision could give us the same
> machine in there twice.
>
> -- bk
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
Bryan,
what is Satellite experience on that?
Garik
More information about the katello-devel
mailing list