Skip to content

mgr/dashboard: empty list of fs clients with no mds #52076

Merged
nizamial09 merged 1 commit intoceph:mainfrom
rhcs-dashboard:cephfs-no-mds-clients
Jun 16, 2023
Merged

mgr/dashboard: empty list of fs clients with no mds #52076
nizamial09 merged 1 commit intoceph:mainfrom
rhcs-dashboard:cephfs-no-mds-clients

Conversation

@pereman2
Copy link
Contributor

If no mds are configured on the filesystem retrieving clients will raise an exception, hence, let's just return an empty list in this case.

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • 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 cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@pereman2 pereman2 requested a review from a team as a code owner June 15, 2023 09:40
@pereman2 pereman2 requested review from avanthakkar and nizamial09 and removed request for a team June 15, 2023 09:40
Copy link
Member

@nizamial09 nizamial09 left a comment

Choose a reason for hiding this comment

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

@pereman2 could you create tracker and attach it in the commit?

@nizamial09 nizamial09 changed the title mgr/dashboard: empty list of fs clients with no mds mgr/dashboard: empty list of fs clients with no mds Jun 15, 2023
@nizamial09
Copy link
Member

jenkins test dashboard

@nizamial09
Copy link
Member

jenkins test dashboard cephadm

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
Fixes: https://tracker.ceph.com/issues/61708
@pereman2 pereman2 force-pushed the cephfs-no-mds-clients branch from d7528c4 to f24f5f3 Compare June 16, 2023 07:53
@nizamial09
Copy link
Member

jenkins test dashboard

@nizamial09 nizamial09 merged commit 1f8c183 into ceph:main Jun 16, 2023
@nizamial09 nizamial09 deleted the cephfs-no-mds-clients branch June 16, 2023 14:48
@dparmar18
Copy link
Contributor

this will affect the negative tests where we expect non-success response codes. In one such case #52258 where the FS is failed and the ceph tell mds.0 session ls must fail since there is no mds up to respond to the request but since it returned an empty list the status code returned is 200.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants