summaryrefslogtreecommitdiffstats
path: root/src/vstart.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vstart: add --rgw_store option for rados|dbstore|posixCasey Bodley2023-12-081-5/+43
| | | | | | | | | | enables dbstore for rgw_backend_store and rgw_config_store, allowing vstart to run without any mons or osds. database files are put under the dev subdirectory when rgw_store=posix, the posix filter is added on top of dbstore Signed-off-by: Casey Bodley <cbodley@redhat.com>
* rgw/lua: install lua packages in temp directoryYuval Lifshitz2023-10-051-1/+1
| | | | | | | | and switch to it only once installation is done. this is needed for cases where installation can happen while RGW is running Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
* vstart: exclude default route during cluster setupSachin Punadikar2023-10-051-1/+1
| | | | | | | | | | | "ip route list" may list default route, and that needs to be excluded while doing cluster setup Typical o/p of ip route list: $ ip route list default via 10.8.159.254 dev eno1 proto dhcp src 10.8.152.13 metric 100 10.8.152.0/21 dev eno1 proto kernel scope link src 10.8.152.13 metric 100 Signed-off-by: Sachin Punadikar <sachin.punadikar@ibm.com>
* crimson/vstart: add --seastore-device-size option in vstart.sh command linechunmei2023-09-141-0/+14
| | | | | | default seastore_device_size will be out of space for smp >28 Signed-off-by: chunmei <chunmei.liu@intel.com>
* vstart.sh: always add CEPH_CONF to vstart_environment.shPatrick Donnelly2023-08-011-2/+2
| | | | | | This makes sourcing this for e.g. vstart_runner.py actually useful. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
* vstart: modify FreeBSD objectstore to memstore.Rongqi Sun2023-05-161-1/+5
| | | | Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
* vstart.sh:drop filestore supportRongqi Sun2023-05-051-25/+2
| | | | Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
* Merge pull request #49762 from Svelar/vstart2zdover232023-04-171-2/+2
|\ | | | | | | | | vstart: fix text format Reviewed-by: Zac Dover <zac.dover@proton.me>
| * vstart: fix text formatRongqi Sun2023-01-171-2/+2
| | | | | | | | Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
* | vstart: support bluestore db/wal physical diskzhangjianwei22023-03-221-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (1) block/db/wal share the same physical disk MON=1 OSD=3 MGR=1 MDS=0 RGW=0 ../src/vstart.sh \ -b -X --without-dashboard -n \ --bluestore-devs /dev/sdax,/dev/sday,/dev/sdaz (2) block/db/wal do not share the same physical disk MON=1 OSD=3 MGR=1 MDS=0 RGW=0 ../src/vstart.sh \ -b -X --without-dashboard -n \ --bluestore-devs /dev/sdax,/dev/sday,/dev/sdaz \ --bluestore-db-devs /dev/sda1,/dev/sda2,/dev/sda3 \ --bluestore-wal-devs /dev/sda4,/dev/sda5,/dev/sda6 (3) combination of (1) and (2) I> case (2) in the front of --bluestore-devs II> case (1) in the back of --bluestore-devs for example, MON=1 OSD=4 MGR=1 MDS=0 RGW=0 ../src/vstart.sh \ -b -X --without-dashboard -n \ --bluestore-devs /dev/sdax,/dev/sday,/dev/sdaz,/dev/sdav \ --bluestore-db-devs /dev/sda1,/dev/sda2 \ --bluestore-wal-devs /dev/sda4,/dev/sda5 osd.0:sdax+sda1+sda4 osd.1:sday+sda2+sda5 osd.2:sdaz osd.3:sdav Signed-off-by: zhangjianwei2 <zhangjianwei2@cmss.chinamobile.com>
* | src/vstart.sh: support specify the type of secondary deviceZhang Song2023-03-151-2/+9
| | | | | | | | | | | | doc/crimson: add options and example about SeaStore Signed-off-by: Zhang Song <zhangsong325@gmail.com>
* | Merge pull request #48516 from athanatos/sjust/wip-57801Samuel Just2023-02-241-0/+13
|\ \ | | | | | | | | | | | | | | | crimson,mon: add guards to avoid accidental crimson deployment and to avoid usage of unsupported features with crimson Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com> Reviewed-by: Greg Farnum <gfarnum@redhat.com>
| * | vstart: set osd_pool_default_crimson for crimson clustersSamuel Just2023-02-141-0/+6
| | | | | | | | | | | | Signed-off-by: Samuel Just <sjust@redhat.com>
| * | vstart: set-allow-crimson for crimson clustersSamuel Just2023-02-141-0/+7
| | | | | | | | | | | | Signed-off-by: Samuel Just <sjust@redhat.com>
* | | Merge PR #50175 into mainVenky Shankar2023-02-221-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/50175/head: cephfs: upgrade cephfs-shell's path wherever necessary Reviewed-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
| * | | cephfs: upgrade cephfs-shell's path wherever necessaryRishabh Dave2023-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit dc69033763cc116c6ccdf1f97149a74248691042 moves cephfs-shell from "<CEPH-REPO-ROOT>/src/tools/cephfs/" to "<CEPH-REPO-ROOT>/src/tools/cephfs/shell" but cephfs-shell's location in src/vstart.sh and qa/tasks/cephfs/test_cephfs_shell.py is left un-updated. This produces a broken vstart_environment.sh and broken export command in test_cephfs_shell.py. Introduced-by: dc69033763cc116c6ccdf1f97149a74248691042 Fixes: https://tracker.ceph.com/issues/58795 Signed-off-by: Rishabh Dave <ridave@redhat.com>
* | | | Merge pull request #48709 from yanghonggang/yhg-jaeger-portYuval Lifshitz2023-02-201-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | common: add a config option for jaeger agent port Reviewed-By: tchaikov, zenomri, yuvalif
| * | | | common: add a config option for jaeger agent portYang Honggang2022-11-151-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jaeger-agent port is changed from 6831 to 6799 in commit 9d7280c3, which lead to "vstart.sh ... --jaeger" can't work. In order to fix this problem, a config option jaeger_agent_port is added and in vstart.sh the default value of jaeger_agent_port is set to 6831. Signed-off-by: Yang Honggang <yanghonggang_yewu@cmss.chinamobile.com>
* | | | | Merge pull request #47555 from JoshSalomon/wip-prim-balance-scoreLaura Flores2023-02-141-0/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | mon, osd: Adding read (aka workload, primary) balance score
| * | | | osd, mon: add read balance score to command `ceph osd pool ls detail`Josh Salomon2023-02-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for replicated pools. osd: Added workload balance score to the command ceph osd pool ls detail (different flavors for console output and json/xml output) mon: Added command 'osd rm-primary-temp' (developers only) rm was not working vstart: Added osd debug messages into mon log with -d flag For commands that execute methonds in OSD module Signed-off-by: Josh Salomon <jsalomon@redhat.com>
* | | | | Merge pull request #50058 from rishabh-d-dave/vstart-client-debugVenky Shankar2023-02-141-0/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | vstart.sh: set logging for client and MDS when -d is passed Reviewed-by: Venky Shankar <vshankar@redhat.com>
| * | | | | vstart.sh: set logging for client and MDS when -d is passedRishabh Dave2023-02-091-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set debug log messages for client and MDS to 20 when option "--debug" is passed to vstart.sh Signed-off-by: Rishabh Dave <ridave@redhat.com>
* | | | | | Merge pull request #49763 from Svelar/vstart4Ilya Dryomov2023-02-101-0/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | vstart: check mgr status after starting mgr Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
| * | | | | vstart: check mgr status after starting mgr.Rongqi Sun2023-02-101-0/+5
| | |_|_|/ | |/| | | | | | | | | | | | | Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
* | | | | vstart: correct condition for checking crimsonluo rixin2023-02-081-1/+1
| |_|_|/ |/| | | | | | | | | | | Signed-off-by: luo rixin <luorixin@huawei.com>
* | | | Merge pull request #48729 from ivancich/wip-flight-select-add-flightJ. Eric Ivancich2023-01-181-2/+18
|\ \ \ \ | |/ / / |/| | | | | | | | | | | rgw: initial commit adding Arrow Flight functionality Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | | rgw: allow vstart.sh to start an RGW with Arrow FlightJ. Eric Ivancich2022-12-151-2/+18
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds "--rgw_arrow_flight" as a command-line option to vstart.sh that will enable arrow_flight on the first RGW created, but not for subsequent RGWs (so as not to create port conflicts). It adds a frontend to ceph.conf and as an option to the command-line that starts the radosgw daemon. Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
* | | Merge pull request #49417 from athanatos/sjust/backburner/wip-smp-optionSamuel Just2023-01-131-1/+5
|\ \ \ | |/ / |/| | | | | | | | crimson/osd/main: get full config before starting reactor Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
| * | crimson/osd/main: get full config before starting reactorSamuel Just2023-01-051-1/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Deployment tooling these days relies on fetching configs from the mons. We'd like to be able to set seastar reactor params like --smp via mon config, so we need to start up a reactor and contact the mons before starting up the reactor for real. Seastar doesn't seem to like invoking app.run more than once -- a bunch of thread-locals and statics get left around and result in invalid memory accesses. To avoid all of this, we simply fork a child process to talk to the mons and send the information back over a fifo. Signed-off-by: Samuel Just <sjust@redhat.com>
* / osd, mon: Add 'osd pg-upmap-primary' and 'osd rm-pg-upmap-primary' commands.Josh Salomon2022-12-141-0/+1
|/ | | | | | | Changed OSDMap to keep upmap-primary records The upmap-primary records are visible in json/xml and in dump commands. Signed-off-by: Josh Salomon <jsalomon@redhat.com>
* src/vstart.sh: correct top_cpu's valueluo rixin2022-10-111-1/+1
| | | | Signed-off-by: luo rixin <luorixin@huawei.com>
* src/vstart.sh: add vstart --crimson-smp optionSamuel Just2022-09-271-2/+10
| | | | Signed-off-by: Samuel Just <sjust@redhat.com>
* vstart: echo osd argumentsSamuel Just2022-09-271-0/+3
| | | | Signed-off-by: Samuel Just <sjust@redhat.com>
* cephadm: compile cephadmPatrick Seidensal2022-09-131-1/+1
| | | | | | | | | | | | | | | 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>
* mgr/dashboard: add out_client dir to api and e2e checksNizamudeen A2022-08-221-1/+2
| | | | Signed-off-by: Nizamudeen A <nia@redhat.com>
* vstart: isolate the client logsNizamudeen A2022-08-221-1/+3
| | | | Signed-off-by: Nizamudeen A <nia@redhat.com>
* mstart: make some mstart env variables configurableNizamudeen A2022-08-221-2/+2
| | | | Signed-off-by: Nizamudeen A <nia@redhat.com>
* rgw: adding 'user-policy' caps to a user to enablePritha Srivastava2022-06-211-1/+1
| | | | | | execution of iam tests locally. Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
* Merge pull request #45562 from tchaikov/wip-vstart-with-pmemRadoslaw Zarzynski2022-05-201-3/+14
|\ | | | | | | | | | | vstart.sh: add options to enable PMEM bluestore backend Reviewed-by: Neha Ojha <nojha@redhat.com> Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
| * vstart.sh: add options to enable PMEM bluestore backendKefu Chai2022-04-201-3/+14
| | | | | | | | Signed-off-by: Kefu Chai <tchaikov@gmail.com>
* | vstart: default CEPH_ASOK_DIR to asok/Samuel Just2022-05-051-2/+2
| | | | | | | | | | | | | | | | | | stop.sh removes the configured asok_dir, so defaulting this to out/ results in logs being removed. Let's instead just create an asok/ directory. Fixes: https://tracker.ceph.com/issues/55563 Signed-off-by: Samuel Just <sjust@redhat.com>
* | vstart.sh: default CEPH_ASOK_DIR to out/Samuel Just2022-05-021-0/+1
|/ | | | Signed-off-by: Samuel Just <sjust@redhat.com>
* Merge pull request #45317 from Matan-B/wip-matanb-c-vstart-asSamuel Just2022-03-151-0/+7
|\ | | | | | | | | | | | | vstart.sh: disable pg-autoscaling for crimson-osd Reviewed-by: Ronen Friedman <rfriedma@redhat.com> Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com> Reviewed-by: Samuel Just <sjust@redhat.com>
| * vstart.sh: disable autoscaling for crimson-osdMatan Breizman2022-03-121-0/+7
| | | | | | | | Signed-off-by: Matan Breizman <mbreizma@redhat.com>
* | Revert "doc/dev: Running workunits locally"Matan Breizman2022-03-031-2/+5
|/ | | | | | This reverts commit 7324abbe0122e02d11c09be4ea0f3899abc16bbd. Signed-off-by: Matan Breizman <mbreizma@redhat.com>
* src/vstart.sh: Add --no-restart to vstart & add mkfs logs to osd.stdoutJoseph Sawaya2022-02-041-4/+15
| | | | | | | | | The output of mkfs wasn't also being included in the OSD's log before this which can make it more difficult to debug issues with mkfs. ceph-run restarting every 5 seconds can make it difficult to read the osd's stdout. Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
* src/vstart.sh: correct shell syntax errorXuehan Xu2021-12-171-1/+1
| | | | Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
* doc/dev: Running workunits locallyMatan Breizman2021-12-011-5/+2
| | | | Signed-off-by: Matan Breizman <mbreizma@redhat.com>
* vstart.sh: print newline character after vstart.sh help textNikhilkumar Shelke2021-11-091-3/+4
| | | | | | | Without this newline character the help text messes up the expected position of the prompt string. Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
* mgr/nfs: use keyword args for 'nfs export create rgw'Sage Weil2021-11-021-1/+1
| | | | Signed-off-by: Sage Weil <sage@newdream.net>