环境是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 runinstance 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, instanceuuid) 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)
//代码效果参考:http://www.zidongmutanji.com/zsjx/187217.html
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_errorstate(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