Driver initilization is not successful for GPFSNFSDriver

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

Bug Description

when cinder node and GPFS node are different, os.path.isdir command fails as it tries to check the remote path on local cinder node

2015-08-14 04:45:57.026 25903 ERROR cinder.volume.drivers.ibm.gpfs [req-0f174eb4-6368-4910-9b5b-ea7c029f9dbb - - - - -] /john0/openstack/cinder/volumes/ is not a directory.
2015-08-14 04:45:57.027 25903 ERROR cinder.volume.manager [req-0f174eb4-6368-4910-9b5b-ea7c029f9dbb - - - - -] Failed to initialize driver.
2015-08-14 04:45:57.027 25903 ERROR cinder.volume.manager Traceback (most recent call last):
2015-08-14 04:45:57.027 25903 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 308, in init_host
2015-08-14 04:45:57.027 25903 ERROR cinder.volume.manager self.driver.check_for_setup_error()
2015-08-14 04:45:57.027 25903 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper
2015-08-14 04:45:57.027 25903 ERROR cinder.volume.manager return f(*args, **kwargs)
2015-08-14 04:45:57.027 25903 ERROR cinder.volume.manager File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/ibm/gpfs.py", line 427, in check_for_setup_error
2015-08-14 04:45:57.027 25903 ERROR cinder.volume.manager raise exception.VolumeBackendAPIException(data=msg)
2015-08-14 04:45:57.027 25903 ERROR cinder.volume.manager VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: /john0/openstack/cinder/volumes/ is not a directory.
2015-08-14 04:45:57.027 25903 ERROR cinder.volume.manager

 424 if not os.path.isdir(directory):
 425 msg = (_('%s is not a directory.') % directory)
 426 LOG.error(msg)
 427 raise exception.VolumeBackendAPIException(data=msg)

cinder --version
1.3.2

Tags: drivers gpfs
Changed in cinder:
assignee: nobody → Gaurang Tapase (gaurang-tapase)
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Owner Expired

Unassigning due to no activity.

Changed in cinder:
assignee: Gaurang Tapase (gaurang-tapase) → nobody
tags: added: drivers gpfs
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.