| 29 | 2. Install Git: |
| 30 | {{{sudo apt-get install git}}} |
| 31 | 3. Clone the DevStack Repository: |
| 32 | {{{git clone https://github.com/openstack/devstack.git}}} |
| 33 | 4. Create a Stack User: |
| 34 | {{{sudo ./devstack/tools/create-stack-user.sh}}} |
| 35 | 5. Switch to the Stack User: |
| 36 | {{{sudo su stack |
| 37 | cd ~}}} |
| 38 | 6. Clone the DevStack Repository (as the Stack User): |
| 39 | {{{git clone https://git.openstack.org/openstack-dev/devstack}}} |
| 40 | 7. Remove the Existing Python 3 Pip Package (if present and Download and Install the Latest Python 3 Pip Package: |
| 41 | {{{sudo apt remove python3-pip}}} |
| 42 | {{{wget https://bootstrap.pypa.io/get-pip.py |
| 43 | sudo python3 get-pip.py}}} |
| 44 | 8. Install a Specific Version of the Cryptography Package(there is version conflict with the OpenSSL package automatic installed by dev stack so better install the this below version) : |
| 45 | {{{pip install cryptography==38.0.4}}} |
| 46 | 9. Configure and setup local.conf in dev stack folder according to requirement (either the controller or compute node): |
| 47 | {{{cd devstack/samples |
| 48 | cp local.conf ../ |
| 49 | cd ../}}} |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |