【发布时间】:2013-03-04 02:31:12
【问题描述】:
我正在安装openstack horizon。
当我查看他们提到的 git hub 上的文档时
运行所需的最低 OpenStack 服务集包括:
- Nova(计算、API、调度程序、网络和卷服务)
- 一瞥
- 基石
但我的 nova、keystone 和 Glance 服务正在其他机器上运行。
例如: Horizon 运行在 192.168.1.1,keystone、nova 和 Glance 运行在 192.168.1.2。
[root@localhost ~]# keystone service-list
+----------------------------------+----------+----------+---------------------------+
| id | name | type | description |
+----------------------------------+----------+----------+---------------------------+
| 5cb184a0a6be458e9ae6319d3f592d22 | keystone | identity | Keystone Identity Service |
| 759d0f09bdcc4537bb981de9889b778d | quantum | network | Network Service |
| 8c3b1ab783fa492ba7d004ec38af7a49 | nova | compute | Nova Compute Service |
| c5ca826057a8483bb68aba8dd81b5126 | glance | image | Glance Image Service |
| fd35e426172146008a1b20dd7b2b5f6d | cinder | volume | Cinder Service |
+----------------------------------+----------+----------+---------------------------+
[root@localhost ~]# keystone endpoint-list
+----------------------------------+--------+---------------------------------------------+------------------------------------------+------------------------------------------+----------------------------------+
| id | region | publicurl | internalurl | adminurl | service_id |
+----------------------------------+--------+---------------------------------------------+------------------------------------------+------------------------------------------+----------------------------------+
| 12e0810eb2774f8cb437afcdd903c431 | test | http://*.*.*.*:9292/v1 | http://127.0.0.1:9292/v1 | http://127.0.0.1:9292/v1 | c5ca826057a8483bb68aba8dd81b5126 |
| 13e767828adc4add92cec572d220508d | test | http://*.*.*.*:8774/v1.1/% (tenant_id)s | http://127.0.0.1:8774/v1.1/%(tenant_id)s | http://127.0.0.1:8774/v1.1/%(tenant_id)s | 8c3b1ab783fa492ba7d004ec38af7a49 |
| 18b1360d5d0e4d1cbfd4a5076c56d30b | test | http://*.*.*.*:8776/v1/%(tenant_id)s | http://127.0.0.1:8776/v1/%(tenant_id)s | http://127.0.0.1:8776/v1/%(tenant_id)s | fd35e426172146008a1b20dd7b2b5f6d |
| 244a4f0323f94017a9de913090811523 | test | http://*.*.*.*:5000/v2.0 | http://127.0.0.1:5000/v2.0 | http://*.*.*.*:35357/v2.0 | 5cb184a0a6be458e9ae6319d3f592d22 |
| f98ebb649df54e71a91851cb101af3d6 | test | http://*.*.*.*:9696/ | http://127.0.0.1:9696/ | http://127.0.0.1:9696/ | 759d0f09bdcc4537bb981de9889b778d |
+----------------------------------+--------+---------------------------------------------+------------------------------------------+------------------------------------------+----------------------------------+
我必须在settings.py 中设置哪个变量以指向该网址?
我试过OPENSTACK_KEYSTONE_URL,但没有用:(。
【问题讨论】:
标签: python openstack openstack-horizon