2 kkkkkkk112 kkkkkkk112 于 2014.07.03 14:46 提问

openstack 用deshboard创建实例失败

环境是ubuntu12.04 server
3个节点,compute node,controller node,block storage node,网络服务用到是nova-network
每台服务器一个网卡,eth0 192.168.1.xxx, 然后又虚拟了一个ip eth0:0 10.0.0.xxx
接下来完全安装openstack官网的安装部署步骤来的,在安装完以后用deshboard登录,创建实例的时候出现错误,错误信息如下:

云主机概况
信息
名称
a
ID
0eb442be-8ad3-4184-b8c4-a8d1027b4ccb
状态
Error
可用域
nova
已创建
七月 3, 2014, 6:19 a.m.
正常运行时间
16 分钟
故障
消息
Remote error: ProcessExecutionError Unexpected error while running command. Command: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=["/etc/nova/nova.conf"] NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/
编码
500
详情
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 296, in decorated_function return function(self, context, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2075, in run_instance do_run_instance() File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 249, in inner return f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2074, in do_run_instance legacy_bdm_in_spec) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1207, in run_instance notify("error", fault=e) # notify that build failed File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit_ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1191, in run_instance instance, image_meta, legacy_bdm_in_spec) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1355, in _build_instance filter_properties, bdms, legacy_bdm_in_spec) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1401, in _reschedule_or_error self._log_original_error(exc_info, instance_uuid) File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit_ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1396, in reschedule_or_error bdms, requested_networks) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2127, in _shutdown_instance self._try_deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2086, in _try_deallocate_network self._set_instance_error_state(context, instance['uuid']) File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit_ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2081, in _try_deallocate_network self._deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1775, in _deallocate_network context, instance, requested_networks=requested_networks) File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 94, in wrapped return func(self, context, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 318, in deallocate_for_instance requested_networks=requested_networks) File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 190, in deallocate_for_instance return cctxt.call(ctxt, 'deallocate_for_instance', **kwargs) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 150, in call wait_for_reply=True, timeout=timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send timeout=timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 412, in send return self._send(target, ctxt, message, wait_for_reply, timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 405, in _send raise result
已创建
七月 3, 2014, 6:19 a.m.
规格
云主机类型
m1.tiny
内存
512MB
虚拟内核
1 虚拟内核
磁盘
1GB
IP地址
Demo-Net
安全组
default
未定义规则。
元数据
键名称
demo-key
镜像名称
(not found)
云硬盘已连接
连接到
myVolume on vda

我个人感觉可能是network出现了问题,希望遇到过这个问题,或者能提供一些排错方法的朋友致电

3个回答

javamecaowei
javamecaowei   2014.12.09 10:15

请问您的问题最终解决了吗?

javamecaowei
javamecaowei   2014.12.09 10:16

我现在也碰到了同样的问题

hdu_hanwei
hdu_hanwei   2015.05.07 10:11

neutron.conf [keystoneauthtoken] 添加了认证信息,没有注释掉原来的配置。注释掉重启进程就好了。

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!