Bug 1374020
| Summary: | osp-director-10: The convergence step in osp9 - osp10 upgrade is failing over (Invalid resource type oslo::log at logging.pp:171 on compute) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Omri Hochman <ohochman> | ||||
| Component: | openstack-tripleo-heat-templates | Assignee: | Angus Thomas <athomas> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Omri Hochman <ohochman> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 10.0 (Newton) | CC: | dbecker, jschluet, mburns, morazi, rhel-osp-director-maint, sasha, sathlang | ||||
| Target Milestone: | beta | Keywords: | Triaged | ||||
| Target Release: | 10.0 (Newton) | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | openstack-tripleo-heat-templates-5.0.0-0.20160907212643.90c852e.1.el7ost | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-12-14 15:58:02 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1337794 | ||||||
| Attachments: |
|
||||||
|
Description
Omri Hochman
2016-09-07 17:17:16 UTC
Hi,
the puppet-oslo package is new in the opm packaging. It's puppet
tripleo-puppet-elements/elements/puppet-modules/install.d/puppet-modules-package-install/75-puppet-modules-package
jobs to create the symlink from /usr/share/openstack-puppet/modules/* to /etc/puppet/modules/
As the new package is pull in by rpm the link is not done and hence the error above where puppet cannot find the oslo module.
Running this script before the convergence fix it:
#!/usr/bin/bash
set -eux
. stackrc
for host in $(nova list | awk '$1 !~ /^\+/ && NR>3{print gensub(/.*=([0-9.]+).*/, "\\1",$12)}'); do
ssh heat-admin@${host} sudo sh -c '"cd /etc/puppet/modules && ln -s /usr/share/openstack-puppet/modules/oslo oslo"'
done
Created attachment 1198954 [details]
fix the missing link
Added the fix as attachment. Added upstream bug and fix. Verified with openstack-tripleo-heat-templates-5.1.0-3.el7ost.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2948.html |