[openstack-dev] [TripleO][docs]: Undercloud install fails with unavailability of oslo::cache

Paddu Krishnan (padkrish) padkrish at cisco.com
Fri Jul 8 05:58:30 UTC 2016


Hello,
I am trying to install TripleO in a VM environment. It's a basic install.
I am following the instructions in  http://docs.openstack.org/developer/tripleo-docs/installation/installation.html. I am following the instructions for the stable branch.

Installing the undercloud ("openstack undercloud install") failed with the below logs. Inspite of me giving the repo as liberty,  /usr/share/tripleo-image-elements/rdo-release/environment.d/10-rdo-release-name.bash was set to kilo. I modified it to liberty.

I also made changes in  /usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_image.py to point to liberty as mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1304395.

I did not get any errors in the previous commands. From the error, I can only guess all the puppet modules (oslo::cache?) were not completely installed. Any tips on overcoming this would be great.

-----------
dib-run-parts Tue Jul  5 16:15:01 EDT 2016 Running /usr/libexec/os-refresh-config/configure.d/50-puppet-stack-config
+ set -o pipefail
+ set +e
+ puppet apply --detailed-exitcodes /etc/puppet/manifests/puppet-stack-config.pp
Error: Resource type oslo::cache doesn't exist on node instack.localdomain
Error: Resource type oslo::cache doesn't exist on node instack.localdomain
+ rc=1
+ set -e
+ echo 'puppet apply exited with exit code 1'
puppet apply exited with exit code 1
+ '[' 1 '!=' 2 -a 1 '!=' 0 ']'
+ exit 1
[2016-07-05 16:15:06,463] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1]

[2016-07-05 16:15:06,463] (os-refresh-config) [ERROR] Aborting...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 815, in install
    _run_orc(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 699, in _run_orc
    _run_live_command(args, instack_env, 'os-refresh-config')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 370, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: os-refresh-config failed. See log for details.
Command 'instack-install-undercloud' returned non-zero exit status 1

----------------

I also manually tried to install the oslo packages, that didn't help either.

As suggested by shardy, I also tried the "tripleo.sh  -repo-setup". Still the same error.

>From yum list:

----------------
    python-oslo-cache.noarch         0.7.0-1.el7
    delorean-liberty-testing
    python-oslo-cache-doc.noarch     0.7.1-0.20160624191250.4f1f8a1.el7.centos
    python2-oslo-cache.noarch        0.7.1-0.20160624191250.4f1f8a1.el7.centos
    python2-oslo-cache-tests.noarch  0.7.1-0.20160624191250.4f1f8a1.el7.centos
--------------
Thanks,
Paddu
<http://docs.openstack.org/developer/tripleo-docs/installation/installation.html><http://docs.openstack.org/developer/tripleo-docs/installation/installation.html><http://docs.openstack.org/developer/tripleo-docs/installation/installation.html><http://docs.openstack.org/developer/tripleo-docs/installation/installation.html><http://docs.openstack.org/developer/tripleo-docs/installation/installation.html><http://docs.openstack.org/developer/tripleo-docs/installation/installation.html><http://docs.openstack.org/developer/tripleo-docs/installation/installation.html><http://docs.openstack.org/developer/tripleo-docs/installation/installation.html><http://docs.openstack.org/developer/tripleo-docs/installation/installation.html>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160708/62df90a7/attachment.html>


More information about the OpenStack-dev mailing list