yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65279
[Bug 1697761] Re: NetScaler LBaaSV2 driver has missing module
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1697761
Title:
NetScaler LBaaSV2 driver has missing module
Status in neutron:
Fix Released
Bug description:
Description of problem :
After enabling Citrix NetScaler driver for LBaaSv2, neutron-server doesn't start up. After checking the neutron server log file, it was found that a file - ncc_client.py - included in the driver is missing or points to a folder that was removed during the removal of LBaaSV1 from OSP 10. (a possible fix is also suggested towards the end of this report)
Version-Release number of selected component (if applicable):
OpenStack: Newton, Ocata
Linux: RHEL 7.3
How reproducible:
Fully reproducible.
Steps to Reproduce:
1. Add lbaasv2 to service_plugins in neutron.conf
2. Add LOADBALANCERV2:NetScaler:neutron_lbaas.drivers.netscaler.netscaler_driver_v2.NetScalerPluginDriver:default to service_provider in neutron_lbaas.conf
3. Add a new section named [netscaler_driver] to neutron_lbaas.conf with following parameters
netscaler_ncc_uri = http://<controlcenter_ip>:80
netscaler_ncc_username = openstack_driver
netscaler_ncc_password = <password>
netscaler_ncc_cleanup_mode = False
periodic_task_interval = 20
netscaler_status_collection=True,300
4. Try restarting using systemctl restart neutron-server.
5. Check /var/log/neutron/server.log. You will see Python import error for ncc_client
Actual results:
neutron-server stays down with error saying ncc_client module not found.
Expected results:
neutron-server should start normally and LBaaSV2 service should be available through which new LB can be provisioned.
Additional info:
I have done a workaround or probably a fix by copying neutron_lbaas/services/loadbalancer/drivers/netscaler/ncc_client.py from mitaka release to /usr/lib/python2.7/site-packages/neutron_lbaas/drivers/netscaler/ and updating line 29 of /usr/lib/python2.7/site-packages/neutron_lbaas/drivers/netscaler/netscaler_driver_v2.py with correct path to ncc_client.py . neutron-server starts with out any issue after that and was able to communicate with netscaler.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1697761/+subscriptions
References