Install and configure a storage node in OpenStack Installation Guide for Red Hat Enterprise Linux 7, CentOS 7, and Fedora 20  - juno

Bug #1399921 reported by Raj Jadhav on 2014-12-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Undecided
Unassigned

Bug Description

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

Raj Jadhav (royjadhav) wrote :

It is necessary to install tgtd ot tgtadm service seperatly.

Tom Fifield (fifieldt) wrote :

This does not appear to be a security vulnerability. Marking Public.

information type: Private Security → Public
Download full text (3.7 KiB)

Hi
how to congifure the consistency group in juno cinder.
can u forward the steps.
On Dec 8, 2014 7:10 AM, "Tom Fifield" <email address hidden> wrote:

> This does not appear to be a security vulnerability. Marking Public.
>
> ** Information type changed from Private Security to Public
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1399921
>
> Title:
> Install and configure a storage node in OpenStack Installation Guide
> for Red Hat Enterprise Linux 7, CentOS 7, and Fedora 20 - juno
>
> Status in OpenStack Manuals:
> New
>
> Bug description:
> 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@vmde...

Read more...

Matt Kassawara (ionosphere80) wrote :

The RDO packages for Juno use lioadm (targetcli), not tgtadm.

Changed in openstack-manuals:
status: New → Incomplete
status: Incomplete → Invalid
Raj Jadhav (royjadhav) wrote :
Download full text (3.8 KiB)

Hi
How to configure the consistency group in cinder juno.
what changes needed in conf files.
On Dec 8, 2014 9:56 PM, "Matt Kassawara" <email address hidden> wrote:

> The RDO packages for Juno use lioadm (targetcli), not tgtadm.
>
> ** Changed in: openstack-manuals
> Status: New => Incomplete
>
> ** Changed in: openstack-manuals
> Status: Incomplete => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1399921
>
> Title:
> Install and configure a storage node in OpenStack Installation Guide
> for Red Hat Enterprise Linux 7, CentOS 7, and Fedora 20 - juno
>
> Status in OpenStack Manuals:
> Invalid
>
> Bug description:
> 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
>...

Read more...

Raj Jadhav (royjadhav) wrote :
Download full text (3.8 KiB)

If i want to use tgtadm is it possible to use it.
On Dec 8, 2014 9:56 PM, "Matt Kassawara" <email address hidden> wrote:

> The RDO packages for Juno use lioadm (targetcli), not tgtadm.
>
> ** Changed in: openstack-manuals
> Status: New => Incomplete
>
> ** Changed in: openstack-manuals
> Status: Incomplete => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1399921
>
> Title:
> Install and configure a storage node in OpenStack Installation Guide
> for Red Hat Enterprise Linux 7, CentOS 7, and Fedora 20 - juno
>
> Status in OpenStack Manuals:
> Invalid
>
> Bug description:
> 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 0...

Read more...

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

Other bug subscribers