[Openstack] ICehouse[Neutron][ML2][VLAN] - nova boot failed

Romil Gupta romilgupta19 at gmail.com
Sun Sep 14 09:31:19 UTC 2014


Hi ,

Please find the link below for Icehouse Installation with proper
configuration with ML2:

https://github.com/romilgupta/openstack-icehouse-scripts


On Thu, Sep 11, 2014 at 11:54 AM, Chinasubbareddy M <
chinasubbareddy_m at persistent.co.in> wrote:

>  Hi,
>
>
>
> Thanks for your support ,changed the configuration ,still problem persist.
>
> Do you have any working  vlan,ml2 plugin configuration? If you have Please
> share.
>
>
>
> My understanding is, by the time request goes to vifdriver.py , viftype
> variable should be ‘ovs’ , but that is not happening in case of ml2 plugin.
>
> Hope ml2 plugin not able to provide that information.
>
> Do I need to do any changes in nova.conf in case of ml2?
>
>
>
> *From:* Gangur, Hrushikesh (R & D HP Cloud) [mailto:
> hrushikesh.gangur at hp.com]
> *Sent:* Thursday, September 11, 2014 11:22 AM
> *To:* Chinasubbareddy M; openstack at lists.openstack.org
> *Cc:* Ayyalaraju Koundinya; Ram Nalluri
> *Subject:* RE: ICehouse[Neutron][ML2][VLAN] - nova boot failed
>
>
>
> Shouldn’t this be physnet1:br-eth1
>
>
>
> >>>bridge_mappings = physnet1:eth1
>
>
>
> Create a bridge named br-eth1 with eth1 as port on both controller and
> compute nodes
>
> ovs-vsctl add-br br-eth1
>
> ovs-vsctl add-port br-eth1 eth1
>
>
>
>
>
>
>
> *From:* Chinasubbareddy M [mailto:chinasubbareddy_m at persistent.co.in
> <chinasubbareddy_m at persistent.co.in>]
> *Sent:* Wednesday, September 10, 2014 9:27 AM
> *To:* openstack at lists.openstack.org
> *Cc:* Ayyalaraju Koundinya; Ram Nalluri
> *Subject:* [Openstack] ICehouse[Neutron][ML2][VLAN] - nova boot failed
>
>
>
> 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: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 at 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.
>
> 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.
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 
*Regards,*

*Romil *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140914/c89d079d/attachment.html>


More information about the Openstack mailing list