← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1697761] [NEW] NetScaler LBaaSV2 driver has missing module

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
     Assignee: Mohammed Salih (linusali)
         Status: New


** Tags: lbaas netscaler

** Changed in: neutron
     Assignee: (unassigned) => Mohammed Salih (linusali)

-- 
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:
  New

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


Follow ups