[Openstack] Problem with neutron

Mārtiņš Jakubovičs martins at hostnet.lv
Fri Dec 27 14:15:37 UTC 2013


Hello,

Now I got successfully booted instances with attached network. But 
network still is not working. DHCP service doesn't assign fixed IP to 
instance so I addet it manualy. I assign floating IP to that instance. 
When I ping floating IP host is unreachable. With tcpdump in XenServer I 
can see this:

15:04:30.683155 IP 10.10.50.230 > 10.10.50.231: GREv0, key=0x1, length 
50: ARP, Request who-has 10.5.5.4 tell 10.5.5.1, length 28
15:04:30.683303 IP 10.10.50.232 > 10.10.50.231: GREv0, key=0x1, length 
50: ARP, Request who-has 10.5.5.4 tell 10.5.5.1, length 28
15:04:31.683108 IP 10.10.50.230 > 10.10.50.231: GREv0, key=0x1, length 
50: ARP, Request who-has 10.5.5.4 tell 10.5.5.1, length 28
15:04:31.683243 IP 10.10.50.232 > 10.10.50.231: GREv0, key=0x1, length 
50: ARP, Request who-has 10.5.5.4 tell 10.5.5.1, length 28

10.10.50.230 is neutron host's guest networks IP
10.10.50.231 is XenServer guest network's IP
10.10.50.232 is other XenServer network IP, I don't know why it appears 
there.
10.5.5.4 is instances fixed IP.

So as I can check network works like: internet -- neutron host -- 
XenServer -- instance
And it fails somewhere between XenServer and instance, I am not strong 
with OVS, but I think problem is somewhere with OVS configuration.

"ovs-vsctl show" in XenServer: http://paste.openstack.org/show/57462/
Integration bridge is xapi4
I got two instances, both have integration networks attached and can 
ping each other.

OVS plugin agent's configuration in nova-compute:

[ovs]
tenant_network_type = gre
tunnel_id_ranges = 1:1000
enable_tunneling = True
integration_bridge = xapi4      # Integration bridge in XenServer
tunnel_bridge = br-tun
local_ip = 10.10.50.231         # Guest network's IP in XenServer

Also I turned off firewall driver in ovs plugin agent's configuration:
firewall_driver = neutron.agent.firewall.NoopFirewallDriver

Thanks.

On 2013.12.20. 17:05, Mārtiņš Jakubovičs wrote:
> Hello,
>
> I am going forward with trying to implementing neutron in XenServer. 
> Looking in documentation that is possible with DevStack. 
> https://wiki.openstack.org/wiki/QuantumDevstackOvsXcp But there is one 
> catch, in section, where you enable services(ENABLED_SERVICES) there 
> is two more services, which isn't in havana release: q-agt and 
> q-domua. So, if I am right, this two services make possible to run 
> necessary neutron commands from domU in to dom0. So, where I can get 
> this services? Or maybe all this is included in 
> neutron-plugin-openvswitch-agent package, just need to configure it right?
> In /etc/neutron/rootwrap.conf is xenapi section, so I suppose that it 
> is required to run neutron + XenServer. And there is 
> /usr/bin/neutron-rootwrap-xen-dom0 script, which login to XenServer 
> and run commands.
>
> And additional question:
>
> Is anyone trying to live migrate with OpenStack + neutron + XenServer 
> setup? I can't live migration, got error: 
> http://paste.openstack.org/show/55683/
> Maybe this is because my neutron setup is not working completely, but 
> maybe this is bug in live migration ...
>
> Thanks.
>
> On 2013.12.16. 21:33, Amir Sadoughi wrote:
>> Glad to hear it’s working better. To be honest, I haven’t gotten 
>> further than this.  For my test environment, I end up using VNC to 
>> statically set the neutron ports' fixed ip inside the instance.
>>
>> From what I’ve read, I think at this point you have to setup the 
>> metadata agent to run listening on 169.254.169.254 or you can try 
>> something called config drive, but I haven’t bothered getting either 
>> working yet.
>>
>> Hopefully someone else can chime in and help us out both!
>>
>> Amir
>>
>>
>> On Dec 16, 2013, at 1:23 PM, Mārtiņš Jakubovičs <martins at hostnet.lv 
>> <mailto:martins at hostnet.lv>> wrote:
>>
>>> Thanks you!
>>>
>>> At least something is going forward! :) That works, no more error 
>>> and instance boot's.
>>> I created network in XenServer by command:
>>>
>>> xe network-create name-label=br-int
>>>
>>> With:
>>>
>>> xe network-list name-label=br-int params=bridge
>>>
>>> I get bridge name - xapi1
>>>
>>> After that in XenServer:
>>>
>>> ovs-vsctl add-br xapi1
>>>
>>> Got error: ovs-vsctl: cannot create a bridge named xapi1 because a 
>>> bridge named xapi1 already exists
>>>
>>> In nova-compute I changed integration_bridge to xapi1 in 
>>> ovs_neutron_plugin.ini file. Than in nova-compute i run:
>>>
>>> ovs-vsctl del-br br-int
>>> ovs-vsctl add-br xapi1
>>>
>>> Now running instances get br-int network attached, but lookls like 
>>> dhcp is not working. Instance can't assign IP. Neutron and nova logs 
>>> without errors. Maybe is some ideas why dhcp is not working? Maybe 
>>> some there is some "painful spots" with dhcp? Or I missed something 
>>> with configuration from above?
>>>
>>> On 2013.12.16. 18:10, Amir Sadoughi wrote:
>>>> My apologies, it looks like I scanned your original error message 
>>>> too quickly.
>>>>
>>>> “Found no network for bridge br-int” means you need to run `xe 
>>>> network-create …`. AFAICT, xe network-create does not let you 
>>>> specify the bridge name. So, from the result of xe network-create, 
>>>> you need to invoke `ovs-vsctl add-br …` with the bridge name it 
>>>> specifies and reconfigure Nova/Neutron/OVS plugin to use that 
>>>> bridge as the integration bridge.
>>>>
>>>> Hopefully that advice will get you further.
>>>>
>>>> Amir
>>>>
>>>> On Dec 15, 2013, at 9:31 AM, Mārtiņš Jakubovičs <martins at hostnet.lv 
>>>> <mailto:martins at hostnet.lv>> wrote:
>>>>
>>>>> With OpenStack + XenServer is much more questions than should be. 
>>>>> For example, what then is this - 
>>>>> http://openvswitch.org/openstack/documentation/
>>>>>
>>>>> Or Nicira NVP, where I can download it? Looks like it is now a 
>>>>> part of VMware.
>>>>>
>>>>> On 2013.12.15. 15:04, 郭龙仓 wrote:
>>>>>> Yes , you must use Nicira NVP with XenServer
>>>>>>
>>>>>>
>>>>>> 2013/12/15 Mārtiņš Jakubovičs <martins at hostnet.lv 
>>>>>> <mailto:martins at hostnet.lv>>
>>>>>>
>>>>>>     Hello,
>>>>>>
>>>>>>     Is this right tutorial
>>>>>>     <http://docs.openstack.org/havana/install-guide/install/apt/content/neutron-install-network-node.html>
>>>>>>     to install neutron in OpenStack with XenServer? In this
>>>>>>     section
>>>>>>     <http://docs.openstack.org/admin-guide-cloud/content/ch_networking.html#section_networking-intro>
>>>>>>     say's that OVS isn't supported in XenServer with neutron, is
>>>>>>     it right? So I must uninstall OVS and use this Nicira NVP?
>>>>>>
>>>>>>
>>>>>>     On 2013.12.13. 10:54, Mārtiņš Jakubovičs wrote:
>>>>>>>     Hello all,
>>>>>>>
>>>>>>>     I have problem with setting up neutron. I have latest havana
>>>>>>>     realase and XenServer 6.2 as hypervisor.
>>>>>>>     I did all step-by-step from this tutorial
>>>>>>>     http://docs.openstack.org/havana/install-guide/install/apt/content/neutron-install-network-node.html
>>>>>>>     All is going well, I can create network's, create router,
>>>>>>>     create subnets, assign all that stuff... But when I start to
>>>>>>>     create VM with selected network (demo-net or ext-net as
>>>>>>>     describet in documentation), VM fail to build and erase from
>>>>>>>     XenServer.
>>>>>>>     Error message - Exception: Found no network for bridge br-int
>>>>>>>
>>>>>>>     I looked in a lot of documentation, but can't find what I
>>>>>>>     did wrong.
>>>>>>>
>>>>>>>     Thanks.
>>>>>>>
>>>>>>>     Full error message:
>>>>>>>
>>>>>>>     2013-12-13 10:49:01.677 27965 INFO nova.virt.xenapi.vm_utils
>>>>>>>     [req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e
>>>>>>>     a7712da5cc054f819886dbe5a89429d5
>>>>>>>     76619aca43f841e0bed1a3b89ce8b426] VBD
>>>>>>>     OpaqueRef:9719605d-c322-d591-cede-01dd8940706f detach
>>>>>>>     rejected, attempt 1/11
>>>>>>>     2013-12-13 10:49:03.174 27965 ERROR nova.utils
>>>>>>>     [req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e
>>>>>>>     a7712da5cc054f819886dbe5a89429d5
>>>>>>>     76619aca43f841e0bed1a3b89ce8b426] [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Failed to spawn,
>>>>>>>     rolling back
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Traceback (most recent
>>>>>>>     call last):
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     491, in _spawn
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     setup_network_step(undo_mgr, vm_ref)
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     153, in inner
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] rv = f(*args, **kwargs)
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     453, in setup_network_step
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     self._create_vifs(instance, vm_ref, network_info)
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     1576, in _create_vifs
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] vm_ref=vm_ref,
>>>>>>>     device=device)
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vif.py",
>>>>>>>     line 55, in plug
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] self._session,
>>>>>>>     vif['network']['bridge'])
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/network_utils.py",
>>>>>>>     line 51, in find_network_with_bridge
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] raise
>>>>>>>     Exception(_('Found no network for bridge %s') % bridge)
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Exception: Found no
>>>>>>>     network for bridge br-int
>>>>>>>     2013-12-13 10:49:03.174 27965 TRACE nova.utils [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     2013-12-13 10:49:03.186 27965 WARNING
>>>>>>>     nova.virt.xenapi.vm_utils
>>>>>>>     [req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e
>>>>>>>     a7712da5cc054f819886dbe5a89429d5
>>>>>>>     76619aca43f841e0bed1a3b89ce8b426] [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] VM already halted,
>>>>>>>     skipping shutdown...
>>>>>>>     2013-12-13 10:49:03.472 27965 ERROR
>>>>>>>     nova.virt.xenapi.vm_utils
>>>>>>>     [req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e
>>>>>>>     a7712da5cc054f819886dbe5a89429d5
>>>>>>>     76619aca43f841e0bed1a3b89ce8b426] ['HANDLE_INVALID', 'VDI',
>>>>>>>     'OpaqueRef:e9a1bc76-8046-8afd-8997-caed632a80a5']
>>>>>>>     2013-12-13 10:49:03.472 27965 TRACE
>>>>>>>     nova.virt.xenapi.vm_utils Traceback (most recent call last):
>>>>>>>     2013-12-13 10:49:03.472 27965 TRACE
>>>>>>>     nova.virt.xenapi.vm_utils File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py",
>>>>>>>     line 439, in destroy_vdi
>>>>>>>     2013-12-13 10:49:03.472 27965 TRACE
>>>>>>>     nova.virt.xenapi.vm_utils session.call_xenapi('VDI.destroy',
>>>>>>>     vdi_ref)
>>>>>>>     2013-12-13 10:49:03.472 27965 TRACE
>>>>>>>     nova.virt.xenapi.vm_utils File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py",
>>>>>>>     line 757, in call_xenapi
>>>>>>>     2013-12-13 10:49:03.472 27965 TRACE
>>>>>>>     nova.virt.xenapi.vm_utils return
>>>>>>>     session.xenapi_request(method, args)
>>>>>>>     2013-12-13 10:49:03.472 27965 TRACE
>>>>>>>     nova.virt.xenapi.vm_utils File
>>>>>>>     "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line
>>>>>>>     133, in xenapi_request
>>>>>>>     2013-12-13 10:49:03.472 27965 TRACE
>>>>>>>     nova.virt.xenapi.vm_utils result =
>>>>>>>     _parse_result(getattr(self, methodname)(*full_params))
>>>>>>>     2013-12-13 10:49:03.472 27965 TRACE
>>>>>>>     nova.virt.xenapi.vm_utils File
>>>>>>>     "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line
>>>>>>>     203, in _parse_result
>>>>>>>     2013-12-13 10:49:03.472 27965 TRACE
>>>>>>>     nova.virt.xenapi.vm_utils raise
>>>>>>>     Failure(result['ErrorDescription'])
>>>>>>>     2013-12-13 10:49:03.472 27965 TRACE
>>>>>>>     nova.virt.xenapi.vm_utils Failure: ['HANDLE_INVALID', 'VDI',
>>>>>>>     'OpaqueRef:e9a1bc76-8046-8afd-8997-caed632a80a5']
>>>>>>>     2013-12-13 10:49:03.472 27965 TRACE nova.virt.xenapi.vm_utils
>>>>>>>     2013-12-13 10:49:03.475 27965 ERROR
>>>>>>>     nova.virt.xenapi.vm_utils
>>>>>>>     [req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e
>>>>>>>     a7712da5cc054f819886dbe5a89429d5
>>>>>>>     76619aca43f841e0bed1a3b89ce8b426] Unable to destroy VDI
>>>>>>>     OpaqueRef:e9a1bc76-8046-8afd-8997-caed632a80a5
>>>>>>>     2013-12-13 10:49:03.476 27965 ERROR nova.compute.manager
>>>>>>>     [req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e
>>>>>>>     a7712da5cc054f819886dbe5a89429d5
>>>>>>>     76619aca43f841e0bed1a3b89ce8b426] [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Instance failed to spawn
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Traceback
>>>>>>>     (most recent call last):
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/compute/manager.py",
>>>>>>>     line 1407, in _spawn
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     block_device_info)
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py",
>>>>>>>     line 216, in spawn
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     admin_password, network_info, block_device_info)
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     359, in spawn
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     network_info, block_device_info, name_label, rescue)
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     505, in _spawn
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     undo_mgr.rollback_and_reraise(msg=msg, instance=instance)
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/utils.py", line 979,
>>>>>>>     in rollback_and_reraise
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     self._rollback()
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     491, in _spawn
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     setup_network_step(undo_mgr, vm_ref)
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     153, in inner
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] rv =
>>>>>>>     f(*args, **kwargs)
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     453, in setup_network_step
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     self._create_vifs(instance, vm_ref, network_info)
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     1576, in _create_vifs
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     vm_ref=vm_ref, device=device)
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vif.py",
>>>>>>>     line 55, in plug
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     self._session, vif['network']['bridge'])
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/network_utils.py",
>>>>>>>     line 51, in find_network_with_bridge
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] raise
>>>>>>>     Exception(_('Found no network for bridge %s') % bridge)
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Exception:
>>>>>>>     Found no network for bridge br-int
>>>>>>>     2013-12-13 10:49:03.476 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     2013-12-13 10:49:03.548 27965 AUDIT nova.compute.manager
>>>>>>>     [req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e
>>>>>>>     a7712da5cc054f819886dbe5a89429d5
>>>>>>>     76619aca43f841e0bed1a3b89ce8b426] [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Terminating instance
>>>>>>>     2013-12-13 10:49:04.174 27965 INFO nova.virt.xenapi.vmops
>>>>>>>     [req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e
>>>>>>>     a7712da5cc054f819886dbe5a89429d5
>>>>>>>     76619aca43f841e0bed1a3b89ce8b426] [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Destroying VM
>>>>>>>     2013-12-13 10:49:04.179 27965 WARNING nova.virt.xenapi.vmops
>>>>>>>     [req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e
>>>>>>>     a7712da5cc054f819886dbe5a89429d5
>>>>>>>     76619aca43f841e0bed1a3b89ce8b426] [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] VM is not present,
>>>>>>>     skipping destroy...
>>>>>>>     2013-12-13 10:49:04.422 27965 ERROR nova.compute.manager
>>>>>>>     [req-b9f302a8-8bb4-4336-92a2-eb9c8b96584e
>>>>>>>     a7712da5cc054f819886dbe5a89429d5
>>>>>>>     76619aca43f841e0bed1a3b89ce8b426] [instance:
>>>>>>>     5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Error: Found no
>>>>>>>     network for bridge br-int
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Traceback
>>>>>>>     (most recent call last):
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/compute/manager.py",
>>>>>>>     line 1037, in _build_instance
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     set_access_ip=set_access_ip)
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/compute/manager.py",
>>>>>>>     line 1410, in _spawn
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     LOG.exception(_('Instance failed to spawn'), instance=instance)
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/compute/manager.py",
>>>>>>>     line 1407, in _spawn
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     block_device_info)
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py",
>>>>>>>     line 216, in spawn
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     admin_password, network_info, block_device_info)
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     359, in spawn
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     network_info, block_device_info, name_label, rescue)
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     505, in _spawn
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     undo_mgr.rollback_and_reraise(msg=msg, instance=instance)
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/utils.py", line 979,
>>>>>>>     in rollback_and_reraise
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     self._rollback()
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     491, in _spawn
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     setup_network_step(undo_mgr, vm_ref)
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     153, in inner
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] rv =
>>>>>>>     f(*args, **kwargs)
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     453, in setup_network_step
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     self._create_vifs(instance, vm_ref, network_info)
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line
>>>>>>>     1576, in _create_vifs
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     vm_ref=vm_ref, device=device)
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vif.py",
>>>>>>>     line 55, in plug
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>     self._session, vif['network']['bridge'])
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] File
>>>>>>>     "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/network_utils.py",
>>>>>>>     line 51, in find_network_with_bridge
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] raise
>>>>>>>     Exception(_('Found no network for bridge %s') % bridge)
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6] Exception:
>>>>>>>     Found no network for bridge br-int
>>>>>>>     2013-12-13 10:49:04.422 27965 TRACE nova.compute.manager
>>>>>>>     [instance: 5a8dff7e-e8e0-4885-8df5-27ba8bb6a0e6]
>>>>>>>
>>>>>>>     _______________________________________________
>>>>>>>     Mailing list:
>>>>>>>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>>     Post to     : openstack at lists.openstack.org
>>>>>>>     <mailto:openstack at lists.openstack.org>
>>>>>>>     Unsubscribe :
>>>>>>>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>>
>>>>>>
>>>>>>
>>>>>>     _______________________________________________
>>>>>>     Mailing list:
>>>>>>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>     Post to     : openstack at lists.openstack.org
>>>>>>     <mailto:openstack at lists.openstack.org>
>>>>>>     Unsubscribe :
>>>>>>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: 
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>> Post to     : openstack at lists.openstack.org 
>>>>> <mailto:openstack at lists.openstack.org>
>>>>> Unsubscribe : 
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131227/ea2e0531/attachment.html>


More information about the Openstack mailing list