Description
===========
tripleo-ci-centos-8-standalone in stable/wallaby is now consistenly failing.
https://zuul.opendev.org/t/openstack/builds?job_name=tripleo-ci-centos-8-standalone&branch=stable%252Fwallaby&skip=0
It seems the standalone deployment fails because of the failure with galera resource creation by puppet.
example:
https://zuul.opendev.org/t/openstack/build/1855d01fe0984c24bc230f36571e07e0
https://zuul.opendev.org/t/openstack/build/1855d01fe0984c24bc230f36571e07e0/log/logs/undercloud/home/zuul/standalone_deploy.log#3227-3228
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';
(file & line not available)
Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.6/deprecated_language.html
(file & line not available)
Warning: This command is deprecated and will be removed. Please use 'pcs property config' instead.
Warning: This command is deprecated and will be removed. Please use 'pcs constraint config' instead.
Warning: This command is deprecated and will be removed. Please use 'pcs constraint config' instead.
Error: pcs -f /var/lib/pacemaker/cib/puppet-cib-backup20221124-90206-ctj9kd resource create galera ocf:heartbeat:galera log='/var/log/mysql/mysqld.log' additional_parameters='--open-files-limit=16384' enable_creation=true wsrep_cluster_address='gcomm://standalone.ctlplane.localdomain' cluster_host_map='standalone:standalone.ctlplane.localdomain' meta master-max=1 ordered=true container-attribute-target=host op promote timeout=300s on-fail=block bundle galera-bundle failed: Error: Validation result from agent (use --force to override):. Too many tries
Error: /Stage[main]/Tripleo::Profile::Pacemaker::Database::Mysql_bundle/Pacemaker::Resource::Ocf[galera]/Pcmk_resource[galera]/ensure: change from 'absent' to 'present' failed: pcs -f /var/lib/pacemaker/cib/puppet-cib-backup20221124-90206-ctj9kd resource create galera ocf:heartbeat:galera log='/var/log/mysql/mysqld.log' additional_parameters='--open-files-limit=16384' enable_creation=true wsrep_cluster_address='gcomm://standalone.ctlplane.localdomain' cluster_host_map='standalone:standalone.ctlplane.localdomain' meta master-max=1 ordered=true container-attribute-target=host op promote timeout=300s on-fail=block bundle galera-bundle failed: Error: Validation result from agent (use --force to override):. Too many tries", "stderr_lines": ["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'; ", " (file & line not available)", "Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.6/deprecated_language.html", " (file & line not available)", "Warning: This command is deprecated and will be removed. Please use 'pcs property config' instead.", "Warning: This command is deprecated and will be removed. Please use 'pcs constraint config' instead.", "Warning: This command is deprecated and will be removed. Please use 'pcs constraint config' instead.", "Error: pcs -f /var/lib/pacemaker/cib/puppet-cib-backup20221124-90206-ctj9kd resource create galera ocf:heartbeat:galera log='/var/log/mysql/mysqld.log' additional_parameters='--open-files-limit=16384' enable_creation=true wsrep_cluster_address='gcomm://standalone.ctlplane.localdomain' cluster_host_map='standalone:standalone.ctlplane.localdomain' meta master-max=1 ordered=true container-attribute-target=host op promote timeout=300s on-fail=block bundle galera-bundle failed: Error: Validation result from agent (use --force to override):. Too many tries", "Error: /Stage[main]/Tripleo::Profile::Pacemaker::Database::Mysql_bundle/Pacemaker::Resource::Ocf[galera]/Pcmk_resource[galera]/ensure: change from 'absent' to 'present' failed: pcs -f /var/lib/pacemaker/cib/puppet-cib-backup20221124-90206-ctj9kd resource create galera ocf:heartbeat:galera log='/var/log/mysql/mysqld.log' additional_parameters='--open-files-limit=16384' enable_creation=true wsrep_cluster_address='gcomm://standalone.ctlplane.localdomain' cluster_host_map='standalone:standalone.ctlplane.localdomain' meta master-max=1 ordered=true container-attribute-target=host op promote timeout=300s on-fail=block bundle galera-bundle failed: Error: Validation result from agent (use --force to override):. Too many tries"], "stdout": "Notice: Compiled catalog for standalone.localdomain in environment production in 2.20 seconds
Notice: /Stage[main]/Tripleo::Profile::Pacemaker::Database::Mysql_bundle/Pacemaker::Property[galera-role-standalone]/Pcmk_property[property-standalone-galera-role]/ensure: created
Notice: /Stage[main]/Tripleo::Profile::Pacemaker::Database::Mysql_bundle/Pacemaker::Resource::Bundle[galera-bundle]/Pcmk_bundle[galera-bundle]/ensure: created
Notice: Applied catalog in 80.32 seconds
Changes:
Total: 2
Events:
Failure: 1
Success: 2
Total: 3
Resources:
Failed: 1
Skipped: 141
Changed: 2
Out of sync: 3
Total: 145
Time:
Pcmk bundle: 14.36
Last run: 1669328593
Config retrieval: 2.40
Pcmk resource: 56.58
Pcmk property: 8.89
Transaction evaluation: 80.27
Catalog application: 80.32
Total: 80.33
Version:
Config: 1669328511
Puppet: 7.6.1", "stdout_lines": ["Notice: Compiled catalog for standalone.localdomain in environment production in 2.20 seconds
It appears that there is some sort of parsing error at play.
Log: /storage. gra.cloud. ovh.net/ v1/AUTH_ dcaab5e32b234d5 6b626f72581e364 4c/zuul_ opendev_ logs_185/ 865601/ 1/check/ tripleo- ci-centos- 8-standalone/ 1855d01/ logs/undercloud /var/log/ extra/podman/ containers/ container- puppet- mysql/stdout. log
----
https:/
Trace: plugin' ].each |String $val| { noop_resource($val) } :profile: :pacemaker: :database: :mysql_ bundle exitcodes --color=false --modulepath= /etc/puppet/ modules: /usr/share/ openstack- puppet/ modules --tags '"file, file_line, concat, augeas, cron,file" ' /etc/config.pp hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5 hiera.yaml) config_ name'; /puppet. com/docs/ puppet/ 7.6/deprecated_ language. html :pcs_010' . (file: /etc/puppet/ modules/ pacemaker/ manifests/ resource/ bundle. pp, line: 159, column: 6) localdomain in environment production in 2.37 seconds main]/Tripleo: :Profile: :Pacemaker: :Database: :Mysql_ bundle/ File[/etc/ sysconfig/ clustercheck] /ensure: defined content as '{sha256} 089a031afe62721 961eaec54469382 f2409e6208f899d 3444da2809306e1 5024' main]/Mysql: :Server: :Config/ File[mysql- config- file]/content: content changed '{sha256} 059405bb34a8ec5 c13ea553f64cbc4 50868c0af1b65d6 08c8cc4a601e4dc c2dd' to '{sha256} f619fa6c8c600bf 061999529c2eb34 880eb2c96fff28e f227f947a0925b4 c41a' main]/Mysql: :Server: :Installdb/ File[/var/ log/mariadb/ mariadb. log]/ensure: created main]/Tripleo: :Profile: :Pacemaker: :Database: :Mysql_ bundle/ File[/root/ .my.cnf] /ensure: defined content as '{sha256} 6baae0f7392ddab 5cdeb48835ece4f 217cb7bc1f6c610 069fa0981b41544 704f'
------
include ::tripleo::packages
['Mysql_datadir', 'Mysql_user', 'Mysql_database', 'Mysql_grant', 'Mysql_
exec {'wait-for-settle': command => '/bin/true' }
include tripleo:
Running puppet
+ /usr/bin/puppet apply --summarize --detailed-
+ logger -s -t puppet-user
<13>Nov 24 22:20:00 puppet-user: Warning: Found multiple default providers for service: swiftinit, pacemaker, base, pacemaker_xml; using swiftinit
<13>Nov 24 22:20:00 puppet-user: Warning: /etc/puppet/
<13>Nov 24 22:20:00 puppet-user: (file: /etc/puppet/
<13>Nov 24 22:20:00 puppet-user: Warning: Undefined variable '::deploy_
<13>Nov 24 22:20:00 puppet-user: (file & line not available)
<13>Nov 24 22:20:00 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https:/
<13>Nov 24 22:20:00 puppet-user: (file & line not available)
<13>Nov 24 22:20:00 puppet-user: Could not connect to the CIB: Transport endpoint is not connected
<13>Nov 24 22:20:00 puppet-user: Init failed, could not perform requested operations
<13>Nov 24 22:20:00 puppet-user: -:1: parser error : Document is empty
<13>Nov 24 22:20:00 puppet-user:
<13>Nov 24 22:20:00 puppet-user: ^
<13>Nov 24 22:20:00 puppet-user: Warning: Unknown variable: '::pacemaker:
<13>Nov 24 22:20:00 puppet-user: Notice: Compiled catalog for standalone.
<13>Nov 24 22:20:00 puppet-user: Notice: /Stage[
<13>Nov 24 22:20:00 puppet-user: Notice: /Stage[
<13>Nov 24 22:20:00 puppet-user: Notice: /Stage[
<13>Nov 24 22:20:00 puppet-user: Notice: /Stage[
<13>Nov 24 22:20:00 puppet-user: Notice: Applied catalog in 0.18 seconds
<13>Nov 24 22:20:00 puppet-user: Changes:
<13>Nov 2...