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

cinder/rbd: flatten rbd volumes upon rbd map error 22 (EINVAL) #174

Merged
merged 2 commits into from Aug 24, 2018

Conversation

Projects
None yet
2 participants
@bergwolf
Member

bergwolf commented Aug 16, 2018

when we get status 22 (EINVAL), it might be because the volume has
too many (>22) parent layers. Let's flatten it and try again.

bergwolf added some commits Aug 15, 2018

cinder/rbd: return more info on errors
Signed-off-by: Peng Tao <bergwolf@gmail.com>
cinder/rbd: flatten volume upon EINVAL rbd map error
when we get status 22 (EINVAL), it might be because the volume has
too many (>22) parent layers. Let's flatten it and try again.

Signed-off-by: Peng Tao <bergwolf@gmail.com>

@bergwolf bergwolf requested a review from resouer Aug 16, 2018

@resouer

/lgtm

@resouer resouer merged commit fee6bbd into hyperhq:master Aug 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment