Bug 1834348

Summary: RHEL8 OSP17 standalone job failing downstream "unknown function: 'mysql_password'"
Product: Red Hat OpenStack Reporter: Marios Andreou <mandreou>
Component: puppet-tripleoAssignee: Damien Ciabrini <dciabrin>
Status: CLOSED CURRENTRELEASE QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.0 (Wallaby)CC: aschultz, dciabrin, jjoyce, jschluet, michele, slinaber, tvignaud, whayutin
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-15 08:36:57 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:

Comment 2 Damien Ciabrini 2020-05-11 20:25:22 UTC
(In reply to wes hayutin from comment #1)
> @marios.. in the OSP deployment.. I don't see any mysql puppet config
> https://sf.hosted.upshift.rdu2.redhat.com/logs/89/198789/20/check/periodic-
> tripleo-ci-rhel-8-standalone-rhos-17/99eba03/logs/undercloud/var/lib/config-
> data/puppet-generated/

This is probably because the config generation for the mysql service failed while running "container-puppet-mysql".
function mysql_password comes from puppet-mysql, under puppetlabs-mysql/lib/puppet/parser/functions/mysql_password.rb.

However, looking at their upstream repo, it seems that this function has been deprecated very recently [1] and replaced
by a "properly namespaced modern `mysql::password` function".

We need to fix that upstream in tripleo and pin puppet-mysql to a lower version meanwhile.

I'll work on that tomorrow morning

[1] https://github.com/puppetlabs/puppetlabs-mysql/commit/5a706276741e05088ae596141f28b03e1030a948

Comment 3 wes hayutin 2020-05-13 17:45:15 UTC
this working.. THANK YOU!
https://code.engineering.redhat.com/gerrit/#/c/200050/