Commit Graph

112977 Commits

Author SHA1 Message Date
Sidharth Anupkrishnan
dd8f1a544d client: Fix setxattr with 0 size specified
When xattrs are set with 0 size, the value should be set to an empty string.
Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
2020-07-06 14:45:50 +05:30
Kefu Chai
4425f3e678
Merge pull request #35936 from tchaikov/wip-cmake-seastar-cxxflags
cmake: append to Seastar_CXX_FLAGS

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-07-06 17:00:00 +08:00
Kefu Chai
b4f7cb450c
Merge pull request #35812 from tchaikov/wip-more-log-for-45717
mgr/dashboard: print osd log as well

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-07-06 16:52:26 +08:00
Volker Theile
8d019b0408 mgr/dashboard: Edit host label dialog is crashing
Fixes: https://tracker.ceph.com/issues/46370
Signed-off-by: Volker Theile <vtheile@suse.com>
2020-07-06 09:59:59 +02:00
Kefu Chai
9ce7c101f2 crimson/osd: assign to bufferlist not to bufferlist*
this change addresses a regression introduced by a23a1929f5

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-06 10:07:17 +08:00
Kefu Chai
74fdebaa6b cmake: append to Seastar_CXX_FLAGS
instead of overwriting Seastar_CXX_FLAGS, append to it. this change
allows user to set Seastar_CXX_FLAGS in the command line.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-06 10:06:15 +08:00
pcuzner
0021dd278b
Merge pull request #35610 from pcuzner/wip-grafana-container
monitoring: add grafana container build file
2020-07-06 13:06:55 +12:00
Jason Dillaman
0e8aa956a3 rbd: switch thick-provision image creation to use new write_zeroes API
Also fix some of the concurrency and chunk size issues when handling
fancy striped images.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-07-05 18:55:17 -04:00
Jason Dillaman
0d10b0af65 librbd: add flag to force thick-provisioning during write_zeroes API
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-07-05 18:55:17 -04:00
Kefu Chai
e9cc7d863a
Merge pull request #35935 from tchaikov/wip-crimson-no-more-claim
crimson/osd: use operator=(...) instead of claim()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-07-05 23:57:05 +08:00
Kefu Chai
a23a1929f5 crimson/osd: use operator=(...) instead of claim()
to silence warnings like

objclass.cc:300:26: warning: 'void ceph::buffer::v15_2_0::list::claim(ceph::buffer::v15_2_0::list&)' is deprecated: in favor of operator=(list&&) [-Wdeprecated-declarations]
  300 |   outbl->claim(op.outdata);
      |                          ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 21:48:20 +08:00
Kefu Chai
7e4275390c pybind: add special values for not reading conffile
Fixes: https://tracker.ceph.com/issues/44415
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 21:37:23 +08:00
Kefu Chai
21321e9ff2
Merge pull request #35921 from uweigand/test_cdc-endianfix
unittest_cdc: fix test on big-endian hosts

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-05 21:31:48 +08:00
Kefu Chai
366ce93acb test/common: link unittest_interval_set against GTest::Main
its main() is offered by GTet::Main library

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 21:23:01 +08:00
Kefu Chai
eef17d68ad include/interval_set: use template as the 2nd template parameter
to avoid repeating the unit for the interval in the internal map's
parameter.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 21:23:01 +08:00
zdover23
664a8dab9f
Merge pull request #35932 from zdover23/wip-doc-cephadm-suites-typo
doc/cephadm: index.rst: s/suites/suits/ typo fixed.
2020-07-05 22:01:32 +10:00
Ramana Raja
8992489cab pybind/cephfs: raise custom Exception with same arguments
... so that's easier for a higher level application to handle
it.

Fixes: https://tracker.ceph.com/issues/46360
Signed-off-by: Ramana Raja <rraja@redhat.com>
2020-07-05 17:26:49 +05:30
Ramana Raja
4cd247e6d0 pybind/cephfs: add DiskQuotaExceeded exception
Signed-off-by: Ramana Raja <rraja@redhat.com>
2020-07-05 17:26:36 +05:30
Zac Dover
8aebd0fd57 doc/cephadm: index.rst: s/suites/suits/ typo fixed.
This commit changes the sentence "Choose the method that best suites
your needs." to "Choose the method that best suits your needs."

Fixes: https://tracker.ceph.com/issues/46359
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-07-05 19:18:31 +10:00
Kefu Chai
a67d003e93
Merge pull request #35275 from AmnonHanuhov/wip-objclass_impl
crimson/osd: Add support for cls_log

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-05 14:52:20 +08:00
Kefu Chai
c323c3ccc9
Merge pull request #35871 from tchaikov/wip-45717
mon/PGMap: do not consider changing pg stuck

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-07-05 14:48:09 +08:00
Kefu Chai
ba1c03d5cb
Merge pull request #35864 from tchaikov/wip-osdc-claim
osdc: use operator=(...) instead of claim()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-07-05 14:30:31 +08:00
Kefu Chai
db685e26e4
Merge pull request #35863 from wuxingyi/removeunused
osd: Remove unused function declearation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-05 13:09:44 +08:00
Kefu Chai
7ac86d8e56
Merge pull request #35818 from majianpeng/osd-replicatedbackend-redundant-parameter
osd/ReplicatedBackend: remove redundant parameter.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-05 13:05:06 +08:00
Kefu Chai
4a19c8f187
Merge pull request #35817 from tchaikov/wip-drop-py2
qa,test,pybind: drop py2 support

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-07-05 12:57:36 +08:00
Kefu Chai
ecb7826422 pybind/mgr/telegraf: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
63b80c514c pybind/mgr/status: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
83514aa8ee pybind/mgr/selftest: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
06a551d99e pybind/mgr/restful: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
5dea1c46e3 pybind/mgr/pg_autoscaler: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
8cdb00e413 pybind/mgr/mgr_module: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
6bdb280954 pybind/mgr/insights: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
ac8bd21e90 pybind/mgr/influx: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
c85f9b015b pybind/mgr/devicehealth: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
88ff34a9c8 pybind/mgr/cephadm: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
fa5177c403 pybind/mgr/balancer: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
9442683f61 doc: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
a045778d5b qa/tasks/cephfs: drop six dependency
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
3ee164b92c qa/tasks/ceph_objectstore_tool: drop six dependency
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
8f12c67ba5 qa/tasks/barbican: drop six dependency
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
3573f33744 qa/tasks/workunit: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
5d56234b45 qa/tasks/s3tests: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
29ac8118a3 qa/tasks/rbd: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
4d9cca04e5 qa/tasks/radosgw_admin: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
2ade261bc6 qa/tasks/osd_failsafe_enospc: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
a7f18e46b9 qa/tasks/{ceph,ceph_manager}: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
51efa33ac8 test/pybind: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
cf7632cfd5 pybind/mgr/dashboard: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
b81778c313 pybind: drop py2 support
the python bindings are compiled using python3-cython, and packaged as
python3-{rados,rbd,cephfs,rgw}, so there is no need and is wrong to
claim that they are python2 compatible.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
0a8188e461 qa/workunits: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00