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

octopus: mgr/dashboard: add popover list of Stand-by Managers & Metadata Servers (MDS) in landing page #34205

Closed
wants to merge 202 commits into from

Conversation

avanthakkar
Copy link
Contributor

backport tracker: https://tracker.ceph.com/issues/44697


backport of #33529
parent tracker: https://tracker.ceph.com/issues/42979

this backport was staged using ceph-backport.sh version 15.1.1.389
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh

Dmole and others added 30 commits February 10, 2020 10:47
Break Upstart and sysvinit commands out from the systemd section

Signed-off-by: Tim <elatllat@gmail.com>
Openssl evp functions are a high level interface to openssl crypto
functions and can use external crypto engines, hardware accelerator
and AES instruction set. It is more flexible than AES_encrypt.
There is up to 6x faster than the AES_cbc_encrypt implementation
on armv8 server with armv8 cryptographic extensions.

Signed-off-by: Hang Li <lihang48@hisilicon.com>
Signed-off-by: luo rixin <luorixin@huawei.com>
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
always prefer using the local one, for better readability and
testability.

Signed-off-by: Kefu Chai <kchai@redhat.com>
always prefer using the local one, for better readability and
testability.

Signed-off-by: Kefu Chai <kchai@redhat.com>
always prefer using the local one, for better readability and
testability.

Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
It's better to explicitly specify that BlockGuard is right
exclusive to avoid "+1/-1" adjust for the user.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
Signed-off-by: Lu, Yuan <yuan.y.lu@intel.com>
Signed-off-by: Ponnuvel Palaniyappan <pponnuvel@gmail.com>
Correcting STS documentation to remove s3curl.pl command for getsessiontoken and replacing it with user policy

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
Use io.BytesIO and six.ensure_str for py3 compatibility

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Use io.BytesIO and six.ensure_str for py3 compatibility
instead of cStringIO.StringIO

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
- use string.ascii_uppercase instead string.uppercase
- use six.ensure_str for bytes when required
- use six.ensure_binary if needed
- get rid of dict.itervalues in favor of dict.values
- get rid of cStringIO.StringIO in favor io.BytesIO

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
tchaikov and others added 6 commits March 24, 2020 12:46
test/msgr/perf_msgr_client.cc: fix misleading total op num

Reviewed-by: Kefu Chai <kchai@redhat.com>
doc: Fix some link errors about ceph-deploy

Reviewed-by: Kefu Chai <kchai@redhat.com>
…eyring

cephadm: init config and keyring with None

Tested-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Fixes: https://tracker.ceph.com/issues/42979

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit cdfeb1d)
@callithea
Copy link
Member

jenkins test dashboard backend

@callithea callithea changed the title octopus: mgr/dashboard: add popover list of Stand-by Managers & Metadata Servers (MDS) in landing page mgr/dashboard: add popover list of Stand-by Managers & Metadata Servers (MDS) in landing page Mar 31, 2020
@callithea
Copy link
Member

jenkins test dashboard

@callithea callithea changed the title mgr/dashboard: add popover list of Stand-by Managers & Metadata Servers (MDS) in landing page octopus: mgr/dashboard: add popover list of Stand-by Managers & Metadata Servers (MDS) in landing page Mar 31, 2020
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.

The backend API tests failed with:

2020-03-31 08:51:49,546.546 INFO:__main__:test_minimal_health (tasks.mgr.dashboard.test_health.HealthTest) ... FAIL
2020-03-31 08:51:49,547.547 INFO:__main__:Running ['./bin/ceph', 'log', 'Ended test tasks.mgr.dashboard.test_health.HealthTest.test_minimal_health']
2020-03-31 08:51:50,638.638 INFO:__main__:Stopped test: test_minimal_health (tasks.mgr.dashboard.test_health.HealthTest) in 3.061744s
2020-03-31 08:51:50,641.641 INFO:__main__:
2020-03-31 08:51:50,641.641 INFO:__main__:======================================================================
2020-03-31 08:51:50,641.641 INFO:__main__:FAIL: test_minimal_health (tasks.mgr.dashboard.test_health.HealthTest)
2020-03-31 08:51:50,642.642 INFO:__main__:----------------------------------------------------------------------
2020-03-31 08:51:50,642.642 INFO:__main__:Traceback (most recent call last):
2020-03-31 08:51:50,643.643 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-dashboard-pr-backend/qa/tasks/mgr/dashboard/test_health.py", line 88, in test_minimal_health
2020-03-31 08:51:50,643.643 INFO:__main__:    self.assertSchema(data, schema)
2020-03-31 08:51:50,643.643 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-dashboard-pr-backend/qa/tasks/mgr/dashboard/helper.py", line 369, in assertSchema
2020-03-31 08:51:50,643.643 INFO:__main__:    self.assertEqual(data, str(e))
2020-03-31 08:51:50,643.643 INFO:__main__:AssertionError: {u'df': {u'stats': {u'total_used_raw_bytes': 8606244864, u'total_bytes': 433791664128, u'total_avail_bytes': 425185419264}}, u'osd_map': {u'osds': [{u'up': 1, u'in': 1}, {u'up': 1, u'in': 1}, {u'up': 1, u'in': 1}, {u'up': 1, u'in': 1}]}, u'rgw': 1, u'fs_map': {u'standbys': [], u'filesystems': [{u'mdsmap': {u'session_autoclose': 300, u'balancer': u'', u'modified': u'2020-03-31T08:51:33.156014+0000', u'last_failure_osd_epoch': 0, u'in': [0], u'last_failure': 0, u'max_file_size': 1099511627776, u'explicitly_allowed_features': 0, u'damaged': [],

Please take a look at the Jenkins job for more log output.

Please also see https://tracker.ceph.com/issues/44725 and PR #34138 (we already had this issue in master).

@avanthakkar avanthakkar requested review from a team as code owners April 2, 2020 10:32
@avanthakkar
Copy link
Contributor Author

jenkins test dashboard backend

@avanthakkar avanthakkar closed this Apr 2, 2020
@avanthakkar avanthakkar deleted the wip-44697-octopus branch April 2, 2020 10:43
@avanthakkar avanthakkar removed request for a team April 2, 2020 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet