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>
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 "TooManyExterna lNetworks" exception in neutron looks suspicious. /github. com/openstack/ neutron/ blob/master/ neutron/ db/external_ net_db. py#L150 /bugs.launchpad .net/bugs/ 1496929 docs.openstack. org/kilo reference/ content/ vmware. html " to connect ESXi with OpenStack driver= vmwareapi. VMwareVCDriver <vCenter username> <vCenter password> name=<vCenter cluster name> regex=< optional datastore regex> driver= vmwareapi. VMwareVCDriver utils [req-618d4ee3- c936-4249- 9f8c-7c266d5f92 64 edfe-4258- bb43-db23338bbe 90] Error from last c65(Compute) ): [u'Traceback (most recent python2. 7/dist- packages/ nova/compute/ manager. py", line 2054, in and_run_ instance\ n filter_ properties) \n', u' File python2. 7/dist- packages/ nova/compute/ manager. py", line 2185, in and_run_ instance\ n instance_ uuid=instance. uuid, six.text_ type(e) )\n', u'RescheduledEx ception: Build of instance edfe-4258- bb43-db23338bbe 90 was re-scheduled: Network could not be driver c936-4249- 9f8c-7c266d5f92 64 None] [instance: edfe-4258- bb43-db23338bbe 90] NoValidHost exception with message: _drivers. common d756-4677- bdb9-0ddfe2fac5 0c ] Returning exception More than _drivers. common d756-4677- bdb9-0ddfe2fac5 0c ] ['Traceback (most recent call python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line and_reply\ n incoming. message) )\n', ' File python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line dispatch( endpoint, method, ctxt, python2. 7/dist- packages/ oslo/messaging/ rpc/dispatcher. py", line python2. 7/dist- packages/ neutron/ api/rpc/ handlers/ l3_rpc. py", line network_ id\n net_id = get_external_ network_ id(context) \n', ' File python2. 7/dist- packages/ neutron/ db/external_ net_db. py", line 161, network_ id\n raise n_exc.TooManyEx ternalNetworks( )\n', lNetworks: More than one external network exists\n'] common. loopingcall [-] in manager [-] [instance: edfe-4258- bb43-db23338bbe 90] Instance failed to spawn _drivers. impl_rabbit 1:5672 is unreachable: [Errno 111] common. periodic_ task _disassociate_ stale_fixed_ ips: Timed out 0a37cbc0438ea3e f0 /bugs.launchpad .net/nova/ +bug/1496929/ +subscriptions
> It's thrown here:
>
>
> https:/
>
> 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:/
>
> Title:
> instance luanch failed
>
> Status in OpenStack Compute (nova):
> New
>
> Bug description:
> Hello, I followed the documentation " http://
> /config-
> Juno, i put the following configuration on the compute node, nova.conf
> file :
>
> [DEFAULT]
> compute_
>
> [vmware]
> host_ip=<vCenter host IP>
> host_username=
> host_password=
> cluster_
> datastore_
>
> And in the nova-compute.conf :
>
> [DEFAULT]
> compute_
>
>
> 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.
> None] [instance: 0c1ee287-
> host: ComputeNode (node domain-
> call last):\n', u' File
> "/usr/lib/
> _do_build_
> "/usr/lib/
> _build_
> reason=
> 0c1ee287-
> found for bridge br-int\n']
> 2015-09-17 15:31:34.921 2432 WARNING nova.scheduler.
> [req-618d4ee3-
> 0c1ee287-
> 'No valid host was found.'
>
>
> =====> neutron
> 2015-09-17 12:36:09.398 1840 ERROR oslo.messaging.
> [req-775407a3-
> one external network exists to caller
> 2015-09-17 12:36:09.398 1840 ERROR oslo.messaging.
> [req-775407a3-
> last):\n', ' File
> "/usr/lib/
> 134, in _dispatch_
> "/usr/lib/
> 177, in _dispatch\n return self._do_
> args)\n', ' File
> "/usr/lib/
> 123, in _do_dispatch\n result = getattr(endpoint, method)(ctxt,
> **new_args)\n', ' File
> "/usr/lib/
> 149, in get_external_
> self.plugin.
> "/usr/lib/
> in get_external_
> 'TooManyExterna
>
>
> =====> compute Node / nova-compute
>
> 2015-09-17 15:28:22.323 5944 ERROR oslo.vmware.
> fixed duration looping call
> 2015-09-17 15:31:33.550 5944 ERROR nova.compute.
> 0c1ee287-
>
>
> =====> nova-network / nova-compute
>
> 2015-09-17 11:21:10.840 1363 ERROR oslo.messaging.
> [-] AMQP server on ControllerNode0
> ECONNREFUSED. Trying again in 3 seconds.
> 2015-09-17 11:23:02.874 1363 ERROR nova.openstack.
> [-] Error during VlanManager.
> waiting for a reply to message ID b6d62061352e459
>
> To manage notifications about this bug go to:
> https:/
>
--
-----
Cordialement
El Mehdi MRHARI 6-65-22- 53-37
00212(0)
<email address hidden>