Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qa/tasks/mgr/dashboard/test_health: update mdsmap schema #34138

Merged
merged 2 commits into from Mar 25, 2020

Conversation

bk201
Copy link
Contributor

@bk201 bk201 commented Mar 24, 2020

Fixes: https://tracker.ceph.com/issues/44725
Signed-off-by: Kiefer Chang kiefer.chang@suse.com

Example output of mdsmap:

{
  "session_autoclose":300,
  "balancer":"",
  "up":{
    "mds_0":5801
  },
  "last_failure_osd_epoch":0,
  "in":[
    0
  ],
  "last_failure":0,
  "max_file_size":1099511627776,
  "explicitly_allowed_features":0,
  "damaged":[

  ],
  "tableserver":0,
  "metadata_pool":10,
  "failed":[

  ],
  "epoch":26,
  "flags":18,
  "max_mds":1,
  "compat":{
    "compat":{

    },
    "ro_compat":{

    },
    "incompat":{
      "feature_10":"snaprealm v2",
      "feature_8":"no anchor table",
      "feature_9":"file layout v2",
      "feature_2":"client writeable ranges",
      "feature_3":"default file layouts on dirs",
      "feature_1":"base v0.20",
      "feature_6":"dirfrag is stored in omap",
      "feature_4":"dir inode in separate object",
      "feature_5":"mds uses versioned encoding"
    }
  },
  "min_compat_client":"0 (unknown)",
  "data_pools":[
    11
  ],
  "info":{
    "gid_5801":{
      "export_targets":[

      ],
      "name":"a",
      "incarnation":26,
      "state_seq":2,
      "state":"up:creating",
      "gid":5801,
      "features":4540138292836696063,
      "rank":0,
      "flags":0,
      "join_fscid":-1,
      "addrs":{
        "addrvec":[
          {
            "nonce":1244288684,
            "type":"v2",
            "addr":"192.168.2.106:6834"
          },
          {
            "nonce":1244288684,
            "type":"v1",
            "addr":"192.168.2.106:6835"
          }
        ]
      },
      "addr":"192.168.2.106:6835/1244288684"
    }
  },
  "fs_name":"cephfs",
  "created":"2020-03-24T07:38:04.180041+0000",
  "standby_count_wanted":0,
  "enabled":true,
  "modified":"2020-03-24T07:38:10.973690+0000",
  "session_timeout":60,
  "stopped":[

  ],
  "ever_allowed_features":0,
  "root":0
}

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

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

@bk201 bk201 requested a review from a team as a code owner March 24, 2020 10:18
@bk201 bk201 requested a review from callithea March 24, 2020 10:22
@callithea
Copy link
Member

jenkins test dashboard backend

@callithea
Copy link
Member

jenkins test make check

Copy link
Member

@callithea callithea left a comment

Choose a reason for hiding this comment

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

lgtm

@callithea
Copy link
Member

callithea commented Mar 24, 2020

Test failure: test_minimal_health (tasks.mgr.dashboard.test_health.HealthTest)

@bk201
Copy link
Contributor Author

bk201 commented Mar 25, 2020

* [pkg build](https://shaman.ceph.com/builds/ceph/wip-laura-testing-34138-34033/)

* [QA run](http://pulpito.ceph.com/laura-2020-03-24_14:46:48-rados:dashboard-wip-laura-testing-34138-34033-distro-basic-smithi/) [9 / 9 failed]

Test failure: test_minimal_health (tasks.mgr.dashboard.test_health.HealthTest)

It's another attribute, will fix together (The attribute only appears if there are standby mds daemon)

!= "In `input['fs_map']['standbys'][0]`: unknown keys: set([u'export_targets', u'addr', u'incarnation', u'state', u'state_seq', u'name', u'epoch', u'gid', u'flags', u'rank', u'join_fscid', u'addrs', u'features'])"

@bk201
Copy link
Contributor Author

bk201 commented Mar 25, 2020

jenkins test dashboard backend

@bk201
Copy link
Contributor Author

bk201 commented Mar 25, 2020

jenkins test dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants