When adding LUN's auto populate the Description with the last 4
characters of the LUN ID
Wait a sec, I think we have our signals crossed here - are we talking about LUN DISKS or LUNs which make up a STORAGE DOMAIN?
(In reply to Guil Barros from comment #0)
> When adding LUN's auto populate the Description with the last 4
> characters of the LUN ID
4 characters sounds like an arbitrary number - it may very well fit a specific customer, but for a generic solution, let's have some configuration value that determines this (including the option to take the entire LUN ID, or nothing at all).
Tal, please add the patch info to the tracker.
comment #8 sounds reasonable, are we sticking with the last 4 digits idea?
I've written all the info in the doc text:
"This RFE gives the option when creating a new LUN disk via webadmin to populate the disk description by default with a part of the LUN id.
By default the 4 last characters of the LUN id will be the disk description but this value is configurable by the config value "PopulateDirectLUNDiskDescriptionWithLUNId" (also via engine config manager)
If this config value contains -1 the entire LUN id will be copied to the description, if the value contains 0 the description will not be affected and any positive number indicates the number of characters from the description to populate the disk description with"
btw in our vnx-emc^2 environment all Lun id's end with 'e311', which results to all disks having the same description 'e311'
That's exactly why you should configure the value to allow more digits to be auto populated
yes Tal, I did, thank you, it works well, the problem is that I don't understand why the default behavior is 'last 4 digits', last 4 digits are not unique to every environment.
the default configuration ought to be generic
What do you mean that the default configuration should be generic? How can it be generic if it has to be predefined?
And in our environment for instance the last 4 digits are different in each LUN for instance, we start with 4 as the default and the user has the the option to have as many digits as he want or the full LUN id
generic is to have the whole Lun-id by default, or not to have any Lun-id populating the description and let the user decide what kind of configuration he wants
LUN ids can be long, we decided to let the user have 4 digits by default, the documentation specifies how to change it to each of the options you suggested or for other amount of digits.
Verifed on ovirt18.104.22.168
Andrew, the doc text seems correct, might be worth to note that the configured value should be set to 0 to included no part of the id in the description and -1 to include the full id
Thanks for that, Tal. Updated as suggested.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.