Ask Your Question
0

DevStack Newton openstack client - barbican oslo.utils related errors

asked 2016-12-22 07:55:19 -0500

Aleksandar gravatar image

Hello Everyone,

I'm using Ubuntu 16.04 to build Newton based DevStack single VM installation. DevStack is working fine, but running the openstack list command returns error messages like this one...

Could not load EntryPoint.parse('secret_container_create = barbicanclient.barbican_cli.containers:CreateContainer')
Could not load EntryPoint.parse('secret_container_delete = barbicanclient.barbican_cli.containers:DeleteContainer')
Could not load EntryPoint.parse('secret_container_get = barbicanclient.barbican_cli.containers:GetContainer')
Could not load EntryPoint.parse('secret_container_list = barbicanclient.barbican_cli.containers:ListContainer')
...

Running the openstack client with --debug option, I've discovered the following conflict:

VersionConflict: (oslo.utils 3.16.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('oslo.utils>=3.18.0'))

Changing the oslo.utils version from 3.16.0 to 3.18.0 in the requirements/general-requirements.txt file, and rebuilding the stack produced different kind of erros.

I've also tried to remove barbican from my configuration, but openstack client still reports an error. Is there any way to get this sorted out?

Thank you in advance!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-12-22 15:58:40 -0500

volenbovsky gravatar image

Hi, I think the issue is related python-barbicanclient dropped support of Python 2.6 in commit https://github.com/openstack/python-b... I see that you have 2.7, but there might be several (/conflicting...) python versions on your system

A different sort of workaround on that would be to downgrade or uninstall python-barbicanclient. There might have been upgrade of python-barbicanclient as possible way forward, but according to what I see it is not the case. You mentioned that you tried to remove barbican (/barbicanclient?). For sure you shouldn't see things related to 'secret_container_get' once you don't have setup.cfg in barbicanclient installation.

edit flag offensive delete link more
0

answered 2016-12-22 17:55:23 -0500

Aleksandar gravatar image

Thank you for your answer!

I've started from the minimal Ubuntu VM, and all the tools including python and openstack client came as part of the devstack installation (after running ./stack.sh). I'm not sure how to modify the devstack environment, or check for multiple python versions in devstack. By "removing barbican", I'm refering to commenting out the barbican related devstack lines in the local.conf, and then pefroming the ./unstack.sh, ./clean.sh followed by ./stack.sh. The environment I'm working on will be used for training. It's important that system builds properly from the simple ./stack.sh command, instead of modifying particular configuration files. I will try to delete barbicanclient from the devstack, and will try to rebuild.

Best Regards,

Aleksandar

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-12-22 07:55:19 -0500

Seen: 177 times

Last updated: Dec 22 '16