Ask Your Question

jjaquinta's profile - activity

2015-11-18 13:45:28 -0500 received badge  Famous Question (source)
2015-11-17 12:46:08 -0500 commented answer Can't run keystone liberty in docker ubuntu container

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

2015-11-17 08:54:46 -0500 received badge  Popular Question (source)
2015-11-17 08:54:46 -0500 received badge  Notable Question (source)
2015-11-16 13:00:07 -0500 asked a question Can't run keystone liberty in docker ubuntu container

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?

2015-09-10 16:00:53 -0500 answered a question Kilo install error: Create the service entity for the Identity service

This error occurs when an older version of keystone has been installed. Specifically the keystone installed by apt-get in step 2 in the "To install and configure the Identity service components" section of "http://docs.openstack.org/kilo/install-guide/install/apt/content/keystone-install.html (Install and Configure)" in "Chapter 3: Add the identity service" guide, does not match the script downloaded in step 5 in the "To configure the Apache HTTP server" section.

This is caused by omitting the "To enable the OpenStack repository" section of "http://docs.openstack.org/kilo/install-guide/install/apt/content/ch_basic_environment.html#basics-packages (OpenStack packages)" in "http://docs.openstack.org/kilo/install-guide/install/apt/content/ch_basic_environment.html (Chapter 2: Basic environment)". Namely:

# apt-get install ubuntu-cloud-keyring
# echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu" \
  "trusty-updates/kilo main" > /etc/apt/sources.list.d/cloudarchive-kilo.list

If this repository is added, the correct version of keystone will be retrieved via apt-get.

2015-09-10 15:50:34 -0500 commented answer Kilo install error: Create the service entity for the Identity service

The simplest way to check is to do a wget localhost:5000 after you start apache. The installed module does not contained the server directory, which is up on github. There is a mismatch between the main script and the module.

2015-09-10 13:16:18 -0500 received badge  Supporter (source)