Hello,

Check in neutron-server logs why port is not bind correctly on host.

---
Best regards
Sławek Kapłoński
sla...@kaplonski.pl

Dnia sobota, 11 października 2014 04:37:50 Chinasubbareddy M pisze:
> Hi ,
> 
> When I am configuring ML2 plugin with vlan based network ,  nova boot is
> failing with following error ,where as if I change the driver from ML2 to
> OVS  , things are working fine . Please suggest.
> 
> 
> Here is the ml2 configuration:
> 
> [ml2]
> type_drivers = vlan
> tenant_network_types = vlan
> mechanism drivers = openvswitch
> [ml2_type_vlan]
> network_vlan_ranges = physnet1:1:4094
> [ovs]
> tenant_network_type = vlan
> network_vlan_ranges = physnet1:1:4094
> bridge_mappings = physnet1:br-eth1
> [securitygroup]
> firewall_driver =
> neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
> enable_security_group = True
> 
> /etc/neutron/neutron.conf:
> core_plugin = ml2
> service_plugins = router
> allow_overlapping_ips = True
> 
> 
> logs:
> 
> 
> root@build-server:/etc/init# grep -ir "241e4c21-5604-4a1b-a782-f44128fbd0b3"
> /var/log/nova/* /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053
> 21941 ERROR nova.compute.manager [req-f4550d18-b37c-4dc6-9544-a9e8b2e38821
> 5249dfc7f6c34fe68f98cfe60f82b331 22ad3f28f8f24b7fb14f17af44aa55f0]
> [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3] Instance failed to spawn
> /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]
> Traceback (most recent call last):
> /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]  
> File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1720,
> in _spawn /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053 21941
> TRACE nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]
>     block_device_info) /var/log/nova/nova-compute.log:2014-09-11
> 02:41:23.053 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3]   File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2250,
> in spawn /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]    
> write_to_disk=True) /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053
> 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3]   File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3431,
> in to_xml /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053 21941
> TRACE nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]
>     disk_info, rescue, block_device_info)
> /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]  
> File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line
> 3247, in get_guest_config /var/log/nova/nova-compute.log:2014-09-11
> 02:41:23.053 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3]     flavor)
> /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]  
> File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384,
> in get_config /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053 21941
> TRACE nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]
>     _("Unexpected vif_type=%s") % vif_type)
> /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]
> NovaException: Unexpected vif_type=binding_failed
> /var/log/nova/nova-compute.log:2014-09-11 02:41:23.053 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]
> /var/log/nova/nova-compute.log:2014-09-11 02:41:23.877 21941 ERROR
> nova.virt.libvirt.driver [-] [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3] During wait destroy, instance
> disappeared. /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941
> ERROR nova.compute.manager [req-f4550d18-b37c-4dc6-9544-a9e8b2e38821
> 5249dfc7f6c34fe68f98cfe60f82b331 22ad3f28f8f24b7fb14f17af44aa55f0]
> [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3] Error: Unexpected
> vif_type=binding_failed /var/log/nova/nova-compute.log:2014-09-11
> 02:41:24.275 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3] Traceback (most recent call last):
> /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]  
> File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1311,
> in _build_instance /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275
> 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3]     set_access_ip=set_access_ip)
> /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]  
> File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 399,
> in decorated_function /var/log/nova/nova-compute.log:2014-09-11
> 02:41:24.275 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3]     return function(self, context,
> *args, **kwargs) /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275
> 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3]   File
> "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1723, in
> _spawn /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]    
> LOG.exception(_('Instance failed to spawn'), instance=instance)
> /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]  
> File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py",
> line 68, in __exit__ /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275
> 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3]     six.reraise(self.type_,
> self.value, self.tb) /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275
> 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3]   File
> "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1720, in
> _spawn /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]    
> block_device_info) /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275
> 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3]   File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2250,
> in spawn /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]    
> write_to_disk=True) /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275
> 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3]   File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3431,
> in to_xml /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941
> TRACE nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]
>     disk_info, rescue, block_device_info)
> /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]  
> File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line
> 3247, in get_guest_config /var/log/nova/nova-compute.log:2014-09-11
> 02:41:24.275 21941 TRACE nova.compute.manager [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3]     flavor)
> /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]  
> File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384,
> in get_config /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941
> TRACE nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]
>     _("Unexpected vif_type=%s") % vif_type)
> /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]
> NovaException: Unexpected vif_type=binding_failed
> /var/log/nova/nova-compute.log:2014-09-11 02:41:24.275 21941 TRACE
> nova.compute.manager [instance: 241e4c21-5604-4a1b-a782-f44128fbd0b3]
> /var/log/nova/nova-compute.log:2014-09-11 02:50:44.135 23339 ERROR
> nova.virt.libvirt.driver [-] [instance:
> 241e4c21-5604-4a1b-a782-f44128fbd0b3] During wait destroy, instance
> disappeared.
> 
> 
> Regards,
> Subbareddy
> Persistent systems ltd.
> 
> 
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is the
> property of Persistent Systems Ltd. It is intended only for the use of the
> individual or entity to which it is addressed. If you are not the intended
> recipient, you are not authorized to read, retain, copy, print, distribute
> or use this message. If you have received this communication in error,
> please notify the sender and delete all copies of this message. Persistent
> Systems Ltd. does not accept any liability for virus infected mails.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to