Commit Graph

121666 Commits

Author SHA1 Message Date
Casey Bodley
e3325e00fd
Merge pull request #40542 from tchaikov/wip-radosgw-admin-realm-rm
rgw/rgw_admin: s/realm delete/realm rm/

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-04-01 10:48:16 -04:00
Kefu Chai
b32ac22689
Merge pull request #40541 from tchaikov/wip-executable-without-shebang
os/bluestore: remove executable bit of source file

Reviewed-by: Sage Weil <sage@redhat.com>
2021-04-01 22:47:43 +08:00
Kefu Chai
56c7679f13 msg/msg_types: move ceph_entity_name::parse() into .cc
for faster compilation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-01 22:43:09 +08:00
Kefu Chai
f5039c8ec7 msg/msg_types: let ceph_entity_name::parse() accept string_view
instead of accepting string, use string_view for the parsed string.

so the caller does not have to construct a temporary std::string object
for passing the string to be parsed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-01 22:42:32 +08:00
Alfonso Martínez
8ec6cf8429
Merge pull request #40173 from rhcs-dashboard/fix-40676-master
mgr/dashboard: Warn the user when creating/editing pools without application tags

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-04-01 16:28:14 +02:00
Sage Weil
24738a22e2 doc/security: no gpg keys yet
Signed-off-by: Sage Weil <sage@newdream.net>
2021-04-01 09:24:12 -05:00
Alfonso Martínez
a7fce57934
Merge pull request #40397 from rhcs-dashboard/update-texts
mgr/dashboard: Improve descriptions in some parts of the dashboard

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2021-04-01 16:18:01 +02:00
Sage Weil
a9c0cc3642 doc/security: restructure a bit
Signed-off-by: Sage Weil <sage@newdream.net>
2021-04-01 09:14:18 -05:00
Sage Weil
4e1eba650a doc/security: add security section
- how to report an issue
- describe process for handling vulnerability
- list past issues

Signed-off-by: Sage Weil <sage@newdream.net>
2021-04-01 09:14:12 -05:00
Sage Weil
00f1c09d61 Merge PR #40477 into master
* refs/pull/40477/head:
	cephadm: fix failure when using --apply-spec and --shh-user

Reviewed-by: Adam King <adking@redhat.com>
2021-04-01 10:07:02 -04:00
Sage Weil
af91565f51 Merge PR #40463 into master
* refs/pull/40463/head:
	cephadm: specify addr on bootstrap's host add

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-04-01 10:06:41 -04:00
Sage Weil
b4140aff56 Merge PR #40478 into master
* refs/pull/40478/head:
	mgr/cephadm: don't have upgrade fail if "." in patch section of version

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2021-04-01 10:06:13 -04:00
Venky Shankar
c22d239fcc doc: document CephFS Snapshot Mirroring
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-04-01 19:09:09 +05:30
Sridhar Seshasayee
0ddeccf4b5 doc: Add mclock configuration reference documentation
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
2021-04-01 19:03:14 +05:30
Sage Weil
c3c21ca5ae Merge PR #40530 into master
* refs/pull/40530/head:
	doc/releases: reorg
	doc/releases/releases.yaml: add missing releases
	admin/build-doc: do not rebuild venv every time
	doc/releases/releases.yaml: add 16.2.0
	doc/releases: move 'active-releases' tag
	doc/releases: add major headings for releases

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2021-04-01 08:22:10 -04:00
Kefu Chai
aaa9441eec rgw/rgw_admin: s/realm delete/realm rm/
it was an oversight of fa5398d31f

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-01 20:03:52 +08:00
Kefu Chai
f33385b109
Merge pull request #40451 from tchaikov/wip-dencoder-plugins
tools/ceph-dencoder: build dencoders as plugins

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2021-04-01 19:34:41 +08:00
Kefu Chai
52ce0d6f1a os/bluestore: remove executable bit of source file
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-01 19:33:03 +08:00
Kefu Chai
09396638f6 stop.sh: extract maybe_kill() into a function
for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-01 19:18:02 +08:00
Kefu Chai
c2e6ec17c1 stop.sh: restructure stop logic
avoid using multiple loops for stopping daemons, and to move the
related logic to a single place for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-01 18:59:50 +08:00
Kefu Chai
69b7264295 stop.sh: add editor variables
to ensure that the editors understanding them can follow our coding
convention.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-01 18:59:50 +08:00
Waad Alkhoury
c1e553ccab mgr/dashboard: Warn the user when creating/editing pools without application tags
Added warning icon when no application tag is selected

Fixes: https://tracker.ceph.com/issues/40676
Signed-off-by: Waad Alkhoury <walkhour@redhat.com>
2021-04-01 11:07:14 +02:00
Nizamudeen A
82235fd756 mgr/dashboard: Improve descriptions in some parts of the dashboard
Improves the description in some parts of the dashboard code.

Fixes: https://tracker.ceph.com/issues/49829
Fixes: https://tracker.ceph.com/issues/49969
Signed-off-by: Nizamudeen A <nia@redhat.com>
2021-04-01 14:31:56 +05:30
Kefu Chai
27cffcc734
Merge pull request #39761 from aclamk/wip-stop-sh-less-kill
stop.sh: prevent forced kill

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-04-01 16:43:49 +08:00
Alfonso Martínez
4144eadb4e
Merge pull request #40348 from rhcs-dashboard/fix-49606-master
mgr/dashboard: improve telemetry opt-in reminder notification message

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
2021-04-01 10:33:48 +02:00
Kefu Chai
2d3c6561b4 tools/ceph-dencoder: build dencoders as plugins
to reduce the memory footprint when linking ceph-dencoder.

* src/tools/ceph-dencoder:
  * build dencoders as shared libraries named with the prefix of
    "den-mod-". so ceph-dencoder can find them
  * install dencoders into $prefix/lib/ceph/denc, so ceph-dencoder
    can find them
  * only expose "register_dencoders()" function from plugins.
  * load plugins in specified directory
* ceph.spec.in: package plugins
* debian: package plugins

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-01 15:46:22 +08:00
Brad Hubbard
c0aa1fdbe7 monmaptool: Don't call set_port on an invalid address
Verify we parse the entire address argument.

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

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-01 16:34:35 +10:00
Alfonso Martínez
7bdb1587fc
Merge pull request #40519 from rhcs-dashboard/50077-vstart-runner-max-required-mgrs
qa/tasks/vstart_runner.py: start max required mgrs

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: rishabh-d-dave <NOT@FOUND>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-04-01 08:30:50 +02:00
Yuval Lifshitz
b697082ee9
Merge pull request #40055 from yuvalif/wip-yuval-fix-49738
librgw/notifications: initialize kafka and amqp
2021-04-01 07:30:07 +03:00
Kefu Chai
eab195566d pybind/mgr/dashboard: move pytest into requirements.txt
before this change, pytest is included by both requirements-lint.txt
and requirements-test.txt. this fails the install-deps.sh script when
collecting the python package wheels:

ERROR: Double requirement given: pytest<4 (from -r requirements-test.txt (line 2)) (already in pytest (from -r requirements-lint.txt (line 12)), name='pytest')

also, since pytest is unconditionally imported in the source, for instance,
in pybind/mgr/dashboard/tests/test_ceph_service.py

it would be more straightforward just to include it in requirements.txt.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-01 11:05:21 +08:00
Samuel Just
d0dc51f79a
Merge pull request #40532 from liu-chunmei/seastore_journal_fix
crimson/seastore:fix scan_extents in journal.cc

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-03-31 20:04:00 -07:00
Seongyeop Jeong
87048debfe src/rgw/rgw_client_io.h: fix a typo
Patch to correct type.

Signed-off-by: Seongyeop Jeong <seongyeop.jeong@snu.ac.kr>
2021-04-01 11:18:45 +09:00
chunmei-liu
c833212f0a crimson/seastore:fix scan_extents in journal.cc
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2021-03-31 14:41:47 -07:00
Sage Weil
2602ea916a doc/releases: reorg
- move current release table to index
- add table for past releases and actual EOL
- move past release timeline too
- make timeline less wide (avoid wrapping)
- use full dates, not just month + year
- clean up left-side toctree
- capitalize release names

Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-31 13:58:28 -05:00
Sage Weil
b8f476084f doc/releases/releases.yaml: add missing releases
pacific initial release
recent octopus and nautilus point releases

Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-31 13:58:28 -05:00
Sage Weil
144bf1a73c admin/build-doc: do not rebuild venv every time
Downside is you have to delete and re-run if the deps change.  The venv
install is suuuuper slow for me, though, so this is a win.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-31 13:58:16 -05:00
Sage Weil
7abf551dc9 doc/releases/releases.yaml: add 16.2.0
Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-31 13:58:16 -05:00
Sage Weil
50f37df361 doc/releases: move 'active-releases' tag
This table shows release dates, EOL, etc.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-31 13:58:16 -05:00
Sage Weil
6d4ef034ad doc/releases: add major headings for releases
This cleans up the index on the left so that the release name/series
is listed instead of a zillion point releases.

Also, drop the separate page for archived releases, so that the
left-hand index behaves well.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-31 13:58:16 -05:00
David Galloway
e6f1ef1931
Merge pull request #40265 from ceph/wip-1610
doc: Add Pacific release notes
2021-03-31 12:24:56 -04:00
Gregory Farnum
fdb2aadc50
Merge pull request #40483 from gregsfortytwo/wip-stretch-mon-location
Improve mon location handling for stretch clusters

Reviewed-by: Sam Just <sjust@redhat.com>
2021-03-31 09:07:12 -07:00
David Galloway
5884f272e2 doc/releases/pacific.rst: Spacing
Signed-off-by: David Galloway <dgallowa@redhat.com>
2021-03-31 11:56:10 -04:00
Kefu Chai
f10f830f6e
Merge pull request #40521 from tchaikov/wip-mon-log
mon/Monitor: add a space before "*m" in logging message

Reviewed-by: Sage Weil <sage@redhat.com>
2021-03-31 23:51:51 +08:00
Casey Bodley
1e85919207 doc: rgw release notes for pacific
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2021-03-31 11:44:11 -04:00
Ilya Dryomov
3df607b5ba doc/releases/pacific.rst: add rbd highlights
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-03-31 11:44:11 -04:00
Patrick Donnelly
da4dcd673b doc: add links for pacific cephfs features
Note: cephfs-mirror does not yet have user-facing documentation to link
to.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-31 11:44:11 -04:00
Ilya Dryomov
a5c13a54d0 doc/releases/pacific.rst: add CEPHX_V2 release note
Landed in pacific in commit a6651bad8f ("auth: require CEPHX_V2 by
default").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-03-31 11:44:11 -04:00
Neha Ojha
dd0f8ee54a doc/releases/pacific.rst: add RADOS highlights
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-03-31 11:44:11 -04:00
Neha Ojha
70b47959e5 doc/releases/pacific.rst: add more release notes
Some of these were under >=15.0.0 in master PendingReleaseNotes.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-03-31 11:44:11 -04:00
Patrick Donnelly
2af779c72d doc: include more CephFS updates
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-31 11:44:11 -04:00