Commit Graph

135954 Commits

Author SHA1 Message Date
Adam King
4d0cc762d7
Merge pull request #48428 from zmc/cephadm-smoke-small
qa/suites: Add orch/cephadm/smoke-small suite

Reviewed-by: Adam King <adking@redhat.com>
2023-01-24 09:08:44 -05:00
Yuval Lifshitz
16dd82a5b5
Merge pull request #49256 from yuvalif/wip-yuval-remove-pubsub-struct
rgw/pubsub: remove subscription data structures and cleanup

reviewed-by: cbodley
2023-01-24 10:17:15 +02:00
Venky Shankar
90a43d1cfb
Merge pull request #49796 from batrick/first-damage-big-dir
tools/cephfs/first-damage: fix iteration of big dirfrags

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-01-24 10:22:57 +05:30
J. Eric Ivancich
827ab5c6bb
Merge pull request #49814 from ivancich/wip-clean-up-trailing-spaces
rgw: clean up header files

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2023-01-23 22:23:14 -05:00
J. Eric Ivancich
8c8c227a6f rgw: clean up header files
Remove trailing spaces and use "#pragma once" rather than "#ifndef" to
assure a header files is only loaded once during compilation.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2023-01-23 18:15:11 -05:00
Casey Bodley
1a671c1985
Merge pull request #49176 from cbodley/wip-58127
rgw: preserve RGWZoneGroup::master_zone on last zone deletion

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-By: Adam C. Emerson <aemerson@redhat.com>
2023-01-23 15:15:42 -05:00
Adam King
f538b1d772
Merge pull request #49815 from adk3798/no-overwrite-logrotate
cephadm: don't overwrite cluster logrotate file

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
2023-01-23 14:23:22 -05:00
Adam King
96a7638ace
Merge pull request #48552 from rkachach/fix_issue_57878
mgr/rgw: Enabling typing checks for rgw module

Reviewed-by: Adam King <adking@redhat.com>
2023-01-23 14:18:27 -05:00
Adam King
d4d8ef9698
Merge pull request #48880 from rkachach/fix_issue_58021
mgr/cephadm: fix haproxy monitoring endpoint

Reviewed-by: Adam King <adking@redhat.com>
2023-01-23 14:16:39 -05:00
Adam King
d8633dc69f
Merge pull request #49813 from rkachach/fix_issue_58526
mgr/cephadm: Build service discovery end-point by using mgr-ip only

Reviewed-by: Adam King <adking@redhat.com>
2023-01-23 13:12:54 -05:00
Adam King
536fb7b947
Merge pull request #49827 from adk3798/remove-offline-host-ingress
mgr/cephadm: fix removing offline hosts with ingress daemons

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2023-01-23 13:09:26 -05:00
Yuval Lifshitz
6e94076086 rgw/notifications: add const to APIs when possible
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2023-01-23 17:45:44 +00:00
Yuval Lifshitz
f426c76ae8 rgw/notifications: avoid unnecessary heap allocations
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2023-01-23 16:48:38 +00:00
Yuval Lifshitz
2f91d774da rgw/pubsub: remove subscription data structures
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2023-01-23 16:48:38 +00:00
kalebskeithley
e0da274c68
Merge pull request #49760 from kalebskeithley/ceph-rgw-zipper
rgw: refactor selected files for better above- vs below-the-line
2023-01-23 11:37:15 -05:00
Yuval Lifshitz
f4612cee8f
Merge pull request #48828 from yuvalif/wip-yuval-cython-fails-clang16
rgw/file: change function signature to match the one generated by cython

reviewed-by: cbodley, mattbenjamin
2023-01-23 17:43:56 +02:00
Yuval Lifshitz
e537ebd001
Merge pull request #49530 from yuvalif/wip-yuval-signed-comparisson
rgw: fix signed to unsigned comparisson warning

reviwed by: mattbenjamin
2023-01-23 17:37:32 +02:00
Casey Bodley
55dc01029f
Merge pull request #49642 from cbodley/wip-58286
rgw/beast: fix interaction between keepalive and 100-continue

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2023-01-23 10:34:41 -05:00
Kaleb S. KEITHLEY
a177935165 rgw: refactor selected files for better above- vs below-the-line
Move more files into driver/rados for better above- vs below-
the-line. Use #pragma once everywhere (versus fixing all the

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2023-01-23 09:11:27 -05:00
zdover23
f780ca2e3d
Merge pull request #49820 from zdover23/wip-doc-2023-01-21-rados-config-pool-pg-config-ref
doc/rados: refine pool-pg-config-ref.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2023-01-23 21:50:59 +10:00
zdover23
b66ada0a6e
Merge pull request #49778 from zdover23/wip-doc-2023-01-18-rados-config-ceph-conf-runtime-changes
doc/rados: refine ceph-conf.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-23 20:07:30 +10:00
Zac Dover
dfb0b4a6ad doc/rados: refine ceph-conf.rst
Correct grammar and usage in ceph-conf.rst.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-23 19:16:16 +10:00
Redouane Kachach
c6f05d8deb
mgr/rgw: Adding typing checks for rgw
Fixes: https://tracker.ceph.com/issues/57878

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-01-23 10:14:14 +01:00
Redouane Kachach
9636d9467f
mgr/cephadm: fix haproxy monitoring endpoint
Fixes: https://tracker.ceph.com/issues/58021

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-01-23 10:12:51 +01:00
J. Eric Ivancich
8668c63619
Merge pull request #49735 from linuxkidd/wip-rgw-gap-list
rgw/rgw-gap-list: refactoring and adding more error checking

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2023-01-22 18:15:31 -05:00
J. Eric Ivancich
58bf40a307
Merge pull request #49315 from tengfWang/master
rgw: fix the problem of duplicate idx when bi list

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2023-01-22 16:11:05 -05:00
J. Eric Ivancich
4130679b1b
Merge pull request #47743 from cbodley/wip-rgw-replication-status
rgw: add replication status header to s3 GetObj response

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2023-01-22 16:01:16 -05:00
Adam King
7bd7ce9310
Merge pull request #48801 from adk3798/extra-entrypoint-args
mgr/cephadm: support for extra entrypoint args

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2023-01-22 14:21:01 -05:00
Adam King
62a52660db
Merge pull request #48827 from rkachach/fix_issue_58001
mgr/cephadm: fix prometheus haproxy/ingress deps update

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2023-01-22 14:17:56 -05:00
Adam King
d6afdad16a
Merge pull request #49556 from senax/haproxy
mgr/cephadm: increase ingress timeout values

Reviewed-by: Adam King <adking@redhat.com>
2023-01-22 14:15:51 -05:00
Adam King
d9624e0666 mgr/cephadm: fix removing offline hosts with ingress daemons
We need to convert the daemon type to service type here
or we'll try to access the "haproxy" or "keepalived" index
of the cephadm_services dictionary, which doesn't have those
keys (but does have an "ingress" key)

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

Signed-off-by: Adam King <adking@redhat.com>
2023-01-22 13:59:51 -05:00
Adam King
919b244e5c
Merge pull request #46209 from phlogistonjohn/jjm-format-nfs-mod
mgr/nfs: use object_format decorators to simplify response handling

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2023-01-22 11:33:24 -05:00
Adam King
60339fde1a
Merge pull request #49189 from pcuzner/improve-orch-host-ls
orchestrator: improvements to the orch host ls command

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2023-01-22 11:26:10 -05:00
Anthony D'Atri
55b99b5bdb
Merge pull request #49823 from zdover23/wip-doc-2023-01-22-install-recommended-methods-rewrite
doc/install: refine index.rst
2023-01-21 18:33:44 -05:00
Zac Dover
e7669539ac doc/install: refine index.rst
Refine English sentences in doc/install/index.rst. Remove adverbial
phrases of time that refer to Nautilus-era features as "new", since that
was four years ago.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-22 03:24:37 +10:00
Zac Dover
11724c9b8e doc/rados: refine pool-pg-config-ref.rst
Remove pleonasm.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-21 15:04:12 +10:00
J. Eric Ivancich
5b06a7d43f
Merge pull request #49817 from ivancich/wip-flight-copyright-license-info
rgw: add copyright & licensing to flight integration source files

Reviewed-By: Adam Emerson <aemerson@redhat.com>
2023-01-20 20:32:17 -05:00
J. Eric Ivancich
b6d3abfb34 rgw: add copyright & licensing to flight integration source files
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2023-01-20 16:26:06 -05:00
Adam King
f33dc8a17e cephadm: don't overwrite cluster logrotate file
To allow users to customize the file if they need to
akter the settings (e.g. to change the rotation interval
or rotate based on size)

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

Signed-off-by: Adam King <adking@redhat.com>
2023-01-20 13:42:00 -05:00
Redouane Kachach
d9079e3b71
mgr/cephadm: Build service discovery end-point by using mgr-ip only
Fixes: https://tracker.ceph.com/issues/58526

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-01-20 19:16:25 +01:00
Ilya Dryomov
510284b665
Merge pull request #49791 from idryomov/wip-doc-exclusive-lock-transitions
doc/rbd/rbd-exclusive-locks: warn about automatic lock transitions

Reviewed-by: Ramana Raja <rraja@redhat.com>
2023-01-20 14:08:10 +01:00
Ilya Dryomov
23637c3034
Merge pull request #49784 from SUSE/wip-fix-58501
ceph.spec.in: Replace %usrmerged macro with regular version check

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-01-20 14:05:22 +01:00
zdover23
26f55e2064
Merge pull request #49764 from zdover23/wip-doc-2023-01-17-ceph-volume-lvm-encryption-refine
doc/ceph-volume: refine encryption.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-20 20:50:42 +10:00
Ilya Dryomov
2af7252b33 doc/rbd/rbd-exclusive-locks: warn about automatic lock transitions
A lot of people aren't aware of automatic lock transitions and
wrongfully assume that exclusive lock means that the image remains
locked for as long as the client is running.  Redo the explanation
and add a warning.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-01-20 11:33:54 +01:00
Ilya Dryomov
c966ea99bc doc/rbd/rbd-exclusive-locks: don't mention "profile rbd" requirement twice
It's (much better) described in the Blocklisting section.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-01-20 11:33:24 +01:00
wangtengfei
7473dbe917 rgw: fix the problem of duplicate idx when bi list
fix: https://tracker.ceph.com/issues/58213

Signed-off-by: wangtengfei <wangtengfei@inspur.com>
2023-01-20 09:28:15 +08:00
Casey Bodley
bf3bbd062e
Merge pull request #49798 from adamemerson/wip-radosgw-cr-test-build-fix
build: Fix build of `radosgw-cr-test`

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-01-19 20:21:30 -05:00
Adam C. Emerson
1aa24787b3 build: Fix build of radosgw-cr-test
Remove dependency on `libneorados_cls_fifo` removed in commit
`bf222906b01cbb9e8d55ae4685004a22cddcc138`.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2023-01-19 16:57:53 -05:00
Michael J. Kidd
b7cdf6f979 rgw/rgw-gap-list: refactor / add more err checks
- rename function `log_out` to `log` to prevent mental confusion with
  'logging out' of the shell, vs sending a log message.

- Centralize error checking to provide more consistent output and ease
  of error check implementation

- Add check that supplied pool name(s) exist.

- Relocate the awk script creation to just before it's needed.

- Provide usage help for specifying multiple pools on the command line

- Add hostname to log output lines.

- add checks to ensure intermediate files are not empty before
  attempting comparison.

- switch to getopt to allow  more option flexibility, removing
  dependency on positional arguments which could cause parsing / user
  confusion.
  This is a **BREAKING change** due to change in command line syntax.

- add option for temp directory specification on the command line.

- set -m option to be presence based, vs needing 0|1 param

- fix typo in usage

Signed-off-by: Michael J. Kidd <linuxkidd@gmail.com>
2023-01-19 16:30:41 -05:00
Patrick Donnelly
b1a6479c32
tools/cephfs/first-damage: fix iteration of big dirfrags
We have to iterate in chunks otherwise the get_omap_vals API returns
partial results even if the max count is large.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-01-19 13:04:50 -05:00