<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:10pt;color:#003366;background-color:#FFFFFF;font-family:Tahoma,Geneva,sans-serif;">
<p><span style="font-size: 10pt;">​</span><span style="font-size: 10pt;">Hi all.</span><br>
</p>
<p><br>
</p>
<p>I'm trying to setup test lab on Openstack Mitaka RDO working simultaneously with VLAN and VXLAN network types without SDN. I'm trying to setup ESXi as a hypervisor (not only ESXi, but it doesn't matter), and I've got troubles.<br>
</p>
<p><br>
</p>
<p>My setup:<br>
</p>
<p>1 controller node (db, keystone, horizon, nova-{api,conductor,schuduler}, glance, memcached, rabbit)<br>
</p>
<p>1 network node (neutron-server) (hostname: bc01 in logs/examples)<br>
</p>
<p>1 vCenter<br>
</p>
<p>2 ESXi hosts<br>
</p>
<p>2 neutron-ovsvapp-agents (as described on reference scheme: <a href="https://wiki.openstack.org/wiki/Neutron/Networking-vSphere">https://wiki.openstack.org/wiki/Neutron/Networking-vSphere</a> - one VM per ESXi host; hostnames ovsvapp1, ovsvapp2 in logs/examples)<br>
</p>
<p>1 nova-compute VM for managing vSphere cluster (hostname: ovsvapp-nova in logs/examples).<br>
</p>
<p><br>
</p>
<p>When I try to spawn VM, I got error "<span style="color: rgb(51, 51, 51); font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">No valid host was found. There are not enough hosts available.</span>".<br>
</p>
<p>If I look in nova-compute logs, I see traces:<br>
</p>
<p><br>
</p>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager [req-1c94993d-69a0-48d7-ac5f-262f99961b16 18db55ec3559448ba25299cb6bd90504 bb18be7ce13c44a78419769b4feed0fc - - -] Instance failed network setup
after 1 attempt(s)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager Traceback (most recent call last):</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1570, in _allocate_network_async</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager bind_host_id=bind_host_id)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 729, in allocate_for_instance</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager self._delete_ports(neutron, instance, created_port_ids)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager self.force_reraise()</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager six.reraise(self.type_, self.value, self.tb)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 718, in allocate_for_instance</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager security_group_ids, available_macs, dhcp_opts)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 305, in _create_port</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager raise exception.PortBindingFailed(port_id=port_id)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager PortBindingFailed: Binding failed for port ef43e4f0-4db7-405c-b4d5-c621aaa3884b, please check neutron logs for more information.</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.715 10441 ERROR nova.compute.manager</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [req-1c94993d-69a0-48d7-ac5f-262f99961b16 18db55ec3559448ba25299cb6bd90504 bb18be7ce13c44a78419769b4feed0fc - - -] [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a]
Instance failed to spawn</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] Traceback (most recent call last):</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2218, in _build_resources</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] yield resources</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2064, in _build_and_run_instance</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] block_device_info=block_device_info)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/driver.py", line 381, in spawn</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] admin_password, network_info, block_device_info)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py", line 724, in spawn</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] metadata)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py", line 304, in build_virtual_machine</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] network_info)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vif.py", line 179, in get_vif_info</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] for vif in network_info:</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/network/model.py", line 513, in __iter__</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] return self._sync_wrapper(fn, *args, **kwargs)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/network/model.py", line 504, in _sync_wrapper</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] self.wait()</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/network/model.py", line 536, in wait</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] self[:] = self._gt.wait()</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 175, in wait</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] return self._exit_event.wait()</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/eventlet/event.py", line 121, in wait</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] return hubs.get_hub().switch()</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294, in switch</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] return self.greenlet.switch()</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 214, in main</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] result = function(*args, **kwargs)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/utils.py", line 1145, in context_wrapper</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] return func(*args, **kwargs)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1587, in _allocate_network_async</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] six.reraise(*exc_info)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1570, in _allocate_network_async</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] bind_host_id=bind_host_id)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 729, in allocate_for_instance</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] self._delete_ports(neutron, instance, created_port_ids)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] self.force_reraise()</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] six.reraise(self.type_, self.value, self.tb)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 718, in allocate_for_instance</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] security_group_ids, available_macs, dhcp_opts)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 305, in _create_port</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] raise exception.PortBindingFailed(port_id=port_id)</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a] PortBindingFailed: Binding failed for port ef43e4f0-4db7-405c-b4d5-c621aaa3884b, please check
neutron logs for more information.</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.716 10441 ERROR nova.compute.manager [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a]</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.718 10441 INFO nova.compute.manager [req-1c94993d-69a0-48d7-ac5f-262f99961b16 18db55ec3559448ba25299cb6bd90504 bb18be7ce13c44a78419769b4feed0fc - - -] [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a]
Terminating instance</span></div>
<div><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.719 10441 DEBUG nova.compute.manager [req-1c94993d-69a0-48d7-ac5f-262f99961b16 18db55ec3559448ba25299cb6bd90504 bb18be7ce13c44a78419769b4feed0fc - - -] [instance: 5ea7de1b-06a2-4ba1-8f54-d00203496f2a]
Start destroying the instance on the hypervisor. _shutdown_instance /usr/lib/python2.7/site-packages/nova/compute/manager.py:2330</span><br>
</div>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>On neutron-server I've got errors:<br>
</p>
<p><br>
</p>
<div><span style="font-family: "Courier New", monospace;"><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.268 30899 WARNING neutron.plugins.ml2.drivers.mech_agent [req-8f6be9c7-12a3-42fe-9976-57655889f90c 942080d9793b4fe1a73b039706ca9496
fe2c5af094bd49b495b86a9dc89b9903 - - -] Port ef43e4f</span></span></div>
<div><span style="font-family: "Courier New", monospace;"><span style="font-family: "Courier New", monospace;">0-4db7-405c-b4d5-c621aaa3884b on network 3db44ff7-1949-4cc9-8e04-e9982120513f not bound, no agent registered on host ovsvapp-nova</span></span></div>
<div><span style="font-family: "Courier New", monospace;"><span style="font-family: "Courier New", monospace;">2016-11-07 11:47:12.269 30899 ERROR neutron.plugins.ml2.managers [req-8f6be9c7-12a3-42fe-9976-57655889f90c 942080d9793b4fe1a73b039706ca9496 fe2c5af094bd49b495b86a9dc89b9903
- - -] Failed to bind port ef43</span></span></div>
<div><span style="font-family: "Courier New", monospace;"><span style="font-family: "Courier New", monospace;">e4f0-4db7-405c-b4d5-c621aaa3884b on host ovsvapp-nova for vnic_type normal using segments [{'segmentation_id': 10094, 'physical_network': None, 'id':
u'f95a1a2e-f641-4541-90ae-f747ec912ae0', 'network_type</span></span></div>
<div><span style="font-family: "Courier New", monospace;"><span style="font-family: "Courier New", monospace;">': u'vxlan'}]</span></span><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace;"></span>If we look at neutron agent list, we'll see, than we have no such agent. Moreover: we have agents for each ESXi hypervisor (ovsvapp1, ovsvapp2).<br>
</div>
<div><br>
<div><span style="font-family: "Courier New", monospace;">[root@bc01 ~]# neutron agent-list -c agent_type -c host -c alive -c admin_state_up -c binary</span></div>
<div><span style="font-family: "Courier New", monospace;">+--------------------+----------+-------+----------------+---------------------------+</span></div>
<div><span style="font-family: "Courier New", monospace;">| agent_type | host | alive | admin_state_up | binary |</span></div>
<div><span style="font-family: "Courier New", monospace;">+--------------------+----------+-------+----------------+---------------------------+</span></div>
<div><span style="font-family: "Courier New", monospace;">| OVSvApp Agent | ovsvapp1 | :-) | True | ovsvapp-agent |</span></div>
<div><span style="font-family: "Courier New", monospace;">| Open vSwitch agent | bc01 | :-) | True | neutron-openvswitch-agent |</span></div>
<div><span style="font-family: "Courier New", monospace;">| L3 agent | bc01 | :-) | True | neutron-l3-agent |</span></div>
<div><span style="font-family: "Courier New", monospace;">| DHCP agent | bc01 | :-) | True | neutron-dhcp-agent |</span></div>
<div><span style="font-family: "Courier New", monospace;">| Metadata agent | bc01 | :-) | True | neutron-metadata-agent |</span></div>
<div><span style="font-family: "Courier New", monospace;">| Open vSwitch agent | bc10 | :-) | True | neutron-openvswitch-agent |</span></div>
<div><span style="font-family: "Courier New", monospace;">| Open vSwitch agent | bc09 | :-) | True | neutron-openvswitch-agent |</span></div>
<div><span style="font-family: "Courier New", monospace;">| OVSvApp Agent | ovsvapp2 | :-) | True | ovsvapp-agent |</span></div>
<div><span style="font-family: "Courier New", monospace;">| Open vSwitch agent | bc11 | :-) | True | neutron-openvswitch-agent |</span></div>
<div><span style="font-family: "Courier New", monospace;">| Open vSwitch agent | bc12 | :-) | True | neutron-openvswitch-agent |</span></div>
<div><span style="font-family: "Courier New", monospace;">+--------------------+----------+-------+----------------+---------------------------+</span><br>
</div>
<br>
</div>
<p>Don't look at bc09,bc11,bc12 - these are other hypervisors, non-vsphere.<br>
</p>
<p><br>
</p>
<p>So, main question: HOW should it work? Does nova-compute need any specific setup? Should nova-compute send any hostname with ovsvapp-agent to neutron server? If yes, so how?<br>
</p>
<p>From sequence diagram we see, that nova-compute asks neutron-server to create ports at first (when nova doesn't know, where the VM will reside).<br>
</p>
<p><br>
</p>
<p>If I install nova-compute on one of ovsvapp-agent VMs, so spawn is successfull, but such architecture is not fault-tolerant and doesn't follow specs recommendations. <br>
</p>
<p><br>
</p>
<p>Please, give me an advice... Or, whom should I contact with such questions?<br>
</p>
<p><br>
</p>
<p>Thanks.<br>
</p>
<p><br>
</p>
<p>---</p>
<p>My configs:<br>
</p>
<p>Neutron-server:<br>
</p>
<p><br>
</p>
<div><span style="font-family: "Courier New", monospace;">[root@bc01 ~]# grep -v ^$ /etc/neutron/neutron.conf | grep -v ^#</span></div>
<div><span style="font-family: "Courier New", monospace;">[DEFAULT]</span></div>
<div><span style="font-family: "Courier New", monospace;">verbose = True</span></div>
<div><span style="font-family: "Courier New", monospace;">debug = True</span></div>
<div><span style="font-family: "Courier New", monospace;">core_plugin = ml2</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_strategy = keystone</span></div>
<div><span style="font-family: "Courier New", monospace;">service_plugins = router</span></div>
<div><span style="font-family: "Courier New", monospace;">rpc_backend = rabbit</span></div>
<div><span style="font-family: "Courier New", monospace;">nova_url = http://kvm-controller:8774/v2</span></div>
<div><span style="font-family: "Courier New", monospace;">nova_admin_username = nova</span></div>
<div><span style="font-family: "Courier New", monospace;">nova_admin_tenant_name = compute</span></div>
<div><span style="font-family: "Courier New", monospace;">nova_admin_password = compaq</span></div>
<div><span style="font-family: "Courier New", monospace;">nova_admin_auth_url = http://keystone-server:5000</span></div>
<div><span style="font-family: "Courier New", monospace;">router_scheduler_driver = neutron.scheduler.l3_agent_scheduler.LeastRoutersScheduler</span></div>
<div><span style="font-family: "Courier New", monospace;">notify_nova_on_port_status_changes = True</span></div>
<div><span style="font-family: "Courier New", monospace;">notify_nova_on_port_data_changes = True</span></div>
<div><span style="font-family: "Courier New", monospace;">notification_driver = messagingv2</span></div>
<div><span style="font-family: "Courier New", monospace;">state_path = /var/lib/neutron</span></div>
<div><span style="font-family: "Courier New", monospace;">[keystone_authtoken]</span></div>
<div><span style="font-family: "Courier New", monospace;">username = neutron</span></div>
<div><span style="font-family: "Courier New", monospace;">password = compaq</span></div>
<div><span style="font-family: "Courier New", monospace;">project_name = services</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_uri = http://keystone-server:5000</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_url = http://keystone-server:35357</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_plugin = password</span></div>
<div><span style="font-family: "Courier New", monospace;">user_domain_name = Default</span></div>
<div><span style="font-family: "Courier New", monospace;">project_domain_name = Default</span></div>
<div><span style="font-family: "Courier New", monospace;">memcached_servers = db-server:11211</span></div>
<div><span style="font-family: "Courier New", monospace;">[database]</span></div>
<div><span style="font-family: "Courier New", monospace;">connection = mysql+pymysql://neutron:compaq@db-server/neutron</span></div>
<div><span style="font-family: "Courier New", monospace;">[nova]</span></div>
<div><span style="font-family: "Courier New", monospace;">region_name = RegionOne</span></div>
<div><span style="font-family: "Courier New", monospace;">username = nova</span></div>
<div><span style="font-family: "Courier New", monospace;">password = compaq</span></div>
<div><span style="font-family: "Courier New", monospace;">project_name = services</span></div>
<div><span style="font-family: "Courier New", monospace;">insecure = true</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_uri = http://keystone-server:5000</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_url = http://keystone-server:35357</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_plugin = password</span></div>
<div><span style="font-family: "Courier New", monospace;">user_domain_name = Default</span></div>
<div><span style="font-family: "Courier New", monospace;">project_domain_name = Default</span></div>
<div><span style="font-family: "Courier New", monospace;">endpoint_type = internal</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_concurrency]</span></div>
<div><span style="font-family: "Courier New", monospace;">lock_path = $state_path/lock</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_messaging_rabbit]</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_host = db-server</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_port = 5672</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_userid = neutron</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_password = compaq</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_virtual_host = /</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_use_ssl = false</span></div>
<div><span style="font-family: "Courier New", monospace;">[SECURITYGROUP]</span></div>
<div><span style="font-family: "Courier New", monospace;">firewall_driver = openvswitch</span><br style="font-family: "Courier New", monospace;">
</div>
<div><br>
</div>
<div><br>
</div>
<div>OVSVAPP agent 1:<br>
</div>
<div><br>
</div>
<div>
<div><span style="font-family: "Courier New", monospace;">[root@ovsvapp1 ~]# grep -v ^$ /etc/neutron/neutron.conf | grep -v ^#</span></div>
<div><span style="font-family: "Courier New", monospace;">[DEFAULT]</span></div>
<div><span style="font-family: "Courier New", monospace;">[agent]</span></div>
<div><span style="font-family: "Courier New", monospace;">[cors]</span></div>
<div><span style="font-family: "Courier New", monospace;">[cors.subdomain]</span></div>
<div><span style="font-family: "Courier New", monospace;">[database]</span></div>
<div><span style="font-family: "Courier New", monospace;">[keystone_authtoken]</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_uri = http://keystone-server:5000</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_url = http://keystone-server:35357</span></div>
<div><span style="font-family: "Courier New", monospace;">project_name = services</span></div>
<div><span style="font-family: "Courier New", monospace;">username = neutron</span></div>
<div><span style="font-family: "Courier New", monospace;">user_domain_name = Default</span></div>
<div><span style="font-family: "Courier New", monospace;">project_domain_name = Default</span></div>
<div><span style="font-family: "Courier New", monospace;">password = compaq</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_plugin = password</span></div>
<div><span style="font-family: "Courier New", monospace;">memcached_servers = db-server:11211</span></div>
<div><span style="font-family: "Courier New", monospace;">[matchmaker_redis]</span></div>
<div><span style="font-family: "Courier New", monospace;">[nova]</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_concurrency]</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_messaging_amqp]</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_messaging_notifications]</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_messaging_rabbit]</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_host = db-server</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_userid = neutron</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_password = compaq</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_policy]</span></div>
<div><span style="font-family: "Courier New", monospace;">[quotas]</span></div>
<div><span style="font-family: "Courier New", monospace;">[ssl]</span><br style="font-family: "Courier New", monospace;">
</div>
<div><br style="font-family: "Courier New", monospace;">
</div>
<div><br style="font-family: "Courier New", monospace;">
</div>
<div>
<div><span style="font-family: "Courier New", monospace;">[root@ovsvapp1 ~]# grep -v ^$ /etc/neutron/plugins/ml2/ovsvapp_agent.ini | grep -v ^#</span></div>
<div><span style="font-family: "Courier New", monospace;">[vmware]</span></div>
<div><span style="font-family: "Courier New", monospace;">vcenter_ip = 172.17.0.117</span></div>
<div><span style="font-family: "Courier New", monospace;">vcenter_username = Administrator@vsphere.local</span></div>
<div><span style="font-family: "Courier New", monospace;">vcenter_password = P@ssw0rd</span></div>
<div><span style="font-family: "Courier New", monospace;">wsdl_location=https://172.17.0.117:443/sdk/vimService.wsdl</span></div>
<div><span style="font-family: "Courier New", monospace;">cluster_dvs_mapping = VOL615/host/VOL615_IBM:dvSwitchInt</span></div>
<div><span style="font-family: "Courier New", monospace;">esx_hostname = 172.17.0.113</span></div>
<div><span style="font-family: "Courier New", monospace;">[ovsvapp]</span></div>
<div><span style="font-family: "Courier New", monospace;">tenant_network_types = vlan,vxlan</span></div>
<div><span style="font-family: "Courier New", monospace;">local_ip = 172.17.4.11</span></div>
<div><span style="font-family: "Courier New", monospace;">bridge_mappings = physnet1:br-vlan</span></div>
<div><span style="font-family: "Courier New", monospace;">[securitygroup]</span></div>
<div><span style="font-family: "Courier New", monospace;">security_bridge_mapping = br-sec:vsphere</span></div>
<div><span style="font-family: "Courier New", monospace;">ovsvapp_firewall_driver = networking_vsphere.drivers.ovs_firewall.OVSFirewallDriver​</span><br style="font-family: "Courier New", monospace;">
</div>
<div><br style="font-family: "Courier New", monospace;">
</div>
<div>
<div><span style="font-family: "Courier New", monospace;">[root@ovsvapp-nova ~]# grep -v ^$ /etc/nova/nova.conf | grep -v ^#</span></div>
<div><span style="font-family: "Courier New", monospace;">[DEFAULT]</span></div>
<div><span style="font-family: "Courier New", monospace;">my_ip = 172.17.0.10</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_strategy=keystone</span></div>
<div><span style="font-family: "Courier New", monospace;">compute_driver=vmwareapi.VMwareVCDriver</span></div>
<div><span style="font-family: "Courier New", monospace;">firewall_driver=nova.virt.firewall.NoopFirewallDriver</span></div>
<div><span style="font-family: "Courier New", monospace;">use_neutron=true</span></div>
<div><span style="font-family: "Courier New", monospace;">debug=True</span></div>
<div><span style="font-family: "Courier New", monospace;">[api_database]</span></div>
<div><span style="font-family: "Courier New", monospace;">[barbican]</span></div>
<div><span style="font-family: "Courier New", monospace;">[cache]</span></div>
<div><span style="font-family: "Courier New", monospace;">[cells]</span></div>
<div><span style="font-family: "Courier New", monospace;">[cinder]</span></div>
<div><span style="font-family: "Courier New", monospace;">[conductor]</span></div>
<div><span style="font-family: "Courier New", monospace;">[cors]</span></div>
<div><span style="font-family: "Courier New", monospace;">[cors.subdomain]</span></div>
<div><span style="font-family: "Courier New", monospace;">[database]</span></div>
<div><span style="font-family: "Courier New", monospace;">[ephemeral_storage_encryption]</span></div>
<div><span style="font-family: "Courier New", monospace;">[glance]</span></div>
<div><span style="font-family: "Courier New", monospace;">api_servers=http://glance-server:9292</span></div>
<div><span style="font-family: "Courier New", monospace;">[guestfs]</span></div>
<div><span style="font-family: "Courier New", monospace;">[hyperv]</span></div>
<div><span style="font-family: "Courier New", monospace;">[image_file_url]</span></div>
<div><span style="font-family: "Courier New", monospace;">[ironic]</span></div>
<div><span style="font-family: "Courier New", monospace;">[keymgr]</span></div>
<div><span style="font-family: "Courier New", monospace;">[keystone_authtoken]</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_uri = http://keystone-server:5000/v3</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_url = http://keystone-server:35357/v3</span></div>
<div><span style="font-family: "Courier New", monospace;">memcached_servers = db-server:11211</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_type = password</span></div>
<div><span style="font-family: "Courier New", monospace;">project_domain_name = Default</span></div>
<div><span style="font-family: "Courier New", monospace;">user_domain_name = Default</span></div>
<div><span style="font-family: "Courier New", monospace;">project_name = services</span></div>
<div><span style="font-family: "Courier New", monospace;">username = nova</span></div>
<div><span style="font-family: "Courier New", monospace;">password = compaq</span></div>
<div><span style="font-family: "Courier New", monospace;">[libvirt]</span></div>
<div><span style="font-family: "Courier New", monospace;">[matchmaker_redis]</span></div>
<div><span style="font-family: "Courier New", monospace;">[metrics]</span></div>
<div><span style="font-family: "Courier New", monospace;">[neutron]</span></div>
<div><span style="font-family: "Courier New", monospace;">url = http://neutron-controller:9696/</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_type=password</span></div>
<div><span style="font-family: "Courier New", monospace;">insecure = False</span></div>
<div><span style="font-family: "Courier New", monospace;">username = neutron</span></div>
<div><span style="font-family: "Courier New", monospace;">password = compaq</span></div>
<div><span style="font-family: "Courier New", monospace;">service_metadata_proxy=True</span></div>
<div><span style="font-family: "Courier New", monospace;">metadata_proxy_shared_secret = supersecret</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_uri = http://keystone-server:5000/v3</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_version = v3</span></div>
<div><span style="font-family: "Courier New", monospace;">auth_url = http://keystone-server:35357/v3</span></div>
<div><span style="font-family: "Courier New", monospace;">project_name = services</span></div>
<div><span style="font-family: "Courier New", monospace;">user_domain_name = Default</span></div>
<div><span style="font-family: "Courier New", monospace;">project_domain_name = Default</span></div>
<div><span style="font-family: "Courier New", monospace;">[osapi_v21]</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_concurrency]</span></div>
<div><span style="font-family: "Courier New", monospace;">lock_path=/var/lib/nova/tmp</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_messaging_amqp]</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_messaging_notifications]</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_messaging_rabbit]</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_host=db-server</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_userid=nova</span></div>
<div><span style="font-family: "Courier New", monospace;">rabbit_password=compaq</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_middleware]</span></div>
<div><span style="font-family: "Courier New", monospace;">[oslo_policy]</span></div>
<div><span style="font-family: "Courier New", monospace;">[rdp]</span></div>
<div><span style="font-family: "Courier New", monospace;">[serial_console]</span></div>
<div><span style="font-family: "Courier New", monospace;">[spice]</span></div>
<div><span style="font-family: "Courier New", monospace;">[ssl]</span></div>
<div><span style="font-family: "Courier New", monospace;">[trusted_computing]</span></div>
<div><span style="font-family: "Courier New", monospace;">[upgrade_levels]</span></div>
<div><span style="font-family: "Courier New", monospace;">[vmware]</span></div>
<div><span style="font-family: "Courier New", monospace;">host_ip=172.17.0.117</span></div>
<div><span style="font-family: "Courier New", monospace;">host_username=Administrator@vsphere.local</span></div>
<div><span style="font-family: "Courier New", monospace;">host_password=P@ssw0rd</span></div>
<div><span style="font-family: "Courier New", monospace;">insecure=true</span></div>
<div><span style="font-family: "Courier New", monospace;">cluster_name=VOL615_IBM</span></div>
<div><span style="font-family: "Courier New", monospace;">datastore_regex=storwize*</span></div>
<div><span style="font-family: "Courier New", monospace;">[vnc]</span></div>
<div><span style="font-family: "Courier New", monospace;">enabled=true</span></div>
<div><span style="font-family: "Courier New", monospace;">vncserver_listen=0.0.0.0</span></div>
<div><span style="font-family: "Courier New", monospace;">vncserver_proxyclient_address=$my_ip</span></div>
<div><span style="font-family: "Courier New", monospace;">novncproxy_base_url=http://172.17.0.107:6080/vnc_auto.html</span></div>
<div><span style="font-family: "Courier New", monospace;">[workarounds]</span></div>
<div><span style="font-family: "Courier New", monospace;">[xenserver]</span><br>
</div>
<br>
</div>
<br>
</div>
second ovsvapp-agent has similar config, just with another IPs.<br>
</div>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font size="2"><span style="font-size:10pt"></span></font>
<div class="PlainText"><font size="2">
<hr>
<font color="003366">Regards,<br>
Vladislav Odintsov<br>
</font></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>