Ask Your Question
0

Can't run keystone liberty in docker ubuntu container

asked 2015-11-16 13:00:07 -0600

jjaquinta gravatar image

I've been running keystone (kilo) standalone in a docker container for a while now. I'm trying to upgrade this to liberty and having problems. Following the instructions http://docs.openstack.org/liberty/install-guide-ubuntu/environment-packages.html (here), I get stuck right out of the gate:

bash-3.2$ docker run -it --name keystone_liberty_test -p 35357:35357 -p 5000:5000 -v $HOME/src:/root/src ubuntu bash
root@a8e33f34b64d:/# apt-get install software-properties-common
Reading package lists... Done
...
root@a8e33f34b64d:/# add-apt-repository cloud-archive:liberty
'liberty': not a valid cloud-archive name.
Must be one of ['folsom', 'folsom-proposed', 'grizzly', 'grizzly-proposed', 'havana', 'havana-proposed', 'icehouse', 'icehouse-proposed', 'tools', 'tools-proposed']
root@a8e33f34b64d:/#

If I do an apt-get update, and an apt-get dist-upgradefirst, I am able to do the add-apt-repository cloud-archive:liberty command just fine. But no matter what I try to apt-install after that, I get this error:

apt-get install -y python-openstackclient
Reading package lists... Done
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: You may want to run apt-get update to correct these problems

Is there something missing from the instructions? Am I missing something? Or is there something about ubuntu-in-a-container that throws this off?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-17 00:38:34 -0600

shashidhar gravatar image

Try to have latest Python version on your ubuntu system and then try. This may work if there is an issue with python packages.

regards shashi

edit flag offensive delete link more

Comments

When I add in an apt-get install python2.7 before I add the repository, it has no effect. :-(

jjaquinta gravatar imagejjaquinta ( 2015-11-17 12:46:08 -0600 )edit

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

2 followers

Stats

Asked: 2015-11-16 13:00:07 -0600

Seen: 333 times

Last updated: Nov 17 '15