[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16432127#comment-16432127
 ] 

ASF subversion and git services commented on CLOUDSTACK-10226:
--------------------------------------------------------------

Commit bbc92046655bc528846090eddf1fc38abd2da90a in cloudstack's branch 
refs/heads/master from [~rafaelweingartner]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=bbc9204 ]

[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


> CloudStack is not importing Local storage properly 
> ---------------------------------------------------
>
>                 Key: CLOUDSTACK-10226
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10226
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: XenServer
>            Reporter: Rafael Weingärtner
>            Assignee: Rafael Weingärtner
>            Priority: Major
>             Fix For: 4.12
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to