← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1350868] Re: IceHouse Unable to start instance with GRE

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1350868

Title:
  IceHouse Unable to start instance with GRE

Status in OpenStack Neutron (virtual network service):
  Expired

Bug description:
  I am not able to run a nova instance using Neutron GRE networking

  When I try to boot an instance I see in nova-scheduler.log the
  following:

  2014-07-31 17:17:12.662 5603 ERROR nova.scheduler.filter_scheduler [req-a63735cc-ace4-4b01-ab20-fa16eabf1dbb 122fb104d6ea4c37b295a52bd18ca204 0735f322cd4b43e7981c550152715f6b] [instance: a5772719-e66a-4cb2-addc-bea955e42577] Error from last host: kropachev (node kropachev): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1305, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 393, in decorated_function\n    return function(self, context, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1717, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1714, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2262, in spawn\n    write_to_disk=True)\n', u'  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3443, in to_xml\n    disk_info, rescue, block_device_info)\n', u'  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3259, in get_guest_config\n    flavor)\n', u'  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 384, in get_config\n    _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n']
  2014-07-31 17:17:12.667 5603 WARNING nova.scheduler.driver [req-a63735cc-ace4-4b01-ab20-fa16eabf1dbb 122fb104d6ea4c37b295a52bd18ca204 0735f322cd4b43e7981c550152715f6b] [instance: a5772719-e66a-4cb2-addc-bea955e42577] Setting instance to ERROR state.

  All controller/network and compute nodes are located at the same machine (10.10.111.25)
  The configuration of OpenStack is shown below(I used the same password in the example for all services)

  Neutron configuration:
  # cat /etc/neutron/neutron.conf |egrep -v "^#|^$"
  [DEFAULT]
  [DEFAULT]
  verbose = True
  auth_strategy = keystone
  rpc_backend = neutron.openstack.common.rpc.impl_qpid
  qpid_hostname = 10.10.111.25
  notify_nova_on_port_status_changes = True
  notify_nova_on_port_data_changes = True
  nova_url = http://10.10.111.25:8774/v2
  nova_admin_username = nova
  nova_admin_tenant_id = 77c54a8f422043e5a0b66f48814c2a23
  nova_admin_password = OpenStack123
  nova_admin_auth_url = http://10.10.111.25:35357/v2.0
  core_plugin = ml2
  service_plugins = router
  [quotas]
  [agent]
  [keystone_authtoken]
  auth_uri = http://10.10.111.25:5000
  auth_host = 10.10.111.25
  auth_protocol = http
  auth_port = 35357
  admin_tenant_name = service
  admin_user = neutron
  admin_password = OpenStack123
  [database]
  connection = mysql://neutron:OpenStack123@10.10.111.25/neutron
  [service_providers]
  service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

  # cat /etc/neutron/plugin.ini |egrep -v "^$|^#"
  [ml2]
  type_drivers = gre
  tenant_network_types = gre
  mechanism_drivers = openvswitch
  [ml2_type_flat]
  [ml2_type_vlan]
  [ml2_type_gre]
  tunnel_id_ranges = 1:1000
  [ml2_type_vxlan]
  [securitygroup]
  firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  enable_security_group = True
  [ovs]
  tunnel_type = gre
  tunnel_types = gre
  enable_tunneling = True
  local_ip = 10.10.111.25

  
  Nova configuration:
  # cat /etc/nova/nova.conf |egrep -v "^$|^#"
  [DEFAULT]
  verbose = True
  debug =  False
  rpc_backend = qpid
  qpid_hostname = 10.10.111.25
  my_ip = 10.10.111.25
  vncserver_listen = 10.10.111.25
  vncserver_proxyclient_address = 10.10.111.25
  auth_strategy = keystone
  vnc_enabled = True
  novncproxy_base_url = http://10.10.111.25:6080/vnc_auto.html
  glance_host = 10.10.111.25
  network_api_class = nova.network.neutronv2.api.API
  neutron_url = http://10.10.111.25:9696
  neutron_auth_strategy = keystone
  neutron_admin_tenant_name = service
  neutron_admin_username = neutron
  neutron_admin_password = OpenStack123
  neutron_admin_auth_url = http://10.10.111.25:35357/v2.0
  linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
  firewall_driver = nova.virt.firewall.NoopFirewallDriver
  security_group_api = neutron
  service_neutron_metadata_proxy = true
  neutron_metadata_proxy_shared_secret = OpenStack123
  vif_plugging_is_fatal=false
  [baremetal]
  [cells]
  [conductor]
  [database]
  connection = mysql://nova:OpenStack123@10.10.111.25/nova
  [hyperv]
  [image_file_url]
  [keymgr]
  [keystone_authtoken]
  auth_uri = http://10.10.111.25:5000
  auth_host = 10.10.111.25
  auth_protocol = http
  auth_port = 35357
  admin_user = nova
  admin_tenant_name = service
  admin_password = OpenStack123
  [libvirt]
  virt_type = qemu
  vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver
  libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver
  [matchmaker_ring]
  [metrics]
  [osapi_v3]
  [rdp]
  [spice]
  [ssl]
  [trusted_computing]
  [upgrade_levels]
  [vmware]
  [xenserver]
  [zookeeper]

  
  OS: CentOS 7

  # rpm -qa|grep openstack
  openstack-nova-novncproxy-2014.1.1-2.el7.noarch
  openstack-nova-objectstore-2014.1.1-2.el7.noarch
  openstack-neutron-2014.1.1-5.el7.noarch
  openstack-dashboard-2014.1.1-3.el7.noarch
  openstack-utils-2014.1-3.el7.noarch
  openstack-nova-console-2014.1.1-2.el7.noarch
  openstack-nova-cells-2014.1.1-2.el7.noarch
  openstack-nova-scheduler-2014.1.1-2.el7.noarch
  openstack-nova-network-2014.1.1-2.el7.noarch
  openstack-nova-conductor-2014.1.1-2.el7.noarch
  openstack-nova-2014.1.1-2.el7.noarch
  openstack-glance-2014.1.1-4.el7.noarch
  openstack-cinder-2014.1-2.el7.noarch
  openstack-neutron-ml2-2014.1.1-5.el7.noarch
  openstack-neutron-openvswitch-2014.1.1-5.el7.noarch
  python-django-openstack-auth-1.1.5-1.el7.noarch
  openstack-nova-common-2014.1.1-2.el7.noarch
  openstack-nova-cert-2014.1.1-2.el7.noarch
  openstack-nova-api-2014.1.1-2.el7.noarch
  openstack-nova-compute-2014.1.1-2.el7.noarch
  openstack-keystone-2014.1.1-1.el7.noarch

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1350868/+subscriptions


References