Ask Your Question
0

Failed to set RDO repo on host-packstack-centOS-7

asked 2016-07-19 16:04:23 -0600

alfarooqui gravatar image

updated 2016-08-18 14:29:11 -0600

rbowen gravatar image

Hi

I am trying to add a compute node with packstack in 2nd server from 1st server. I have updated the answer file with 2nd server IP and also the configuration for EPEL is no.

# Enterprise Linux). ['y', 'n']
CONFIG_USE_EPEL=n

But i am getting the error

[root@servera yum.repos.d]# packstack -d --answer-file /root/answers.txt
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20160719-145733-QM_7G1/openstack-setup.log

Installing:

Clean Up                                             [ DONE ]
Discovering ip protocol version                      [ DONE ]
Setting up ssh keys                                  [ DONE ]
Preparing servers                                 [ ERROR ]

ERROR : Failed to set RDO repo on host 10.x.106.x:
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/20160719-145733-QM_7G1/openstack-setup.log for more information
[root@servera yum.repos.d]#

In the mention log there is no meaningful information. Both serverA abd B has same configuration. I already installed packstack in serverA without any issue.

The repo status in 2nd node is as below

[root@serverb yum.repos.d]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.beyondhosting.net
 * extras: centos.chicago.waneq.com
 * updates: dallas.tx.mirror.xygenhosting.com
repo id                                                 repo name                                                  status
base/7/x86_64                                           CentOS-7 - Base                                            9,007
extras/7/x86_64                                         CentOS-7 - Extras                                            356
updates/7/x86_64                                        CentOS-7 - Updates                                         2,013
repolist: 11,376
[root@serverb yum.repos.d]#

name=CentOS-$releasever - cr
baseurl=http://mirror.centos.org/centos/$releasever/cr/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0


[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

Can anyone please help or guide me what could be the issue?

Regards Farooqui

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-10-11 15:15:35 -0600

I do not know the details of your setup however I am fairly certain you need to do this on all nodes before starting multinode packstack

$ sudo yum install -y centos-release-openstack-newton (or centos-release-openstack-mitaka or centos-release-openstack-liberty) $ sudo yum update -y $ sudo yum install -y openstack-packstack

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

Stats

Asked: 2016-07-19 16:04:23 -0600

Seen: 727 times

Last updated: Oct 11 '16