分享

neutron vlan模式配置报错,以下是http错误日志,求解?

    return view(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 51, in login
    auth_login(request, form.get_user())
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 102, in login
    if _get_user_session_key(request) != user.pk or (
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 59, in _get_user_session_key
    return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
  File "/usr/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 969, in to_python
    params={'value': value},
ValidationError: [u'\u2019540a731131304a95a7a79c4ba9792200\u2018 \u5fc5\u987b\u4e3a\u6574\u6570\u3002']
Login successful for user "admin".
Recoverable error: Invalid input for operation: physical_network 'default' unknown  for VLAN provider network.
Recoverable error: Invalid input for operation: physical_network 'default' unknown  for VLAN provider network.
Recoverable error: Invalid input for operation: physical_network 'test' unknown  for VLAN provider network.

已有(8)人评论

跳转到指定楼层
tntzbzc 发表于 2016-5-9 11:38:12

回帖奖励 +1 云币

存在两个问题
1.时间不对,建议按照ntp,并且同步下时间
2.网络配置的问题,第三块网卡,以及ovs配置核实下看下日志,在计算节点和网络节点openvswitch-agent.log

特别下面三个
Recoverable error: Invalid input for operation: physical_network 'default' unknown  for VLAN provider network.
Recoverable error: Invalid input for operation: physical_network 'default' unknown  for VLAN provider network.
Recoverable error: Invalid input for operation: physical_network 'test' unknown  for VLAN provider network.


回复

使用道具 举报

jixianqiuxue 发表于 2016-5-9 11:40:14
确保不是gre配置
回复

使用道具 举报

445433045 发表于 2016-5-9 15:18:45
tntzbzc 发表于 2016-5-9 11:38
存在两个问题
1.时间不对,建议按照ntp,并且同步下时间
2.网络配置的问题,第三块网卡,以及ovs配置核实 ...

网络节点openvswitch-agent.log 日志:
2016-05-09 10:19:05.295 2496 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Failed reporting state!
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 281, in _report_state
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self.use_call)
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/rpc.py", line 80, in report_state
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     return method(context, 'report_state', **kwargs)
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 156, in call
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     retry=self.retry)
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     timeout=timeout, retry=retry)
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 350, in send
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     retry=retry)
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 339, in _send
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     result = self._waiter.wait(msg_id, timeout)
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 243, in wait
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     message = self.waiters.get(msg_id, timeout=timeout)
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 149, in get
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     'to message ID %s' % msg_id)
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent MessagingTimeout: Timed out waiting for a reply to message ID e7c25110038d4bec9bb45e7e4a16aaab
2016-05-09 10:19:05.295 2496 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent
2016-05-09 10:19:05.322 2496 WARNING neutron.openstack.common.loopingcall [-] task <bound method OVSNeutronAgent._report_state of <neutron.plugins.openvswitch.agent.ovs_neutron_agent.OVSNeutronAgent object at 0x2d2ec90>> run outlasted interval by 90.62 sec

计算节点openvswitch-agent.log 日志:
2016-05-09 10:19:05.500 1093 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Failed reporting state!
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 281, in _report_state
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self.use_call)
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/rpc.py", line 80, in report_state
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     return method(context, 'report_state', **kwargs)
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 156, in call
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     retry=self.retry)
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     timeout=timeout, retry=retry)
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 350, in send
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     retry=retry)
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 339, in _send
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     result = self._waiter.wait(msg_id, timeout)
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 243, in wait
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     message = self.waiters.get(msg_id, timeout=timeout)
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 149, in get
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     'to message ID %s' % msg_id)
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent MessagingTimeout: Timed out waiting for a reply to message ID 7828e73dde11420f9a9a0615c88eb5b9
2016-05-09 10:19:05.500 1093 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent
2016-05-09 10:19:05.567 1093 WARNING neutron.openstack.common.loopingcall [-] task <bound method OVSNeutronAgent._report_state of <neutron.plugins.openvswitch.agent.ovs_neutron_agent.OVSNeutronAgent object at 0x32f4450>> run outlasted interval by 80.68 sec

回复

使用道具 举报

445433045 发表于 2016-5-9 15:19:42

不是,是vlan默认的
回复

使用道具 举报

goldtimes 发表于 2016-5-9 19:28:09
什么操作下报的这个错误,是否有下面两个名称
physical_network 'default'
physical_network 'test'
回复

使用道具 举报

445433045 发表于 2016-5-10 15:32:43
goldtimes 发表于 2016-5-9 19:28
什么操作下报的这个错误,是否有下面两个名称
physical_network 'default'
physical_network 'test'

我创建网络的时候选择错误了
2016-05-10 15:28:21屏幕截图.png
回复

使用道具 举报

nextuser 发表于 2016-5-10 16:45:06
445433045 发表于 2016-5-10 15:32
我创建网络的时候选择错误了

先看看网络节点及控制节点的网络组建是否都正常
回复

使用道具 举报

445433045 发表于 2016-5-10 17:48:22
nextuser 发表于 2016-5-10 16:45
先看看网络节点及控制节点的网络组建是否都正常

好了,只是在配置vlan模式的时候发现系统默认没有加载8021q模块,加载以下就可以了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条