Project

General

Profile

Bug #12806

nfs restart failures

Added by Greg Farnum almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Testing
Target version:
-
Start date:
08/27/2015
Due date:
% 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:

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.

Associated revisions

Revision 7de534c1 (diff)
Added by Yan, Zheng almost 4 years ago

tasks/qemu: avoid adding duplicated entries to /etc/exports

try deleting leftover entries for previous job

Fixes: #12806
Signed-off-by: Yan, Zheng <>

History

#1 Updated by John Spray almost 4 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

#2 Updated by Zheng Yan almost 4 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,

#3 Updated by Zheng Yan almost 4 years ago

  • Status changed from New to Resolved

#4 Updated by Greg Farnum almost 4 years ago

  • Status changed from Resolved to Verified

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.

#5 Updated by Zheng Yan almost 4 years ago

looks like it's added by ceph-qa-suite/tasks/qemu.py.

#6 Updated by Zheng Yan almost 4 years ago

  • Status changed from Verified to Need Review

#7 Updated by Zheng Yan almost 4 years ago

  • Status changed from Need Review to Testing

#8 Updated by Zheng Yan almost 4 years ago

  • Status changed from Testing to Resolved

Also available in: Atom PDF