Comment 0 for bug 1548730

Revision history for this message
Olesia Tsvigun (otsvigun) wrote :

Fuel ISO#570

id | name | version | package_version
---|------------------------|---------|----------------
1 | fuel-plugin-vmware-dvs | 2.1.14 | 4.0.0

Description
Can't launch instances after launch->remove instances from CLuster(compute-vmware).

Steps to reproduce
1. Upload plugins to the master node
2. Install plugin.
3. Create cluster with vcenter.
4. Add 1 node with controller role.
5. Add 2 node with compute role.
6. Add 1 node with compute-vmware role.
8. Fill all fields in vmware tab.
9. Fill field 'Enter the Cluster to dvSwitch mapping.'
10. Use the VMware DVS firewall driver is enabled.
11. Deploy the cluster.
12. Create net_1: net01__subnet, 192.168.1.0/24
13. Create SG1 with remote sg rules.
14. Launch 10-20 instances with default+SG1.
15. Remove all instances.
16. Launch new 10-20 instances.

Actual Result
During removing instances from cluster(compute-vmware) error was occured 'Error: Failed to perform requested operation on instance "df-5", the instance has an error status: Please try again later [Error: <html><body><h1>504 Gateway Time-out</h1> The server didn't respond in time. </body></html> ]. ' Try to remove instance again. Instances were removed. Launch 10-20 instances with deafult SG/SG1. Error message was occured
Message
    <html><body><h1>504 Gateway Time-out</h1> The server didn't respond in time. </body></html>
Code
    500
Details
    File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 366, in decorated_function return function(self, context, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2440, in terminate_instance do_terminate_instance(instance, bdms) File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 254, in inner return f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2438, in do_terminate_instance self._set_instance_obj_error_state(context, instance) File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 195, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2428, in do_terminate_instance self._delete_instance(context, instance, bdms, quotas) File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 149, in inner rv = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2391, in _delete_instance quotas.rollback() File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 195, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2354, in _delete_instance self._shutdown_instance(context, instance, bdms) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2281, in _shutdown_instance self._try_deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2210, in _try_deallocate_network self._set_instance_obj_error_state(context, instance) File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 195, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2205, in _try_deallocate_network self._deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1812, in _deallocate_network context, instance, requested_networks=requested_networks) File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 837, in deallocate_for_instance self._delete_ports(neutron, instance, ports, raise_if_fail=True) File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 811, in _delete_ports raise exceptions[0]

From Neutron logs:
http://paste.openstack.org/show/487868/

Also ports were not cleaned on cluster(compute-vmware). See attachment.