Skip to content

Included CEPH_USER attr from datastore to be used by ONE Ceph remotes#33

Closed
alvarosimon wants to merge 3 commits intoOpenNebula:masterfrom
alvarosimon:master
Closed

Included CEPH_USER attr from datastore to be used by ONE Ceph remotes#33
alvarosimon wants to merge 3 commits intoOpenNebula:masterfrom
alvarosimon:master

Conversation

@alvarosimon
Copy link
Copy Markdown
Contributor

Modified 2 lines and rados command to take into account the POOL_NAME and CEPH_USER from the datastore template.

At this moment all Ceph remotes are using Ceph admin privileges. This could be a sec. issue, CEPH_USER should be a mandatory param into Ceph datastores and it should be used by Ceph remotes by default.

… and CEPH_USER from the datastore template.

At this moment all Ceph remotes are using Ceph admin privileges. This could be a sec. issue, CEPH_USER should be a mandatory param into Ceph datastores and it should be used by Ceph remotes by default.
@jmelis
Copy link
Copy Markdown
Contributor

jmelis commented Aug 11, 2014

We would need this to default to the old behaviour if CEPH_USER is not specified. Before doing any work, let me see if making it backwards compatible that would guarantee the inclusion into 4.8.1, I need to discuss it with the team. Thanks a lot!!

@alvarosimon
Copy link
Copy Markdown
Contributor Author

@jmelis Thanks a lot!, we have also included a pull request for the documentation OpenNebula/docs#12

@alvarosimon
Copy link
Copy Markdown
Contributor Author

@jmelis we have changed the code to be backwards compatible. Now if the CEPH_USER att is set into ceph datatore the $RBD command is changed accordingly. This way the patch will be backwards compatible. ../tm/ceph/* scripts were also modified. This will improve the security if CEPH_USER and cephx sec are set.

@rsmontero
Copy link
Copy Markdown
Member

This is now in master. THANKS for the commits!!!!!!!!!

@rsmontero rsmontero closed this Oct 10, 2014
rsmontero pushed a commit that referenced this pull request Jun 22, 2020
rsmontero pushed a commit that referenced this pull request Oct 6, 2020
rsmontero pushed a commit that referenced this pull request Apr 13, 2021
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.

3 participants