Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a66c2f35
authored
8 years ago
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ceph: add a secretkey check
parent
99c65048
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ceph.py
+2
-0
No files found.
ceph.py
View file @
a66c2f35
...
...
@@ -176,6 +176,8 @@ def find_secret(user):
def
create_secret
(
user
):
conf
=
CephConfig
(
user
=
user
)
secretkey
=
get_secret_key
(
conf
)
if
secretkey
is
None
:
raise
Exception
(
"Secret file not found."
)
xml
=
generate_secret_xml
(
user
)
conn
=
Connection
.
get
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment