[OpenStack-Infra] DevStack on CentOS

Clark Boylan cboylan at sapwetik.org
Fri Oct 3 19:44:03 UTC 2014


On Fri, Oct 3, 2014, at 03:53 AM, Parimala Prahlada wrote:
> Hi,
> 
> I am newbie to openstack community.  I was looking to participate in OPW
> and hence started setting up devstack.
> I am referring http://sayalilunkad.github.io/posts/Devstack/.
> 
> I have a VM with CentOS6.4 installed with git (1.8.4), perl (5.10.1),
> python (2.7.5) etc.
> With this setup, I started with initial setup of DevStack.
> 
> However, when I run the script "stack.sh" to install OpenStack, I am
> getting the following error.
> 
> 
> **********************************************************************************************************************************************************************************************************************************
> 
> Downloading Packages:
> http://repoforge.mirror.net.in/repoforge/redhat/el6/en/i386/extras/RPMS/
> *git-1.7.12.4-1.el6.rfx.i686.rpm*: [Errno -1] Package does not match
> intended download. Suggestion: run yum --enablerepo=rpmforge-extras clean
> metadata
> Trying other mirror.
> 
> http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/python-migrate-0.8.2-1.el6.noarch.rpm:
> [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host
> 'repos.fedorapeople.org'"
> Trying other mirror.
> http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/python-prettytable-0.7.2-1.el6.noarch.rpm:
> [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host
> 'repos.fedorapeople.org'"
> Trying other mirror.
> http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/python-webob-1.2.3-8.el6.noarch.rpm:
> [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host
> 'repos.fedorapeople.org'"
> Trying other mirror.
> http://mirror.smartmedia.net.id/repoforge/redhat/el6/en/i386/extras/RPMS/qemu-img-0.15.0-1.el6.rfx.i686.rpm:
> [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host
> 'mirror.smartmedia.net.id
> '"
> Trying other mirror.
> 
> 
> Error Downloading Packages:
>   python-prettytable-0.7.2-1.el6.noarch: failure:
> python-prettytable-0.7.2-1.el6.noarch.rpm from openstack-icehouse: [Errno
> 256] No more mirrors to try.
>   python-migrate-0.8.2-1.el6.noarch: failure:
> python-migrate-0.8.2-1.el6.noarch.rpm from openstack-icehouse: [Errno
> 256]
> No more mirrors to try.
>   python-webob-1.2.3-8.el6.noarch: failure:
> python-webob-1.2.3-8.el6.noarch.rpm from openstack-icehouse: [Errno 256]
> No
> more mirrors to try.
> 
> ++ [[ 1 != 0 ]]
> ++ die 1115 'Yum install failure'
> ++ local exitcode=0
> ++ set +o xtrace
> [Call Trace]
> ./stack.sh:687:source
> /home/parimala/OPW-2014/devstack/tools/install_prereqs.sh:64:install_package
> /home/parimala/OPW-2014/devstack/functions-common:1055:real_install_package
> /home/parimala/OPW-2014/devstack/functions-common:1043:yum_install
> /home/parimala/OPW-2014/devstack/functions-common:1115:die
> [ERROR] /home/parimala/OPW-2014/devstack/functions-common:1115 Yum
> install
> failure
> Error on exit
> World dumping... see ./worlddump-2014-10-02-142624.txt for details
> 
> **********************************************************************************************************************************************************************************************************************************
> 
> 
> stack.sh is trying to download git 1.7.12.
> As I have mentioned earlier, I am having git 1.8.4 already installed on
> my
> system.
> So why is the script looking for an older version of git?  Can I force
> the
> script to use the existing installation of packages?
> 
> Any help in this regard is highly appreciated.
> 
> (I have to fix a bug to submit my application for the OPW, hence please
> help)
> 
> Thanks and Regards,
> Parimala
> _______________________________________________
> OpenStack-Infra mailing list
> OpenStack-Infra at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

It looks like yum tried to get packages from repos.fedorapeople.org and
DNS resolution failed. Perhaps this was a temporary failure and
rerunning will not run into name resolution problems? Also, we have
never really tested devstack on CentOS like we do on Ubuntu. This will
probably change with CentOS 7 in the near future but not with 6. You
might also try using Ubuntu Precise or Trusty VMs.

As for the git thing that may depend on how you have newer git
installed. Was 1.8.4 installed via yum so that the package DB knows that
it exists? I don't think devstack care about a specific version it is
just ensuring that git exists.

Clark



More information about the OpenStack-Infra mailing list