FIPS jobs: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Bug #2003994 reported by Amol Kahat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
High
Unassigned

Bug Description

Description:
Can't connect to local mysql server through socket /var/lib/mysql/mysql.sock

Actual Error:
2023-01-27 04:46:02.531689 | 7b06abf8-bd8b-4d65-998c-663ad46f9955 | INCLUDED | /usr/share/ansible/roles/tripleo_container_manage/tasks/create.yml | standalone
2023-01-27 04:46:02.573576 | fa163e93-2203-0a47-73c9-00000000457d | TASK | Create containers managed by Podman for /var/lib/tripleo-config/container-startup-config/step_2
2023-01-27 05:31:04.313784 | | WARNING | ERROR: Can't run container mysql_wait_bundle
stderr: time="2023-01-27T04:46:20Z" level=info msg="podman filtering at log level info"
time="2023-01-27T04:46:21Z" level=info msg="Not using native diff for overlay, this may cause degraded performance for building images: kernel has CONFIG_OVERLAY_FS_REDIRECT_DIR enabled"
time="2023-01-27T04:46:21Z" level=info msg="Setting parallel job count to 25"
time="2023-01-27T04:46:21Z" level=info msg="Sysctl net.ipv4.ping_group_range=0 0 ignored in containers.conf, since Network Namespace set to host"
time="2023-01-27T04:46:21Z" level=info msg="User mount overriding libpod mount at \"/etc/hosts\""
time="2023-01-27T04:46:21Z" level=info msg="Running conmon under slice machine.slice and unitName libpod-conmon-0cff44caa29314c8edf5765315fcc3d513ca9f5a44552964aa1868dff16e214f.scope"
time="2023-01-27T04:46:21Z" level=info msg="Got Conmon PID as 146361"
time="2023-01-27T04:46:21Z" level=info msg="Received shutdown.Stop(), terminating!" PID=146289
+ STEP=2
+ TAGS=file,file_line,concat,augeas,galera_ready,mysql_database,mysql_grant,mysql_user
+ CONFIG='include tripleo::profile::pacemaker::database::mysql_bundle'
+ EXTRA_ARGS=
+ '[' -d /tmp/puppet-etc ']'
+ cp -a /tmp/puppet-etc/devices /tmp/puppet-etc/hieradata /tmp/puppet-etc/hiera.yaml /tmp/puppet-etc/modules /tmp/puppet-etc/puppet.conf /tmp/puppet-etc/ssl /etc/puppet
+ echo '{"step": 2}'
+ set +e
+ puppet apply --verbose --detailed-exitcodes --summarize --color=false --modulepath /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules --tags file,file_line,concat,augeas,galera_ready,mysql_database,mysql_grant,mysql_user -e 'noop_resource('\''package'\''); noop_resource('\''service'\'') ;include tripleo::profile::pacemaker::database::mysql_bundle'
Warning: Found multiple default providers for service: pacemaker_xml, swiftinit, base; using pacemaker_xml
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: Unknown variable: 'log_driver_real'. (file: /etc/puppet/modules/tripleo/manifests/profile/pacemaker/database/mysql_bundle.pp, line: 588, column: 86)
Error in GnuTLS initialization: Error while performing self checks.
Warning: Unknown variable: '::pacemaker::pcs_010'. (file: /etc/puppet/modules/pacemaker/manifests/resource/bundle.pp, line: 159, column: 6)
Error: '/usr/bin/clustercheck >/dev/null' returned 1 instead of one of [0]
Error: /Stage[main]/Tripleo::Profile::Pacemaker::Database::Mysql_bundle/Exec[galera-ready]/returns: change from 'notrun' to ['0'] failed: '/usr/bin/clustercheck >/dev/null' returned 1 instead of one of [0]
Error: Could not prefetch mysql_user provider 'mysql': Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Warning: /Stage[main]/Tripleo::Profile::Pacemaker::Database::Mysql_bundle/Mysql_user[root@localhost]: Skipping because of failed dependencies
Warning: /Stage[main]/Tripleo::Profile::Pacemaker::Database::Mysql_bundle/File[/root/.my.cnf]: Skipping because of failed dependencies

Failed Jobs:
- https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_efe/periodic/opendev.org/openstack/tripleo-ci/master/tripleo-ci-centos-9-scenario001-standalone-fips/efed811/logs/undercloud/home/zuul/standalone_deploy.log
- https://f5c97d48dcd7c256d91c-c98b0e913e593910e72c88f6f60b9c46.ssl.cf1.rackcdn.com/periodic/opendev.org/openstack/tripleo-ci/master/tripleo-ci-centos-9-scenario002-standalone-fips/ff8e97f/logs/undercloud/home/zuul/standalone_deploy.log
- https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_941/periodic/opendev.org/openstack/tripleo-ci/master/tripleo-ci-centos-9-scenario003-standalone-fips/94198dd/logs/undercloud/home/zuul/standalone_deploy.log
- https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_5df/periodic/opendev.org/openstack/tripleo-ci/master/tripleo-ci-centos-9-scenario007-standalone-fips/5dfd0da/logs/undercloud/home/zuul/standalone_deploy.log
- https://5ef0193b4c5006ad53ef-8f2169e39ca59f3c7142145d7f2ed712.ssl.cf2.rackcdn.com/periodic/opendev.org/openstack/tripleo-ci/master/tripleo-ci-centos-9-scenario010-standalone-fips/267f950/logs/undercloud/home/zuul/standalone_deploy.log

Tags: alert
Revision history for this message
Amol Kahat (amolkahat) wrote :
Changed in tripleo:
milestone: none → antelope-1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.