Bug 1834348 - RHEL8 OSP17 standalone job failing downstream "unknown function: 'mysql_password'"
Summary: RHEL8 OSP17 standalone job failing downstream "unknown function: 'mysql_passw...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Damien Ciabrini
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-11 14:39 UTC by Marios Andreou
Modified: 2020-10-15 08:36 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-15 08:36:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 727438 0 None MERGED Fix puppetlabs/mysql dependency in metadata.json 2020-10-15 08:32:20 UTC

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/


Note You need to log in before you can comment on or make changes to this bug.