Commit Graph

129217 Commits

Author SHA1 Message Date
Zac Dover
e9ab3e2ee0 doc/radosgw: replace double quotes with single
This changes the string
  "tenant$<user>"
to
  'tenant$<user>'
in order to avoid users running into confusing
shell expansion behavior.

Hat tip to IcePic.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-01-22 03:05:01 +10:00
Guillaume Abrioux
f23e1ba25f
Merge pull request #44604 from mgfritch/c-v-skip-rbd-devs
ceph-volume: show RBD devices as not available
2022-01-21 13:37:25 +01:00
Sebastian Wagner
f3006873dc
Merge pull request #44687 from sebastian-philipp/gov
doc/governance: Adam King

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2022-01-21 09:56:00 +01:00
Samuel Just
e73755faa1
Merge pull request #44042 from myoungwon/wip-add-blk-paddr
seastore: add blk_paddr_t

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-01-20 13:27:25 -08:00
Ernesto Puerta
9af08f47d4
Merge pull request #44685 from rhcs-dashboard/fix-53950-master
mgr/dashboard: remove feedback module as always-on

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-01-20 21:21:17 +01:00
Guillaume Abrioux
79e812176b
Merge pull request #44665 from guits/cv-sw-logger
ceph-volume: don't use MultiLogger in find_executable_on_host()
2022-01-20 20:21:30 +01:00
Laura Flores
7f7189d4f8
Merge pull request #43345 from trociny/wip-osdmaptool-down
tools/osdmaptool: fix possible segfaults when there are down osds
2022-01-20 12:56:29 -06:00
Avan Thakkar
3487ddac66 mgr/dashboard: fix openapi-check
Fixes: https://tracker.ceph.com/issues/53950
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2022-01-20 23:57:42 +05:30
Michael Fritch
47325ec3ec
ceph-volume: filter RBD devices from the device inventory
Avoid running `blkid` or deploying OSDs on RBD devices by ensuring they
do not appear in the `ceph-volume inventory`

Fixes: https://tracker.ceph.com/issues/53846
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-01-20 10:38:00 -07:00
Radoslaw Zarzynski
7112b9a47f
Merge pull request #44675 from rzarzynski/wip-tests-bl-explicit-rebuild
test/bufferlist: assert the rebuild in rebuild_aligned_size_and_memory() actually happens.

Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-01-20 18:12:20 +01:00
zdover23
9b391ebaaf
Merge pull request #44677 from zdover23/wip-doc_2022-01-20_weil-crush-sc06pdf-repair
doc/rados: update broken pdf link

Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-01-21 01:11:59 +10:00
Sebastian Wagner
8efe305e2a
doc/governance: Adam King
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2022-01-20 14:02:37 +01:00
Ernesto Puerta
444da26e79
mgr/dashboard: remove feedback as always-on
It was mistakenly left as always-on

Fixes: https://tracker.ceph.com/issues/53950
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2022-01-20 13:11:58 +01:00
Venky Shankar
ac28356234
Merge pull request #44557 from kotreshhr/clone-quota-failure
mgr/volumes: Fix subvoume snapshot clone failure

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-01-20 16:42:35 +05:30
Guillaume Abrioux
ba11afe2c9 ceph-volume: install config_template from collection
ceph-ansible@master uses config_template from upstream collection.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2022-01-20 09:06:14 +01:00
Guillaume Abrioux
3be5562160 ceph-volume: don't use MultiLogger in find_executable_on_host()
This generates a lot of unnecessary messages on the terminal.

Fixes: https://tracker.ceph.com/issues/53934

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2022-01-20 09:06:13 +01:00
Zac Dover
04bb8ae5e4 doc/rados: update broken pdf link
This PR repairs a link to a PDF. The link was broken
when the PDF assets were moved during the restructure
of the ceph.io website in 2021.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-01-20 11:01:42 +10:00
Radoslaw Zarzynski
2de5f17647 test/bufferlist: assert the rebuild in rebuild_aligned_size_and_memory() actually happens.
For the investigation of failures like the following one:

```
[ RUN      ] BufferList.rebuild_aligned_size_and_memory
../src/test/bufferlist.cc:1865: Failure
Expected equality of these values:
  bl.get_num_buffers()
    Which is: 2
  1
[  FAILED  ] BufferList.rebuild_aligned_size_and_memory (0 ms)
```

The test case assumes the rebuild before the failed clause **always**
happens while `bufferlist::rebuild_aligned_size_and_memory()` skips it
if buffers are already aligned.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-01-19 22:06:21 +00:00
Yuri Weinstein
0ccd1f69be
Merge pull request #44615 from ceph/wip-yuriw-crontab-master
qa/tests: run upgrades on quincy

Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-01-19 08:15:20 -08:00
Casey Bodley
82b57a69cc
Merge pull request #44617 from cbodley/wip-rgw-swift-bulk-upload-no-such-bucket
rgw/swift: don't crash on nonexistent bucket in BulkUpload

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2022-01-19 10:43:44 -05:00
Ilya Dryomov
4e5c45fb20
Merge pull request #44601 from trociny/wip-53888
cls/journal: skip disconnected clients when calculating min_commit_position

Reviewed-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-01-19 16:36:22 +01:00
Ilya Dryomov
3f3bdb9314
Merge pull request #44381 from ly798/add-ns-to-snap-dump
cls/rbd: add namespace to snapshot dump results

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-01-19 16:31:45 +01:00
Kamoltat Sirivadhna
ab097f88b4
Merge pull request #44553 from kamoltat/wip-ksirivad-progress-mgr-enforce-key-error-exception
pybind/mgr/progress: enforced try and except on event dictionary
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2022-01-19 10:24:07 -05:00
Ernesto Puerta
2791a2be2b
Merge pull request #44024 from rhcs-dashboard/fix-53334-master
mgr/dashboard: Improve notifications for osd nearfull, full

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-01-19 14:03:42 +01:00
Ernesto Puerta
83dd339108
Merge pull request #44238 from rhcs-dashboard/fix-51575-fix
mgr/dashboard: Notification banners at the top of the UI have fixed height

Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2022-01-19 13:35:03 +01:00
Ernesto Puerta
3e6afc33ca
Merge pull request #44332 from rhcs-dashboard/grafana-warnings
monitoring/grafana: Replace missing legendFormat warning with error.

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-01-19 13:18:31 +01:00
Sebastian Wagner
2c17af2eb5
Merge pull request #44600 from phlogistonjohn/jjm-mirror-service-module
mgr/cephadm: auto-enable mirroring module when deploying service

Reviewed-by: Michael Fritch <mfritch@suse.com>
2022-01-19 12:16:29 +01:00
Sebastian Wagner
1b0a195bef
Merge pull request #44647 from melissa-kun-li/remove-duplicate-deployment-doc
doc/cephadm: remove duplicate deployment scenario section

Reviewed-by: Adam King <adking@redhat.com>
2022-01-19 12:14:10 +01:00
Aashish Sharma
f771cd492c mgr/dashboard: Improve notifications for osd nearfull, full
This PR adds some visual hints for osds that are near full or full

Fixes: https://tracker.ceph.com/issues/53334
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2022-01-19 16:35:27 +05:30
Yuri Weinstein
6fc395c98a
Merge pull request #44430 from 5cs/fix-check-pg-num-underflow
mon/OSDMonitor: fix integer underflow of check_pg_num

Reviewed-by: Kefu Chai <kchai@redhat.com>
2022-01-18 14:39:11 -08:00
Melissa Li
2222f26a37 doc/cephadm: remove duplicate deployment scenario section
Signed-off-by: Melissa Li <melissali@redhat.com>
2022-01-18 16:53:04 -05:00
Yuri Weinstein
8812674d13
Merge pull request #43732 from pdvian/wip-limit-slowop
osd/OSD: Log aggregated slow ops detail to cluster logs

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2022-01-18 12:33:07 -08:00
Ernesto Puerta
86590ea131
Merge pull request #44578 from rhcs-dashboard/fix-53843-master
qa/dashboard: ensure node 16 is installed

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: sebastian-philipp <NOT@FOUND>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2022-01-18 20:23:07 +01:00
Ernesto Puerta
104e17fb32
Merge pull request #44607 from rhcs-dashboard/fix-autopep8-qa-tasks
mgr/dashboard: include autopep8 for dashboard qa tasks

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-01-18 20:11:07 +01:00
Ernesto Puerta
5a6965dc00
Merge pull request #44575 from rhcs-dashboard/dashboard-cephadm-more-stability
mgr/dashboard: Refactoring dashboard cephadm checks

Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-01-18 20:02:25 +01:00
Ernesto Puerta
197987a5a8
Merge pull request #42603 from cypherean/feedback_frontend
mgr/dashboard: report ceph tracker bug/feature through GUI

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2022-01-18 19:47:13 +01:00
John Mulligan
bcb4fa70f9 mgr/cephadm: add a test for enabling cephfs mirroring module
Add a test that checks that when cephfs mirror service is enabled
the mirroring mgr module gets enabled.

Actually-written-by: Sebastian Wagner <sewagner@redhat.com>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2022-01-18 13:34:25 -05:00
John Mulligan
e030130fd1 mgr/cephadm: auto-enable mirroring module when deploying service
Automatically enable the mgr's mirroring module when creating
cephfs-mirror services. This will trigger a mgr respawn.

Fixes: https://tracker.ceph.com/issues/50593

Based roughly on 50dc1d0decb2fbf7b9129bddba940969410be5cd

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2022-01-18 13:34:25 -05:00
Casey Bodley
e11654d130
Merge pull request #33934 from cbodley/wip-40177
rgw: delete full sync index before switching to incremental sync

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2022-01-18 13:22:18 -05:00
Casey Bodley
12301f63df
Merge pull request #40011 from cbodley/wip-49723
rgw: allow rgw_data_notify_interval_msec=0 to disable notifications

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2022-01-18 13:21:06 -05:00
Casey Bodley
82db5e0bdb
Merge pull request #44581 from cbodley/wip-53177
rgw/dbstore: hide dbstore_log.h from rgw_main.cc

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
2022-01-18 13:20:15 -05:00
Casey Bodley
7cc7eb7273
Merge pull request #44413 from cybozu/rgw-fix-error-code-of-remove-bucket-api
rgw: remove bucket API returns NoSuchKey than NoSuchBucket

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-01-18 13:19:53 -05:00
Casey Bodley
e96ae2f363
Merge pull request #44078 from cbodley/wip-rgw-multisite-metadata-retry-error
rgw/multisite: metadata sync only retries on errors

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2022-01-18 13:18:46 -05:00
Neha Ojha
3e6b8ef30f
Merge pull request #44602 from neha-ojha/wip-qct-remove
doc/foundation.rst: qct is no longer a member

Reviewed-by: Dan van der Ster <daniel.vanderster@cern.ch>
2022-01-18 09:17:59 -08:00
myoungwon oh
30d722e861 seastore/seastore_types: fix wrong masking
Fix bit operation due to device_id_t is 8 bit for now

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-01-19 01:32:42 +09:00
myoungwon oh
fa365d84d1 seastore/random_block_manager: use paddr_t instead of uint64
Reagarding read() and write(), use paddr_t as input parameter
instead of uint64

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-01-19 01:32:35 +09:00
myoungwon oh
d6f3a29da9 seatore/random_block_manager: remove blocks_per_segment
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-01-19 01:32:28 +09:00
myoungwon oh
2745fd1ab1 seastore: changes due to adding blk_paddr_t
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-01-19 01:32:18 +09:00
myoungwon oh
374c60e2a0 seastore: add blk_paddr_t
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2022-01-19 01:30:10 +09:00
Nizamudeen A
b6759b75c9 mgr/dashboard: Refactoring dashboard cephadm checks
I isolated all the tests suites into there respective files
so that in future it is easier to add more tests to it.

I also given priority to the host actions.

Create OSD checks are now written in a way that OSDs
are created only on the intended hosts. This will make
the host draining process easier and less time consuming.

Also tried to address the flaky force maintenance checks.

Removed some duplicated codes

Service creation part improved to reduce the time taken
for its completion

Fixes: https://tracker.ceph.com/issues/53905
Signed-off-by: Nizamudeen A <nia@redhat.com>
2022-01-18 21:45:26 +05:30