WARNING [cinder.volume.drivers.nfs] Exception during mounting Unexpected error while running command

Bug #1180643 reported by fuqiang89
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

I am using the NFS drive, but cinder can't normal use,

 volume.log:

2013-05-16 11:15:06 INFO [cinder.volume.manager] Updating volume status
2013-05-16 11:15:06 WARNING [cinder.volume.drivers.nfs] Exception during mounting Unexpected error while running command.
Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf stat /var/lib/cinder/06211365ce54358570d345c6bd6028c9
Exit code: 1
Stdout: ''
Stderr: '/usr/bin/stat: \xe6\x97\xa0\xe6\xb3\x95\xe8\x8e\xb7\xe5\x8f\x96"/var/lib/cinder/06211365ce54358570d345c6bd6028c9" \xe7\x9a\x84\xe6\x96\x87\xe4\xbb\xb6\xe7\x8a\xb6\xe6\x80\x81(stat): \xe6\xb2\xa1\xe6\x9c\x89\xe9\x82\xa3\xe4\xb8\xaa\xe6\x96\x87\xe4\xbb\xb6\xe6\x88\x96\xe7\x9b\xae\xe5\xbd\x95\n'
2013-05-16 11:16:06 INFO [cinder.volume.manager] Updating volume status
2013-05-16 11:16:06 WARNING [cinder.volume.drivers.nfs] Exception during mounting Unexpected error while running command.
Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf stat /var/lib/cinder/06211365ce54358570d345c6bd6028c9
Exit code: 1
Stdout: ''
Stderr: '/usr/bin/stat: \xe6\x97\xa0\xe6\xb3\x95\xe8\x8e\xb7\xe5\x8f\x96"/var/lib/cinder/06211365ce54358570d345c6bd6028c9" \xe7\x9a\x84\xe6\x96\x87\xe4\xbb\xb6\xe7\x8a\xb6\xe6\x80\x81(stat): \xe6\xb2\xa1\xe6\x9c\x89\xe9\x82\xa3\xe4\xb8\xaa\xe6\x96\x87\xe4\xbb\xb6\xe6\x88\x96\xe7\x9b\xae\xe5\xbd\x95\n'
#######################################################################################
cinder.conf
[DEFAULT]
logdir = /var/log/cinder
state_path = /var/lib/cinder
lock_path = /var/lib/cinder/tmp
volumes_dir = /etc/cinder/volumes
#iscsi_helper = tgtadm
api_paste_confg = /etc/cinder/api-paste.ini
#volume_name_template = volume-%s
rpc_backend = cinder.openstack.common.rpc.impl_qpid
rootwrap_config = /etc/cinder/rootwrap.conf
#volume_group = cinder-volumes
verbose = True
auth_strategy = keystone

#volume_driver=cinder.volume.nfs.NfsDriver
sql_connection = mysql://cinder:b6567814ba244901@192.168.100.130/cinder
qpid_hostname=192.168.100.130
#########
volume_driver=cinder.volume.drivers.nfs.NfsDriver
nfs_shares_config=/etc/cinder/shares.conf
nfs_mount_point_base=/var/lib/cinder

[keystone_authtoken]
admin_tenant_name = services
admin_user = cinder
admin_password = 2caae4eb0acf4d64
auth_host = 192.168.100.130
auth_port = 35357
auth_protocol = http
signing_dirname = /tmp/keystone-signing-cinder
service_protocol=http
service_host=192.168.100.130
service_port=5000
##############
/etc/cinder/share.conf

192.168.100.250:/mnt/cinder/cinder/cinder
####################################
Who can help me?

Revision history for this message
Anton Frolov (anton0) wrote :

'/usr/bin/stat: \xe6\x97\xa0\xe6\xb3\x95\xe8\x8e\xb7\xe5\x8f\x96"/var/lib/cinder/06211365ce54358570d345c6bd6028c9" \xe7\x9a\x84\xe6\x96\x87\xe4\xbb\xb6\xe7\x8a\xb6\xe6\x80\x81(stat): \xe6\xb2\xa1\xe6\x9c\x89\xe9\x82\xa3\xe4\xb8\xaa\xe6\x96\x87\xe4\xbb\xb6\xe6\x88\x96\xe7\x9b\xae\xe5\xbd\x95\n' tell that /var/lib/cinder/06211365ce54358570d345c6bd6028c9 don't exist (in chineese). This is probably fixed in master: https://github.com/openstack/cinder/commit/51218b2b32edbc79e89195d58b7b7e330a6d1486#L3L312 (bug #1172777)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.