Ask Your Question
1

unable to install openstack-keystone

asked 2014-08-29 10:55:05 -0500

adam__ gravatar image

Sorry for the very simple question but I'm having trouble completing the installation!

I'm following the icehouse install guide on several CentOS 6.5 machines and I'm unable to install openstack-keystone via yum on the compute node. It's unable to resolve many packages.

There was a similar problem when I tried to install openstack-utils as crudini could not be satisfied - however I just went and installed it manually from http://pkgs.org . I don't think I'm doing the right thing if I have to manually install these 15 missing packages!

Dependency resolution errors:

Error: Package: 1:python-keystoneclient-0.9.0-1.el6.noarch (openstack-icehouse)
           Requires: python-requests >= 0.8.8
Error: Package: python-oslo-messaging-1.3.0.2-4.el6.noarch (openstack-icehouse)
           Requires: python-stevedore
Error: Package: python-oslo-messaging-1.3.0.2-4.el6.noarch (openstack-icehouse)
           Requires: python-iso8601
Error: Package: python-pycadf-0.5.1-1.el6.noarch (openstack-icehouse)
           Requires: python-iso8601
Error: Package: python-migrate-0.7.2-8.el6.noarch (openstack-icehouse)
           Requires: python-sqlalchemy0.7
Error: Package: 1:python-keystoneclient-0.9.0-1.el6.noarch (openstack-icehouse)
           Requires: python-keyring
Error: Package: python-keystone-2014.1.1-1.el6.noarch (openstack-icehouse)
           Requires: python-dogpile-cache >= 0.5.0
Error: Package: python-keystone-2014.1.1-1.el6.noarch (openstack-icehouse)
           Requires: python-iso8601
Error: Package: python-oslo-messaging-1.3.0.2-4.el6.noarch (openstack-icehouse)
           Requires: PyYAML
Error: Package: 1:python-keystoneclient-0.9.0-1.el6.noarch (openstack-icehouse)
           Requires: python-iso8601 >= 0.1.4
Error: Package: python-kombu-1.1.3-2.el6.noarch (openstack-icehouse)
           Requires: python-anyjson
Error: Package: python-keystone-2014.1.1-1.el6.noarch (openstack-icehouse)
           Requires: python-passlib
Error: Package: 1:python-keystoneclient-0.9.0-1.el6.noarch (openstack-icehouse)
           Requires: python-argparse
Error: Package: 1:python-oslo-config-1.2.1-1.el6.noarch (openstack-icehouse)
           Requires: python-argparse
Error: Package: python-routes-1.13-2.el6.noarch (openstack-icehouse)
           Requires: python-repoze-lru

Thanks for any help or advice!

edit retag flag offensive close merge delete

4 answers

Sort by » oldest newest most voted
1

answered 2014-08-31 12:47:54 -0500

dbaxps gravatar image

updated 2014-08-31 12:50:09 -0500

Install EPEL-6 before running packstack

[root@centos65twonicrs01 ~]# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
--2014-08-31 13:41:01--  http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Resolving dl.fedoraproject.org... 209.132.181.25, 209.132.181.23, 209.132.181.26, ...
Connecting to dl.fedoraproject.org|209.132.181.25|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14540 (14K) [application/x-rpm]
Saving to: “epel-release-6-8.noarch.rpm”

100%[=======================================================>] 14,540      17.4K/s   in 0.8s    

2014-08-31 13:41:03 (17.4 KB/s) - “epel-release-6-8.noarch.rpm” saved [14540/14540]

[root@centos65twonicrs01 ~]# wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
--2014-08-31 13:41:21--  http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Resolving rpms.famillecollet.com... 195.154.241.117, 2001:bc8:33a1:100::1
Connecting to rpms.famillecollet.com|195.154.241.117|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5688 (5.6K) [application/x-rpm]
Saving to: “remi-release-6.rpm”

100%[=======================================================>] 5,688       12.9K/s   in 0.4s    

2014-08-31 13:41:22 (12.9 KB/s) - “remi-release-6.rpm” saved [5688/5688]

[root@centos65twonicrs01 ~]# rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
warning: remi-release-6.rpm: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
warning: epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [ 50%]
   2:remi-release           ########################################### [100%]

Install package python-keystoneclient

[root@centos65twonicrs01 ~]# yum install python-keystoneclient
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                                             |  27 kB     00:01     
 * base: mirror.yandex.ru
 * epel: mirror.logol.ru
 * extras: mirror.yandex.ru
 * updates: mirror.yandex.ru
epel                                                                      | 4.4 kB     00:00     
epel/primary_db                                                           | 6.3 MB     00:03     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-keystoneclient.noarch 1:0.2.0-3.el6 will be installed
--> Processing Dependency: python-httplib2 >= 0.7 for package: 1:python-keystoneclient-0.2.0-3.el6.noarch
--> Processing Dependency: python-simplejson for package: 1:python-keystoneclient-0.2.0-3.el6.noarch
--> Running transaction check
---> Package python-httplib2.noarch 0:0.7.7-1.el6 will be installed
---> Package python-simplejson.x86_64 0:2.0.9-3.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================
 Package                         Arch             Version                   Repository      Size
=================================================================================================
Installing:
 python-keystoneclient           noarch           1:0.2.0-3.el6             epel           114 k
Installing for dependencies:
 python-httplib2                 noarch           0.7.7-1.el6               epel            70 k
 python-simplejson               x86_64           2.0.9-3.1.el6             base           126 k

Transaction Summary
=================================================================================================
Install       3 Package(s)

Total download size: 311 k
Installed size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): python-httplib2-0.7.7-1.el6.noarch.rpm                             |  70 kB     00:00     
(2/3): python-keystoneclient-0.2.0-3.el6.noarch.rpm                       | 114 kB     00:00     
(3/3): python-simplejson-2.0.9-3.1.el6.x86_64.rpm                         | 126 kB     00:00     
-------------------------------------------------------------------------------------------------
Total                                                            258 kB/s | 311 kB     00:01     
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Importing GPG key 0x0608B895:
 Userid : EPEL (6) <epel@fedoraproject.org>
 Package: epel-release-6-8.noarch (installed)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Is this ...
(more)
edit flag offensive delete link more

Comments

Thank you very much. Hadn't appreciated that that was a requirement!

adam__ gravatar imageadam__ ( 2014-09-01 03:13:48 -0500 )edit
0

answered 2014-09-24 14:01:00 -0500

BTW EPEL should be enabled by packstack automatically. This may not happen in edge cases like if epel-release was already installed but explicitly disabled.

edit flag offensive delete link more
0

answered 2014-11-15 22:56:55 -0500

There was a bug earlier in packstack where it would look for Fedora but not Centos. As a result it would disable the EPEL repos causing various failures. A simple edit of the install script corrected the issue. I haven't checked to see if that was fixed over the last month. https://ask.openstack.org/en/question...

edit flag offensive delete link more
0

answered 2014-11-15 15:21:40 -0500

Alan Pevec gravatar image

This was a regression in openstack-packstack RPM, current versions have fixed that.

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: 2014-08-29 10:55:05 -0500

Seen: 2,693 times

Last updated: Nov 15 '14