Description of problem: (16,17,33) atodorov: bpeck: how can I search for a particular disk model in Beaker (16,17,51) atodorov: bpeck: I need a system with WD20EADS disk (16,18,59) bpeck: atodorov: I don't think we have that info right now (16,19,32) atodorov: bpeck: ok, opening a bug for that. how hard is it to add this kind of info ? (16,20,38) bpeck: atodorov: if its just a key/value thing then not too hard. But we want to model this stuff better in the future. I imagine the next question might be I want that disk off of a qlogic 2310 controller. (16,20,57) bpeck: which is not easily modeled in key/value pairs (16,21,21) atodorov: bpeck: right, or in my recent tests I need any disk connected to a particular controller
*** Bug 591978 has been marked as a duplicate of this bug. ***
Ping, any update?
suggesting we update the inventory scripts to record the following key_value pairs: Key Value Controller,Disk 1077:2300,WD20EADS Controller,Disk 103c:3230,WD20EADS Then a user can request via the following: <key_value name="Controller,Disk" op="like" value="%,WD20EADS" or <key_value name="Controller,Disk" op="like" value="103c:3230,%" Currently we don't support the "like" operator but that would be easy to add. The downside here is it doesn't help us find systems with a particular disk size.
(In reply to comment #3) > suggesting we update the inventory scripts to record the following key_value > pairs: > > Key Value > Controller,Disk 1077:2300,WD20EADS > Controller,Disk 103c:3230,WD20EADS > > > Then a user can request via the following: > > <key_value name="Controller,Disk" op="like" value="%,WD20EADS" > > or > > <key_value name="Controller,Disk" op="like" value="103c:3230,%" > > Currently we don't support the "like" operator but that would be easy to add. > We do though support the wildcard '*' with the 'is' operator. > The downside here is it doesn't help us find systems with a particular disk > size.
(In reply to comment #4) > (In reply to comment #3) > > suggesting we update the inventory scripts to record the following key_value > > pairs: > > > > Key Value > > Controller,Disk 1077:2300,WD20EADS > > Controller,Disk 103c:3230,WD20EADS > > > > > > Then a user can request via the following: > > > > <key_value name="Controller,Disk" op="like" value="%,WD20EADS" > > > > or > > > > <key_value name="Controller,Disk" op="like" value="103c:3230,%" > > > > Currently we don't support the "like" operator but that would be easy to add. > > > > We do though support the wildcard '*' with the 'is' operator. > Sorry, first day at work for 5 days. Of course the wildcard only exists for the search bar... > > The downside here is it doesn't help us find systems with a particular disk > > size.
Collection of disk model and geometry information was added to the inventory task in bug 766919. If any further details are needed (such as controller details), please open a new feature request. *** This bug has been marked as a duplicate of bug 766919 ***