码迷,mamicode.com
首页 > Web开发 > 详细

openstack- unable to establish connection to http://controller

时间:2015-11-30 18:27:34      阅读:367      评论:0      收藏:0      [点我收藏+]

标签:openstack nova

本人按照官方最新的安装文档安装测试环境,在完全照搬测试文档的情况下,居然也会报错,一紧。

在安装完NOVA之后,运行nova service-list进行测试,报错大概是:unable to establish connection to http://controller,就是无法建立到nova api的连接。

百度google一翻之后发现很多帖子都说的模糊。郁闷。

没办法,条件反射般看看cpu和内存,发现内存利用率很高,难道是内存不够吗?

抱着尝试的心态,关虚拟机,虚拟机内存到2G,开机测试。居然成功运行命令。可惜科和。

#####################################################

root@openstack-controller:~# nova service-list
+----+------------------+----------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host                 | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+----------------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-cert        | openstack-controller | internal | enabled | up    | 2015-11-30T01:11:50.000000 | -               |
| 2  | nova-consoleauth | openstack-controller | internal | enabled | up    | 2015-11-30T01:11:50.000000 | -               |
| 3  | nova-scheduler   | openstack-controller | internal | enabled | up    | 2015-11-30T01:11:51.000000 | -               |
| 4  | nova-conductor   | openstack-controller | internal | enabled | up    | 2015-11-30T01:11:50.000000 | -               |
| 5  | nova-compute     | openstack-compute    | nova     | enabled | up    | 2015-11-30T01:11:43.000000 | -               |
+----+------------------+----------------------+----------+---------+-------+----------------------------+-----------------+
root@openstack-controller:~# free -m
             total       used       free     shared    buffers     cached
Mem:          2001       1542        459          0         20        205
-/+ buffers/cache:       1316        685
Swap:          507          0        507
root@openstack-controller:~#

######################################################

openstack- unable to establish connection to http://controller

标签:openstack nova

原文地址:http://dogrider.blog.51cto.com/771879/1718043

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!