VMware Integrated OpenStack 5.1.0.4 fails to assign NAT rules appropriately
search cancel

VMware Integrated OpenStack 5.1.0.4 fails to assign NAT rules appropriately

book

Article ID: 337217

calendar_today

Updated On:

Products

VMware VMware Integrated OpenStack

Issue/Introduction

Symptoms:
This is a known issue with VMware Integrated OpenStack 5.1.0.4 with NSX for vSphere that requires replacing the plugin.py file. When floating IP addresses are assigned to an instance the corresponding NAT rule in NSX for vSphere will fail to be created, and routing will fail.

Environment

VMware Integrated OpenStack 5.x

Cause

This is a known issue that requires patching.

Resolution

The issue is resolved in VMware Integrated OpenStack 6.x and newer.

Workaround:
A fixed version of the plugin.py will need to be placed on each of the 5.1.0.4 controllers:
  1. Download the attached .zip file from this KB.
  2. Copy it over to the OpenStack Management Server. Then copy the file over to each controller similar to the following command:  scp plugin.py viouser@controller01:/home/viouser/plugin.py
  3. SSH into the controller and switch to root.
  4. Back up the older plugin.py file: cp /usr/lib/python2.7/dist-packages/vmware_nsx/plugins/nsx_v/plugin.py /tmp/plugin.py.bak
  5. Replace the plugin.py file with the new, fixed file: mv /home/viouser/plugin.py /usr/lib/python2.7/dist-packages/vmware_nsx/plugins/nsx_v/plugin.py
  6. Restart the neutron services on the controller: service neutron-server restart
  7. Test floating IP assignment and verify the fix after performing the operation on each controller.


Additional Information

Impact/Risks:
This will cause interruption to neutron services, and it will require re-assigning floating IP addresses afterwards.

Attachments

KB82133 get_app