F5Networks / f5-openstack-lbaasv1

OpenStack Neutron LBaaSv1 plugin and agent to control F5 BIG-IP devices
http://f5-openstack-lbaasv1.readthedocs.io
6 stars 8 forks source link

Import error on RedHat Liberty system causes agent startup failure #140

Closed jlongstaf closed 7 years ago

jlongstaf commented 7 years ago

Issues: Fixes #139

Problem: Red Hat Liberty systems experience agent startup error: f5.oslbaasv1agent.drivers.bigip.icontrol_driver.iControlDriver error ImportError('No module named v1_1.client’

Analysis: novaclient.v1_1 has been deprecated in Liberty, and Red Hat systems apparently do not include novaclient.1_1. Changed import from novaclient.v1_1 to novaclient.v2.

Tests: Manual tests

@mattgreene

What issues does this address?

Fixes #139

What's this change do?

Changes import of novaclient.v1_1 to v2.

Where should the reviewer start?

lbaas_bigiq.py

Any background context?

novaclient.v1_1 has been deprecated in liberty and apparently removed in some Red Hat distributions.