Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1348151

Summary: Undercloud installation fails due to missing tripleo-common package
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: instack-undercloudAssignee: James Slagle <jslagle>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: dbecker, jcoufal, jschluet, mburns, morazi, rhel-osp-director-maint, sasha
Target Milestone: betaKeywords: Triaged
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: instack-undercloud-4.0.1-0.20160606104910.f7c7d30.1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 15:40:42 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:

Description Marius Cornea 2016-06-20 09:57:50 UTC
Description of problem:
Undercloud installation fails due to missing tripleo-common package:

Error: Execution of '/bin/yum -d 0 -e 0 -y list tripleo-common' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Main/Package[tripleo-common]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y list tripleo-common' returned 1: Error: No matching Packages to list


Version-Release number of selected component (if applicable):
instack-undercloud-4.0.1-0.20160606104910.f7c7d30.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. openstack undercloud install

Actual results:
Fails:
Error: Execution of '/bin/yum -d 0 -e 0 -y list tripleo-common' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Main/Package[tripleo-common]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y list tripleo-common' returned 1: Error: No matching Packages to list

Expected results:
Installation completes.

Additional info:
I can see that there is a package called openstack-tripleo-common.noarch available for installation.

Comment 2 Marius Cornea 2016-06-20 10:11:01 UTC
Workaround:

s/tripleo-common/openstack-tripleo-common in:

/usr/share/instack-undercloud/undercloud-install/os-refresh-config/post-configure.d/98-undercloud-setup
/usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.pp

Comment 3 Jon Schlueter 2016-06-21 19:36:28 UTC
Cherry-picked upstream patch Change-Id: I4246a874941c9f97e7c5b3775298948e3df16313 from upstream which resolves this issue.  Next tag will include this patch as well

Comment 5 Alexander Chuzhoy 2016-09-16 16:38:53 UTC
Verified:
Environment:
instack-undercloud-5.0.0-0.20160818065636.41ef775.el7ost.noarch

Was able to deploy undercloud without reproducing the reported issue.

Comment 8 errata-xmlrpc 2016-12-14 15:40:42 UTC
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