openstack服务编排

heat列出所有组件时报错

ERROR: 503 Service Unavailable
The server is currently unavailable. Please try again at a later time.


错误:503服务不可用

cuò错 wù误 : 5 0 3 fú服 wù务 bù不 kě可 yòng用

The server is currently unavailable. Please try again at a later time.

服务器当前不可用。请稍后再试

[root@controller ~]# openstack orchestration service list
ERROR: 503 Service Unavailable
 
The server is currently unavailable. Please try again at a later time.

进过检查配置文件/etc/heat/heat.conf发现我keystone认证根本没有写


解决方法添加keystone_authtoken然后重启服务

[root@controller ~]# vi /etc/heat/heat.conf 
[root@controller ~]# systemctl restart openstack-heat-api.service openstack-heat-api-cfn.service openstack-heat-engine.service
[root@controller ~]# . admin-openrc
[root@controller ~]# openstack orchestration service list
+------------+-------------+---------------------+------------+--------+---------------------+--------+
| hostname   | binary      | engine_id           | host       | topic  | updated_at          | status |
+------------+-------------+---------------------+------------+--------+---------------------+--------+
| controller | heat-engine | e1066999-feed-4b43  | controller | engine | 2017-11-16T16:25:34 | up     |
|            |             | -a44a-60a8483c1b0a  |            |        | .000000             |        |
| controller | heat-engine | b9b6cf22-8321-4a9b- | controller | engine | 2017-11-16T16:25:34 | up     |
|            |             | b9a6-892c1da4a2b8   |            |        | .000000             |        |
| controller | heat-engine | b9aeb965-d292-486c- | controller | engine | 2017-11-16T16:25:20 | up     |
|            |             | 977a-4bf185fb3882   |            |        | .000000             |        |
| controller | heat-engine | f461a125-afe4-4dab- | controller | engine | 2017-11-16T16:25:20 | up     |
|            |             | 8b13-7702eea2a374   |            |        | .000000             |        |
| controller | heat-engine | cf50e96f-9159-433b- | controller | engine | 2017-11-16T16:25:34 | up     |
|            |             | b717-d6656a922be5   |            |        | .000000             |        |
| controller | heat-engine | d21dc881-b574-46b5  | controller | engine | 2017-11-16T16:25:34 | up     |
|            |             | -9b3b-f20b6195763c  |            |        | .000000             |        |
| controller | heat-engine | c8ce6b1c-8882-40a1- | controller | engine | 2017-11-16T16:25:20 | up     |
|            |             | 8a06-52fa8d1d0b21   |            |        | .000000             |        |
| controller | heat-engine | 1fbf6581-ef7c-43ab- | controller | engine | 2017-11-16T16:25:20 | up     |
|            |             | 80e4-a112e15345a4   |            |        | .000000             |        |
+------------+-------------+---------------------+------------+--------+---------------------+--------+

 

你可能感兴趣的:(openstack服务编排)