]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Tatjana Dehler [Wed, 14 Sep 2022 14:36:16 +0000 (16:36 +0200)]
cephadm: consider stdout to get container version
Fixes: https://tracker.ceph.com/issues/57558
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Venky Shankar [Tue, 20 Sep 2022 04:06:38 +0000 (09:36 +0530)]
Merge pull request #48149 from batrick/i57586
tools: allow spaces in dentries for first-damage.sh
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Samuel Just [Tue, 20 Sep 2022 00:52:36 +0000 (17:52 -0700)]
Merge pull request #48057 from athanatos/sjust/wip-io-hang
crimson/osd/client_request: use fresh tracking_events/handle instances on requeue
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Samuel Just [Mon, 12 Sep 2022 19:17:16 +0000 (19:17 +0000)]
crimson/osd/client_request: use fresh tracking_events/handle instances on requeue
See instance_handle_t explanation in client_request.h
Fixes: https://tracker.ceph.com/issues/57494
Fixes: https://tracker.ceph.com/issues/57495
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Mon, 19 Sep 2022 20:40:41 +0000 (13:40 -0700)]
Merge pull request #48059 from athanatos/sjust/wip-57506
crimson: fix for pgs stuck in +wait along with some debug improvements
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Samuel Just [Mon, 19 Sep 2022 20:30:52 +0000 (13:30 -0700)]
Merge pull request #48091 from rzarzynski/wip-crimson-pgadvmap-complete-in-order
crimson/osd: PGAdvanceMap ops complete in order
Reviewed-by: Samuel Just <sjust@redhat.com>
Nizamudeen A [Mon, 19 Sep 2022 19:23:55 +0000 (00:53 +0530)]
Merge pull request #48134 from rhcs-dashboard/silence-fix
mgr/dashboard: use service call instead of form component
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Patrick Donnelly [Fri, 16 Sep 2022 19:00:38 +0000 (15:00 -0400)]
tools: allow spaces in dentries for first-damage.sh
Fixes: https://tracker.ceph.com/issues/57586
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 16 Sep 2022 19:02:11 +0000 (15:02 -0400)]
qa: test first damage with dentry containing spaces
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Samuel Just [Mon, 19 Sep 2022 17:32:19 +0000 (10:32 -0700)]
Merge pull request #45369 from jyha200/wip-samplededup
ceph_dedup_tool: adding sample-dedup
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Adam King [Mon, 19 Sep 2022 15:48:51 +0000 (11:48 -0400)]
Merge pull request #41855 from p-se/compile-cephadm-1
cephadm: compile cephadm
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Yuri Weinstein [Mon, 19 Sep 2022 15:36:45 +0000 (08:36 -0700)]
Merge pull request #47873 from pdvian/wip-log-last
mon/LogMonitor: Fix log last
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Yuri Weinstein [Mon, 19 Sep 2022 15:36:15 +0000 (08:36 -0700)]
Merge pull request #47852 from Matan-B/wip-matanb-radosmodel
test/osd/RadosModel: Improve error debugging
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Yuri Weinstein [Mon, 19 Sep 2022 15:35:31 +0000 (08:35 -0700)]
Merge pull request #47841 from Matan-B/wip-matanb-rados-striper
SimpleRADOSStriper: Avoid moving bufferlists by using deque in read()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Yuri Weinstein [Mon, 19 Sep 2022 15:33:54 +0000 (08:33 -0700)]
Merge pull request #47774 from vumrao/wip-vumrao-57271
blk/KernelDevice: Modify the rotational and discard check log message
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Casey Bodley [Mon, 19 Sep 2022 15:31:25 +0000 (11:31 -0400)]
Merge pull request #48156 from cbodley/wip-rgw-unused-throttles
rgw: remove unused AioThrottles in rgw_op.cc
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Adam King [Mon, 19 Sep 2022 15:04:58 +0000 (11:04 -0400)]
Merge pull request #46321 from jmolmo/issue_55605
mgr/rook: fix error when trying to get the list of nfs services
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Yuri Weinstein [Mon, 19 Sep 2022 14:15:29 +0000 (07:15 -0700)]
Merge pull request #46961 from tcoldrick-bb/balancer-weekday
mgr/balancer: Disallow 7 as {begin,end}_weekday and 2400 as {begin,end}_time
Reviewed-by: Laura Flores <lflores@redhat.com>
Yuri Weinstein [Mon, 19 Sep 2022 14:15:01 +0000 (07:15 -0700)]
Merge pull request #46091 from pdvian/wip-bluestore-error
os/bluestore: Log error to stderr if fail to decode label
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Yuri Weinstein [Mon, 19 Sep 2022 14:14:02 +0000 (07:14 -0700)]
Merge pull request #43791 from rzarzynski/wip-net-perfctrs-for-encrypted-traffic
auth, msg/async: add perf counters for encrypted traffic
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Avan [Mon, 19 Sep 2022 13:17:15 +0000 (18:47 +0530)]
Merge pull request #48166 from rhcs-dashboard/fix-empty-pid-path-case
exporter: don't skip loop if pid path is empty
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Avan Thakkar [Mon, 19 Sep 2022 10:30:20 +0000 (16:00 +0530)]
exporter: don't skip loop if pid path is empty
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Fixes issue when pid file config comes empty from config dump which prevents to add metrics. Also get process metrics only if
pid_path isn't empty.
Igor Fedotov [Mon, 19 Sep 2022 08:54:30 +0000 (11:54 +0300)]
Merge pull request #47986 from lmgdlmgd/patch-3
osd: set per_pool_stats true when OSD has no PG
Reviewed-by: Igor Fedotov <ifedotov@croit.io>
Lucian Petrut [Mon, 19 Sep 2022 07:59:33 +0000 (10:59 +0300)]
Merge pull request #48139 from ktdreyer/win-simplify-openssl
win32: skip installing openssl man pages
Nizamudeen A [Fri, 16 Sep 2022 07:20:26 +0000 (12:50 +0530)]
mgr/dashboard: use service call instead of form component
For creating the silence from the notification sidebar, instead of using
the silence form which will require initializing the whole component on
the landing page, we can just call the prometheus service and pass on
the required data to the service call. This will fix showing the
`Prometheus not configured` error everytime we visit the landing page when
the prometheus is not configured
Fixes: https://tracker.ceph.com/issues/57576
Signed-off-by: Nizamudeen A <nia@redhat.com>
myoungwon oh [Sat, 17 Sep 2022 07:11:49 +0000 (16:11 +0900)]
ceph_dedup_tool: fix threshold comparison
If threadhold count is 2, existing code always returns true
even though reference count is 1 actually because it additionally
adds one via ++.
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Samuel Just [Sat, 17 Sep 2022 03:15:39 +0000 (20:15 -0700)]
ceph_dedup_tool: make SampleDedupWorkerThread::chunk_size const
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 17 Sep 2022 03:15:15 +0000 (20:15 -0700)]
ceph_dedup_tool: remove unused SampleDedupWorkerThread::duplicable_chunks
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 17 Sep 2022 03:00:24 +0000 (03:00 +0000)]
ceph_dedup_tool: minor code simplifications
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 17 Sep 2022 03:11:53 +0000 (20:11 -0700)]
ceph_dedup_tool: remove unimplemented mark_non_dedup method signature
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 17 Sep 2022 03:08:54 +0000 (20:08 -0700)]
ceph_dedup_tool: fix log lines to use std::endl, update object skip message
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 17 Sep 2022 03:08:09 +0000 (20:08 -0700)]
ceph_dedup_tool: remove unused SampleDedupWorkerThread::do_object_dedup
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 17 Sep 2022 02:57:07 +0000 (02:57 +0000)]
ceph_dedup_tool: make SampleDedupGlobal::sampling_rate const
Clarifies why it doesn't need to be protected by a lock.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 17 Sep 2022 02:56:21 +0000 (02:56 +0000)]
ceph_dedup_tool: remove unused SampleDedupGlobal::object_dedup_threshold
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 17 Sep 2022 02:47:23 +0000 (02:47 +0000)]
ceph_dedup_tool: fix unnecessarily complicated bool returns
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 17 Sep 2022 02:42:49 +0000 (02:42 +0000)]
ceph_dedup_tool: SampleDedupWorkerThread can simply inherit from Thread
SampleDedupWorkerThread didn't actually use any of the facilities on
CrawlerThread and indeed left several of them uninitialized.
Also allows us to remove the CrawlerThread constructor which left
several members uninitialized.
Signed-off-by: Samuel Just <sjust@redhat.com>
myoungwon oh [Sat, 17 Sep 2022 02:22:56 +0000 (11:22 +0900)]
qa: remove unused values in deduplication.py
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Sungmin Lee [Tue, 23 Aug 2022 04:51:31 +0000 (13:51 +0900)]
qa: add validation stage for deduplication.py
To validate sample-dedup actually works, validate() runs
separated thread from sample-dedup and verifies
two following things.
1. check sample-dedup starts properly.
2. check references of all the chunk objects' in chunk tier
exists in designated base pool.
This routune repeats for max_valication_cnt times while
sample-dedup is running. If it doesn't raise any fail while the loop,
we can pretend sample-dedup works accurately.
If not, assert() will stop this test.
In case that a reference of chunk object doesn't exist in base pool,
validate() gives a second chance after repairing it (chunk-repair op)
to deal with false-positive reference inconsistency.
Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
myoungwon oh [Thu, 25 Aug 2022 05:51:36 +0000 (14:51 +0900)]
src/tools/ceph_dedup_tool: fixes to daemonize the process correctly
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
myoungwon oh [Wed, 11 May 2022 12:21:05 +0000 (21:21 +0900)]
qa: add deduplication test under RGW workload (s3)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
zdover23 [Sat, 17 Sep 2022 22:11:48 +0000 (08:11 +1000)]
Merge pull request #48157 from zdover23/wip-doc-2022-09-18-rados-network-config-prompt-correction
doc/rados: update prompts in network-config-ref
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Sat, 17 Sep 2022 20:59:47 +0000 (06:59 +1000)]
doc/rados: update prompts in network-config-ref
This PR adds unselectable prompts to network-config-
ref.rst.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Casey Bodley [Sat, 17 Sep 2022 15:42:09 +0000 (11:42 -0400)]
rgw: remove unused AioThrottles in rgw_op.cc
throttle creation was moved to RadosStore::get_atomic_writer(),
RadosStore::get_append_writer(), and RadosMultipartUpload::get_writer()
these instances in rgw_op.cc were unused
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Nizamudeen A [Fri, 16 Sep 2022 15:19:48 +0000 (20:49 +0530)]
Merge pull request #47849 from torchiaf/fix/37327
mgr/dashboard: Add details to the modal which displays the `safe-to-d…
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Nizamudeen A [Fri, 16 Sep 2022 15:17:50 +0000 (20:47 +0530)]
Merge pull request #47958 from rhcs-dashboard/edit-host-labels-fix
mgr/dashboard: fix Expected to find element: `cd-modal .badge but never found it
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Ken Dreyer [Fri, 9 Sep 2022 17:38:29 +0000 (17:38 +0000)]
win32: skip installing openssl man pages
This speeds up the build a bit and makes the logs easier to read.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Adam King [Fri, 16 Sep 2022 14:27:10 +0000 (10:27 -0400)]
Merge pull request #45148 from guits/revert-ceph-crash-changes
Revert "src/ceph-crash.in: remove unused frame in handler()"
Reviewed-by: Teoman ONAY <tonay@redhat.com>
Casey Bodley [Fri, 16 Sep 2022 14:02:14 +0000 (10:02 -0400)]
Merge pull request #47965 from cbodley/wip-rgw-drain-cb-capture-error
Revert "rgw: add coroutine drain callback capture_error()"
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Francesco Torchia [Fri, 26 Aug 2022 15:39:43 +0000 (17:39 +0200)]
mgr/dashboard: Add details to the modal which displays the `safe-to-destroy` result
- Add warnings type information in the case of the OSDs are not safe to destroy
- Add info type information in the case of the OSDs are safe to destroy
Fixes: https://tracker.ceph.com/issues/37327
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Yingxin [Fri, 16 Sep 2022 01:41:20 +0000 (09:41 +0800)]
Merge pull request #47878 from xxhdx1985126/wip-pin_set-cpu
crimson/os/seastore/btree: reduce the avg number of queries of pin sets' parent/child lookup
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Venky Shankar [Thu, 15 Sep 2022 16:15:00 +0000 (21:45 +0530)]
Merge pull request #47090 from lxbsz/wip-56553
client: do not uninline data for read
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Guillaume Abrioux [Thu, 15 Sep 2022 14:58:14 +0000 (16:58 +0200)]
Merge pull request #48037 from guits/fix_57085
ceph-volume: fix inventory with device arg
Guillaume Abrioux [Thu, 15 Sep 2022 14:43:11 +0000 (16:43 +0200)]
Merge pull request #48117 from guits/fix-cv-func-test-filestore-create
ceph-volume/tests: fix lvm centos8-filestore-create job
Casey Bodley [Thu, 15 Sep 2022 14:04:39 +0000 (10:04 -0400)]
Merge pull request #48054 from yuvalif/wip-yuval-fix-56572
tests: remove pubsub tests from multisite
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kalpesh Pandya <kapandya@redhat.com>
Venky Shankar [Thu, 15 Sep 2022 09:25:26 +0000 (14:55 +0530)]
Merge pull request #47516 from nmshelke/fix-56632
qa: ignore disk quota exceeded failure in test
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Guillaume Abrioux [Thu, 15 Sep 2022 09:07:33 +0000 (11:07 +0200)]
ceph-volume/tests: fix lvm centos8-filestore-create job
/dev/vdc1 can't be zapped if it still holds an lv mapper.
let's use --destroy in the lvm zap command in order to remove
the held lv mapper before zapping the partition and recreate the partition after.
Fixes: https://tracker.ceph.com/issues/57553
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Xuehan Xu [Tue, 30 Aug 2022 10:54:29 +0000 (18:54 +0800)]
crimson/os/seastore/btree: reduce the avg number of queries of pin sets' parent/child lookup
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Yingxin [Thu, 15 Sep 2022 06:02:41 +0000 (14:02 +0800)]
Merge pull request #47966 from cyx1231st/wip-seastore-move-gcprocess
crimson/os/seastore: move AsyncCleaner::GCProcess to EPM::BackgroundProcess
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Yingxin [Thu, 15 Sep 2022 01:26:18 +0000 (09:26 +0800)]
Merge pull request #48105 from athanatos/sjust/wip-57530
crimson/.../node.cc: fix Node initialization argument passing
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Samuel Just [Wed, 14 Sep 2022 23:32:42 +0000 (16:32 -0700)]
crimson/.../node.cc: fix Node initialization argument passing
Argument evaluation order is unspecified, clang seems to be choosing
to execute the std::unique_ptr move constructor before the call to
get(), causing the first argument to be passed as null.
https://tracker.ceph.com/issues/57530
Signed-off-by: Samuel Just <sjust@redhat.com>
Laura Flores [Wed, 14 Sep 2022 21:43:34 +0000 (16:43 -0500)]
Merge pull request #48002 from nSedrickm/accessibility-documentation
doc/dashboard: update documentation with accessibility development pr…
Pere Diaz Bou [Wed, 14 Sep 2022 20:02:58 +0000 (22:02 +0200)]
Merge pull request #46723 from nSedrickm/dashboard-health-accessibility-update
mgr/dashboard: Improve accessibility for dashboard health page
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Neha Ojha [Wed, 14 Sep 2022 19:11:39 +0000 (12:11 -0700)]
Merge pull request #47668 from NitzanMordhai/wip-nitzan-test-rados-watch-notify-callbacks
pybind/rados: notify callback reconnect
Reviewed-by: Laura Flores <lflores@redhat.com>
Adam King [Wed, 14 Sep 2022 17:36:45 +0000 (13:36 -0400)]
Merge pull request #47937 from adk3798/tp-add-rm-settings-docs
doc/cephadm: fix tuned-profile add/rm-setting syntax example
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Casey Bodley [Wed, 14 Sep 2022 17:12:03 +0000 (13:12 -0400)]
Merge pull request #47709 from zalsader/add-daos
rgw: add DAOS SAL implementation
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Yuval Lifshitz [Wed, 14 Sep 2022 15:00:37 +0000 (18:00 +0300)]
Merge pull request #48066 from yuvalif/wip-yuval-fix-57518
rgw/lua: create lua background manager before the frontends
Reviwed-by: dang, cbodley, mattbenjamin
Casey Bodley [Tue, 6 Sep 2022 11:56:21 +0000 (07:56 -0400)]
Revert "rgw: add coroutine drain callback capture_error()"
This reverts commit
d75ea8757d96a82df692a9476ed40b3206cba47e .
Fixes: https://tracker.ceph.com/issues/57400
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Laura Flores [Wed, 14 Sep 2022 14:18:46 +0000 (09:18 -0500)]
Merge pull request #43655 from liewegas/auth-rotate
mon,auth,cephadm: support auth key rotation
Adam King [Wed, 14 Sep 2022 12:37:46 +0000 (08:37 -0400)]
Merge pull request #47967 from yangxiaolaing/cephadm_doc
doc/cephadm: Add creation method of OSD
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Radoslaw Zarzynski [Wed, 14 Sep 2022 11:27:42 +0000 (11:27 +0000)]
crimson/osd: improve debugs in PGAdvanceMap
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Wed, 14 Sep 2022 11:25:07 +0000 (11:25 +0000)]
crimson/osd: PGAdvanceMap ops complete in order
For the analysis refer to the bug tracker.
Dropping the `handle.exit()` looks like the simplest solution,
far simpler than e.g. introducing extra future-promise.
Fixes: https://tracker.ceph.com/issues/57536
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
John Mulligan [Thu, 16 Jun 2022 19:41:04 +0000 (15:41 -0400)]
cephadm: use build.py in cmake configuration
This change replaces the call to build.sh with a call to build.py.
It also makes the build.py script a dependency to the cmake custom to
ensure we rebuild the cephadm binary if build.py changes. Since, if one
changes the build script used to make the binary we should rebuild the
output as the new script may indeed change the intended output.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
John Mulligan [Thu, 16 Jun 2022 19:26:00 +0000 (15:26 -0400)]
cephadm: add a pythonic build.py for constructing the cephadm binary
As discussed in a ceph orch meeting, the build.sh script was deemed
"unpythonic". This script is a first attempt to do it more pythonic
with fewer explicit version checks.
This change minimizes the existing build.sh to simply call build.py.
We can completely eliminate build.sh at a later time if desired.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Michael Fritch [Wed, 26 Jan 2022 22:46:41 +0000 (15:46 -0700)]
qa/tasks/cephadm: conditionally pull cephadm binary from chacra
When a specific (older) version of cephadm is needed for a test, pull
it from chacra. If we need to bootstrap an older version of ceph, we
pull an older "single-script" binary using the older method.
Co-authored-by: Michael Fritch <mfritch@suse.com>
Co-authored-by: John Mulligan <jmulligan@redhat.com>
Signed-off-by: Michael Fritch <mfritch@suse.com>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Michael Fritch [Wed, 26 Jan 2022 22:44:49 +0000 (15:44 -0700)]
qa/tasks: add chacra util
to query shaman and pull a binary from chacra
Signed-off-by: Michael Fritch <mfritch@suse.com>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Michael Fritch [Mon, 6 Dec 2021 21:58:14 +0000 (14:58 -0700)]
behave_test: compile cephadm
build the compiled cephadm binary during the behave test
Signed-off-by: Michael Fritch <mfritch@suse.com>
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Michael Fritch [Fri, 19 Nov 2021 20:24:58 +0000 (13:24 -0700)]
mgr/dashboard: compile cephadm
build the compiled cephadm binary during the e2e test
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Mon, 6 Dec 2021 20:42:56 +0000 (13:42 -0700)]
cephadm: compile cephadm
use cephadm.py when mounting via the `--dev_share_folder` option
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Mon, 22 Nov 2021 19:15:18 +0000 (12:15 -0700)]
qa/workunits/cephadm/test_cephadm: add `--no-pager`
avoid user interaction with the systemd pager
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Fri, 19 Nov 2021 20:03:15 +0000 (13:03 -0700)]
qa/workunits/cephadm/test_repos: add zypper
cephadm adds partial enablement for zypper repos
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Fri, 19 Nov 2021 19:56:37 +0000 (12:56 -0700)]
qa/workunits/cephadm/test_repos: compile cephadm
build the compiled cephadm binary during the workunit test
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Fri, 19 Nov 2021 19:43:22 +0000 (12:43 -0700)]
qa/workunits/cephadm/test_adoption: compile cephadm
build the compiled cephadm binary during the workunit test
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Fri, 19 Nov 2021 17:54:16 +0000 (10:54 -0700)]
qa/workunits/cephadm/test_adoption: remove python kludge
we are no longer testing against py2 as of
225cbd8d790602b30050e0e32ecffd400ec17731
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Fri, 19 Nov 2021 18:31:15 +0000 (11:31 -0700)]
qa/workunits/cephadm/test_cephadm: compile cephadm
build the compiled cephadm binary during the workunit test
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Thu, 18 Nov 2021 23:39:32 +0000 (16:39 -0700)]
cpatch: compile the cephadm binary
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Thu, 18 Nov 2021 23:33:29 +0000 (16:33 -0700)]
cstart.sh: compile cephadm
update cstart/ckill scripts to use the compiled cephadm binary
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Thu, 18 Nov 2021 23:15:32 +0000 (16:15 -0700)]
stop.sh: compile cephadm
use the path to the compiled cephadm binary file
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Fri, 19 Nov 2021 18:26:11 +0000 (11:26 -0700)]
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>
Michael Fritch [Thu, 18 Nov 2021 22:08:45 +0000 (15:08 -0700)]
cephadm: zipapp module requires Python35 or later
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Thu, 18 Nov 2021 21:54:56 +0000 (14:54 -0700)]
cephadm: locate path to the python3 binary
fixes incorrect shebang in the compiled zipfile (`#!python3`)
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Wed, 17 Nov 2021 23:19:40 +0000 (16:19 -0700)]
rpm, debian: use cmake to install the cephadm binary
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Mon, 4 Oct 2021 14:55:34 +0000 (08:55 -0600)]
cmake: add cephadm to vstart target
Signed-off-by: Michael Fritch <mfritch@suse.com>
Patrick Seidensal [Thu, 9 Sep 2021 09:16:33 +0000 (11:16 +0200)]
cephadm: Only compress cephadm on Python >= 3.7
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
Sebastian Wagner [Wed, 25 Aug 2021 13:49:39 +0000 (15:49 +0200)]
qa/tasks: Drop downloading cephadm from the git source tree
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
Patrick Seidensal [Tue, 15 Jun 2021 08:24:20 +0000 (10:24 +0200)]
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>
Adam King [Tue, 13 Sep 2022 16:01:19 +0000 (12:01 -0400)]
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>
Adam King [Tue, 13 Sep 2022 15:59:13 +0000 (11:59 -0400)]
Merge pull request #47640 from adk3798/no-cgroups
mgr/cephadm: make setting --cgroups=split configurable
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Tue, 13 Sep 2022 15:58:00 +0000 (11:58 -0400)]
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>
Adam King [Tue, 13 Sep 2022 15:55:57 +0000 (11:55 -0400)]
Merge pull request #47786 from rkachach/fix_issue_57192
mgr/cephadm: validating tuned profile specification
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Tue, 13 Sep 2022 14:38:32 +0000 (10:38 -0400)]
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>