Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jlongstaf opened this issue Feb 23, 2017 · 0 comments
Open
Assignees

Comments

@jlongstaf
Copy link
Contributor

jlongstaf commented Feb 23, 2017

Agent Version

8.0.2

Operating System

Red Hat

OpenStack Release

Liberty

Description

See the following error after installing on Red Hat Liberty system:
2017-01-26 15:39:28.838 25947 ERROR f5.oslbaasv1agent.drivers.bigip.agent_manager [-] Error importing loadbalancer device driver: f5.oslbaasv1agent.drivers.bigip.icontrol_driver.iControlDriver error ImportError('No module named v1_1.client’,)"

Associated Tests:
["TEST1",
"f.b.a::Test2",
"tet4", "gggggffff"]

@jlongstaf jlongstaf self-assigned this Feb 23, 2017
jlongstaf added a commit that referenced this issue Feb 23, 2017
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: Red Hat systems apparently install novaclient.v2 library.
Added try/except block to first try v1_1, then v2.

Tests:
jlongstaf added a commit that referenced this issue Feb 23, 2017
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, test_solution.py
jlongstaf added a commit that referenced this issue Feb 23, 2017
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
@dflanigan dflanigan added the bug label Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants