Comment 3 for bug 1496929

Revision history for this message
El Mehdi (mrhari-mehdi) wrote : Re: [Bug 1496929] Re: instance luanch failed

hello,

Thank you for your mail back, and I inform you that I have only one external
network, and there is a configuration at neutron file for integration vmware
esxi and OpenStack juno

2015-09-18 8:54 GMT+01:00 Markus Zoeller (markus_z) <email address hidden>:

> The "TooManyExternalNetworks" exception in neutron looks suspicious.
> It's thrown here:
>
>
> https://github.com/openstack/neutron/blob/master/neutron/db/external_net_db.py#L150
>
> It's just a guess, but could there be a configuration failure? Do you
> maybe have more than one external network?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1496929
>
> Title:
> instance luanch failed
>
> Status in OpenStack Compute (nova):
> New
>
> Bug description:
> Hello, I followed the documentation " http://docs.openstack.org/kilo
> /config-reference/content/vmware.html " to connect ESXi with OpenStack
> Juno, i put the following configuration on the compute node, nova.conf
> file :
>
> [DEFAULT]
> compute_driver=vmwareapi.VMwareVCDriver
>
> [vmware]
> host_ip=<vCenter host IP>
> host_username=<vCenter username>
> host_password=<vCenter password>
> cluster_name=<vCenter cluster name>
> datastore_regex=<optional datastore regex>
>
> And in the nova-compute.conf :
>
> [DEFAULT]
> compute_driver=vmwareapi.VMwareVCDriver
>
>
> But in vain, on the juno OpenStack Dashboard when i whant to launch
> instance, i have error " Error: Failed to launch instance "Test": Please
> try again later [Error: No valid host was found. ]. ", plz there is an idea
> for launce instance in my ESXi.
>
> attached the logs on the controller and compute node:
>
> ======> nova-conductor
>
> ERROR nova.scheduler.utils [req-618d4ee3-c936-4249-9f8c-7c266d5f9264
> None] [instance: 0c1ee287-edfe-4258-bb43-db23338bbe90] Error from last
> host: ComputeNode (node domain-c65(Compute)): [u'Traceback (most recent
> call last):\n', u' File
> "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2054, in
> _do_build_and_run_instance\n filter_properties)\n', u' File
> "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2185, in
> _build_and_run_instance\n instance_uuid=instance.uuid,
> reason=six.text_type(e))\n', u'RescheduledException: Build of instance
> 0c1ee287-edfe-4258-bb43-db23338bbe90 was re-scheduled: Network could not be
> found for bridge br-int\n']
> 2015-09-17 15:31:34.921 2432 WARNING nova.scheduler.driver
> [req-618d4ee3-c936-4249-9f8c-7c266d5f9264 None] [instance:
> 0c1ee287-edfe-4258-bb43-db23338bbe90] NoValidHost exception with message:
> 'No valid host was found.'
>
>
> =====> neutron
> 2015-09-17 12:36:09.398 1840 ERROR oslo.messaging._drivers.common
> [req-775407a3-d756-4677-bdb9-0ddfe2fac50c ] Returning exception More than
> one external network exists to caller
> 2015-09-17 12:36:09.398 1840 ERROR oslo.messaging._drivers.common
> [req-775407a3-d756-4677-bdb9-0ddfe2fac50c ] ['Traceback (most recent call
> last):\n', ' File
> "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line
> 134, in _dispatch_and_reply\n incoming.message))\n', ' File
> "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line
> 177, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt,
> args)\n', ' File
> "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line
> 123, in _do_dispatch\n result = getattr(endpoint, method)(ctxt,
> **new_args)\n', ' File
> "/usr/lib/python2.7/dist-packages/neutron/api/rpc/handlers/l3_rpc.py", line
> 149, in get_external_network_id\n net_id =
> self.plugin.get_external_network_id(context)\n', ' File
> "/usr/lib/python2.7/dist-packages/neutron/db/external_net_db.py", line 161,
> in get_external_network_id\n raise n_exc.TooManyExternalNetworks()\n',
> 'TooManyExternalNetworks: More than one external network exists\n']
>
>
> =====> compute Node / nova-compute
>
> 2015-09-17 15:28:22.323 5944 ERROR oslo.vmware.common.loopingcall [-] in
> fixed duration looping call
> 2015-09-17 15:31:33.550 5944 ERROR nova.compute.manager [-] [instance:
> 0c1ee287-edfe-4258-bb43-db23338bbe90] Instance failed to spawn
>
>
> =====> nova-network / nova-compute
>
> 2015-09-17 11:21:10.840 1363 ERROR oslo.messaging._drivers.impl_rabbit
> [-] AMQP server on ControllerNode01:5672 is unreachable: [Errno 111]
> ECONNREFUSED. Trying again in 3 seconds.
> 2015-09-17 11:23:02.874 1363 ERROR nova.openstack.common.periodic_task
> [-] Error during VlanManager._disassociate_stale_fixed_ips: Timed out
> waiting for a reply to message ID b6d62061352e4590a37cbc0438ea3ef0
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nova/+bug/1496929/+subscriptions
>

--
-----
Cordialement

  El Mehdi MRHARI
00212(0)6-65-22-53-37
<email address hidden>