虚拟机拿不到IP地址···

Csleepless 2021-02-09 10:57:23
实例界面可以拿到IP地址,但是虚拟机没有



/var/log/linuxbridge-agent.log错误日志:

2021-02-09 10:50:00.830 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent     sg_id, ip_version, current_ips)
2021-02-09 10:50:00.830 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ipset_manager.py", line 78, in set_members
2021-02-09 10:50:00.830 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent member_ips = self._sanitize_addresses(member_ips)
2021-02-09 10:50:00.830 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ipset_manager.py", line 47, in _sanitize_addresses
2021-02-09 10:50:00.830 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent for ip, _mac in addresses:
2021-02-09 10:50:00.830 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent ValueError: too many values to unpack
2021-02-09 10:50:00.830 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent
2021-02-09 10:50:02.703 896 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-9e37321e-7467-48f9-91b6-dd4d6a00faca - - - - -] Linux bridge agent Agent out of sync with plugin!
2021-02-09 10:50:02.704 896 INFO neutron.agent.securitygroups_rpc [req-9e37321e-7467-48f9-91b6-dd4d6a00faca - - - - -] Preparing filters for devices set(['tap364fbefe-a0'])
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent [req-9e37321e-7467-48f9-91b6-dd4d6a00faca - - - - -] Error in agent loop. Devices info: {'current': set(['tap364fbefe-a0']), 'timestamps': {'tap364fbefe-a0': 10}, 'removed': set([]), 'added': set(['tap364fbefe-a0']), 'updated': set(['tap364fbefe-a0'])}: ValueError: too many values to unpack
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last):
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 466, in daemon_loop
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent sync = self.process_network_devices(device_info)
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 160, in wrapper
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent result = f(*args, **kwargs)
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 208, in process_network_devices
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent device_info.get('updated'))
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 262, in setup_port_filters
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.prepare_devices_filter(new_devices)
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 125, in decorated_function
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent *args, **kwargs)
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 137, in prepare_devices_filter
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent self._apply_port_filter(device_ids)
2021-02-09 10:50:02.886 896 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 161, in _apply_port_filter
...全文
154 1 打赏 收藏 举报
写回复
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
leoddniao 2021-08-13

网卡配置问题

配置第二块网卡 enp0s3f1作为provider 接口, 不配置ip, 同时需要修改/etc/sysconfig/network-scripts/enp0s3f1 下列选项

DEVICE=INTERFACE_NAME
TYPE=Ethernet
ONBOOT="yes"
BOOTPROTO="none"
然后重启

  • 打赏
  • 举报
回复
发帖
OpenStack
加入

960

社区成员

OpenStack
社区管理员
  • OpenStack社区
申请成为版主
帖子事件
创建了帖子
2021-02-09 10:57
社区公告
暂无公告