Skip to content

Deploy ganesha daemons with vstart - #31527

Merged
batrick merged 3 commits into
ceph:masterfrom
varshar16:wip-vstart-ganesha-daemons
Dec 18, 2019
Merged

batrick merged 3 commits into
ceph:masterfrom
varshar16:wip-vstart-ganesha-daemons

Conversation

@varshar16

@varshar16 varshar16 commented Nov 11, 2019 •

Copy link
Copy Markdown
Contributor

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 please
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard backend
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

Comment thread src/vstart.sh Resolved
Comment thread src/vstart.sh Resolved
@varshar16
varshar16 force-pushed the wip-vstart-ganesha-daemons branch from 88f70e9 to d2a1f09 Compare November 11, 2019 15:31
@varshar16
varshar16 requested a review from jtlayton November 11, 2019 15:35
@varshar16
varshar16 force-pushed the wip-vstart-ganesha-daemons branch from d2a1f09 to 3b32b85 Compare November 12, 2019 11:01

@ajarr ajarr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe in a later PR it'd be good to indicate to the user the nfs-ganesha packages that might be missing.

Comment thread src/vstart.sh Resolved
Comment thread src/vstart.sh Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have created new pool for ganesha.

@varshar16
varshar16 force-pushed the wip-vstart-ganesha-daemons branch from 3b32b85 to b6732c6 Compare November 13, 2019 07:29
@varshar16
varshar16 requested a review from ajarr November 13, 2019 07:30
@varshar16

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@varshar16
varshar16 force-pushed the wip-vstart-ganesha-daemons branch from b6732c6 to e79b975 Compare November 15, 2019 10:05
@varshar16

Copy link
Copy Markdown
Contributor Author

Disabled root squashing.

@jtlayton
jtlayton self-requested a review November 15, 2019 11:18

@jtlayton jtlayton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Nice work @varshar16 !

@varshar16

Copy link
Copy Markdown
Contributor Author

Thank you for the reviews Jeff and Ramana.

@batrick

batrick commented Nov 25, 2019

Copy link
Copy Markdown
Member

nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rados-grace

Where are you testing this PR? I don't find these packages available on CentOS 8 or Ubuntu 16.04.

@varshar16

Copy link
Copy Markdown
Contributor Author

nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rados-grace

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.

@batrick

batrick commented Dec 5, 2019

Copy link
Copy Markdown
Member

nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rados-grace

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.

@varshar16

Copy link
Copy Markdown
Contributor Author

nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rados-grace

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.

@batrick

batrick commented Dec 12, 2019

Copy link
Copy Markdown
Member

nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rados-grace

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 <[email protected]>
@varshar16
varshar16 force-pushed the wip-vstart-ganesha-daemons branch from e79b975 to b303e48 Compare December 17, 2019 11:40
@varshar16

varshar16 commented Dec 17, 2019 •

Copy link
Copy Markdown
Contributor Author

nfs-ganesha nfs-ganesha-ceph nfs-ganesha-rados-grace

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

I have added them.

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work!

batrick added a commit that referenced this pull request Dec 18, 2019
* 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 <[email protected]>
Reviewed-by: Patrick Donnelly <[email protected]>
Reviewed-by: Ramana Raja <[email protected]>
@batrick
batrick merged commit b303e48 into ceph:master Dec 18, 2019
@varshar16
varshar16 deleted the wip-vstart-ganesha-daemons branch January 14, 2020 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System needs-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants