Commit Graph

125999 Commits

Author SHA1 Message Date
Willem Jan Withagen
82d1e68525 src/vstart.sh: put modules option for MGR in the [mgr] block.
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2021-08-23 14:53:47 +02:00
Deepika Upadhyay
4636835dd5
Merge pull request #42842 from ideepika/wip-werror-testing
run-make-check.sh: fix run-make-check.sh skipping cmake options 

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
2021-08-20 12:00:49 +05:30
Yuri Weinstein
4e6fbccea4
Merge pull request #42852 from sebastian-philipp/centos_8.3_container_tools_3.0.yaml
qa/cephadm: centos_8.3_container_tools_3.0.yaml

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-08-19 12:45:01 -07:00
Ali Maredia
6a0168ad3f
Merge pull request #41950 from zenomri/rgw-crypt-dpp
src/rgw : ldout and lderr calls were replaced by ldpp_dout calls

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2021-08-19 15:07:16 -04:00
Casey Bodley
cd7cbbaf03
Merge pull request #42851 from dang/wip-dang-zipper-raw_obj
RGW - Zipper remove unused files

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-08-19 12:31:03 -04:00
Joseph Sawaya
a0844c1128
Merge pull request #42834 from josephsawaya/rook-orch-qa
qa/tasks/rook: add `ceph orch device ls` command to the rook qa task
2021-08-19 11:14:33 -04:00
Joseph Sawaya
1bfde3f12b
Merge pull request #42757 from josephsawaya/wip-mgr-rook-osd-creation
mgr/rook: Rook orchestrator OSD creation using `ceph orch apply osd`
2021-08-19 11:14:07 -04:00
Sebastian Wagner
c6bd968eff
qa/cephadm: centos_8.3_container_tools_3.0.yaml
Let's avoid latest stable

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

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-08-19 16:55:58 +02:00
Daniel Gryniewicz
a00a2ef53e RGW - Zipper remove unused files
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-08-19 10:29:18 -04:00
Daniel Gryniewicz
f1cafa5cbe
Merge pull request #42796 from dang/wip-dang-zipper-raw_obj
RGW - Remove last rgw_raw_obj from zipper

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-08-19 10:19:27 -04:00
Deepika Upadhyay
9baf075c9f run-make-check: fix do_cmake not consuming run-make-check opts
run-make-check.sh uses run-make.sh to `prepare`(install dependencies)
and `configure` cmake options, without quotes these options containing
special characters(hypens mostly) are skipped, hence we see not all
options supplied at cmake configure step.

Resolves(focused to solve issues in jenkins build env):
 - missing cmake options:
    cmake_opts+=" -DCMAKE_CXX_COMPILER=$cxx_compiler -DCMAKE_C_COMPILER=$c_compiler"
    cmake_opts+=" -DCMAKE_CXX_FLAGS_DEBUG=\-Werror"
 - Ninja not being used as cmake generator

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
2021-08-19 18:28:56 +05:30
Alfonso Martínez
9788d202e7
Merge pull request #42793 from sebastian-philipp/dashboard-fix-standby-redirect
pybind/mgr: Fix IPv6 url generation
2021-08-19 13:12:17 +02:00
Kefu Chai
eab4b58568
Merge pull request #42302 from myoungwon/wip-51000
osd: fix to allow inc manifest leaked

Reviewed-by: Samuel Just <sjust@redhat.com>
2021-08-19 15:42:04 +08:00
Kefu Chai
93976f8f91
Merge pull request #42820 from ronen-fr/wip-ronenf-mgr-argvvec
common: create a faster & cleaner alternative to argv_to_vec()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-08-19 15:40:54 +08:00
Kefu Chai
69b48f3ddc
Merge pull request #42823 from mgfritch/ceph-volume-py3-exec
cmake: s/Python_EXECUTABLE/Python3_EXECUTABLE/

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-08-19 14:49:55 +08:00
Kefu Chai
ee3877226a
Merge pull request #42799 from varshar16/wip-update-email-id
.githubmap: update mail address

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-08-19 14:42:38 +08:00
Kefu Chai
3e02117bad
Merge pull request #42835 from ceph/wip-ctest-fail
run-make-check.sh: Increase failure output log size

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-08-19 13:49:37 +08:00
Kefu Chai
98f08ab216
Merge pull request #42828 from tchaikov/wip-doc-dev-config
doc/dev/config: update to in sync with latest .yaml.in changes

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-08-19 10:15:43 +08:00
David Galloway
e1b55f6878 run-make-check.sh: Increase failure output log size
Fixes: https://tracker.ceph.com/issues/43566

Signed-off-by: David Galloway <dgallowa@redhat.com>
2021-08-18 14:01:05 -04:00
Joseph Sawaya
ee90f5e5c0 qa/tasks/rook: add device ls command to rook task
This commit adds the device ls command to the rook qa task
since that command should be working from now on.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
2021-08-18 11:11:15 -04:00
Daniel Gryniewicz
2cb94876ed RGW - Zipper - remove last rgw_raw_obj from API
Remove the remaining rgw_raw_obj from the API.  This consists of:

- move get/delete raw_obj from Store to RadosStore; it's only needed by
  RadosStore code
- Add a layout formatter to the API
- remove head_obj and get_manifest() from ReadOp
- Remove GCChain (no longer needed)

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-08-18 10:44:15 -04:00
Daniel Gryniewicz
951dd5d30c Fix uninitialized warnings
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-08-18 10:44:15 -04:00
Ronen Friedman
fcdf7f3791
Merge pull request #42827 from ronen-fr/wip-ronenf-std-fix2
key_value_store: fix missing std

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-08-18 14:40:30 +03:00
Kefu Chai
feac6426a5
Merge pull request #42825 from hualongfeng/fix_blk_pmem
blk/pmem: Add namespace std for map,string

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-08-18 19:39:26 +08:00
Sebastian Wagner
3d96f79b74
mgr/cephadm: fix generation of wrong IPv6 urls
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-08-18 12:08:51 +02:00
Sebastian Wagner
98091591e3
mgr/restful: Fix url generation for IPv6 hosts
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-08-18 12:08:51 +02:00
Sebastian Wagner
0b8701b914
mgr/prometheus: Fix url generation for IPv6 hosts
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-08-18 12:08:51 +02:00
Sebastian Wagner
e367796d05
mgr/dashboard: Fix redirect to active MGR
Fixes: https://tracker.ceph.com/issues/52117
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-08-18 12:08:50 +02:00
Sebastian Wagner
29883d68ef
pybind/mgr: move build_url from dashboard to mgr_util
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-08-18 12:08:50 +02:00
Sebastian Wagner
b778996620
Merge pull request #42690 from adk3798/offline2
mgr/cephadm: make scheduler able to accomodate offline/maintenance hosts

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Reviewed-by: Cory Snyder <csnyder@iland.com>
2021-08-18 12:00:33 +02:00
Kefu Chai
e31f8e1253 doc/dev/config: update to in sync with latest .yaml.in changes
we migrated to a build process which translate the options from .yaml.in
files. so update the document to reflect this change.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-08-18 18:00:20 +08:00
Sebastian Wagner
4bf9a31d45
Merge pull request #42592 from vfreex/cephadm-better-port-stripping
cephadm: better port stripping

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-08-18 11:52:09 +02:00
Sebastian Wagner
bea992a7c0
Merge pull request #42590 from vfreex/cephadm-propagate-env-vars
cephadm: propagate environment variables to subprocesses
2021-08-18 11:51:17 +02:00
Sebastian Wagner
28f9290eac
Merge pull request #42589 from vfreex/fix-cephadm-ipv6
cephadm: Fix bootstrap error with IPv6 mon-ip

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-08-18 11:48:18 +02:00
Sebastian Wagner
6462dc77ca
Merge pull request #42816 from sebastian-philipp/cephadm-upgrade-status-message
mgr/cephadm/upgrade: Upgrade status: We also upgrade non-ceph daemons

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
2021-08-18 11:41:22 +02:00
Ronen Friedman
5778c8300f key_value_store: fix missing std
following the removal of 'using std' in PR #42742, and missed
in PR #42790.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2021-08-18 08:25:49 +00:00
Ilya Dryomov
463e40c6b4
Merge pull request #41968 from CongMinYin/fix-ssd-bug
librbd/cache/pwl/ssd: fix m_bytes_allocated exceeding m_bytes_allocated_cap

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2021-08-18 10:08:50 +02:00
Alfonso Martínez
6d7dfefafb
Merge pull request #42768 from s0nea/wip-dashboard-suppressed-alerts
mgr/dashboard: don't notify for suppressed alerts
2021-08-18 08:32:49 +02:00
Feng Hualong
f865a81355 blk/pmem: Add namespace std for map,string
Due to not use namespace std for map,string, it leads to
`map,string` not be declared.

Signed-off-by: Feng Hualong <hualong.feng@intel.com>
2021-08-18 13:52:50 +08:00
Kefu Chai
b1ca6e5021
Merge pull request #42758 from liewegas/gh-template
.github/pull_request_template: fix dashboard e2e test command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-08-18 13:44:50 +08:00
Kefu Chai
53065cad3f
Merge pull request #42801 from ivancich/wip-update-rados-rm-help
doc: clarify use of `rados rm` command

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-08-18 11:46:45 +08:00
Kefu Chai
b21f9c5f73
Merge pull request #42822 from tchaikov/wip-drop-gdbm
ceph.spec.in: drop gdbm from build deps

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2021-08-18 11:36:02 +08:00
Michael Fritch
c8d4c131ad
tools/setup-virtualenv: verify the --python param
when given an invalid or empty (PYTHON_BINARY)
fixup for 494fea50ce

Fixes: https://tracker.ceph.com/issues/52304
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-08-17 15:55:04 -06:00
Michael Fritch
7db8305985
cmake: s/Python_EXECUTABLE/Python3_EXECUTABLE/
pass the python3 exec when creating the ceph-volume build venv
fixup for 5fc657b40d

Fixes: https://tracker.ceph.com/issues/52304
Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-08-17 15:52:13 -06:00
Joseph Sawaya
c6ae95de35 mgr/rook: make use of SizeMatcher in Creator classes
This commit uses the SizeMatcher Class in the Creator functions
to parse and filter devices according to the size specified in a
drive_group.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
2021-08-17 16:08:22 -04:00
Ronen Friedman
b89d4c7482 common: create a faster & cleaner alternative to argv_to_vec()
New function signature follows current C++ guidance regarding
returning values from functions. It is also faster
- 1.3X for a sample test of 10 arguments.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Co-authored-by: Kefu Chai <tchaikov@gmail.com>
2021-08-17 18:06:58 +00:00
Kefu Chai
9d05d73374 ceph.spec.in: drop gdbm from build deps
neither gdbm nor libgdbm is used when building ceph, so let's drop it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-08-18 01:04:42 +08:00
Joseph Sawaya
24687e694c mgr/rook: fix convert_size method in DefaultFetcher
This commit fixes the convert_size method by getting it
to use the re python module to split the digits and letters
to support all units a PV could be expressed in.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
2021-08-17 10:50:27 -04:00
Joseph Sawaya
6c8c1a7945 mgr/rook: create get_storage_class method on RookCluster
this commit creates the get_storage_class method on the RookCluster
class used to get the storage class matching the name provided
in the ceph config.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
2021-08-17 10:50:27 -04:00
Joseph Sawaya
c78aaee43c mgr/rook: apply_drivegroups fix and coding style fixes
This commit fixes the apply_drivegroups method in RookOrchestrator
to process the entire list of drive groups passed.

This commit also fixes some coding style errors in RookCluster.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
2021-08-17 10:50:27 -04:00