Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

f5-sdk version compatibility with f5-openstack-agent #109

Open
chen23 opened this issue Oct 3, 2016 · 0 comments
Open

f5-sdk version compatibility with f5-openstack-agent #109

chen23 opened this issue Oct 3, 2016 · 0 comments
Assignees

Comments

@chen23
Copy link

chen23 commented Oct 3, 2016

Currently f5-openstack-heat-plugins is pinned to version 1.0.0 of the F5 Python SDK and this conflicts with f5-openstack-agent. This is an issue for cases where you want an "all-in-one" setup for dev/test/POC.

_f5-openstack-heat-plugins_

setup.py

setup(
    name='f5-openstack-heat-plugins',
    description='F5 Networks OpenStack Heat Plugin Library',
...
    install_requires=[
        'f5-sdk == 1.0.0'
    ],

_f5-openstack-agent_

setup.py

setuptools.setup(
    version=f5_openstack_agent.__version__,
    name="f5-openstack-agent",
    description = ("F5 Networks Agent for OpenStack services"),
...
    install_requires=['f5-sdk==1.5.0']
)

The current workaround I have is to pull down v1.0.0 of the F5 Python SDK and update "/usr/bin/heat-engine" to include something like:

#!/usr/bin/python
# PBR Generated from u'console_scripts'

import sys
sys.path.insert(0,'/opt/f5-sdk-v1.0.0')
from heat.cmd.engine import main


if __name__ == "__main__":
    sys.exit(main())
@pjbreaux pjbreaux self-assigned this Oct 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants