Actions
Bug #12806
closednfs restart failures
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Testing
Target version:
-
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2015-08-23T02:57:36.291 INFO:teuthology.run_tasks:Running task knfsd... 2015-08-23T02:57:36.291 INFO:teuthology.task.knfsd:Exporting nfs server... 2015-08-23T02:57:36.292 DEBUG:teuthology.task.knfsd:Client client.0 config is {'options': ['rw', 'no_root_squash', 'async']} 2015-08-23T02:57:36.292 INFO:teuthology.task.knfsd:Exporting knfsd client.0 at ubuntu@plana64.front.sepia.ceph.com *:/home/ubuntu/cephtest/mnt.0 (rw,no_root_squash,async)... 2015-08-23T02:57:36.292 INFO:teuthology.orchestra.run.plana64:Running: 'sudo chmod 777 /home/ubuntu/cephtest/mnt.0' 2015-08-23T02:57:36.448 INFO:teuthology.orchestra.run.plana64:Running: 'sudo service nfs restart' 2015-08-23T02:57:36.631 INFO:teuthology.orchestra.run.plana64.stderr:Redirecting to /bin/systemctl restart nfs.service 2015-08-23T02:58:37.411 INFO:teuthology.orchestra.run.plana64.stderr:Job for nfs-server.service failed. See 'systemctl status nfs-server.service' and 'journalctl -xn' for details.
ubuntu@teuthology:~$ ssh plana64 Warning: Permanently added 'plana64,10.214.132.14' (ECDSA) to the list of known hosts. Last login: Thu Aug 27 08:47:58 2015 from teuthology.front.sepia.ceph.com [ubuntu@plana64 ~]$ systemctl status nfs-server.service nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled) Active: inactive (dead) [ubuntu@plana64 ~]$ journalctl -xn No journal files were found.
Updated by John Spray over 8 years ago
iirc starting the nfs service on el7 depends on rpcbind, nfs-lock already being up, so that might be what's missing here
Updated by Zheng Yan over 8 years ago
[root@plana64 ubuntu]# systemctl status nfs-server.service nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled) Active: failed (Result: exit-code) since Thu 2015-08-27 21:32:08 EDT; 10s ago Process: 13500 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE) Aug 27 21:32:08 plana64 systemd[1]: Starting NFS server and services... Aug 27 21:32:08 plana64 exportfs[13500]: exportfs: duplicated export entries: Aug 27 21:32:08 plana64 exportfs[13500]: exportfs: *:/export/client.0 Aug 27 21:32:08 plana64 exportfs[13500]: exportfs: *:/export/client.0 Aug 27 21:32:08 plana64 systemd[1]: nfs-server.service: control process exited, code=exited status=1 Aug 27 21:32:08 plana64 systemd[1]: Failed to start NFS server and services. Aug 27 21:32:08 plana64 systemd[1]: Unit nfs-server.service entered failed state.
'service nfs restart' works again after updating /etc/exports,
Updated by Greg Farnum over 8 years ago
- Status changed from Resolved to 12
Zheng, do we have any idea how the machines are getting into that duplicated export state? It looks pretty clear that something in the tests is doing it so we probably need to change them.
Updated by Zheng Yan over 8 years ago
looks like it's added by ceph-qa-suite/tasks/qemu.py.
Updated by Zheng Yan over 8 years ago
- Status changed from 12 to Fix Under Review
Actions