cloudstack/plugins
Rafael Weingärtner bbc9204665
[CLOUDSTACK-10226] CloudStack is not importing Local storage properly (#2401)
* [CLOUDSTACK-10226] CloudStack is not importing Local storage properly

CloudStack is importing as Local storage any XenServer SR that is of type LVM or EXT. This causes a problem when one wants to use both Direct attach storage and local storage. Moreover, CloudStack was not importing all of the local storage that a host has available when local storage is enabled. It was only importing the First SR it sees.

To fix the first problem we started ignoring SRs that have the flag shared=true when discovering local storages. SRs configured to be shared are used as direct attached storage, and therefore should not be imported again as local ones.
To fix the second problem, we started loading all Local storage and importing them accordingly to ACS.

* Cleanups and formatting
2018-04-10 08:49:07 -03:00
..
acl Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
affinity-group-processors Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
alert-handlers Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
api Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
ca/root-ca Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
database Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
dedicated-resources Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
deployment-planners Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
event-bus Merge branch '4.11' 2018-03-12 16:15:46 +05:30
file-systems/netapp Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
host-allocators/random Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
hypervisors [CLOUDSTACK-10226] CloudStack is not importing Local storage properly (#2401) 2018-04-10 08:49:07 -03:00
integrations Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
metrics Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
network-elements Merge branch '4.11' 2018-03-15 16:46:50 +05:30
outofbandmanagement-drivers Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
storage Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
storage-allocators/random Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00
user-authenticators Merge branch '4.11' 2018-04-10 00:31:38 +05:30
pom.xml Updating pom.xml version numbers for release 4.11.1.0-SNAPSHOT 2018-02-26 16:57:48 +01:00