Deploy ganesha daemons with vstart#31527
Conversation
88f70e9 to
d2a1f09
Compare
d2a1f09 to
3b32b85
Compare
ajarr
left a comment
There was a problem hiding this comment.
Maybe in a later PR it'd be good to indicate to the user the nfs-ganesha packages that might be missing.
src/vstart.sh
Outdated
| EOF | ||
| prun $CEPH_BIN/rados lspools | ||
|
|
||
| prun ganesha-rados-grace -p cephfs.a.meta -n ganesha add $name |
There was a problem hiding this comment.
If someone tries to deploy ganesha servers using vstart without deploying MDSes this will fail. Can we check early on whether vstart deploys ganesha servers along with MDSes, and error out if it isn't so?
Or maybe we should just create an another pool here 'nfs-ganesha' and use that?
There was a problem hiding this comment.
I have created new pool for ganesha.
3b32b85 to
b6732c6
Compare
|
jenkins retest this please |
b6732c6 to
e79b975
Compare
|
Disabled root squashing. |
jtlayton
left a comment
There was a problem hiding this comment.
Looks good. Nice work @varshar16 !
|
Thank you for the reviews Jeff and Ramana. |
Where are you testing this PR? I don't find these packages available on CentOS 8 or Ubuntu 16.04. |
I tested them on Fedora 30 and package version is 2.7.6-2. For CentOS 8 the packages are available here and Ubuntu 16.04 check here. On Ubuntu I only found nfs-ganesha package. |
Okay, so we need the upstream repo. Can you add instructions for doing that to vstart in a comment so others know what to setup/install. |
I have updated the initial PR comment. Let me know if it is fine. |
I mean please add instructions to setup the dev repositories https://download.nfs-ganesha.org/2.7/2.7.6/ in order to install the packages. This could be a comment in vstart.sh |
To create Ganesha daemons with vstart following packages needs to be installed: nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rados-grace Version used for these packages 2.7.6-2 on fedora 30 system. This is an experimental option, it just deploys specified number of ganesha daemons. Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
Signed-off-by: Varsha Rao <varao@redhat.com>
e79b975 to
b303e48
Compare
I have added them. |
* refs/pull/31527/head: vstart: Add note for nfs-ganesha dev packages stop.sh: Add option to kill Ganesha daemons vstart: Add option to deploy ganesha daemons Reviewed-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Patrick Donnelly <pdonnell@redhat.com> Reviewed-by: Ramana Raja <rraja@redhat.com>
To create Ganesha daemons with vstart following packages needs to be installed:
nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rados-grace
This patch is tested on fedora 30 system with packages version 2.7.6-2.
Show available Jenkins commands
jenkins retest this pleasejenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard backendjenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox