From Fedora Project Wiki

Following this guide from a fresh install of Fedora 18, I discovered that the command glance index was throwing an error.

I was able to fix it by following the steps recommended in this URL: https://bugs.launchpad.net/openstack-manuals/+bug/1064449


Problem: [root@localhost ~]# glance image-list Traceback (most recent call last):

 File "/usr/bin/glance", line 5, in <module>
   from pkg_resources import load_entry_point
 File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2819, in <module>
   parse_requirements(__requires__), Environment()
 File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 588, in resolve
   raise DistributionNotFound(req)

pkg_resources.DistributionNotFound: python-keystoneclient>=0.1.2,<0.2


My solution:

In file /usr/lib/python2.7/site-packages/python_glanceclient-0.5.1-py2.7.egg-info/requires.txt

CHANGE: python-keystoneclient>=0.1.2,<0.2 TO: python-keystoneclient>=0.1.2,<0.3

Setup install Nova Volume Service instead of Cinder Volume Service

After Installation, I run a keystone service-list and see:

[root@c1d ~]# keystone service-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+----------------------------------+-------------+--------------+---------------------------+
|                id                |     name    |     type     |        description        |
+----------------------------------+-------------+--------------+---------------------------+
| 4c4ab21e53014f4ca0cd862d1b21e27e |     nova    |   compute    |    Nova Compute Service   |
| 82bb87a9a48b464e9ed9df23dca467fe | nova-volume |    volume    |    Nova Volume Service    |
| 8e8ae1b3906f4dbabcb773575a5fbe12 |    swift    | object-store |       Swift Service       |
| 96068a73664542e8ba41e6c07db2e586 |    glance   |    image     |    Glance Image Service   |
| c96fc37cabaa470ca51b8e83ab65cc00 |   keystone  |   identity   | Keystone Identity Service |
| d266fec36612403eb62db739b0b812cf |     ec2     |     ec2      |  EC2 Compatibility Layer  |
| fd6ba919cafc4e938c512bb2328a1094 |   horizon   |  dashboard   |    OpenStack Dashboard    |
+----------------------------------+-------------+--------------+---------------------------+

The instructions say setup cinder-volume, but the install creates nova-volume. I cannot create volumes