Bug 845297
Summary: | Missing search queries for Quota usability | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Doron Fediuck <dfediuck> |
Component: | ovirt-engine | Assignee: | Laszlo Hornyak <lhornyak> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 3.1.0 | CC: | dfediuck, dyasny, gchaplik, iheim, lpeer, lsvaty, mkenneth, Rhev-m-bugs, sgordon, sgrinber, yeylon, ykaul |
Target Milestone: | --- | Keywords: | FutureFeature, TechPreview |
Target Release: | 3.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | sla | ||
Fixed In Version: | si14 | Doc Type: | Technology Preview |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Doron Fediuck
2012-08-02 15:08:45 UTC
It is possible to solve, but the search syntax may be misleading for the users for two reasons: - the == operator is not used in search - the quotes are not used for strings What about an sql-like "is null" syntax? e.g. - VM : quota is null - VM : quota is not null - VM : quota = foo - VM : quota != bar (In reply to comment #1) > It is possible to solve, but the search syntax may be misleading for the > users for two reasons: > - the == operator is not used in search > - the quotes are not used for strings > > What about an sql-like "is null" syntax? > > e.g. > > - VM : quota is null > - VM : quota is not null > - VM : quota = foo > - VM : quota != bar Very well. Can we use undefined instead of null? Ok, the undefined sounds better for me, null is very technical. So the search queries would be - VM : quota is undefined - VM : quota is not undefined We agreed in the following with Doron: - the 'is null' syntax will not be supported - the 'undefined' and 'null' strings will be handled as an exception by the search query backend, it will be translated into 'is null'/'is not null' so the search syntax can be like this: - 'VM : quota = undefined' or alternatively 'VM : quota = null' - 'VM : quota != undefined' or 'VM : quota != null' - 'VM : quota != myquota' to search for non-null values the good old way update for the above: - 'undefined' will not be supported, only 'null' is http://gerrit.ovirt.org/6951 http://gerrit.ovirt.org/6952 http://gerrit.ovirt.org/6953 http://gerrit.ovirt.org/6954 http://gerrit.ovirt.org/6955 Reminder to QE: this is TechPreview. Another pile of patches, some replacing one from the previous, some just splitting the patches into two. Basically the whole thing does the same. remote: http://gerrit.ovirt.org/7035 remote: http://gerrit.ovirt.org/7036 remote: http://gerrit.ovirt.org/7037 remote: http://gerrit.ovirt.org/7038 remote: http://gerrit.ovirt.org/7039 remote: http://gerrit.ovirt.org/7040 remote: http://gerrit.ovirt.org/7041 remote: http://gerrit.ovirt.org/7042 remote: http://gerrit.ovirt.org/7043 remote: http://gerrit.ovirt.org/7044 merged upstream merged upstream (9e486c23dcb27b1329b77e0b69f533a15e81b029..380fe0992629bd13e4eb6fa770f2be8f994eccf8) |