[openstack-dev] [TripleO][docs]: Undercloud install fails with unavailability of oslo::cache
Ben Nemec
openstack at nemebean.com
Fri Jul 8 14:47:27 UTC 2016
On 07/08/2016 12:58 AM, Paddu Krishnan (padkrish) wrote:
>> 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.
You should not make any code changes to install Liberty. I just tried
it and it worked fine with the current code.
>>
>> 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.
What is the output of `cat /etc/yum.repos.d/delorean*` ? You may have
conflicting repos if you used both the doc repo setup and the tripleo.sh
one. Deleting /etc/yum.repos.d/delorean* and re-running tripleo.sh
--repo-setup may help (don't forget to export STABLE_RELEASE=liberty first).
For the moment I would ignore the documentation on repo setup and image
building and use tripleo.sh for those parts. Both those sections are
different from what we CI and I believe both are probably broken right
now. I'm trying to fix this divergence, but progress is slow so far. :-(
>>
> 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>
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
More information about the OpenStack-dev
mailing list