Michael Fritch
6f021ed62f
qa/workunits/cephadm/test_repos: add zypper
...
cephadm adds partial enablement for zypper repos
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
0f677230ed
qa/workunits/cephadm/test_repos: compile cephadm
...
build the compiled cephadm binary during the workunit test
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
814740dd46
qa/workunits/cephadm/test_adoption: compile cephadm
...
build the compiled cephadm binary during the workunit test
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
f6eff4ad62
qa/workunits/cephadm/test_adoption: remove python kludge
...
we are no longer testing against py2 as of 225cbd8d79
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
c4e04f2471
qa/workunits/cephadm/test_cephadm: compile cephadm
...
build the compiled cephadm binary during the workunit test
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
cc6d823e7a
cpatch: compile the cephadm binary
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
4bc88b9e5f
cstart.sh: compile cephadm
...
update cstart/ckill scripts to use the compiled cephadm binary
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
2713f6b935
stop.sh: compile cephadm
...
use the path to the compiled cephadm binary file
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
a076983698
cephadm: allow execution from a relative path
...
let the build script run from a relative path (e.g. build or qa dir)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
47834f0e69
cephadm: zipapp module requires Python35 or later
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
5499bbbb9c
cephadm: locate path to the python3 binary
...
fixes incorrect shebang in the compiled zipfile (`#!python3`)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
f756b3cfcc
rpm, debian: use cmake to install the cephadm binary
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Michael Fritch
23b58bb7bc
cmake: add cephadm to vstart target
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2022-09-13 12:17:20 -04:00
Patrick Seidensal
b80082fd13
cephadm: Only compress cephadm on Python >= 3.7
...
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2022-09-13 12:17:20 -04:00
Sebastian Wagner
1ddd179054
qa/tasks: Drop downloading cephadm from the git source tree
...
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2022-09-13 12:17:20 -04:00
Patrick Seidensal
18fcfb022d
cephadm: compile cephadm
...
Compiling cephadm into an single binary offers the ability to split the
code from cephadm up into several files/modules. A side effect of having
a `cephadm.py` file (which, by renaming to cephadm.py has already become
a module) is that it can properly be imported and static type checking
inside `src/cephadm/tests/test_cephadm.py` is not an issue anymore.
Next steps would to split up cephadm into several modules and adapting
the test_cephadm.py import mechanism, as well as fixing the typing
issues, which are revealed by using a proper important statement.
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2022-09-13 12:17:20 -04:00
Adam King
2bdccfd5ea
Merge pull request #47521 from adk3798/iscsi-ip-list
...
mgr/cephadm: reconfig iscsi daemons if trusted_ip_list changes
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-13 12:01:19 -04:00
Adam King
821e90eb82
Merge pull request #47640 from adk3798/no-cgroups
...
mgr/cephadm: make setting --cgroups=split configurable
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-13 11:59:13 -04:00
Adam King
ce6a24d461
Merge pull request #47936 from adk3798/tuned-profile-dashes
...
mgr/cephadm: fix tuned profiles getting removed if name has dashes
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-13 11:58:00 -04:00
Adam King
581098e43e
Merge pull request #47786 from rkachach/fix_issue_57192
...
mgr/cephadm: validating tuned profile specification
Reviewed-by: Adam King <adking@redhat.com>
2022-09-13 11:55:57 -04:00
Adam King
3c2cda3a0b
Merge pull request #48008 from adk3798/docs-extra-container-mounts
...
doc/cephadm: document recommended syntax for mounting files with ECA
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-09-13 10:38:32 -04:00
Redouane Kachach
d3e55f1521
mgr/cephadm: validating tuned profile specification
...
fixes: https://tracker.ceph.com/issues/57192
fixes: https://tracker.ceph.com/issues/57191
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2022-09-13 15:12:46 +02:00
Adam King
8a6e67c6a3
mgr/cephadm: reconfig iscsi daemons if trusted_ip_list changes
...
This is necessary as iscsi daemons expect the iscsi-gateway.cfg
which includes this list to match across the iscsi daemons
Fixes: https://tracker.ceph.com/issues/57078
Signed-off-by: Adam King <adking@redhat.com>
2022-09-13 09:06:48 -04:00
Adam King
ecd2170bfd
Merge pull request #47898 from adk3798/no-sudo-true
...
mgr/cephadm: don't use "sudo" in commands if user is root
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-09-13 08:56:18 -04:00
Adam King
69abd358c4
mgr/cephadm: fix tuned profiles getting removed if name has dashes
...
Previously, due to the way it was just splitting the file name on
dashes to try and get the profile name, any profile name with dashes
was not getting properly matched and would therefore get marked
stray and removed. This new strategy instead tries to match the actual
expected file name.
Fixes: https://tracker.ceph.com/issues/57405
Signed-off-by: Adam King <adking@redhat.com>
2022-09-13 08:52:10 -04:00
Venky Shankar
46200c2071
Merge pull request #47469 from lxbsz/cleanup_C_MDC_EmptyImport
...
mds: remove the stale class C_MDC_EmptyImport code
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
2022-09-13 18:17:29 +05:30
Venky Shankar
dad53620c7
Merge pull request #48033 from joscollin/wip-kill-cephfs-top
...
stop.sh: kill cephfs-top
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-09-13 18:16:20 +05:30
Adam King
f0b1617ee5
Merge pull request #48006 from rkachach/fix_issue_57422
...
mgr/cephadm: Adding --storage.tsdb.retention.size prometheus option
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-09-13 08:22:49 -04:00
yuval Lifshitz
2dd12b3fa5
rgw/lua: create lua background manager before the frontends
...
Fixes: https://tracker.ceph.com/issues/57518
issue was introduced in: d0424e842d
Signed-off-by: yuval Lifshitz <ylifshit@redhat.com>
2022-09-13 13:12:40 +03:00
Nizamudeen A
e168cd1bdd
Merge pull request #47574 from rhcs-dashboard/osd-form-hostname-filter
...
mgr/dashboard: osd form preselect db/wal device filters
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
2022-09-13 11:38:01 +05:30
Liu-Chunmei
58f607e577
Merge pull request #48001 from aisakaki/wip-omap-inclusive-fix
...
crimson/seastore: fixs on omap list open/closed range
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2022-09-12 22:54:46 -07:00
Nizamudeen A
edf3c0d285
Merge pull request #47968 from rhcs-dashboard/add-alert-silence-button
...
mgr/dashboard: Add a Silence button shortcut to alert notifications
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-09-13 10:40:34 +05:30
zdover23
23aa2be306
Merge pull request #47305 from zdover23/wip-doc-2022-07-25-pr4600-cleanup
...
doc/monitoring: add min vers of apps in mon stack
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-09-13 13:44:43 +10:00
zdover23
08ca416061
Merge pull request #47575 from zdover23/wip-doc-2022-08-13-rados-operations-pools-prompt-update
...
doc/rados: add prompts to pools.rst
Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-09-13 12:45:18 +10:00
Samuel Just
d38328b633
crimson/osd/pg: add logging to queue_check_readable
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-09-12 19:15:07 -07:00
Samuel Just
9299d234fc
crimson/osd/pg: add pg itself to queue_check_readable debug outputs
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-09-12 19:14:51 -07:00
Samuel Just
d1e9a2cc63
crimson/osd/pg: re-call queue_check_readable if not yet readable
...
We need to requeue the check if not enough time has elapsed, or
we'll stay stuck in the wait state.
Fixes: https://tracker.ceph.com/issues/57506
Introduced: 51cabbff7b
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-09-12 19:13:44 -07:00
Tim Serong
fb304cbb02
Merge pull request #48042 from SUSE/wip-fix-57497
...
ceph.spec.in: Use gcc11-c++ on openSUSE Leap 15.x
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-13 08:55:40 +10:00
Matt Benjamin
590750ea27
Merge pull request #47771 from linuxbox2/wip-librgw-frontends
...
librgw: add ability to conditionally export HTTP frontends/apis
2022-09-12 18:46:35 -04:00
Matt Benjamin
0a5debf821
rgw/main: if !nfs, register service map as "rgw"
...
This was accidentally changed to "nfs"--which breaks various
ceph orchestration assumptions.
Found by Ernesto Puerta <epuertat@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-12 17:00:49 -04:00
Adam King
78574ddad6
Merge pull request #47854 from phlogistonjohn/jjm-fix-57268
...
qa/tasks/kubeadm: set up tigera resources via kubectl create
Reviewed-by: Adam King <adking@redhat.com>
2022-09-12 15:56:43 -04:00
Adam King
f577d1117d
doc/cephadm: document recommended syntax for mounting files with ECA
...
Mounting files with extra container args seems to not
work with some of the more intuitive syntaxes.
See https://tracker.ceph.com/issues/57338
Signed-off-by: Adam King <adking@redhat.com>
2022-09-12 15:19:18 -04:00
Adam King
0320c67351
Merge pull request #48007 from adk3798/fix-staggered-pacific-version
...
doc/cephadm: correct version staggered upgrade got in pacific
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-09-12 15:06:33 -04:00
Guillaume Abrioux
a651a5152f
Merge pull request #46344 from mjenglish/ceph-volume-multiple-actuator
...
ceph-volume/ceph_volume/util: ceph-volume multi-actuator drive attribute
2022-09-12 20:58:41 +02:00
Soumya Koduri
e9b87fb943
Merge pull request #47970 from soumyakoduri/wip-skoduri-coverity
...
rgw/dbstore: Fix coverity issues #1510412 , #1511420
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-09-12 22:51:54 +05:30
Adam King
b2085f0853
mgr/cephadm: fix custom config unit test
...
this test needs to be updated to account for the
new keyring information being introduced
Signed-off-by: Adam King <adking@redhat.com>
2022-09-12 17:03:32 +00:00
Radoslaw Zarzynski
e9b96417a1
mgr/cephadm: execute conf update when rotating secret
...
This is a fixup for: mgr/cephadm: add daemon 'rotate-key' action
The way we rotate mgr's secret require:
1) writing the new pending-key to mgr's file,
2) restarting the mgr via the `mgr fail` mon command.
Unfortunately, we might be doing the first step wrongly.
`_create_daemoan()` is a coroutine (Python's `async def`)
while we don't `wait` for it. IIUC the underlying doc
correctly, this has no effect, and thus the mgr is restarted
with old key.
"Note that simply calling a coroutine will not schedule
it to be executed"
See: https://docs.python.org/3/library/asyncio-task.html#id1
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-09-12 17:03:32 +00:00
Radosław Zarzyński
708e5e8407
mon/AuthMonitor: don't forget about caps on "auth get".
...
The issue came in 98b89120321059397798170f7ae2bf7c64e4f4b2.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-09-12 17:03:32 +00:00
Adam King
c3bed0a415
mgr/cephadm: add crash keyring to unit test
...
Signed-off-by: Adam King <adking@redhat.com>
2022-09-12 17:03:32 +00:00
Radoslaw Zarzynski
99d3a59d4b
auth: refactor KeyServer::get_used_pending_keys().
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-09-12 17:03:32 +00:00