Bug 1803362 - [RHOSP16] [IHA] Ovecloud Deployment fails with error ' Validation of File_line[pcsd_bind_addr] failed '
Summary: [RHOSP16] [IHA] Ovecloud Deployment fails with error ' Validation of File_lin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-pacemaker
Version: 16.0 (Train)
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: 16.1 (Train on RHEL 8.2)
Assignee: RHOS Maint
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-15 14:39 UTC by Ketan Mehta
Modified: 2023-09-14 05:52 UTC (History)
8 users (show)

Fixed In Version: puppet-pacemaker-0.8.1-0.20200312111720.e1f66f2.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-29 07:50:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:3148 0 None None None 2020-07-29 07:50:47 UTC

Description Ketan Mehta 2020-02-15 14:39:15 UTC
Description of problem:

Deploying overcloud with Instance HA nodes fails at Step 1 of deployment on task [Wait for puppet host configuration to finish].

Here is the failure logs from ansible task:

~~~
fatal: [overcloud-novacomputeiha-0]: FAILED! => {"ansible_job_id": "875698817172.16185", "attempts": 3, "changed": true, "cmd": "set -o pipefail; puppet apply  --modulepath=/etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules --detailed-exitcodes --summarize --color=false   /var/lib/tripleo-config/puppet_step_config.pp 2>&1 | logger -s -t puppet-user", "delta": "0:00:06.350740", "end": "2020-02-15 12:37:23.924572", "failed_when_result": true, "finished": 1, "msg": "non-zero return code", "rc": 1, "start": "2020-02-15 12:37:17.573832", "stderr": "<13>Feb 15 12:37:17 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/5.5/deprecated_language.html\\n   (file & line not available)\n<13>Feb 15 12:37:22 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5\n<13>Feb 15 12:37:22 puppet-user:    (file: /etc/puppet/hiera.yaml)\n<13>Feb 15 12:37:22 puppet-user: Warning: Undefined variable '::deploy_config_name'; \\n   (file & line not available)\n<13>Feb 15 12:37:22 puppet-user: Warning: ModuleLoader: module 'tripleo' 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)\n<13>Feb 15 12:37:23 puppet-user: Warning: Unknown variable: '::deployment_type'. (file: /etc/puppet/modules/tripleo/manifests/profile/base/database/mysql/client.pp, line: 89, column: 8)\n<13>Feb 15 12:37:23 puppet-user: Warning: ModuleLoader: module 'pacemaker' 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)\n<13>Feb 15 12:37:23 puppet-user: Warning: Unknown variable: '::pacemaker::pcsd_sysconfig'. (file: /etc/puppet/modules/pacemaker/manifests/remote.pp, line: 90, column: 20)\n<13>Feb 15 12:37:23 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)\n<13>Feb 15 12:37:23 puppet-user: Warning: tag is a metaparam; this value will inherit to all contained resources in the tripleo::firewall::rule definition\n<13>Feb 15 12:37:23 puppet-user: Notice: Scope(Class[Tripleo::Firewall::Post]): At this stage, all network traffic is blocked.\n<13>Feb 15 12:37:23 puppet-user: Notice: Compiled catalog for overcloud-novacomputeiha-0.localdomain in environment production in 0.95 seconds\n<13>Feb 15 12:37:23 puppet-user: Error: Validation of File_line[pcsd_bind_addr] failed: path is a required attribute (file: /etc/puppet/modules/pacemaker/manifests/remote.pp, line: 89)", "stderr_lines": ["<13>Feb 15 12:37:17 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/5.5/deprecated_language.html\\n   (file & line not available)", "<13>Feb 15 12:37:22 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5", "<13>Feb 15 12:37:22 puppet-user:    (file: /etc/puppet/hiera.yaml)", "<13>Feb 15 12:37:22 puppet-user: Warning: Undefined variable '::deploy_config_name'; \\n   (file & line not available)", "<13>Feb 15 12:37:22 puppet-user: Warning: ModuleLoader: module 'tripleo' 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>Feb 15 12:37:23 puppet-user: Warning: Unknown variable: '::deployment_type'. (file: /etc/puppet/modules/tripleo/manifests/profile/base/database/mysql/client.pp, line: 89, column: 8)", "<13>Feb 15 12:37:23 puppet-user: Warning: ModuleLoader: module 'pacemaker' 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>Feb 15 12:37:23 puppet-user: Warning: Unknown variable: '::pacemaker::pcsd_sysconfig'. (file: /etc/puppet/modules/pacemaker/manifests/remote.pp, line: 90, column: 20)", "<13>Feb 15 12:37:23 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>Feb 15 12:37:23 puppet-user: Warning: tag is a metaparam; this value will inherit to all contained resources in the tripleo::firewall::rule definition", "<13>Feb 15 12:37:23 puppet-user: Notice: Scope(Class[Tripleo::Firewall::Post]): At this stage, all network traffic is blocked.", "<13>Feb 15 12:37:23 puppet-user: Notice: Compiled catalog for overcloud-novacomputeiha-0.localdomain in environment production in 0.95 seconds", "<13>Feb 15 12:37:23 puppet-user: Error: Validation of File_line[pcsd_bind_addr] failed: path is a required attribute (file: /etc/puppet/modules/pacemaker/manifests/remote.pp, line: 89)"], "stdout": "", "stdout_lines": []}


2020-02-15 07:37:25,127 p=8615 u=mistral |  fatal: [overcloud-novacomputeiha-1]: FAILED! => {"ansible_job_id": "560289393545.16173", "attempts": 3, "changed": true, "cmd": "set -o pipefail; puppet apply  --modulepath=/etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules --detailed-exitcodes --summarize --color=false   /var/lib/tripleo-config/puppet_step_config.pp 2>&1 | logger -s -t puppet-user", "delta": "0:00:06.625584", "end": "2020-02-15 12:37:24.338205", "failed_when_result": true, "finished": 1, "msg": "non-zero return code", "rc": 1, "start": "2020-02-15 12:37:17.712621", "stderr": "<13>Feb 15 12:37:17 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/5.5/deprecated_language.html\\n   (file & line not available)\n<13>Feb 15 12:37:23 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5\n<13>Feb 15 12:37:23 puppet-user:    (file: /etc/puppet/hiera.yaml)\n<13>Feb 15 12:37:23 puppet-user: Warning: Undefined variable '::deploy_config_name'; \\n   (file & line not available)\n<13>Feb 15 12:37:23 puppet-user: Warning: ModuleLoader: module 'tripleo' 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)\n<13>Feb 15 12:37:23 puppet-user: Warning: Unknown variable: '::deployment_type'. (file: /etc/puppet/modules/tripleo/manifests/profile/base/database/mysql/client.pp, line: 89, column: 8)\n<13>Feb 15 12:37:23 puppet-user: Warning: ModuleLoader: module 'pacemaker' 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)\n<13>Feb 15 12:37:23 puppet-user: Warning: Unknown variable: '::pacemaker::pcsd_sysconfig'. (file: /etc/puppet/modules/pacemaker/manifests/remote.pp, line: 90, column: 20)\n<13>Feb 15 12:37:23 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)\n<13>Feb 15 12:37:24 puppet-user: Warning: tag is a metaparam; this value will inherit to all contained resources in the tripleo::firewall::rule definition\n<13>Feb 15 12:37:24 puppet-user: Notice: Scope(Class[Tripleo::Firewall::Post]): At this stage, all network traffic is blocked.\n<13>Feb 15 12:37:24 puppet-user: Notice: Compiled catalog for overcloud-novacomputeiha-1.localdomain in environment production in 0.96 seconds\n<13>Feb 15 12:37:24 puppet-user: Error: Validation of File_line[pcsd_bind_addr] failed: path is a required attribute (file: /etc/puppet/modules/pacemaker/manifests/remote.pp, line: 89)", "stderr_lines": ["<13>Feb 15 12:37:17 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/5.5/deprecated_language.html\\n   (file & line not available)", "<13>Feb 15 12:37:23 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5", "<13>Feb 15 12:37:23 puppet-user:    (file: /etc/puppet/hiera.yaml)", "<13>Feb 15 12:37:23 puppet-user: Warning: Undefined variable '::deploy_config_name'; \\n   (file & line not available)", "<13>Feb 15 12:37:23 puppet-user: Warning: ModuleLoader: module 'tripleo' 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>Feb 15 12:37:23 puppet-user: Warning: Unknown variable: '::deployment_type'. (file: /etc/puppet/modules/tripleo/manifests/profile/base/database/mysql/client.pp, line: 89, column: 8)", "<13>Feb 15 12:37:23 puppet-user: Warning: ModuleLoader: module 'pacemaker' 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>Feb 15 12:37:23 puppet-user: Warning: Unknown variable: '::pacemaker::pcsd_sysconfig'. (file: /etc/puppet/modules/pacemaker/manifests/remote.pp, line: 90, column: 20)", "<13>Feb 15 12:37:23 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>Feb 15 12:37:24 puppet-user: Warning: tag is a metaparam; this value will inherit to all contained resources in the tripleo::firewall::rule definition", "<13>Feb 15 12:37:24 puppet-user: Notice: Scope(Class[Tripleo::Firewall::Post]): At this stage, all network traffic is blocked.", "<13>Feb 15 12:37:24 puppet-user: Notice: Compiled catalog for overcloud-novacomputeiha-1.localdomain in environment production in 0.96 seconds", "<13>Feb 15 12:37:24 puppet-user: Error: Validation of File_line[pcsd_bind_addr] failed: path is a required attribute (file: /etc/puppet/modules/pacemaker/manifests/remote.pp, line: 89)"], "stdout": "", "stdout_lines": []}
~~~

The prime error is: puppet-user: Error: Validation of File_line[pcsd_bind_addr] failed: path is a required attribute (file: /etc/puppet/modules/pacemaker/manifests/remote.pp, line: 89)"], "stdout": "", "stdout_lines": []}

Running puppet-apply manually on ComputeIHA nodes does confirm the same.

puppet apply  --modulepath=/etc/puppet/module$:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules --detailed-exitcodes --summarize --color=false   /var/lib/tripleo-config/puppet_step_config.pp
Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/5.5/deprecated_language.html\n   (file & line not available)
Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
   (file: /etc/puppet/hiera.yaml)
Warning: Undefined variable '::deploy_config_name'; \n   (file & line not available)
Warning: ModuleLoader: module 'tripleo' 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)
Warning: Unknown variable: '::deployment_type'. (file: /usr/share/openstack-puppet/modules/tripleo/manifests/profile/base/database/mysql/client.pp, line: 89, column: 8)
Warning: ModuleLoader: module 'pacemaker' 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)
Warning: Unknown variable: '::pacemaker::pcsd_sysconfig'. (file: /usr/share/openstack-puppet/modules/pacemaker/manifests/remote.pp, line: 90, column: 20)
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)
Warning: tag is a metaparam; this value will inherit to all contained resources in the tripleo::firewall::rule definition
Notice: Scope(Class[Tripleo::Firewall::Post]): At this stage, all network traffic is blocked.
Notice: Compiled catalog for overcloud-novacomputeiha-1.localdomain in environment production in 0.65 seconds
Error: Validation of File_line[pcsd_bind_addr] failed: path is a required attribute (file: /usr/share/openstack-puppet/modules/pacemaker/manifests/remote.pp, line: 89)

Looks like an issue with puppet-pacemaker package.

Version-Release number of selected component (if applicable):

rpm -qa |grep -i puppet-triple
puppet-tripleo-11.4.1-0.20200118215809.6f9bf6c.el8ost.noarch
rpm -qa |grep -i puppet-pacemaker
puppet-pacemaker-0.8.1-0.20191218041139.80dcc19.el8ost.noarch


How reproducible:
Deploy overcloud with IHA compute nodes.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
Deployment should succeed.

Additional info:

Comment 11 Alex McLeod 2020-06-16 12:28:39 UTC
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to '-'.

Comment 15 errata-xmlrpc 2020-07-29 07:50:34 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/RHBA-2020:3148

Comment 16 Red Hat Bugzilla 2023-09-14 05:52:37 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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