rp- opened a new pull request #5661:
URL: https://github.com/apache/cloudstack/pull/5661


   With diskful set to true, linstor will fail if it cannot create local
   storage for the resource. Which in turn will make it impossible to have a
   setup with just compute nodes on cloudstack.
   
   ### Description
   
   This is a small bugfix that will enable to have cloudstack-agents without 
storage to work with Linstor volume plugin.
   Before the plugin always tried to create a diskful assignment on nodes on 
connect, but if the node doesn't have
   linstor storage, this would fail and node automatically fallback to a 
diskless resource.
   This was intentionally done to improve performance, as having a local disk 
makes write operations faster,
   but there are other ways to configure diskful nodes within linstor(auto 
diskful, manual toggle disk).
   <!--- Describe your changes in DETAIL - And how has behaviour functionally 
changed. -->
   
   <!-- For new features, provide link to FS, dev ML discussion etc. -->
   <!-- In case of bug fix, the expected and actual behaviours, steps to 
reproduce. -->
   
   <!-- When "Fixes: #<id>" is specified, the issue/PR will automatically be 
closed when this PR gets merged -->
   <!-- For addressing multiple issues/PRs, use multiple "Fixes: #<id>" -->
   <!-- Fixes: # -->
   
   <!--- 
*********************************************************************************
 -->
   <!--- NOTE: AUTOMATATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE 
DOCUMENTATION. -->
   <!--- PLEASE PUT AN 'X' in only **ONE** box -->
   <!--- 
*********************************************************************************
 -->
   
   ### 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)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Bug Severity
   
   - [x] BLOCKER (for compute node setups, with linstor)
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   ### How Has This Been Tested?
   
   Local cluster setup, but the change is only within the linstor plugin, so 
should not have any impact on other components.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to