From: joconcepts Date: Tue, 5 Jan 2016 13:37:13 +0000 (+0100) Subject: fix rescuing while activating X-Git-Tag: v10.0.4~19^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4f4dc880fd0969cbc5aefbc511d921cbe3c56df8;p=ceph.git fix rescuing while activating --- diff --git a/src/ceph-disk b/src/ceph-disk index 78e383e05f60..b74052a1d82f 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -2024,7 +2024,7 @@ def auth_key( ], ) except subprocess.CalledProcessError as err: - if err.returncode == errno.EACCES: + if err.returncode == errno.EINVAL: # try old cap scheme command_check_call( [