Skip to content

rbd-target-api: fix kernel release parser - #72

Closed
ricardoasmarques wants to merge 1 commit into
ceph:masterfrom
ricardoasmarques:wip-fix-kernel-release-parse
Closed

ricardoasmarques wants to merge 1 commit into
ceph:masterfrom
ricardoasmarques:wip-fix-kernel-release-parse

Conversation

@ricardoasmarques

Copy link
Copy Markdown

This PR will fix the kernel release parser to support kernel release descriptions that contains dashes, preventing the following error:

...
File "/usr/lib/python2.7/site-packages/gwcli-2.5-py2.7.egg/EGG-INFO/scripts/rbd-target-api", line 1498, in pre_reqs_errors
    
ValueError: too many values to unpack

This error is reproducible on openSUSE Leap 42.2:

$ uname -r
4.4.74-18.20-default

Signed-off-by: Ricardo Marques rimarques@suse.com

Signed-off-by: Ricardo Marques <rimarques@suse.com>
@mikechristie

Copy link
Copy Markdown
Contributor

Thanks for working on this.

We are discussing possibly removing the kernel version checks and replacing with something more dynamic here:

#53

@ricardoasmarques

Copy link
Copy Markdown
Author

No longer an issue

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