Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B #3177 Load max_nbds from running module #3188

Merged
merged 4 commits into from
Apr 9, 2019
Merged

B #3177 Load max_nbds from running module #3188

merged 4 commits into from
Apr 9, 2019

Conversation

dann1
Copy link
Contributor

@dann1 dann1 commented Apr 4, 2019

Use modprobe -c to load max number of nbd devices

Closes #3177

@dann1
Copy link
Contributor Author

dann1 commented Apr 4, 2019

I think this could be added for 5.8.1

@dann1 dann1 changed the title Load max_nbds from running module B #3177 Load max_nbds from running module Apr 5, 2019

if !rc.zero?
OpenNebula.log_error("Cannot load max number of nbd devices\n#{e}")
return 0
Copy link
Member

Choose a reason for hiding this comment

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

Fallback to previous constant NBD_MAX

@rsmontero rsmontero merged commit 9d9bb49 into one-5.8 Apr 9, 2019
rsmontero pushed a commit that referenced this pull request Apr 9, 2019
@rsmontero rsmontero deleted the lxd-nbds branch April 9, 2019 08:35
rsmontero pushed a commit that referenced this pull request Aug 5, 2024
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants