File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -152,3 +152,44 @@ export TEUTHOLOGY_TESTNODES="smithiXXX.front.sepia.ceph.com,smithiYYY.front.sepi
152152export TEUTHOLOGY_MACHINE_TYPE=" smithi"
153153```
154154
155+ ### Setup for development
156+
157+ 1 . First fork the repo if you have not done so.
158+ 2 . Clone your forked repo
159+ ``` bash
160+ git clone https://github.com/< user-name> /ceph-devstack
161+ ```
162+
163+ 3 . Setup the remote repo as upstream (this will prevent creating additional branches)
164+ ``` bash
165+ git remote add upstream https://github.com/zmc/ceph-devstack
166+ ```
167+
168+ 4 . Create virtual env in the root directory of ceph-devstack & install python dependencies
169+ ``` bash
170+ python3 -m venv venv
171+ ./venv/bin/pip3 install -e .
172+ ```
173+
174+ 5 . Activate venv
175+ ``` bash
176+ source venv/bin/activate
177+ ```
178+
179+ 6 . Run doctor command to check & fix the dependencies that you need for ceph-devstack
180+ ``` bash
181+ ceph-devstack -v doctor --fix
182+ ```
183+
184+ 7 . Build, Create and Start the all containers in ceph-devstack
185+ ``` bash
186+ ceph-devstack -v build
187+ ceph-devstack -v create
188+ ceph-devstack -v start
189+ ```
190+
191+ 8 . Test the containers by waiting for teuthology to finish and print the logs
192+ ``` bash
193+ ceph-devstack wait teuthology
194+ podman logs -f teuthology
195+ ```
You can’t perform that action at this time.
0 commit comments