Hi,
2014-12-06 17:37:09.141 13396 ERROR oslo.messaging._drivers.common [req-bc694f6e-6533-4ecc-9038-e5e2d73af7c0 95dfdfbd15aa489aa3d3d45d439c0964 2a218810f4fe469294c8c07bc457c4f7 - - -] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper\n return f(*args, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 880, in initialize_connection\n volume)\n', ' File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper\n return f(*args, **kwargs)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py", line 547, in create_export\n return self._create_export(context, volume)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py", line 559, in _create_export\n self.configuration)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/iscsi.py", line 57, in create_export\n conf.iscsi_write_cache)\n', ' File "/usr/lib/python2.7/site-packages/cinder/brick/iscsi/iscsi.py", line 185, in create_iscsi_target\n f = open(volume_path, \'w+\')\n', "IOError: [Errno 13] Permission denied: u'/var/lib/cinder/volumes/volume-ece4cb6f-b433-4437-b96a-7296a3d278b5'\n"]
I have installed on cinder storage node using command:
yum install openstack-cinder targetcli python-oslo-db MySQL-python
note :
it is necessary to install tgtd ot tgtadm service seperatly from above command.
I am using normal linux lvm services for volume creation and deletion.
and iscsi_helper as tgtadm.
I am seeing this issue.
And the contents of cinder/volumes is nothing as follows.
[root@vmdell900-4-vm1 ~]# ls /var/lib/cinder/volumes/
[root@vmdell900-4-vm1 ~]#
And tgtd not showing any ouput for ps -ef.
[root@vmdell900-4-vm1 ~]# ps -ef |grep tgtd
root 13869 10628 0 17:44 pts/1 00:00:00 grep --color=auto tgtd
[root@vmdell900-4-vm1 ~]#
=======================================================
-----------------------------------
Built: 2014-12-05T20:33:37 00:00
git SHA: f0f0a3f7a8618fdfa0cc0a4a7a746833b4621565
URL: http://docs.openstack.org/juno/install-guide/install/yum/content/cinder-install-storage-node.html
source File: file:/home/jenkins/workspace/openstack-manuals-tox-doc-publishdocs/doc/install-guide/section_cinder-storage-node.xml
xml:id: cinder-install-storage-node
It is necessary to install tgtd ot tgtadm service seperatly.