Skip to content

Admin.CreateCephFSExport fails on ceph main with ENOENT #858

@anoopcs9

Description

@anoopcs9
=== RUN   TestNFSAdmin/TestExportInfo
    export_test.go:152: 
        	Error Trace:	/go/src/github.com/ceph/go-ceph/common/admin/nfs/export_test.go:152
        	Error:      	Received unexpected error:
        	            	rados: ret=-2, No such file or directory: "error in stat: b'/march': No such file or directory [Errno 2]"
        	Test:       	TestNFSAdmin/TestExportInfo
=== RUN   TestNFSAdmin/TestExportSecType
    export_sectype_test.go:25: 
        	Error Trace:	/go/src/github.com/ceph/go-ceph/common/admin/nfs/export_sectype_test.go:25
        	Error:      	Received unexpected error:
        	            	rados: ret=-2, No such file or directory: "error in stat: b'/sept': No such file or directory [Errno 2]"
        	Test:       	TestNFSAdmin/TestExportSecType
=== RUN   TestNFSAdmin/TestListDetailedExports
    export_test.go:105: 
        	Error Trace:	/go/src/github.com/ceph/go-ceph/common/admin/nfs/export_test.go:105
        	Error:      	Received unexpected error:
        	            	rados: ret=-2, No such file or directory: "error in stat: b'/january': No such file or directory [Errno 2]"
        	Test:       	TestNFSAdmin/TestListDetailedExports
--- FAIL: TestNFSAdmin (12.03s)
    --- PASS: TestNFSAdmin/TestCreateDeleteCephFSExport (9.77s)
    --- FAIL: TestNFSAdmin/TestExportInfo (0.06s)
    --- FAIL: TestNFSAdmin/TestExportSecType (0.06s)
    --- FAIL: TestNFSAdmin/TestListDetailedExports (0.06s)

Note:
ceph/ceph@992c686 introduced a check to ensure that NFS export path is already existing in the file system.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions