]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: improve the kcli bootstrap process 60017/head
authorNizamudeen A <nia@redhat.com>
Fri, 27 Sep 2024 06:47:16 +0000 (12:17 +0530)
committerNizamudeen A <nia@redhat.com>
Mon, 4 Nov 2024 09:29:32 +0000 (14:59 +0530)
commit6f5612a3a7d5aae3253c91aa5638f19d896a9f2e
tree07b8306a805818cfaafc9b889202ef8e2894ad41
parent624f6950d3d7ce841c5977cfff293a411873c236
mgr/dashboard: improve the kcli bootstrap process

I have a new script added for starting the kcli cluster called
quick-bootstrap.sh

The goal is to use that script to download the ceph image on local
(rather than inside vm) and then copy them over to all the vms that is
being spawned by the kcli. This way all the hosts will get the ceph
image which will make the deployment loads faster.

Another thing I added is to add some dnf.conf to improve
parallel_downlaods and get the fastest server to install deps

eg:
```
╰─$ ./quick-bootstrap.sh -h                                                                                    255 ↵
+ set +x
Usage: ./quick-bootstrap.sh [OPTIONS]

Options:
  -u, --use-cached-image     Uses the existing podman image in local. Only use this if there is such an image present.
  -dir, --ceph-dir             Use this to provide the local ceph directory. eg. --ceph-dir=/path/to/ceph
  -e, --expanded-cluster     To add all the hosts and deploy OSDs on top of it.
  -h, --help             Display this help message.

Example:
  ./quick-bootstrap.sh --use-cached-image

```

```
./quick-bootstrap.sh -u --ceph-dir=/home/nia/projects/ceph
```

Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/ci/cephadm/bootstrap-cluster.sh
src/pybind/mgr/dashboard/ci/cephadm/ceph_cluster.yml
src/pybind/mgr/dashboard/ci/cephadm/dnf.conf.tpl [new file with mode: 0644]
src/pybind/mgr/dashboard/ci/cephadm/initial-ceph.conf [new file with mode: 0644]
src/pybind/mgr/dashboard/ci/cephadm/load-podman-image.sh [new file with mode: 0755]
src/pybind/mgr/dashboard/ci/cephadm/quick-bootstrap.sh [new file with mode: 0755]
src/pybind/mgr/dashboard/ci/cephadm/start-cluster.sh