Commit Graph

98810 Commits

Author SHA1 Message Date
Sage Weil
18eacb6ed8 Merge PR #22446 into master
* refs/pull/22446/head:
	relicense LGPL-2.1 code as LGPL-2.1 or LGPL-3.0
	COPYING: add reference to a few Apache-2.0 licensed source files
	debian/copyright: sync with COPYING
	COPYING: LGPL2.1 -> LGPL-2.1
	COPYING: extra bits from debian/copyright

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-06-12 09:11:49 -05:00
Kefu Chai
ca4917842b
Merge pull request #28484 from tchaikov/wip-test_librados_build
qa/workunits/rados/test_librados_build.sh: install build deps

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-06-12 19:47:46 +08:00
Kefu Chai
53cf43ad60
Merge pull request #28486 from tchaikov/wip-remove-digest-from-buffer.h
buffer,crypto,tools: extract digest methods out of bufferlist

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Myoungwon Oh <omwmw@sk.com>
2019-06-12 19:29:59 +08:00
Jason Dillaman
a87a365733
Merge pull request #28494 from ricardoasmarques/update-iscsi-dependencies-versions
doc: Update 'python-rtslib' and 'tcmu-runner' min versions

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-06-12 07:21:30 -04:00
Kefu Chai
b76a6c729f qa/workunits/rados/test_envlibrados_for_rocksdb: support SUSE distros
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-12 17:46:46 +08:00
Kefu Chai
be89e66f74 qa/workunits/rados/test_librados_build.sh: install build deps
to build helloworld of librados, we need to install the build
dependencies.

Fixes: https://tracker.ceph.com/issues/40155
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-12 17:46:46 +08:00
Kefu Chai
0072d487aa qa/workunits/rados/test_envlibrados_for_rocksdb: use helper script
instead of having its own copy of `install()`, try to leverage the
helper in ceph-helpers-root.sh.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-12 17:46:46 +08:00
Kefu Chai
e8e72319aa qa/workunits/ceph-helpers-root: use /etc/os-release instead
as lsb_release does not work on SUSE distros

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-12 17:32:38 +08:00
Kefu Chai
810b69d4c1
Merge pull request #28465 from tchaikov/wip-xio-cleanup
include/config-h.in.cmake: remove HAVE_XIO

Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-06-12 17:16:03 +08:00
Kefu Chai
09c34095d7
Merge pull request #28495 from tchaikov/wip-dashboard-portal_ip_addresses
mgr/dashboard: take portal_ip_addresses as a list

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-06-12 13:53:38 +08:00
Kefu Chai
ddeda902b9 mgr/dashboard: s/portal_ip_address/portal_ip_addresses/
and take portal_ip_addresses as a list

it's a follow-up fix of #28084

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-12 10:44:49 +08:00
Kefu Chai
304c791db2
Merge pull request #28290 from b-ranto/wip-selinux-rhel8
selinux: Update the policy for RHEL8

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-12 10:17:16 +08:00
Casey Bodley
13da9add19
Merge pull request #27507 from pritha-srivastava/wip-rgw-cross-tenant-doc
rgw: Improving doc for Cross Project(Tenant) access with Openstack Ke…

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-06-11 13:16:28 -04:00
Ricardo Marques
247af2831b doc: Update 'python-rtslib' and 'tcmu-runner' min versions
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-06-11 16:59:37 +01:00
Kefu Chai
59dcc74f12
Merge pull request #28084 from ricardoasmarques/improve-portal-ips-calculation
mgr/dashboard: Optimize portal IPs calculation

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-06-11 20:17:32 +08:00
Kefu Chai
df0e98313c
Merge pull request #28454 from tchaikov/wip-gcc-9-on-bionic
install-deps.sh: use GCC-9 on bionic

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-06-11 20:14:51 +08:00
Kefu Chai
748c294508
Merge pull request #28246 from kungf/mgr_default_addr
mgr: use ipv4 default when ipv6 was disabled

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-11 19:48:00 +08:00
Kefu Chai
e0fce726af
Merge pull request #28481 from iotcg/common
include: buffer_raw.h: Copyright time fix

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-11 19:35:19 +08:00
Kefu Chai
7da903db83 buffer,crypto,osd,tools: extract digest methods out of bufferlist
they were consumers of ceph::list::buffers(), and there is no need to
make them member functions of ceph::list, so move them into ceph::crypto
namespace. and update the unit test and ceph_dedup_tool.cc accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-11 18:30:19 +08:00
Kefu Chai
b233e471ad common/ceph_crypto: add digest_size to digest classes
prepare for extracting the digest methods from ceph::buffer::list, so we
can use them in a templated implementation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-11 16:58:43 +08:00
Kefu Chai
9296d783d0
Merge pull request #28443 from dzafman/wip-40198
osd: Don't randomize deep scrubs when noscrub set

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-06-11 14:03:23 +08:00
Kefu Chai
2ad1733809
Merge pull request #28431 from cbodley/wip-40188
common: OutputDataSocket retakes mutex on error path

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-06-11 14:02:28 +08:00
Kefu Chai
a12d94fa79
Merge pull request #28427 from tchaikov/wip-40174
mgr/influx: try to call close()

Reviewed-by: Wido den Hollander <wido@42on.com>
2019-06-11 13:59:38 +08:00
Kefu Chai
fd45fd9237
Merge pull request #28254 from myoungwon/wip-hashfuncs-dedup
common,osd: add hash algorithms for dedup fingerprint

Reviewed-by: Sage Weil <sage@redhat.com>
2019-06-11 13:57:36 +08:00
Kefu Chai
18f978f151
Merge pull request #28176 from p-na/wip-pna-fix-fixmod
mgr/dashboard: Fix `npm run fixmod` command

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-06-11 13:56:28 +08:00
Kefu Chai
194b915e88
Merge pull request #26909 from vitalif/wal-sync-fix
os/bluestore: Actually wait until completion in write_sync

Reviewed-by: Sage Weil <sage@redhat.com>
2019-06-11 13:53:59 +08:00
Kefu Chai
b2bcee3a7e
Merge pull request #28167 from dillaman/wip-39972
librados: move buffer free functions to inline namespace

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-11 13:47:49 +08:00
Kefu Chai
e03666b3bf
Merge pull request #28463 from tchaikov/wip-yaml.safe_load
admin,doc/_ext/ceph_releases.py: use yaml.safe_load()

Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2019-06-11 09:52:37 +08:00
Kefu Chai
054576468c
Merge pull request #28074 from falcon78921/wip-doc-39712
doc: fixed broken links in nautilus release page

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-06-11 09:16:11 +08:00
Changcheng Liu
f464ed5d53 include: buffer_raw.h: Copyright time fix
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
2019-06-11 09:08:36 +08:00
Yuri Weinstein
2622958e0d
Merge pull request #28479 from yuriw/wip-yuriw-crontab-master
qa.tests: added "smoke" suite to the schedule on "mimic","nautilus"
2019-06-10 14:26:12 -07:00
Yuri Weinstein
a986bd0ae2 qa.tests: added "smoke" suite to the schedule on "mimic","nautilus"
Note: frequency can/will reduce later

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-06-10 12:40:30 -07:00
Matt Benjamin
a4bab5b967
Merge pull request #28451 from linuxbox2/wip-rgwfile-dirinv
rgw_file: all directories are virtual with respect to contents
2019-06-10 13:41:37 -04:00
Mykola Golub
8a1ad814f4
Merge pull request #28434 from dillaman/wip-40110
rbd-mirror: link against the specified alloc library

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-06-10 20:09:32 +03:00
Kefu Chai
40ad5783ff
Merge pull request #28414 from smithfarm/wip-40175
build/ops: make "patch" build dependency explicit

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-11 00:11:14 +08:00
Kefu Chai
e2a343ab02
Merge pull request #28388 from dillaman/wip-msg-async-1
msg/async: avoid unnecessary costly wakeups for outbound messages

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-10 21:05:15 +08:00
Nathan Cutler
fe632e2d88 build/ops: make "patch" build dependency explicit
This commit adds "patch" as an explicit build dependency. Before, the RPM
build was installing it in the build environment via some mechanism that I
don't entirely understand.

The "patch" command is used by the BuildBoost cmake module.

Fixes: http://tracker.ceph.com/issues/40175
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-06-10 14:15:00 +02:00
Kefu Chai
fa3e452e96 include/config-h.in.cmake: remove HAVE_XIO
* remove the HAVE_XIO template
* remove README.xio

as XioMessenger was removed back in cc9a9142 .

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-10 14:12:56 +08:00
Kefu Chai
d185c46a43 admin,doc/_ext/ceph_releases.py: use yaml.safe_load()
see
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-09 22:20:14 +08:00
Kefu Chai
ee11e9b60b
Merge pull request #23312 from sylvia0409/master
doc: Fixes OSD node labels which based on the osd_devices name

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-09 21:26:38 +08:00
Kefu Chai
2394f0cc38
Merge pull request #28461 from tchaikov/wip-cmake-pg-meta-set
crimson/osd/pg_meta: use initializer list for passing set<>

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-06-09 19:46:41 +08:00
Kefu Chai
5a028137e8 crimson/osd/pg_meta: use initializer list for passing set<>
we cannot assume that the data in string views are always nul
terminated.

this change partially reverts 82fedbd008.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-09 18:11:27 +08:00
Kefu Chai
b4d67ab978
Merge pull request #28397 from tchaikov/wip-38403
osdc/Objecter: use unique_ptr<OSDMap> for Objecter::osdmap

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-06-09 15:32:22 +08:00
Kefu Chai
bec00b8a01
Merge pull request #28403 from xiexingguo/wip-unify-is-noup
osd: unify sources of no{up,down,in,out} flags into singleton helpers

Reviewed-by: Sage Weil <sage@redhat.com>
2019-06-08 23:36:34 +08:00
Kefu Chai
64fa21e726 osdc/Objecter: move Objecter::Objecter() into .cc
to speed up compilation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-08 23:35:21 +08:00
Kefu Chai
8f30bd868f osdc/Objecter: use unique_ptr<OSDMap> for Objecter::osdmap
Fixes: http://tracker.ceph.com/issues/38403
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-08 23:34:52 +08:00
Kefu Chai
e11c6865f8
Merge pull request #28379 from jtlayton/wip-jlayton-40114
msg: fix addr2 encoding for sockaddrs

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-08 23:31:58 +08:00
Kefu Chai
8aa5bf0c8d
Merge pull request #28368 from kamoltat/wip-progress-module-pg-osdmap-comparison
mgr/progress: Look at PG state when PG epoch >= OSDMap epoch

Reviewed-by: Sage Weil <sage@redhat.com>
2019-06-08 23:28:35 +08:00
Kefu Chai
177956c9f6
Merge pull request #28352 from smithfarm/wip-rpm-obsolete-python
rpm: have pybind RPMs provide/obsolete their python2 predecessors

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-08 23:27:39 +08:00
Kefu Chai
286cdeb784
Merge pull request #27512 from jmolmo/tls_auth
mgr/ansible: TLS Mutual Authentication

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-06-08 23:24:53 +08:00