Openstack-Ocata 服务器IP改变,实例无法启动

從此迷花粉 发布于 2017/11/21 10:39
阅读 173
收藏 0

刚开始因为只有一台服务器,所以将Openstack-ocata  的 keystone,nova ,galance ,neutron,cinder,dashboard都安装在了ip为192.168.1.101(etcd-node1)的一台机器上,所有配置都使用的ip(没使用机器名称),现在想增加服务器,扩展一下,将原来服务器的ip也改变了,192.168.1.101->192.168.1.21 ,导致实例无法启动,并报错如下:

2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server [req-47695256-6ef6-494e-b689-1f4a8fc1c1b4 17dcc3b861d6420e8e0928b86576ccd0 02c62341829b4736bcc756f841951ff7 - - -] Except
ion during message handling
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/exception_wrapper.py", line 75, in wrapped
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     function_name, call_dict, binary)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     self.force_reraise()
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/exception_wrapper.py", line 66, in wrapped
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     return f(self, context, *args, **kw)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 188, in decorated_function
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     LOG.warning(msg, e, instance=instance)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     self.force_reraise()
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 157, in decorated_function
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/utils.py", line 686, in decorated_function
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 216, in decorated_function
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     kwargs['instance'], e, sys.exc_info())
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     self.force_reraise()
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     six.reraise(self.type_, self.value, self.tb)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 204, in decorated_function
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     return function(self, context, *args, **kwargs)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2535, in start_instance
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     self._power_on(context, instance)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2505, in _power_on
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     block_device_info)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2533, in power_on
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     self._hard_reboot(context, instance, network_info, block_device_info)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2404, in _hard_reboot
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     block_device_info=block_device_info)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4901, in _get_guest_xml
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     context)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4731, in _get_guest_config
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     flavor, guest.os_type)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3662, in _get_guest_storage_config
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     self._connect_volume(connection_info, info)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1158, in _connect_volume
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     vol_driver.connect_volume(connection_info, disk_info)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/volume/nfs.py", line 48, in connect_volume
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     self._ensure_mounted(connection_info)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/volume/nfs.py", line 78, in _ensure_mounted
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     self._mount_nfs(mount_path, nfs_export, options, ensure=True)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/volume/nfs.py", line 94, in _mount_nfs
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     utils.execute(*nfs_cmd, run_as_root=True)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/utils.py", line 297, in execute
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     return RootwrapProcessHelper().execute(*cmd, **kwargs)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/nova/utils.py", line 180, in execute
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     return processutils.execute(*cmd, **kwargs)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 400, in execute
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server     cmd=sanitized_cmd)
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server ProcessExecutionError: Unexpected error while running command.
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server Command: sudo nova-rootwrap /etc/nova/rootwrap.conf mount -t nfs 192.168.1.101:/data/nfs /var/lib/nova/mnt/4b1b3b08e87b8d
535de3f06381e729a6
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server Exit code: 32
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server Stdout: u''
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server Stderr: u'mount.nfs: Connection timed out\n'
2017-11-21 09:57:53.979 1810 ERROR oslo_messaging.rpc.server 

请问怎么解决?

加载中
0
OSC_JeUadh
OSC_JeUadh
我电脑也是这Ip 这么巧的吗
返回顶部
顶部