Bug 1985279

Summary: Evaluation Error: Unknown function: 'is_service_default'
Product: Red Hat OpenStack Reporter: Filip Hubík <fhubik>
Component: puppet-vswitchAssignee: OSP Team <rhos-maint>
Status: CLOSED ERRATA QA Contact: Filip Hubík <fhubik>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 16.1 (Train)CC: amaimon, chrisw, jjoyce, jschluet, scohen, slinaber, tvignaud
Target Milestone: z7Keywords: AutomationBlocker, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-vswitch-11.4.1-1.20210616133306.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-09 20:20:17 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 Filip Hubík 2021-07-23 09:45:19 UTC
Description of problem:

Undercloud installation fails on issue that seems to be related to neutron container run:

 puppet-user: Warning: ModuleLoader: module 'concat' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\\\\n   (file & line not available)\", \"<13>Jul 22 15:20:19 puppet-user: Warning: ModuleLoader: module 'oslo' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\\\\n   (file & line not available)\", \"<13>Jul 22 15:20:19 puppet-user: Warning: ModuleLoader: module 'keystone' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\\\\n   (file & line not available)\", \"<13>Jul 22 15:20:20 puppet-user: Error: Evaluation Error: Unknown function: 'is_service_default'. (file: /etc/puppet/modules/vswitch/manifests/ovs.pp, line: 105, column: 8) on node undercloud-0.redhat.local\", \"+ rc=1\", \"+ '[' False = false ']'\", \"+ set -e\", \"+ '[' 1 -ne 2 -a 1 -ne 0 ']'\", \"+ exit 1\", \" attempt(s): 3\", \"2021-07-22 15:20:23,316 WARNING: 19308 -- Retrying running container: neutron\", \"2021-07-22 15:20:23,316 ERROR: 19308 -- Failed running container for neutron\", \"2021-07-22 15:20:23,316 INFO: 19308 -- Finished processing puppet configs for neutron\", \"2021-07-22 15:20:23,317 ERROR: 19299 -- ERROR configuring neutron\"]}
        "",
        "NO MORE HOSTS LEFT *************************************************************",
        "",
        "PLAY RECAP *********************************************************************",
        "undercloud-0               : ok=282  changed=169  unreachable=0    failed=1    skipped=72   rescued=0    ignored=0"
    ]
}

TASK [fail] ********************************************************************
task path: /root/infrared/plugins/tripleo-undercloud/deploy.yml:44
Thursday 22 July 2021  15:20:26 +0000 (0:00:00.422)       0:31:54.865 ********* 
fatal: [undercloud-0]: FAILED! => {
    "changed": false,
    "msg": "Undercloud deployment failed... :("
}



Version-Release number of selected component (if applicable):
OSP16.1, RHOS-16.1-RHEL-8-20210722.n.3

How reproducible:
100%

Comment 6 Filip Hubík 2021-07-26 09:44:41 UTC
I can confirm manual installation of puppet-vswitch-11.4.1-1.20210616133306.el8ost in reproduced env fixes this issue and UC (re)deployment passes.

Comment 18 errata-xmlrpc 2021-12-09 20:20:17 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 (Red Hat OpenStack Platform 16.1.7 (Train) bug fix and enhancement 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/RHBA-2021:3762