@@ -10,43 +10,33 @@ devstack and automatically launch the major OpenStack components.
1010This will take about 30 minutes.
1111
1212``` bash
13- $ sudo docker-compose up -d
14-
15- $ sudo docker-compose logs -f
16- controller | This is your host IP address: 172.28.0.2
17- controller | Horizon is now available at http://172.28.0.2/dashboard
18- controller | Keystone is serving at http://172.28.0.2/identity/
19- controller | The default users are: admin and demo
20- controller | The password: nomoresecret
21- controller |
22- controller | Services are running under systemd unit files.
23- controller | For more information see:
24- controller | https://docs.openstack.org/devstack/latest/systemd.html
25- controller |
26- controller | DevStack Version: wallaby
27- controller | Change:
28- controller | OS Version: Ubuntu 20.04 focal
13+ sudo docker-compose up -d
14+ sudo docker-compose logs -f
15+ # controller | This is your host IP address: 172.28.0.2
16+ # controller | Horizon is now available at http://172.28.0.2/dashboard
17+ # controller | Keystone is serving at http://172.28.0.2/identity/
18+ # controller | The default users are: admin and demo
19+ # controller | The password: nomoresecret
20+ # controller |
21+ # controller | Services are running under systemd unit files.
22+ # controller | For more information see:
23+ # controller | https://docs.openstack.org/devstack/latest/systemd.html
24+ # controller |
25+ # controller | DevStack Version: 2023.1
26+ # controller | Change:
27+ # controller | OS Version: Ubuntu 20.04 focal
2928```
3029
3130You can use the OpenStack CLI in the container.
3231
3332``` bash
34- $ sudo docker-compose exec \
35- --user stack \
36- controller \
37- /bin/bash -c ' source devstack/openrc admin admin; exec /bin/bash'
38-
39- stack@538b06c0fc0b:~ $ openstack endpoint list
40- +----------------------------------+-----------+--------------+----------------+---------+-----------+---------------------------------------------+
41- | ID | Region | Service Name | Service Type | Enabled | Interface | URL |
42- +----------------------------------+-----------+--------------+----------------+---------+-----------+---------------------------------------------+
43- | 3f865729db974cae886b8e29cbbb91ed | RegionOne | nova_legacy | compute_legacy | True | public | http://172.28.0.2/compute/v2/$( project_id) s |
44- | 5b4723017af2441dbd7bbccc7f196d49 | RegionOne | keystone | identity | True | admin | http://172.28.0.2/identity |
45- | 5cfe0eae065c47bbb649937036021f6b | RegionOne | keystone | identity | True | public | http://172.28.0.2/identity |
46- | 67c0675c2898463b8d0284206bf58ba9 | RegionOne | glance | image | True | public | http://172.28.0.2/image |
47- | b8181b82dc124c089e8cd38fc23e58e8 | RegionOne | placement | placement | True | public | http://172.28.0.2/placement |
48- | e17fe28cb31d478c81a3d9b597850ad5 | RegionOne | nova | compute | True | public | http://172.28.0.2/compute/v2.1 |
49- +----------------------------------+-----------+--------------+----------------+---------+-----------+---------------------------------------------+
33+ sudo docker-compose exec --user stack controller /bin/bash -c \
34+ ' source devstack/openrc admin admin; exec openstack image list'
35+ # +--------------------------------------+--------------------------+--------+
36+ # | ID | Name | Status |
37+ # +--------------------------------------+--------------------------+--------+
38+ # | 77b07900-9dab-4ba9-b169-883868e8ecf9 | cirros-0.5.2-x86_64-disk | active |
39+ # +--------------------------------------+--------------------------+--------+
5040```
5141
5242# Reference
0 commit comments