Skip to content

linstor-volume-plugin: Only create diskless assignments on nodes#5661

Merged
nvazquez merged 1 commit into
apache:mainfrom
LINBIT:linstor-volume-plugin-fix-compute-nodes
Nov 4, 2021
Merged

linstor-volume-plugin: Only create diskless assignments on nodes#5661
nvazquez merged 1 commit into
apache:mainfrom
LINBIT:linstor-volume-plugin-fix-compute-nodes

Conversation

@rp-

@rp- rp- commented Nov 3, 2021

Copy link
Copy Markdown
Contributor

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.
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).

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • 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

  • 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.

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.
@rp-

rp- commented Nov 3, 2021

Copy link
Copy Markdown
Contributor Author

@rhtyd It would be great if this could be included in the next RC

@yadvr yadvr added this to the 4.16.0.0 milestone Nov 3, 2021
@yadvr

yadvr commented Nov 3, 2021

Copy link
Copy Markdown
Member

Changes are strictly in the Linstor plugin which we don't have any means to test. We can merge this based on author/maintainers testing and smoketests from Travis and packaging pass. No need to run actual smoketests.
@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@yadvr

yadvr commented Nov 3, 2021

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1671

@nvazquez nvazquez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, packaging and Travis pass
@rp- please confirm if manual tests pass and we will be able to merge

@weizhouapache weizhouapache left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not have enough knowledge to judge if this works.
but I am 100% sure this does not impact other cloudstack components ;-D

@apache apache deleted a comment from yadvr Nov 3, 2021
@nvazquez
nvazquez merged commit fe1ddfb into apache:main Nov 4, 2021
@rp-
rp- deleted the linstor-volume-plugin-fix-compute-nodes branch February 5, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants