]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agomgr/dashboard: Downstream branding
Volker Theile [Fri, 16 Jul 2021 12:50:58 +0000 (14:50 +0200)]
mgr/dashboard: Downstream branding

Adds the downstream branding to the ceph dashboard.

- New sign in page
- New about dialog
- Changed color scheme
- Replaced logos

Update on 04.09.2020 - Fixed bz:1175169, bz:1175161
Update on 25.09.2020 - Fixed bz:1175120

Signed-off-by: Sebastian Krah <skrah@suse.com>
(cherry picked from commit 7563f3305a12f155c5d171e93434f1372b977ae9)

Conflicts:
  src/pybind/mgr/dashboard/frontend/src/app/shared/services/doc.service.ts
  src/pybind/mgr/dashboard/frontend/src/app/shared/services/doc.service.spec.ts
  src/pybind/mgr/dashboard/frontend/src/styles/vendor.overrides.scss
  src/pybind/mgr/dashboard/frontend/src/styles/vendor.variables.scss

3 years agoqa/tasks/cep_salt: Fix timeserver path
Georgios Kyratsas [Wed, 21 Oct 2020 08:38:40 +0000 (10:38 +0200)]
qa/tasks/cep_salt: Fix timeserver path

Change timeserver path in ceph-salt as per changes on https://github.com/ceph/ceph-salt/pull/439

Signed-off-by: Georgios Kyratsas <gkyratsas@suse.com>
3 years agoqa/ceph_salt: Fix ceph image path config
Nathan Cutler [Sat, 12 Sep 2020 19:52:32 +0000 (21:52 +0200)]
qa/ceph_salt: Fix ceph image path config

The ceph image path config node was renamed in ceph-salt 15.2.11.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
3 years agoqa/tasks/ceph_salt: gather /var/log/ceph/cephadm.out
Kyr Shatskyy [Tue, 13 Jul 2021 14:06:38 +0000 (16:06 +0200)]
qa/tasks/ceph_salt: gather /var/log/ceph/cephadm.out

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoqa/tasks/salt_manager: allow gatherlogs for files in subdir
Kyr Shatskyy [Tue, 13 Jul 2021 14:05:51 +0000 (16:05 +0200)]
qa/tasks/salt_manager: allow gatherlogs for files in subdir

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoqa/ceph_salt: add opensuse and sle 15.3 distro
Kyr Shatskyy [Fri, 30 Jul 2021 14:40:15 +0000 (16:40 +0200)]
qa/ceph_salt: add opensuse and sle 15.3 distro

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agomgr/zabbix: adapt zabbix_sender default path
Patrick Seidensal [Wed, 21 Jul 2021 10:13:58 +0000 (12:13 +0200)]
mgr/zabbix: adapt zabbix_sender default path

Adapt zabbix_sender default path in Ceph to work for SUSE built container
images, where the `zabbix-agent` package installs `zabbix_sender` to
`/usr/sbin/zabbix_sender`.

Fixes: https://bugzilla.suse.com/show_bug.cgi?id=1186348
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
3 years agoqa/tasks/ceph_salt.py: Fix ceph-salt registries
Georgios Kyratsas [Thu, 2 Jul 2020 15:13:30 +0000 (17:13 +0200)]
qa/tasks/ceph_salt.py: Fix ceph-salt registries

Fixing the path for adding the registry on ceph-salt that was introduced
by MR #262
(https://github.com/ceph/ceph-salt/commit/407853ad5367d79c4378e19e29b31d13f938f306)

Signed-off-by: Georgios Kyratsas <gkyratsas@suse.com>
3 years agoqa/tasks/ceph_salt: Add Containers as parameters
Georgios Kyratsas [Thu, 11 Jun 2020 14:18:56 +0000 (16:18 +0200)]
qa/tasks/ceph_salt: Add Containers as parameters

Add registries and containers via yaml files in order to be able to have
different ones for each case.

Signed-off-by: Georgios Kyratsas <gkyratsas@suse.com>
3 years agoqa/tasks/salt: fix module path for py3
Kyr Shatskyy [Thu, 18 Jun 2020 10:44:14 +0000 (12:44 +0200)]
qa/tasks/salt: fix module path for py3

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
3 years agoqa/tasks/salt_manager: Change Salt master role
Georgios Kyratsas [Tue, 9 Jun 2020 10:50:51 +0000 (12:50 +0200)]
qa/tasks/salt_manager: Change Salt master role

Adding as optional  parameter in the constructor the teuthology role that will be
used as the salt master.

Signed-off-by: Georgios Kyratsas <gkyratsas@suse.com>
3 years agoqa: Cleaning deepsea from ses7
Georgios Kyratsas [Tue, 2 Jun 2020 16:09:12 +0000 (18:09 +0200)]
qa: Cleaning deepsea from ses7

Removing all deepsea related files from ses7.

Signed-off-by: Georgios Kyratsas <gkyratsas@suse.com>
3 years agotasks/util: add exception on remote_exec
Georgios Kyratsas [Mon, 27 Apr 2020 11:58:54 +0000 (13:58 +0200)]
tasks/util: add exception on remote_exec

Adding currently unhandled NoValidConnectionsError exception

Signed-off-by: Georgios Kyratsas <gkyratsas@suse.com>
3 years agoqa: Ceph-salt task + suite
Georgios Kyratsas [Mon, 3 Feb 2020 12:03:14 +0000 (13:03 +0100)]
qa: Ceph-salt task + suite

Adding Ceph-salt task and a basic suite under qa/suites/ceph_salt.
Also changed suse suite to point to ceph-salt instead of deepsea.

Signed-off-by: Georgios Kyratsas <gkyratsas@suse.com>
3 years agoRevert "qa/suites/suse: delete link to tier1"
Georgios Kyratsas [Mon, 8 Jun 2020 15:12:42 +0000 (17:12 +0200)]
Revert "qa/suites/suse: delete link to tier1"

This reverts commit f2237253cd4d2801388d10910b9d1ddd005c9c14.

3 years agoqa/suites/suse: delete link to tier1
Nathan Cutler [Tue, 19 May 2020 12:18:26 +0000 (14:18 +0200)]
qa/suites/suse: delete link to tier1

Signed-off-by: Nathan Cutler <ncutler@suse.com>
3 years agoqa/caasp: switch to sle_15.2
Bruno Léon [Mon, 6 Apr 2020 07:40:48 +0000 (09:40 +0200)]
qa/caasp: switch to sle_15.2

3 years agoqa/tasks: add caasp deployement support
Bruno Léon [Mon, 6 Jan 2020 12:59:55 +0000 (13:59 +0100)]
qa/tasks: add caasp deployement support

3 years agoqa/deepsea/distros: Switch to sle_15.2 and opensuse_15.2
Thomas Bechtold [Fri, 27 Mar 2020 12:59:00 +0000 (13:59 +0100)]
qa/deepsea/distros: Switch to sle_15.2 and opensuse_15.2

SES7 will be based on SLE 15 SP2 so we want to test on that
version. Also when testing on openSUSE Leap, use the corresponding
version which is 15.2

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
3 years agoqa/deepsea/boilerplate: drop "ceph_cm: salt"
Nathan Cutler [Thu, 19 Dec 2019 13:00:35 +0000 (14:00 +0100)]
qa/deepsea/boilerplate: drop "ceph_cm: salt"

This was deprecated long ago in favor of "ceph_cm_ansible: disable".

Signed-off-by: Nathan Cutler <ncutler@suse.com>
3 years agoqa/tasks/scripts: forward-port dump_drive_groups_yml.sh
Nathan Cutler [Fri, 22 Nov 2019 17:50:15 +0000 (18:50 +0100)]
qa/tasks/scripts: forward-port dump_drive_groups_yml.sh

Signed-off-by: Nathan Cutler <ncutler@suse.com>
3 years agoqa/deepsea: forward-port basic (tier{0,1}) tests from SES6
Nathan Cutler [Tue, 22 Oct 2019 12:35:11 +0000 (14:35 +0200)]
qa/deepsea: forward-port basic (tier{0,1}) tests from SES6

Fixes: https://jira.suse.com/browse/SES-1049
Signed-off-by: Nathan Cutler <ncutler@suse.com>
3 years agoceph.spec.in: reinstate minimal_debugging_information bcond
Nathan Cutler [Thu, 23 May 2019 15:34:08 +0000 (17:34 +0200)]
ceph.spec.in: reinstate minimal_debugging_information bcond

This bcond was in our downstream builds up until SES5, but somehow
got dropped in SES6.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
3 years agorpm: drop Provides: libradosstriper1
Nathan Cutler [Tue, 4 Dec 2018 16:02:37 +0000 (17:02 +0100)]
rpm: drop Provides: libradosstriper1

The "Obsoletes: libradosstriper1" should be enough for the SES5->6
dist-upgrade to complete.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
3 years agobuild/ops: rpm: make ceph-common provide/obsolete libradosstriper1
Nathan Cutler [Wed, 28 Nov 2018 14:15:06 +0000 (15:15 +0100)]
build/ops: rpm: make ceph-common provide/obsolete libradosstriper1

The purpose of this commit is to address package conflict issues
with the luminous->nautilus upgrade.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
3 years agoceph.spec.in: instrument RPM_LD_FLAGS to see its value
Nathan Cutler [Wed, 10 Oct 2018 10:35:04 +0000 (12:35 +0200)]
ceph.spec.in: instrument RPM_LD_FLAGS to see its value

Signed-off-by: Nathan Cutler <ncutler@suse.com>
3 years agomake-dist: respect Factory rules downstream
Nathan Cutler [Mon, 29 Jan 2018 12:38:08 +0000 (13:38 +0100)]
make-dist: respect Factory rules downstream

In Tumbleweed and SLE, it is not allowed to use <B_CI> and <B_CNT>. The
Release field must be populated exclusively by the OBS.

Use "opensuse*" to support Tumbleweed and newer versions of Leap.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
Conflicts:
make-dist

3 years agoceph.spec.in: remove hard versioned dependency of ceph-test on ceph-common
Nathan Cutler [Fri, 6 Apr 2018 09:50:22 +0000 (11:50 +0200)]
ceph.spec.in: remove hard versioned dependency of ceph-test on ceph-common

OBS builds the ceph-test RPM separately from the normal Ceph RPMs, and
ceph-test is shipped on the Internal Media. I also found that OBS has no
problem producing ceph-test RPM with a slightly different version number than
the Ceph RPMs, with the result that it cannot be installed due to this hard
versioned dependency in the spec file.

Upstream doesn't have this problem because they always build ceph-test along
with the other RPMs.

We don't really need the hard versioned dependency. It's convenient to have,
but not absolutely necessary. I would rather add version sanity-checking code
to the test cases that use the ceph-test RPM, than to have all test cases
fail because ceph-test cannot be installed.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
3 years agoceph.spec.in: move ceph-dencoder to ceph-base
Nathan Cutler [Mon, 18 Jul 2016 09:08:44 +0000 (11:08 +0200)]
ceph.spec.in: move ceph-dencoder to ceph-base

ceph-dencoder introduces a librgw2 runtime dependency that is undesirable in
SLES.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 19e510cb37551765c5f8c5c90fd56edf9a283499)

Conflicts:
ceph.spec.in

3 years agoceph.spec.in: replace pwdutils dependency with shadow
Nathan Cutler [Sat, 16 Apr 2016 11:04:53 +0000 (13:04 +0200)]
ceph.spec.in: replace pwdutils dependency with shadow

pwdutils has been deprecated for a long time, apparently

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 798d60f2a1a60b5651b0c210d5a5db6de4ea199c)
(cherry picked from commit 6f3754df99e21b8a6074315dd166f52f99adec9e)

3 years agoceph.spec.in: add Prereq: permissions to radosgw package
Nathan Cutler [Sat, 13 Feb 2016 19:12:56 +0000 (20:12 +0100)]
ceph.spec.in: add Prereq: permissions to radosgw package

To eliminate an RPMLINT warning.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 7f66c619fd1e746a608168ac234a1cfef9dd7c53)
(cherry picked from commit bfa77ed09a10a2d7ac9d13b96592f5e0886a4c2c)

3 years agoceph.spec.in: move cephfs-* fsck tools to ceph-base
Tim Serong [Mon, 15 Aug 2016 15:14:28 +0000 (01:14 +1000)]
ceph.spec.in: move cephfs-* fsck tools to ceph-base

cephfs fsck should not be run from SLES clients, as they might be outdated.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit d0f3107d9f586b4a177bc940c0629fedc3978c93)

Conflicts:
ceph.spec.in

3 years agoceph.spec.in: drop ceph-brag and ceph-post-file
Nathan Cutler [Mon, 18 Jul 2016 08:46:32 +0000 (10:46 +0200)]
ceph.spec.in: drop ceph-brag and ceph-post-file

ceph-brag is unmaintained

ceph-post-file uses sftp to upload logfiles to an inktank server

Neither are appropriate for SUSE.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit e60792a1006179adc39ce55f9b78ee5bca0b1bf2)

3 years ago16.2.7 v16.2.7
Jenkins Build Slave User [Tue, 7 Dec 2021 16:15:49 +0000 (16:15 +0000)]
16.2.7

3 years agoMerge pull request #44201 from sebastian-philipp/qa-suites-orch-cephadm-mgr-nfs-upgra...
Yuri Weinstein [Mon, 6 Dec 2021 20:43:53 +0000 (12:43 -0800)]
Merge pull request #44201 from sebastian-philipp/qa-suites-orch-cephadm-mgr-nfs-upgrade-0-distro-pacific

qa/suites/orch/cephadm: mgr-nfs-upgrade: add missing 0-distro dir

Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #44164 from cfsnyder/wip-52450-pacific
Yuri Weinstein [Mon, 6 Dec 2021 20:42:41 +0000 (12:42 -0800)]
Merge pull request #44164 from cfsnyder/wip-52450-pacific

pacific: rpm, debian: move smartmontools and nvme-cli to ceph-base

Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
3 years agoMerge pull request #44154 from neha-ojha/wip-perf-pacific
Yuri Weinstein [Mon, 6 Dec 2021 20:41:29 +0000 (12:41 -0800)]
Merge pull request #44154 from neha-ojha/wip-perf-pacific

pacific: qa: miscellaneous perf suite fixes

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
3 years agorpm, debian: move smartmontools and nvme-cli to ceph-base 44164/head
Yaarit Hatuka [Wed, 25 Aug 2021 02:12:08 +0000 (02:12 +0000)]
rpm, debian: move smartmontools and nvme-cli to ceph-base

We wish to be able to scrape SMART and NVMe metrics from OSD and MON
nodes. For this we require / recommend smartmontools and nvme-cli
dependencies for both the ceph-osd and ceph-mon packages.  However, the
sudoers file (which is required for invoking `smartctl` by user 'ceph')
was installed only in the ceph-osd package.  Since different packages
cannot own the same file, and because we want to be able to scrape from
every daemon, we move the dependencies and the sudoers installation to
ceph-base. For generalization, we rename:
sudoers.d/ceph-osd-smartctl -> sudoers.d/ceph-smartctl

Fixes: https://tracker.ceph.com/issues/50657
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
(cherry picked from commit 7ca39fa92b47427af2f1c6000c653bb4dffc47fe)

Conflicts:
ceph.spec.in

Cherry-pick notes:
- Conflict in ceph.spec.in because setuptools not required for OSD in pacific

3 years agoqa/suites/orch/cephadm: mgr-nfs-upgrade: add missing 0-distro dir 44200/head 44201/head
Sebastian Wagner [Fri, 3 Dec 2021 10:56:54 +0000 (11:56 +0100)]
qa/suites/orch/cephadm: mgr-nfs-upgrade: add missing 0-distro dir

move qa/suites/orch/cephadm/mgr-nfs-upgrade/0-*

to qa/suites/orch/cephadm/mgr-nfs-upgrade/0-distro/*

Fixes: https://tracker.ceph.com/issues/53365
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoqa/suites/rados/perf/ceph.yaml: remove rgw 44154/head
Neha Ojha [Mon, 9 Aug 2021 14:35:01 +0000 (14:35 +0000)]
qa/suites/rados/perf/ceph.yaml: remove rgw

This is no longer required because we removed cosbench workloads in
fd350fd0150a2d4072f055658c20314a435a19ba. This is also required to prevent
failures like the following or any other changes that break the rgw task:

```
2021-08-06T20:13:25.812 INFO:teuthology.orchestra.run.smithi060.stderr:curl: (7) Failed to connect to smithi060.front.sepia.ceph.com port 80: Connection refused
2021-08-06T20:15:33.813 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_04c2febe7099917d97a71271f17abb5710030132/teuthology/contextutil.py", line 31, in nested
    vars.append(enter())
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_3c0f8c8164075af7aac4d1f2805d3f4580709461/qa/tasks/rgw.py", line 191, in start_rgw
    wait_for_radosgw(url, remote)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_3c0f8c8164075af7aac4d1f2805d3f4580709461/qa/tasks/util/rgw.py", line 94, in wait_for_radosgw
    assert exit_status == 0
AssertionError
```

Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit 119544bb29e253322af33e593ffd09e325c2af8a)

3 years agoqa: remove cosbench workloads from perf suites
Neha Ojha [Fri, 21 May 2021 20:17:11 +0000 (20:17 +0000)]
qa: remove cosbench workloads from perf suites

Due to https://tracker.ceph.com/issues/49139

Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit fd350fd0150a2d4072f055658c20314a435a19ba)

3 years agoqa: use ubuntu_latest for perf suites
Neha Ojha [Fri, 21 May 2021 16:15:37 +0000 (16:15 +0000)]
qa: use ubuntu_latest for perf suites

Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit 5957d1797a4f67b4545c2554dff240463af87359)

3 years agoMerge pull request #44047 from rhcs-dashboard/wip-53343-pacific
Ernesto Puerta [Wed, 24 Nov 2021 12:56:37 +0000 (13:56 +0100)]
Merge pull request #44047 from rhcs-dashboard/wip-53343-pacific

pacific: mgr/dashboard: rgw daemon list: add realm column

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #44077 from rhcs-dashboard/wip-53377-pacific
Ernesto Puerta [Wed, 24 Nov 2021 12:38:23 +0000 (13:38 +0100)]
Merge pull request #44077 from rhcs-dashboard/wip-53377-pacific

pacific: mgr/dashboard: Predefine labels in create host form

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #44051 from rhcs-dashboard/wip-53364-pacific
Ernesto Puerta [Wed, 24 Nov 2021 12:13:49 +0000 (13:13 +0100)]
Merge pull request #44051 from rhcs-dashboard/wip-53364-pacific

pacific: mgr/dashboard: provisioned values is misleading in RBD image table

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
3 years agoMerge pull request #43811 from liewegas/pr-53134-pacific
Yuri Weinstein [Wed, 24 Nov 2021 01:10:18 +0000 (17:10 -0800)]
Merge pull request #43811 from liewegas/pr-53134-pacific

pacific: backport mgr/nfs bits

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agomgr/dashboard: Predfine labels in create host form 44077/head
Nizamudeen A [Thu, 18 Nov 2021 11:09:30 +0000 (16:39 +0530)]
mgr/dashboard: Predfine labels in create host form

Also retains the previously created labels by user in the form

Fixes: https://tracker.ceph.com/issues/53315
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit e228bf7563a13cc9f0f49a086c5df391c74002b1)

3 years agoMerge pull request #43931 from rhcs-dashboard/wip-52528-pacific
Ernesto Puerta [Tue, 23 Nov 2021 18:37:30 +0000 (19:37 +0100)]
Merge pull request #43931 from rhcs-dashboard/wip-52528-pacific

pacific: mgr/prometheus: offer ability to disable cache

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: p-se <NOT@FOUND>
3 years agoMerge pull request #44057 from rhcs-dashboard/wip-53363-pacific
Ernesto Puerta [Tue, 23 Nov 2021 18:36:07 +0000 (19:36 +0100)]
Merge pull request #44057 from rhcs-dashboard/wip-53363-pacific

pacific: mgr/dashboard: Daemon Events listing using bootstrap class

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #43960 from guits/wip-53284-pacific
Guillaume Abrioux [Tue, 23 Nov 2021 16:43:39 +0000 (17:43 +0100)]
Merge pull request #43960 from guits/wip-53284-pacific

pacific: ceph-volume: `get_first_lv()` refactor

3 years agoMerge pull request #44056 from rhcs-dashboard/wip-53366-pacific
Ernesto Puerta [Tue, 23 Nov 2021 15:25:14 +0000 (16:25 +0100)]
Merge pull request #44056 from rhcs-dashboard/wip-53366-pacific

pacific: mgr/dashboard: fix flaky inventory e2e test

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #44053 from rhcs-dashboard/wip-53297-pacific
Ernesto Puerta [Tue, 23 Nov 2021 15:20:49 +0000 (16:20 +0100)]
Merge pull request #44053 from rhcs-dashboard/wip-53297-pacific

pacific: mgr/dashboard: Device health status is not getting listed under hosts section

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agomgr/dashboard: Daemon Events listing using bootstrap class 44057/head
Nizamudeen A [Tue, 16 Nov 2021 14:43:09 +0000 (20:13 +0530)]
mgr/dashboard: Daemon Events listing using bootstrap class

Fixes: https://tracker.ceph.com/issues/53282
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 1bad306efd628dd4940b1082c08199bbbaf0b581)

3 years agomgr/dashboard: fix flaky inventory e2e test 44056/head
Nizamudeen A [Thu, 18 Nov 2021 07:13:39 +0000 (12:43 +0530)]
mgr/dashboard: fix flaky inventory e2e test

When `inventory.getTableCount('total').should('be.eq', totalDiskCount);`
this line is executed the table was not loaded properly and hence the
getTableCount returns 0 on the first try but on second try it passes
since the table is loaded. But in orch e2es the retries are set to 0. I
am not sure if it makes sense to set it to 1. Anyway I am adapting the
test a bit to expect the count to be equal to totalDiskCount so that the
test will wait a bit.

Fixes: https://tracker.ceph.com/issues/53353
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit cdce5f78ad4a9f4a91837322b83cee89a393a0ca)

3 years agomgr/dashboard: Device health status is not getting listed under hosts section 44053/head
Aashish Sharma [Wed, 10 Nov 2021 08:27:47 +0000 (13:57 +0530)]
mgr/dashboard: Device health status is not getting listed under hosts section

Device health is shown as failed to retrieve data under Hosts > Device Health section. This PR intends to fix this issue.

Fixes: https://tracker.ceph.com/issues/53209
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 8b868d20c470289c2f23049ac5dbbd2ba0307385)

3 years agoMerge pull request #43972 from gregsfortytwo/wip-53259-pacific
Gregory Farnum [Mon, 22 Nov 2021 20:47:48 +0000 (15:47 -0500)]
Merge pull request #43972 from gregsfortytwo/wip-53259-pacific

pacific: mon: MonMap: display disallowed_leaders whenever they're set

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #43971 from gregsfortytwo/wip-53239-pacific
Gregory Farnum [Mon, 22 Nov 2021 20:47:29 +0000 (15:47 -0500)]
Merge pull request #43971 from gregsfortytwo/wip-53239-pacific

pacific: mon: MonMap: do not increase mon_info_t's compatv in stretch mode, really

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agomgr/dashboard: provisioned values is misleading in RBD image table 44051/head
Avan Thakkar [Tue, 9 Nov 2021 21:37:33 +0000 (03:07 +0530)]
mgr/dashboard: provisioned values is misleading in RBD image table

Fixes: https://tracker.ceph.com/issues/46617
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Adding hint in image table similar to the one in rbd-details.

(cherry picked from commit 4ee2f2a9b79e246dfa56ad371b0718f0171eee3e)

3 years agoMerge pull request #44032 from kamoltat/wip-ksirivad-backport-43999
Yuri Weinstein [Mon, 22 Nov 2021 20:10:05 +0000 (12:10 -0800)]
Merge pull request #44032 from kamoltat/wip-ksirivad-backport-43999

pacific: pybind/mgr/pg_autoscale: revert to default profile scale-up

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge PR #43925 into pacific
Patrick Donnelly [Mon, 22 Nov 2021 17:36:15 +0000 (12:36 -0500)]
Merge PR #43925 into pacific

* refs/pull/43925/head:
doc: document subvolume (group) pins

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
3 years agomgr/dashboard: rgw daemon list: add realm column 44047/head
Alfonso Martínez [Wed, 17 Nov 2021 08:29:38 +0000 (09:29 +0100)]
mgr/dashboard: rgw daemon list: add realm column

- Some refactoring and cleanup.

Fixes: https://tracker.ceph.com/issues/53301
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 8319165e9da19f885ab0cec7a578796bf831e2f8)

3 years agoMerge pull request #43784 from lxbsz/wip-531121
Yuri Weinstein [Mon, 22 Nov 2021 14:58:40 +0000 (06:58 -0800)]
Merge pull request #43784 from lxbsz/wip-531121

Pacific: mds: add read/write io size metrics support

Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoMerge pull request #43315 from idryomov/wip-rbd-mirror-snapshot-rx-only-pacific
Yuri Weinstein [Sat, 20 Nov 2021 20:24:19 +0000 (12:24 -0800)]
Merge pull request #43315 from idryomov/wip-rbd-mirror-snapshot-rx-only-pacific

pacific: rbd-mirror: unbreak one-way snapshot-based mirroring

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
3 years agoMerge pull request #44034 from batrick/i53347
Yuri Weinstein [Sat, 20 Nov 2021 16:05:37 +0000 (08:05 -0800)]
Merge pull request #44034 from batrick/i53347

pacific: qa: disable metrics on kernel client during upgrade

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoqa: disable metrics on kernel client during upgrade 44034/head
Patrick Donnelly [Tue, 16 Nov 2021 20:04:59 +0000 (15:04 -0500)]
qa: disable metrics on kernel client during upgrade

v16.2.4 MDS triggers an assert from these messages.

Also: add latest pacific for extra coverage.

Fixes: https://tracker.ceph.com/issues/53293
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit dcda5cb9ce52a1d194a461d332f6ce497ef19586)

Backport note: dropped pacific.yaml which would result in no upgrade.

3 years agoPendingReleaseNotes: update release notes 44032/head
Kamoltat [Fri, 19 Nov 2021 23:10:30 +0000 (23:10 +0000)]
PendingReleaseNotes: update release notes

Update the pending release notes explaining
why we are making the autoscaler profile
`scale-up` by default.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
3 years agoMerge pull request #43922 from aclamk/wip-aclamk-fix-omap-upgrade-fix-pac
Yuri Weinstein [Fri, 19 Nov 2021 23:36:00 +0000 (15:36 -0800)]
Merge pull request #43922 from aclamk/wip-aclamk-fix-omap-upgrade-fix-pac

Pacific: BlueStore: Omap upgrade to per-pg fix fix

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
3 years agopybind/mgr/pg_autoscale: revert to default profile scale-up
Kamoltat [Wed, 17 Nov 2021 20:34:48 +0000 (20:34 +0000)]
pybind/mgr/pg_autoscale: revert to default profile scale-up

pg_autoscale module will now start out all the pools
with a scale-up profile by default.

Added tests in workunits/mon/pg_autoscaler.sh
to evaluate if the default pool creation is
a scale-up profile

Updated documentation and release notes to
reflect the change in the default behavior
of the pg_autoscale profile.

Fixes: https://tracker.ceph.com/issues/53309
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit a9f9f7b3fd813d429c4a539edf560d3fb6eb553b)

Conflicts:
src/pybind/mgr/pg_autoscaler/module.py - trivial fix

3 years agoos/bluestore: Fix omap upgrade to per-pg scheme 43922/head
Adam Kupczyk [Sat, 13 Nov 2021 10:28:18 +0000 (11:28 +0100)]
os/bluestore: Fix omap upgrade to per-pg scheme

This is fix to regression introduced by fix to omap upgrade: https://github.com/ceph/ceph/pull/43687
The problem was that we always skipped first omap entry.
This worked fine with objects having omap header key.
For objects without header key we skipped first actual omap key.

Fixes: https://tracker.ceph.com/issues/53307
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
(cherry picked from commit 65a3f374aa1c57c5bb9401e57dab98a643b4360a)

3 years agoos/bluestore: Add more legacy -> per PG upgrade tests
Adam Kupczyk [Sat, 13 Nov 2021 09:41:14 +0000 (10:41 +0100)]
os/bluestore: Add more legacy -> per PG upgrade tests

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
(cherry picked from commit 0d13d64e0543ffbb95cbb0a2b00843ee0ec98331)

 Conflicts:
src/test/objectstore/store_test.cc

3 years agoMerge pull request #43930 from rhcs-dashboard/wip-53092-pacific
Ernesto Puerta [Fri, 19 Nov 2021 19:18:24 +0000 (20:18 +0100)]
Merge pull request #43930 from rhcs-dashboard/wip-53092-pacific

pacific: mgr/dashboard: all pyfakefs must be pinned on same version

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: ljflores <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: rishabh-d-dave <NOT@FOUND>
3 years agoMerge pull request #43973 from rhcs-dashboard/wip-53253-pacific
Ernesto Puerta [Fri, 19 Nov 2021 19:17:18 +0000 (20:17 +0100)]
Merge pull request #43973 from rhcs-dashboard/wip-53253-pacific

pacific: mgr/dashboard: Spelling mistake in host-form Network address field

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #43893 from rhcs-dashboard/wip-53221-pacific
Ernesto Puerta [Fri, 19 Nov 2021 19:16:55 +0000 (20:16 +0100)]
Merge pull request #43893 from rhcs-dashboard/wip-53221-pacific

pacific: mgr/dashboard: include mfa_ids in rgw user-details section

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #43970 from ifed01/wip-ifed-fix-vol-select
Yuri Weinstein [Fri, 19 Nov 2021 18:57:46 +0000 (10:57 -0800)]
Merge pull request #43970 from ifed01/wip-ifed-fix-vol-select

pacific: os/bluestore: do not select absent device in volume selector

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agoMerge pull request #43939 from rhcs-dashboard/wip-53270-pacific
Ernesto Puerta [Fri, 19 Nov 2021 18:33:25 +0000 (19:33 +0100)]
Merge pull request #43939 from rhcs-dashboard/wip-53270-pacific

pacific: mgr/dashboard: Edit a service feature

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #43975 from ivancich/wip-53291-pacific
J. Eric Ivancich [Fri, 19 Nov 2021 15:47:21 +0000 (10:47 -0500)]
Merge pull request #43975 from ivancich/wip-53291-pacific

pacific: rgw: remove prefix & delim params for bucket removal & mp upload abort

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #43805 from sunnyku/wip-53028-pacific
Yuri Weinstein [Fri, 19 Nov 2021 14:33:14 +0000 (06:33 -0800)]
Merge pull request #43805 from sunnyku/wip-53028-pacific

pacific: librbd/object_map: rbd diff between two snapshots lists entire image content

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
3 years agoMerge pull request #43924 from vshankar/wip-53217
Yuri Weinstein [Fri, 19 Nov 2021 14:16:53 +0000 (06:16 -0800)]
Merge pull request #43924 from vshankar/wip-53217

pacific: cephfs-mirror, test: add thrasher for cephfs mirror daemon, HA test yamls

Reviewed-by: Kotresh HR khiremat@redhat.com
3 years agoMerge pull request #43815 from lxbsz/wip-53164
Yuri Weinstein [Fri, 19 Nov 2021 14:13:59 +0000 (06:13 -0800)]
Merge pull request #43815 from lxbsz/wip-53164

pacific: mds: do not trim stray dentries during opening the root

Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoMerge pull request #43782 from lxbsz/wip-53120
Yuri Weinstein [Thu, 18 Nov 2021 15:22:40 +0000 (07:22 -0800)]
Merge pull request #43782 from lxbsz/wip-53120

Pacific: client: do not defer releasing caps when revoking

Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoMerge pull request #43702 from cfsnyder/wip-52678-pacific
Yuri Weinstein [Thu, 18 Nov 2021 15:21:42 +0000 (07:21 -0800)]
Merge pull request #43702 from cfsnyder/wip-52678-pacific

pacific: qa: lengthen grace for fs map showing dead MDS

Reviewed-by: Kotresh HR khiremat@redhat.com
3 years agoMerge pull request #43434 from callithea/wip-52412-pacific
Yuri Weinstein [Thu, 18 Nov 2021 15:20:39 +0000 (07:20 -0800)]
Merge pull request #43434 from callithea/wip-52412-pacific

pacific: snap-schedule: count retained snapshots per retention policy

Reviewed-by: Kotresh HR khiremat@redhat.com
Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoMerge pull request #43906 from sebastian-philipp/pacific-backport-43376-43602-43654...
Sebastian Wagner [Thu, 18 Nov 2021 10:01:38 +0000 (11:01 +0100)]
Merge pull request #43906 from sebastian-philipp/pacific-backport-43376-43602-43654-43734-42838-43454-43628-43762-43790-43737-

pacific: cephadm: November batch

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Daniel Pivonka <dpivonka@redhat.com>
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #43948 from guits/wip-53278-pacific
Guillaume Abrioux [Thu, 18 Nov 2021 08:48:56 +0000 (09:48 +0100)]
Merge pull request #43948 from guits/wip-53278-pacific

pacific: ceph-volume: fix bug with miscalculation of required db/wal slot size for VGs with multiple PVs

3 years agoMerge pull request #43949 from guits/wip-53188-pacific
Guillaume Abrioux [Thu, 18 Nov 2021 08:34:54 +0000 (09:34 +0100)]
Merge pull request #43949 from guits/wip-53188-pacific

pacific: ceph-volume: fix a typo causing AttributeError

3 years agorgw: remove prefix & delim params for bucket removal & mp upload abort 43975/head
J. Eric Ivancich [Tue, 16 Nov 2021 23:06:58 +0000 (18:06 -0500)]
rgw: remove prefix & delim params for bucket removal & mp upload abort

The calls to remove a bucket had parameters to specify a prefix and
delimiter, which does not make sense. This was precipitated due to some
existing Swift protocol logic, but buckets are removed irrespective of
prefix and delimiter. So the functions and calls are adjusted to
remove those parameters. Additionally, those same parameters were
removed for aborting incomplete multipart uploads.

Additionally a bug is fixed in which during bucket removal, multipart
uploads were only removed if the prefix was non-empty.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry-picked from 5156e4e7ce307f8ac6ee6dc36f7e546c93d17d55)

Conflicts:
        src/rgw/rgw_sal_rados.cc
        src/rgw/rgw_sal.h
        src/rgw/rgw_sal_rados.h
  - Alterations due to Zipper 7 code refactoring
        src/rgw/rgw_sal_dbstore.cc
        src/rgw/rgw_sal_dbstore.h
  - Did not exist before Zipper 7 code refactoring

3 years agoceph-volume/tests: update setup_mixed_type playbook 43948/head
Guillaume Abrioux [Wed, 27 Oct 2021 06:37:07 +0000 (08:37 +0200)]
ceph-volume/tests: update setup_mixed_type playbook

we need to create a file with a larger size.
see https://github.com/ceph/ceph/pull/43300#issuecomment-951961243

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 8af00e25aa4ab60d0309e31f6c20edd6cd5be1ee)

3 years agoceph-volume: fix bug with miscalculation of required db/wal slot size for VGs with...
Cory Snyder [Fri, 24 Sep 2021 15:56:09 +0000 (11:56 -0400)]
ceph-volume: fix bug with miscalculation of required db/wal slot size for VGs with multiple PVs

Previous logic for calculating db/wal slot sizes made the assumption that there would only be
a single PV backing each db/wal VG. This wasn't the case for OSDs deployed prior to v15.2.8,
since ceph-volume previously deployed multiple SSDs in the same VG. This fix removes the
assumption and does the correct calculation in either case.

Fixes: https://tracker.ceph.com/issues/52730
Signed-off-by: Cory Snyder <csnyder@iland.com>
(cherry picked from commit cd6aa1329f70f89338757ba295e279ecfdbc2d07)

3 years agoMerge pull request #43890 from batrick/i53231
Yuri Weinstein [Wed, 17 Nov 2021 16:14:17 +0000 (08:14 -0800)]
Merge pull request #43890 from batrick/i53231

pacific: MDSMonitor: assertion during upgrade to v16.2.5+

Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoMerge pull request #43841 from vshankar/wip-52952
Yuri Weinstein [Wed, 17 Nov 2021 16:02:27 +0000 (08:02 -0800)]
Merge pull request #43841 from vshankar/wip-52952

pacific: mds: skip journaling blocklisted clients when in `replay` state

Reviewed-by: Venky Shankar vshankar@redhat.com
Reviewed-by: Kotresh HR khiremat@redhat.com
3 years agoMerge pull request #43891 from batrick/i53232
Yuri Weinstein [Wed, 17 Nov 2021 15:59:02 +0000 (07:59 -0800)]
Merge pull request #43891 from batrick/i53232

pacific: MDSMonitor: no active MDS after cluster deployment

Reviewed-by: Venky Shankar vshankar@redhat.com
3 years agoMerge pull request #43828 from batrick/i53006
Yuri Weinstein [Wed, 17 Nov 2021 15:16:13 +0000 (07:16 -0800)]
Merge pull request #43828 from batrick/i53006

pacific: qa: reduce frag split confs for dir_split counter test

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #43941 from sebastian-philipp/backport-43780
Sebastian Wagner [Wed, 17 Nov 2021 14:38:40 +0000 (15:38 +0100)]
Merge pull request #43941 from sebastian-philipp/backport-43780

pacific: doc/radosgw/nfs: add note about NFSv3 deprecation

Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoqa/suites/orch/cephadm/dashboard: Add centos_8.3_container_tools_3.0.yaml 43906/head
Sebastian Wagner [Tue, 16 Nov 2021 14:07:03 +0000 (15:07 +0100)]
qa/suites/orch/cephadm/dashboard: Add centos_8.3_container_tools_3.0.yaml

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoqa/suites/orch/cephadm: add 8.stream + container_tools
Sage Weil [Mon, 8 Nov 2021 17:01:45 +0000 (11:01 -0600)]
qa/suites/orch/cephadm: add 8.stream + container_tools

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit eb43f2be9c326a522946bb9ebafc9a016828a41b)

Conflicts:
qa/suites/orch/cephadm/dashboard/0-distro/centos_8.2_container_tools_3.0.yaml

3 years agocephadm: Avoid "Could not locate podman: podman not found"
Sebastian Wagner [Wed, 3 Nov 2021 11:12:15 +0000 (12:12 +0100)]
cephadm: Avoid "Could not locate podman: podman not found"

Right now, we're spamming the cephadm.log on docker deployments

Fixes: https://tracker.ceph.com/issues/52869
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
(cherry picked from commit 2767766ed970bf541400e62e6216f4ac29798d43)

3 years agocephadm: fix upgrade name already in use
Daniel Pivonka [Fri, 5 Nov 2021 17:54:36 +0000 (13:54 -0400)]
cephadm: fix upgrade name already in use

Signed-off-by: Daniel Pivonka <dpivonka@redhat.com>
(cherry picked from commit eece84dada04b99ea5debc694e0bb3452bf94093)

3 years agomgr/cephadm: allow osd spec removal
Sage Weil [Fri, 5 Nov 2021 15:39:07 +0000 (11:39 -0400)]
mgr/cephadm: allow osd spec removal

OSD specs/drivegroups are essentially templates for OSD creation but do
not map to the full lifecycle of the OSDs that they create.  When a spec
is removed, remove it immediately.

If no --force is provided, the error lists which OSDs will be left behind.
If --force is passed, the service is removed.

This leaves behind a few oddities:

- When you list services, OSDs that were created by the drivegroup may
  still exist, causing the drivegroup to appear in the list as
  unmanaged services.
- If you create a new drivegroup with the same name, the prior OSDs will
  appear to belong to the new spec instance, regardless of whether the
  spec/drivegroup parameters are the same.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit bda5c304f33cb7a401a289d92f35b5d15f2fce15)

3 years agomgr/orchestrator: pass 'force' flag down for remove_service
Sage Weil [Mon, 8 Nov 2021 17:04:27 +0000 (12:04 -0500)]
mgr/orchestrator: pass 'force' flag down for remove_service

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 575b7c9a98608c4f266d8e406118544916f1b8d6)

Conflicts:
src/pybind/mgr/rook/module.py

3 years agomgr/cephadm/services/osd: less noisy
Sage Weil [Fri, 5 Nov 2021 18:37:58 +0000 (14:37 -0400)]
mgr/cephadm/services/osd: less noisy

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 8c1e9c05f76c43466269518a9798fe6a3b944a3e)