[GitHub] rafaelweingartner opened a new pull request #2639: [CLOUDSTACK-10276] listVolumes not working when storage UUID is not a UUID

2018-05-18 Thread GitBox
rafaelweingartner opened a new pull request #2639: [CLOUDSTACK-10276] 
listVolumes not working when storage UUID is not a UUID
URL: https://github.com/apache/cloudstack/pull/2639
 
 
   ## Description
   
   When configuring a pre-setup primary storage we can enter the name-label of 
the storage that is going to be used by ACS and is already set up in the host. 
The problem is that we can use any String of characters there, and this String 
does not need to be a UUID. When listing volumes from a primary storage that 
has such conditions, the list will return all of the volumes in the cloud 
because the “API framework” will ignore that value as it is not a UUID type.
   
   
   
   
   
   ## Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   
   
   
   
   
   
   ## How Has This Been Tested?
   Locally
   
   
   
   
   
   ## Checklist:
   
   
   - [X] I have read the 
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md)
 document.
   - [X] My code follows the code style of this project.
   - [ ] My change requires a change to the documentation.
   - [ ] I have updated the documentation accordingly.
   Testing
   - [ ] I have added tests to cover my changes.
   - [X] All relevant new and existing integration tests have passed.
   - [ ] A full integration testsuite with all test that can run on my 
environment has passed.


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


With regards,
Apache Git Services


[GitHub] rafaelweingartner opened a new pull request #2639: [CLOUDSTACK-10276] listVolumes not working when storage UUID is not a UUID

2018-05-11 Thread GitBox
rafaelweingartner opened a new pull request #2639: [CLOUDSTACK-10276] 
listVolumes not working when storage UUID is not a UUID
URL: https://github.com/apache/cloudstack/pull/2639
 
 
   ## Description
   
   When configuring a pre-setup primary storage we can enter the name-label of 
the storage that is going to be used by ACS and is already set up in the host. 
The problem is that we can use any String of characters there, and this String 
does not need to be a UUID. When listing volumes from a primary storage that 
has such conditions, the list will return all of the volumes in the cloud 
because the “API framework” will ignore that value as it is not a UUID type.
   
   
   
   
   
   ## Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   
   
   
   
   
   
   ## How Has This Been Tested?
   Locally
   
   
   
   
   
   ## Checklist:
   
   
   - [X] I have read the 
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md)
 document.
   - [X] My code follows the code style of this project.
   - [ ] My change requires a change to the documentation.
   - [ ] I have updated the documentation accordingly.
   Testing
   - [ ] I have added tests to cover my changes.
   - [X] All relevant new and existing integration tests have passed.
   - [ ] A full integration testsuite with all test that can run on my 
environment has passed.


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


With regards,
Apache Git Services