Bug 1086814
| Summary: | VMWARE: datastore selection is incorrect if token is being used | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Scott Lewis <sclewis> |
| Component: | openstack-nova | Assignee: | Matthew Booth <mbooth> |
| Status: | CLOSED ERRATA | QA Contact: | Jaroslav Henner <jhenner> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.0 (RHEL 7) | CC: | breeler, mbooth, ndipanov, sclewis, sgordon, tdunnon, vpopovic, yeylon |
| Target Milestone: | async | Keywords: | ZStream |
| Target Release: | 4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-nova-2013.2.3-9.el6ost | Doc Type: | Bug Fix |
| Doc Text: |
Previously, Compute did not take account of vSphere returning multiple result sets when querying datastores.
As a consequence, if a cluster contained more than [maximum objects] datastores, as defined in the vmware section of the Compute configuration, only those returned in the first result set would be considered when selecting a datastore for a new instance. As [maximum objects] defaults to 100, it is unlikely that most users would be affected by this change.
This has been fixed so that Compute now takes account of all result sets returned by vSphere when querying datastores for a cluster.
Now, Compute will always select the datastore with the greatest available space, regardless of the number of datastores in a cluster.
|
Story Points: | --- |
| Clone Of: | 1080622 | Environment: | |
| Last Closed: | 2014-08-21 00:40:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1080622 | ||
| Bug Blocks: | 1055536 | ||
|
Description
Scott Lewis
2014-04-11 14:55:02 UTC
I am not sure I did correct test: I have set the `maximum_objects=1` in nova.conf and I was then changing the datastore_regex= to select the datastore. I have two datastores and this way, I was able to select the one the VM should be booted on. (In reply to Jaroslav Henner from comment #5) > I am not sure I did correct test: > I have set the `maximum_objects=1` in nova.conf and I was then changing the > datastore_regex= to select the datastore. I have two datastores and this > way, I was able to select the one the VM should be booted on. yaniv, can you help out here? (In reply to Jaroslav Henner from comment #5) > I am not sure I did correct test: > I have set the `maximum_objects=1` in nova.conf and I was then changing the > datastore_regex= to select the datastore. I have two datastores and this > way, I was able to select the one the VM should be booted on. I've looked at the code, and this looks like a valid test to me. 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. http://rhn.redhat.com/errata/RHSA-2014-1084.html |