Commit 8036e1cf by Czémán Arnold

ceph: fix sercret error message

parent 8907de3f
......@@ -180,7 +180,7 @@ def create_secret(user):
conf = CephConfig(user=user)
secretkey = get_secret_key(conf)
if secretkey is None:
raise Exception("Secret file not found.")
raise Exception("Secret file not for user: '%s'." % user)
xml = generate_secret_xml(user)
conn = Connection.get()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment