]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 1 Oct 2019 15:30:42 +0000 (10:30 -0500)]
mgr/ssh: run c-v with podman when getting inventory
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 1 Oct 2019 15:29:53 +0000 (10:29 -0500)]
mgr/ssh: simplify ssh connection management
- Use a single instance of the config and identity files for the whole
module. There's no need to create these for *every* connection--it just
pollutes /tmp.
- Drop the SSHConnection wrapper, since the temp files are tied to the
daemon lifecycle now.
- Prefix the tmp files so I can tell wtf is going on.
- Always connect to root@host, to avoid remoto's localhost detection
feature. This ensures we have a consistent connection model and user.
(The daemon might be running as user ceph and try to connect to localhost,
but end up running the command as the wrong user and/or inside the
ceph-mgr container.)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 1 Oct 2019 15:11:25 +0000 (10:11 -0500)]
mgr/ssh: use ceph-daemon for deploying mon
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 1 Oct 2019 15:10:39 +0000 (10:10 -0500)]
ceph-daemon: allow --mon-network for deploying new mon (vs specifying IP)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 1 Oct 2019 15:10:16 +0000 (10:10 -0500)]
ceph-daemon: --config-and-keyring (not key)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 1 Oct 2019 14:11:44 +0000 (09:11 -0500)]
common/options: add 'image' config option
Defaults to 'ceph/daemon-base'.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 22:01:51 +0000 (17:01 -0500)]
test_ceph_daemon: specify image name
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 22:01:38 +0000 (17:01 -0500)]
vstart.sh: add --ssh to enable+configure ssh orchestrator
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 18:54:29 +0000 (13:54 -0500)]
mgr/ssh: use ssh identity from config-key, if present
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 18:53:11 +0000 (13:53 -0500)]
mgr/ssh: hardcode default ssh_config
Use this unless either ssh_config or ssh_config_file are present.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 18:51:12 +0000 (13:51 -0500)]
ceph-daemon: store ssh identity in mon config-key store
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 18:04:24 +0000 (13:04 -0500)]
ceph-daemon: --privileged arg for 'exec'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 17:56:29 +0000 (12:56 -0500)]
ceph-daemon: make deploy work for osd (do a c-v prepare)
This is sufficient to deploy an OSD that is based on ceph-volume lvm.
YMMV if it's not an lvm-based OSD.
Run the OSD container privileged so we can open the raw block device.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 17:55:01 +0000 (12:55 -0500)]
ceph-daemon: make shell privileged
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 17:54:50 +0000 (12:54 -0500)]
ceph-daemon: move get_container_mounts to a helper
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 17:54:11 +0000 (12:54 -0500)]
ceph-daemon: pass full path for entrypoint
Sometimes we run things in /usr/sbin...
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 17:53:24 +0000 (12:53 -0500)]
ceph-daemon: make id portion of 'shell' optional
This lets you start up a 'generic' container of a particular class,
without a data mount, but with the appropriate other mounts and privilege
levels.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Sep 2019 17:23:52 +0000 (12:23 -0500)]
ceph-volume: accept --no-tmpfs argument for bluestore
When activating a bluestore inside a container, we want to (be able to)
make the osd dir metadata persistent inside the container.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 29 Sep 2019 20:32:40 +0000 (15:32 -0500)]
ceph-daemon: 'unit' command
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 29 Sep 2019 20:27:49 +0000 (15:27 -0500)]
ceph-daemon: fix run command to use call(), not check_output()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 29 Sep 2019 20:18:23 +0000 (15:18 -0500)]
src/ceph-daemon: whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 29 Sep 2019 20:18:16 +0000 (15:18 -0500)]
ceph-daemon: add 'enter', 'exec' commands
'enter' is really just 'exec' + bash
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 22:00:13 +0000 (17:00 -0500)]
ceph-daemon: bind config to default location
This is one less thing on the command line, and an easier time when inside
the container.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 19:56:43 +0000 (14:56 -0500)]
test_ceph_daemon.sh: test deploy mds too
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 19:56:36 +0000 (14:56 -0500)]
ceph-daemon: generate ssh keys
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 19:55:24 +0000 (14:55 -0500)]
ceph-daemon: --config, not --conf
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 19:30:52 +0000 (14:30 -0500)]
ceph-daemon: long lines
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 14:50:40 +0000 (09:50 -0500)]
ceph-daemon: add --config to bootstrap
Settle on --config|-c too, not --conf.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 16:59:03 +0000 (11:59 -0500)]
ceph-daemon: add 'shell' command
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 16:58:48 +0000 (11:58 -0500)]
ceph-daemon: do not import subprocess symbols directly
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 16:41:32 +0000 (11:41 -0500)]
ceph-daemon: add mons with 'deploy mon.x ...'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 15:58:24 +0000 (10:58 -0500)]
ceph-daemon: add 'ls'
Eventually we should teach this to understand rook mons+osds and
ceph-ansible containerized daemons.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 14:48:32 +0000 (09:48 -0500)]
ceph-daemon: simplify uid/gid a bit
Assume user ceph and group ceph exist inside the container. We still need
the uid/gid for creating daemon directories, though, and for the bootstrap,
where we are creating files on the host and passing them through.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 14:26:12 +0000 (09:26 -0500)]
ceph-daemon: fix libudev
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 14:23:38 +0000 (09:23 -0500)]
ceph-daemon: autodetect uid/gid from container image
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 13:53:39 +0000 (08:53 -0500)]
ceph-daemon: default to empty log files, log to stderr (systemd journal)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 13:51:56 +0000 (08:51 -0500)]
ceph-daemon: rm-{daemon,cluster}
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 16:40:56 +0000 (11:40 -0500)]
ceph-daemon: fix bootstrap config
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Sep 2019 13:51:08 +0000 (08:51 -0500)]
ceph-daemon: fix args.fsid usage
Pass it explicitly, since it only sometimes comes from args.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 Sep 2019 22:35:17 +0000 (17:35 -0500)]
ceph-daemon: be careful overwriting live files
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 Sep 2019 22:21:26 +0000 (17:21 -0500)]
ceph-daemon: slurp some options over from the standard systemd unit
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 Sep 2019 22:19:25 +0000 (17:19 -0500)]
ceph-daemon: add ceph.target and ceph-$fsid.target units
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 Sep 2019 21:46:49 +0000 (16:46 -0500)]
test_ceph_daemon.sh: stupid test script
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 Sep 2019 21:44:51 +0000 (16:44 -0500)]
ceph-daemon: bootstrap and deploy (mgr) work
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 Sep 2019 19:13:47 +0000 (14:13 -0500)]
ceph-daemon: initial checkin
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 Sep 2019 19:13:38 +0000 (14:13 -0500)]
ceph-mon: fix debug print of public_addr
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Wed, 2 Oct 2019 11:09:22 +0000 (04:09 -0700)]
Merge PR #30542 into master
* refs/pull/30542/head:
doc: cleanup CephFS Landing Page
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Lenz Grimmer [Wed, 2 Oct 2019 09:22:44 +0000 (09:22 +0000)]
mgr/dashboard: Show smartctl summary in OSD tab (#30378)
mgr/dashboard: Show smartctl summary in OSD tab
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Nathan Cutler [Wed, 2 Oct 2019 08:42:04 +0000 (10:42 +0200)]
Merge pull request #29922 from smithfarm/wip-41524
cmake: set empty RPATH for some test executables
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Patrick Donnelly [Wed, 2 Oct 2019 04:23:57 +0000 (21:23 -0700)]
Merge PR #30416 into master
* refs/pull/30416/head:
client: add procession of SEEK_HOLE and SEEK_DATA in lseek.
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Wed, 2 Oct 2019 02:16:58 +0000 (10:16 +0800)]
Merge pull request #30653 from tchaikov/wip-os/drop-kinetic
os: remove KineticStore
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Ali Maredia [Tue, 1 Oct 2019 20:48:11 +0000 (16:48 -0400)]
Merge pull request #28569 from alimaredia/wip-rgw-ioctx-operate-replace
rgw: replace direct calls to ioctx.operate()
Kefu Chai [Tue, 1 Oct 2019 14:28:58 +0000 (22:28 +0800)]
Merge pull request #30655 from tchaikov/wip-cmake/crimson/pass-args
cmake: pass arguments to crimson tests
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
shenhang [Tue, 17 Sep 2019 02:55:21 +0000 (10:55 +0800)]
client: add procession of SEEK_HOLE and SEEK_DATA in lseek.
Fixes: https://tracker.ceph.com/issues/42107
Signed-off-by: Shen Hang <harryshen18@gmail.com>
Casey Bodley [Tue, 1 Oct 2019 13:59:30 +0000 (09:59 -0400)]
Merge pull request #30613 from joke-lee/rgw-ceph-dencoder-add-RGWPeriodLatestEpochInfo
ceph-dencoder: add RGWPeriodLatestEpochInfo support.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Tue, 1 Oct 2019 09:29:16 +0000 (17:29 +0800)]
cmake: pass arguments to crimson tests
otherwise they will take all CPU cores and all memory
Signed-off-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Tue, 27 Aug 2019 08:24:11 +0000 (10:24 +0200)]
build/ops: set empty RPATH for some test executables
Fixes: https://tracker.ceph.com/issues/41524
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Sebastian Wagner [Tue, 1 Oct 2019 10:05:00 +0000 (12:05 +0200)]
Merge pull request #30587 from sebastian-philipp/python-common-readme
python-common: Add small Readme
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Patrick Donnelly [Tue, 1 Oct 2019 08:21:16 +0000 (01:21 -0700)]
Merge PR #30341 into master
* refs/pull/30341/head:
cephfs-shell: better complain info, when deleting non-empty directory
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Patrick Donnelly [Tue, 1 Oct 2019 08:17:53 +0000 (01:17 -0700)]
Merge PR #30559 into master
* refs/pull/30559/head:
mds: Reorganize class members in MDBalancer header
Reviewed-by: Jos Collin <jcollin@redhat.com>
Patrick Donnelly [Tue, 1 Oct 2019 08:15:54 +0000 (01:15 -0700)]
Merge PR #30580 into master
* refs/pull/30580/head:
client: don't ceph_abort on bad llseek whence value
client: remove Inode dir_contacts field
Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Ramana Raja [Tue, 1 Oct 2019 07:35:33 +0000 (13:05 +0530)]
Merge pull request #30407 from joscollin/wip-B41841-yes-really-mean-it
mgr/volumes: protection for `fs volume rm` command
Milind Changire [Tue, 1 Oct 2019 07:11:32 +0000 (12:41 +0530)]
doc: cleanup CephFS Landing Page
Fixes: https://tracker.ceph.com/issues/41952
Signed-off-by: Milind Changire <mchangir@redhat.com>
Kefu Chai [Tue, 1 Oct 2019 04:51:45 +0000 (12:51 +0800)]
os: remove KineticStore
kinetic-cpp-client and kinetic project as a whole are not acitvely
supported or maintained anymore. see
- https://github.com/Kinetic/kinetic-cpp-client
- http://www.openkinetic.org
Signed-off-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 1 Oct 2019 03:46:14 +0000 (20:46 -0700)]
Merge PR #30552 into master
* refs/pull/30552/head:
cmake: fix libtsan detection
test: librados startup/shutdown racer test
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Tue, 1 Oct 2019 02:57:16 +0000 (10:57 +0800)]
Merge pull request #30630 from tchaikov/wip-build-on-centos8
install-deps,rpm,do_cmake: build on RHEL/CentOS 8
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Kefu Chai [Tue, 1 Oct 2019 02:45:23 +0000 (10:45 +0800)]
Merge pull request #30531 from alimaredia/wip-rgw-maven-version-update
qa: bump maven repo version in s3a_hadoop.py
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Xie Xingguo [Tue, 1 Oct 2019 01:07:29 +0000 (09:07 +0800)]
Merge pull request #30615 from xiexingguo/wip-progress-time-remaining
mgr/progress: estimated remaining time for events
Reviewed-by: Sage Weil <sage@redhat.com>
Xie Xingguo [Mon, 30 Sep 2019 23:42:25 +0000 (07:42 +0800)]
Merge pull request #30591 from xiexingguo/wip-balancer-throttler
mgr/balancer: upmap_max_iterations -> upmap_max_optimizations; behave as it is per pool
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Mon, 30 Sep 2019 21:15:31 +0000 (14:15 -0700)]
Merge pull request #29674 from athanatos/sjust/wip-fio-trace
os/bluestore: expand lttng tracepoints, improve fio_ceph_objectstore backend
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ali Maredia [Fri, 30 Aug 2019 21:13:47 +0000 (17:13 -0400)]
cls: CLS_CLIET_HIDE_IOCTX changes in cls headers
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 29 Aug 2019 19:27:43 +0000 (15:27 -0400)]
rgw: various ioctx.operate refactoring changes
- remove unused #include for cls_client headers
- refactor cls_timeindex_trim call in
rgw_object_expirer_core.cc
- add more CLS_CLIENT_HIDE_IOCTX in header files
- move target_compile_definitions to rgw_a target
- make repeat cls helper functions static
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Wed, 12 Jun 2019 22:36:27 +0000 (18:36 -0400)]
rgw: overload cls_rgw functions that do io_ctx.operate()
Call the new overloaded functions and call
rgw_rados_operate after them.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Wed, 12 Jun 2019 15:40:26 +0000 (11:40 -0400)]
cls: remove unused cls_rgw_reshard_get_head()
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 7 Jun 2019 12:54:23 +0000 (08:54 -0400)]
rgw: replace ioctx.operate() with rgw_rados_operate()
For all operate calls in:
rgw_op.cc
rgw_orphan.cc
rgw_reshard.cc
rgw_rados.cc
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Jeff Layton [Mon, 30 Sep 2019 17:54:13 +0000 (13:54 -0400)]
cmake: fix libtsan detection
This variable is case-sensitive.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Lenz Grimmer [Mon, 30 Sep 2019 13:51:44 +0000 (13:51 +0000)]
Merge pull request #30620 from votdev/issue_42069_validate_bucket_name
mgr/dashboard: Bucket names cannot be formatted as IP address
Reviewed-by: Alfonso MartÃnez <almartin@redhat.com>
Reviewed-by: Kai Wagner <kwagner@suse.com>
Lenz Grimmer [Mon, 30 Sep 2019 13:44:40 +0000 (13:44 +0000)]
Merge pull request #30647 from s0nea/wip-dashboard-fix-typo
mgr/dashboard: fix small typos in description message
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Mon, 30 Sep 2019 13:18:43 +0000 (21:18 +0800)]
Merge pull request #29925 from sebastian-philipp/run_tox-overwrite-build-dir
script/run_tox.sh: Don't overwrite the build dir
Reviewed-by: Kefu Chai <kchai@redhat.com>
Tatjana Dehler [Mon, 30 Sep 2019 11:59:48 +0000 (13:59 +0200)]
mgr/dashboard: fix two small typos
Remove unnecessary blanks.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Sebastian Wagner [Tue, 27 Aug 2019 08:36:43 +0000 (10:36 +0200)]
script/run_tox.sh: Don't overwrite the Ceph's bulid dir
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Mon, 30 Sep 2019 09:51:04 +0000 (17:51 +0800)]
Merge pull request #30639 from tchaikov/wip-crimson-readable
crimson/osd: implement readable/lease related methods
Reviewed-by: Sage Weil <sage@redhat.com>
Xie Xingguo [Mon, 30 Sep 2019 09:01:44 +0000 (17:01 +0800)]
Merge pull request #30644 from majianpeng/osd-remove-unused-func
osd: remove unused function
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Xie Xingguo [Mon, 30 Sep 2019 08:59:55 +0000 (16:59 +0800)]
Merge pull request #30632 from xiexingguo/wip-kick-recovery-pri
osd/PrimaryLogPG: always use strict priority ordering for kicked recovery ops
Reviewed-by: Yan Jun <yan.jun8@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 30 Sep 2019 08:53:51 +0000 (16:53 +0800)]
Merge pull request #30642 from Rjerk/wip-fix-doc
doc/radosgw: fix typos
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 29 Sep 2019 17:19:43 +0000 (01:19 +0800)]
osd/PrimaryLogPG: add closing ")" in log
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 29 Sep 2019 17:19:07 +0000 (01:19 +0800)]
crimson/osd/pg: implement schedule_renew_lease()
see also
d883db70282c406edaceb72a90ecddccd97a0161
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 30 Sep 2019 08:20:37 +0000 (16:20 +0800)]
crimson/osd: implement ShardServices::get_hb_stamps()
PeeringState::proc_lease() requires a valid hb_stamps[0], which is in
turned maintained by `pl`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 29 Sep 2019 17:11:42 +0000 (01:11 +0800)]
crimson/osd/pg: implement queue_check_readable() and recheck_readable()
see also
7aec060e0aff4588ff51f744dd194d1c0f7793c2
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 29 Sep 2019 17:08:52 +0000 (01:08 +0800)]
common/ceph_time: do not handle negative case
this change partially reverts
353a0e5f , unlike `signedspan`,
`timespan::rep` is unsigned. so no need to handle negative case.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Volker Theile [Fri, 27 Sep 2019 11:04:48 +0000 (13:04 +0200)]
mgr/dashboard: Bucket names cannot be formatted as IP address
In general, bucket names should follow domain name constraints:
- Bucket names must be unique.
- Bucket names cannot be formatted as IP address.
- Bucket names can be between 3 and 63 characters long.
- Bucket names must not contain uppercase characters or underscores.
- Bucket names must start with a lowercase letter or number.
- Bucket names must be a series of one or more labels. Adjacent labels are separated by a single period (.). Bucket names can contain lowercase letters, numbers, and hyphens. Each label must start and end with a lowercase letter or a number.
Fixes: https://tracker.ceph.com/issues/42069
Signed-off-by: Volker Theile <vtheile@suse.com>
Jianpeng Ma [Mon, 30 Sep 2019 05:38:27 +0000 (13:38 +0800)]
osd: remove unused function
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Patrick Donnelly [Mon, 30 Sep 2019 04:05:02 +0000 (21:05 -0700)]
Merge PR #30396 into master
* refs/pull/30396/head:
doc: document mds journaling
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 30 Sep 2019 04:02:56 +0000 (21:02 -0700)]
Merge PR #30463 into master
* refs/pull/30463/head:
vstart_runner: allow the use of it with kernel mounts
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Liu Lan [Mon, 30 Sep 2019 03:16:40 +0000 (11:16 +0800)]
doc/radosgw: fix typo
Signed-off-by: Liu Lan <liulan@umcloud.com>
xie xingguo [Fri, 27 Sep 2019 08:04:05 +0000 (16:04 +0800)]
mgr/progress: estimated remaining time for events
Fixes: https://tracker.ceph.com/issues/40419
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Sun, 29 Sep 2019 17:26:09 +0000 (01:26 +0800)]
Merge pull request #30638 from uweigand/cmake-atomic-16byte
cmake: Test for 16-byte atomic support on IBM Z
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ulrich Weigand [Sun, 29 Sep 2019 14:22:52 +0000 (16:22 +0200)]
cmake: Test for 16-byte atomic support on IBM Z
On IBM Z the Boost tagged pointer implementation cannot use
"pointer compression" as there are no unused bits in an address;
the whole 64-bit address space is available to user space code.
Instead, Boost uses 16-byte atomics. This is always supported
on IBM Z, but depending on the particular compiler (version)
it may require linking against libatomic. The existing checks
in CheckCxxAtomic.cmake do not catch this, however, as they only
test for (up to) 8-byte atomic support.
Fixed by adding a test for 16-byte atomic support on IBM Z.
Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Kefu Chai [Sun, 29 Sep 2019 10:11:40 +0000 (18:11 +0800)]
Merge pull request #30617 from xiexingguo/wip-weird-daemon-key
mgr: fix weird health-alert daemon key
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Sun, 29 Sep 2019 06:15:07 +0000 (14:15 +0800)]
mgr: fix weird health-alert daemon key
Was:
19 slow ops, oldest one blocked for 34 sec, daemons [osd,2,osd,4] have slow ops.
Now:
153 slow ops, oldest one blocked for 38 sec, daemons [osd.3,osd.4,osd.5] have slow ops.
Fixes: https://tracker.ceph.com/issues/42079
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>