Bug 994569
| Summary: | REST - storage domains are created by default with format V1 | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Alissa <abonas> |
| Component: | ovirt-engine-core | Assignee: | Alissa <abonas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Aharon Canan <acanan> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3 | CC: | acathrow, amureini, iheim, scohen, yeylon |
| Target Milestone: | --- | Flags: | scohen:
needinfo+
|
| Target Release: | 3.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | storage | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
please document in REST api documentation, that when creating a storage domain, user can also pass storage_format as one of the properties.
It's documented now in result of domain creation call (what is returned to user), but not in usage example.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-08-25 12:03:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alissa
2013-08-07 14:02:49 UTC
The description of the current situation is correct. IMHO, the suggested solution is also correct. However, note that this is a behavior change (a right one, IMHO, but a change non the less). Sean - please approve we're OK with this change. (In reply to Allon Mureinik from comment #1) > The description of the current situation is correct. > IMHO, the suggested solution is also correct. > > However, note that this is a behavior change (a right one, IMHO, but a > change non the less). > Sean - please approve we're OK with this change. Yes, we should have same default behavior for REST and webadmin UI. (In reply to Sean Cohen from comment #2) > (In reply to Allon Mureinik from comment #1) > > The description of the current situation is correct. > > IMHO, the suggested solution is also correct. > > > > However, note that this is a behavior change (a right one, IMHO, but a > > change non the less). > > Sean - please approve we're OK with this change. > > Yes, we should have same default behavior for REST and webadmin UI. how does this prevail on not breaking the API for someone that wrote a script? (specifically here, i'm not sure its a commonly used flow other than in internal testing, but the question is more general) (and actually, there are places we don't have same behavior, assuming the UI is helping the user with some defaults, while in API the user has to be specific on what they want as they are more advanced capabilities as well). This approach proposed by this bug was rejected by Michael (the REST maintainer): http://gerrit.ovirt.org/#/c/17782/ I propose closing with WONTFIX. Sean? Itamar? I propose fixing, in a future api version (say, in 4.0, or when the API supports versioning). but closed deferred can probably be used until then Based on comment 5, closing deferred until we start supporting API with versioning. This was actually fixed for DATA domain's in 3.5. |