Bug 1414463

Summary: During OSP10->OSP11 upgrade we need to delete the old hiera hooks
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: rhosp-directorAssignee: Marios Andreou <mandreou>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 11.0 (Ocata)CC: dbecker, jcoufal, mandreou, mburns, mcornea, morazi, rhel-osp-director-maint, sathlang
Target Milestone: rcKeywords: TestOnly, Triaged
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-17 19:40:30 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 2017-01-18 15:06:59 UTC
Description of problem:
During OSP10->OSP11 upgrade we need to delete the old hiera hooks. 

In UpgradeInitCommand:

    rm -f /usr/libexec/os-apply-config/templates/etc/puppet/hiera.yaml
    rm -f /usr/libexec/os-refresh-config/configure.d/40-hiera-datafiles
    rm -f /etc/puppet/hieradata/*.yaml

Comment 2 Sofer Athlan-Guyot 2017-03-21 18:30:51 UTC
Landed a while back, moving this to POST.  I think it landed downstream, so we can close it.  Marius, can you confirm ?

Comment 3 Sofer Athlan-Guyot 2017-03-21 18:32:39 UTC
Adding ocata patch.

Comment 4 Sofer Athlan-Guyot 2017-03-21 18:34:20 UTC
*** Bug 1414058 has been marked as a duplicate of this bug. ***

Comment 5 Marius Cornea 2017-03-22 11:21:31 UTC
(In reply to Sofer Athlan-Guyot from comment #2)
> Landed a while back, moving this to POST.  I think it landed downstream, so
> we can close it.  Marius, can you confirm ?

Yes, this is fixed in the latest puddle.

Comment 7 errata-xmlrpc 2017-05-17 19:40:30 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://access.redhat.com/errata/RHEA-2017:1245