Ask Your Question
0

Unable to Install in Internet Disconnected Environment

asked 2019-04-10 12:45:10 -0500

jay74b gravatar image

Hello,

I work in an internet disconnected environment. I have tried many different approaches to being able to install the components of OpenStack (Mirroring the repo, pull down all of the rpms, pulling down python wheel files), but I keep hitting the same problem. Maybe it is me, or maybe there is something about how I'm attempting to install OpenStack.

I have had some luck with installing components using pip from downloaded wheel files, but they appear to fail to complete execution (I noticed a lot of stuff missing from /etc that probably would have been there had the rpms worked).

This is the error that I get when I attempt to install via RPM or yum from our internal mirrors:

--> Finished Dependency Resolution
Error: Package: python-keystone-2014.1.2.1-1.el6.noarch (epel-icehouse)
       Requires: python(abi) = 2.6
       Installed: python-2.7.5-76.el7.x86_64 (@base)
           python(abi) = 2.7
           python(abi) = 2.7
       Installed: python36-3.6.6-2.el7.x86_64 (@epel)
           python(abi) = 3.6
           python(abi) = 3.6
       ... (the message then mentions other versions of python)

I get this message for any OpenStack component that I attempt to install via RPM or from the YUM mirrors (Including the clients, however I can install the clients via pip and their wheels).

Obviously, the error says that I have python 2.7.5 installed. Maybe I'm crazy, but that should fulfill the requirement for there being python on the system, unless it does in fact actually require python 2.6 and 2.7.5 is "too new".

Is there a way around this, or do I have to install python 2.6? I should note that at some point I did try and install python 2.6 on a throw away VM and I still got the error. So, I would prefer a work around or fix that does not start with "Install python 2.6" because that is a pain on an internet disconnected environment running Centos 7.

Thank you

edit retag flag offensive close merge delete

Comments

Package: python-keystone-2014.1.2.1-1.el6.noarch (epel-icehouse)

Why are you installing Icehouse? It’s five years old and not supported anymore.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-10 16:47:00 -0500 )edit

Thank you. I found out that I had a bad repo file in my /etc/yum.repos.d/ directory that pointed to our CentOS 6 repos. I don't know why Icehouse was there. I'm guessing someone was working with it 5 years ago and hasn't touched it since. I fixed the repo file and everything works now. Thank you!

jay74b gravatar imagejay74b ( 2019-04-11 06:48:27 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2019-04-11 06:51:46 -0500

jay74b gravatar image

I had a bad repo file located in /etc/yum.repos.d/ which pointed to some old CentOS 6 repos. I fixed the repo file by making it point to the current CentOS 7 repos and that fixed the issue. I'm not sure why installing via RPM was also failing, but I'm moving on since I am able to move forward.

edit flag offensive delete link more

Comments

Versions can kill you, especially when you inadvertendly mix several of them. Great that you found it.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-11 08:30:09 -0500 )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

Stats

Asked: 2019-04-10 12:45:10 -0500

Seen: 20 times

Last updated: Apr 10