发现node1上,cinder-backup备份目录/var/lib/cinder/backup/cc25579711b2c5b9989005239d0f15a5下面没有任何文件,df查看也没有相关磁盘信息。检查kolla日志,/var/lib/docker/volumes/kolla_logs/_data/cinder/cinder-backup.log:
2017-07-07 16:36:30.017 361 DEBUG oslo.privsep.daemon [req-a830cb92-c43c-4d36-84e9-85fc922639df 1a236a63e6864cf5a5b26d4b816f719b 406cd353135e44f0ade98f53d92d5d8b - default default] privsep: Except
ion during request[101881488]: Unexpected error while running command.
Command: mount -t nfs -o vers=4,minorversion=1 172.24.3.96:/wangyue_nfs_backup2 /var/lib/cinder/backup/cc25579711b2c5b9989005239d0f15a5
Exit code: 32
Stdout: u''
Stderr: u'mount.nfs: Protocol not supported\n' loop /var/lib/kolla/venv/lib/python2.7/site-packages/oslo_privsep/daemon.py:449
Traceback (most recent call last):
File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_privsep/daemon.py", line 445, in loop
reply = self._process_cmd(*msg)
File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_privsep/daemon.py", line 428, in _process_cmd
ret = func(*f_args, **f_kwargs)
File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_privsep/priv_context.py", line 207, in _wrap
return func(*args, **kwargs)
File "/var/lib/kolla/venv/lib/python2.7/site-packages/os_brick/privileged/rootwrap.py", line 82, in execute_root
return putils.execute(*cmd, shell=False, run_as_root=False, **kwargs)
File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 400, in execute
cmd=sanitized_cmd)
ProcessExecutionError: Unexpected error while running command.
关键字: Stderr: u'mount.nfs: Protocol not supported\n'
不支持NFS协议,看样子是NFS服务有什么问题,重启下看看?
(cinder-backup)[root@node1 /]# service nfs restart
Redirecting to /bin/systemctl restart nfs.service
正常了!