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

ASF GitHub Bot commented on CLOUDSTACK-10226:
---------------------------------------------

rafaelweingartner commented on issue #2401: [CLOUDSTACK-10226] CloudStack is 
not importing Local storage properly
URL: https://github.com/apache/cloudstack/pull/2401#issuecomment-377205506
 
 
   @DaanHoogland I checked the error, and I still do not understand how it 
could be related to the code of this PR. Here I am only changing how local 
storages are detected and loaded to the system. Whereas, the error is related 
to redundant VRs in VPCs.
   
   Anyways, I am trying to run the tests locally with simulator, but I am 
getting this error:
   ```
   ERROR: do_vpc_test (integration.smoke.test_vpc_redundant.TestVPCRedundancy)
   ----------------------------------------------------------------------
   TypeError: do_vpc_test() takes exactly 2 arguments (1 given)
   -------------------- >> begin captured stdout << ---------------------
   === TestName: do_vpc_test | Status : EXCEPTION ===
   ```
   I am not understanding the cause of that error. This is the command I am 
using to execute the test:
   `nosetests --with-marvin --marvin-config=/root/marvinCloudStackConfig.cfg 
--hypervisor=simulator 
/root/cloudstack/test/integration/smoke/test_vpc_redundant.py`
   
   Am I missing something else that is required to run tests?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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