Not the answer you need?
Register and ask your own question!

[PMM] 1.17.1 to 1.17.2 - Update Issue

Hi eveyone,

I can't update my PMM Server (1.17.1) to the latest version :
+ echo 'CMD: /usr/bin/pmm-update '
CMD: /usr/bin/pmm-update
+ echo 'PID: 4365'
PID: 4365
+ echo 'LOG: /srv/update/log/pmm-update__2019-11-22T13:33:58.log'
LOG: /srv/update/log/pmm-update__2019-11-22T13:33:58.log
+ check_pid
++ basename /usr/bin/pmm-update
+ PID_FILE=/srv/update/pmm-update.pid
++ cat /srv/update/pmm-update.pid
+ PID=22256
+ '[' -n 22256 ']'
++ ps -o cmd= 22256
++ :
+ PID_CMD=
+ echo
+ grep /usr/bin/pmm-update
+ echo 4365
+ main
+ local RPM_ROOT=
+ yum -y --enablerepo=pmm clean all
Loaded plugins: fastestmirror, ovl
Cleaning repos: base epel extras percona-release-noarch percona-release-x86_64
: pmm updates
Cleaning up list of fastest mirrors
Other repos take up 88 k of disk space (use --verbose for details)
+ yum -y '--disablerepo=*' --enablerepo=pmm install pmm-update
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
Package pmm-update-1.17.2-1.1910171316.8b8609b.el7.noarch already installed and latest version
Nothing to do
+ EC=0
+ '[' x0 '!=' x0 ']'
+ exec /usr/bin/pmm-update-stage2
+ '[' -z '' ']'
+ UPDATE_DIR=/srv/update
+ main
+ local RPM_ROOT=
++ get_latest_version
++ local RPM_ROOT=
+++ grep '# v' /srv/update/main.yml
+++ awk -F. '{print $1}'
+++ awk '{ if ( $2 == "v1" ) print "v01" }'
++ CURRENT_MAIN_VERSION=v01
++ find /usr/share/pmm-update/ansible -mindepth 1 -maxdepth 1 -type d
++ sort
++ grep v01
++ tail -1
+ local PLAYBOOK=/usr/share/pmm-update/ansible/v011702/main.yml
+ ansible-playbook -vvv -i localhost, -c local /usr/share/pmm-update/ansible/v011702/main.yml
ansible-playbook 2.7.7
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
Using /etc/ansible/ansible.cfg as config file
Parsed localhost, inventory source with host_list plugin

PLAYBOOK: main.yml ************************************************** ***********
1 plays in /usr/share/pmm-update/ansible/v011702/main.yml

PLAY [all] ************************************************** *******************

TASK [Gathering Facts] ************************************************** *******
task path: /usr/share/pmm-update/ansible/v011702/main.yml:3
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1574429644.48-8525877104128 `" && echo ansible-tmp-1574429644.48-8525877104128="` echo /root/.ansible/tmp/ansible-tmp-1574429644.48-8525877104128 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py
<localhost> PUT /root/.ansible/tmp/ansible-local-4393M3W2xn/tmpYPodyz TO /root/.ansible/tmp/ansible-tmp-1574429644.48-8525877104128/AnsiballZ_setup.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1574429644.48-8525877104128/ /root/.ansible/tmp/ansible-tmp-1574429644.48-8525877104128/AnsiballZ_setup.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1574429644.48-8525877104128/AnsiballZ_setup.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1574429644.48-8525877104128/ > /dev/null 2>&1 && sleep 0'
The full traceback is:

Traceback (most recent call last):
File "/tmp/ansible_setup_payload_lBw1WC/ansible_setup_payload.zip/ansible/module_utils/basic.py", line 2848, in run_command
cmd = subprocess.Popen(args, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child
data = _eintr_retry_call(os.read, errpipe_read, 1048576)
File "/usr/lib64/python2.7/subprocess.py", line 478, in _eintr_retry_call
return func(*args)
File "/tmp/ansible_setup_payload_lBw1WC/ansible_setup_payload.zip/ansible/module_utils/facts/timeout.py", line 37, in _handle_timeout
raise TimeoutError(msg)
TimeoutError: Timer expired after 10 seconds
fatal: [localhost]: FAILED! => {
"changed": false,
"cmd": "/usr/sbin/udevadm info --query property --name /dev/mapper/vg_data-lv_data",
"invocation": {
"module_args": {
"fact_path": "/etc/ansible/facts.d",
"filter": "*",
"gather_subset": [
"all"
],
"gather_timeout": 10
}
},
"msg": "Timer expired after 10 seconds",
"rc": 257
}
to retry, use: --limit &#64;/usr/share/pmm-update/ansible/v011702/main.retry

PLAY RECAP ************************************************** *******************
localhost : ok=0 changed=0 unreachable=0 failed=1

Does anyone know what's going on ?

Thank you

Comments

Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.