Ask Your Question
1

How to install RDO packstack on a RHEL system subscribed to satellite

asked 2014-07-10 14:16:30 -0500

Jet gravatar image

Ok I have RHEL6.5 system that is using an on site RHN Satellite server. In Satellite I have added all the repo's and channels (and sync'd them) and subscribed my server to them i.e.

Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)
epel6_x86_64 (Repository http://dl.fedoraproject.org/pub/epel/6/x86_64/)
forman1.5_plugins_rhel6_x86_64 (Repository http://yum.theforeman.org/plugins/1.5/el6/x86_64)
forman1.5_rhel6_x86_64 (Repository http://yum.theforeman.org/releases/1.5/el6/x86_64)
openstack_icehouse_rhel6 (Repository http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/)
puppetlabs_deps_rhel6_x86_64 (Repository http://yum.puppetlabs.com/el/6/dependencies/x86_64/)
puppetlabs_products_rhel6_x86_64 (Repository http://yum.puppetlabs.com/el/6/products/x86_64/)
RHEL Server Optional (v. 6 64-bit x86_64)
RHEL Server Supplementary (v. 6 64-bit x86_64)
RHN Tools for RHEL (v. 6 for 64-bit x86_64)

Installing openstack-packstack works fine but when I run packstack it fails i.e.

Preparing servers                                 [ ERROR ]

    ERROR : Failed to set EPEL repo on host IP.AD.DR.ESS:
    RPM file seems to be installed, but appropriate repo file is probably missing in /etc/yum.repos.d/
    Please check log file /var/tmp/packstack/20140710-130352-_rre6e/openstack-setup.log for more information

If I change CONFIG_USE_EPEL=n I get past that but then I get

Preparing servers                                 [ ERROR ]

    ERROR : Failed to set RDO repo on host IP.AD.DR.ESS:
    RPM file seems to be installed, but appropriate repo file is probably missing in /etc/yum.repos.d/
    Please check log file /var/tmp/packstack/20140710-134410-ftbehF/openstack-setup.log for more information

It seems like I just need a way to tell it that the system is already setup in Satellite with all the channels it needs. Is there anyway to do that or how do you handle this situation.

edit retag flag offensive close merge delete

Comments

Ok I was able to get past those errors by have the http://rdo.fedorapeople.org/rdo-release.rpm installed but setting all the repos to not be enabled. The issue is that it keeps re-enabling the rdo-release.repo:enabled=1. How do I tell it not to enable that repo?

Jet gravatar imageJet ( 2014-07-11 09:36:08 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2015-08-23 08:40:07 -0500

barakme gravatar image

You should run packstack with the '-d' flag to get the debug information. You might find find some more useful information there.

For instance, it is possible that your host is configured to not allow root login, which packstack requires. (and the error you see is a misleading one)

edit flag offensive delete link more
0

answered 2014-07-11 16:26:32 -0500

Jet gravatar image

To get past the RDO repo being enabled I modified line 525 of /usr/lib/python2.6/site-packages/packstack/plugins/serverprep_949.py to comment out manage_rdo i.e.

#manage_rdo(hostname, config)

That led to the next error:

IP.AD.DR.ESS_mysql.pp:                               [ DONE ]
IP.AD.DR.ESS_amqp.pp:                             [ ERROR ]
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: IP.AD.DR.ESS_amqp.pp
Error: rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc returned 1 instead of one of [0]

...

Since this server has no access to the internet I just pulled the key down and imported it and re-ran

That led to the next error:

IP.AD.DR.ESS_ring_swift.pp:                          [ DONE ]
Applying IP.AD.DR.ESS_swift.pp
Applying IP.AD.DR.ESS_provision.pp
IP.AD.DR.ESS_swift.pp:                            [ ERROR ]
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: IP.AD.DR.ESS_swift.pp
Error: /Stage[main]/Main/Swift ...
(more)
edit flag offensive delete link more

Comments

ERROR : global name 'manage_rdo' is not defined Please check log file /var/tmp/packstack/20150114-154617-cKmmmK/openstack-setup.log for more information I did as you said, finally following error as above can you solve

PRRABBHANJON gravatar imagePRRABBHANJON ( 2015-01-14 04:46:24 -0500 )edit
0

answered 2015-01-14 04:14:52 -0500

[root@localhost tmp]# cat /etc/*release NAME="Red Hat Enterprise Linux Server" VERSION="7.0 (Maipo)" ID="rhel" ID_LIKE="fedora" VERSION_ID="7.0" PRETTY_NAME="Red Hat Enterprise Linux Server 7.0 (Maipo)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:7.0:GA:server" HOME_URL="https://www.redhat.com/" BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7" REDHAT_BUGZILLA_PRODUCT_VERSION=7.0 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION=7.0 Red Hat Enterprise Linux Server release 7.0 (Maipo) Red Hat Enterprise Linux Server release 7.0 (Maipo)

[root@localhost Desktop]# packstack --allinone Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20150114-153519-BAb54i/openstack-setup.log

Installing: Clean Up [ DONE ] Setting up ssh keys [ DONE ] Discovering hosts' details [ DONE ] Adding pre install manifest entries [ DONE ] Preparing servers [ ERROR ]

ERROR : Failed to set RDO repo on host 100.96.21.81: RPM file seems to be installed, but appropriate repo file is probably missing in /etc/yum.repos.d/ Please check log file /var/tmp/packstack/20150114-153519-BAb54i/openstack-setup.log for more information

Additional information: * A new answerfile was created in: /root/packstack-answers-20150114-153519.txt * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.

Please help me

can you answer this

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-07-10 14:16:30 -0500

Seen: 3,520 times

Last updated: Aug 23 '15