Back to bug 1386617

Who When What Removed Added
Harish NV Rao 2016-10-19 10:45:31 UTC Target Release 3 2
CC hnallurv
Red Hat Bugzilla Rules Engine 2016-10-19 10:45:37 UTC Target Release 2 3
Paul Cuzner 2016-10-19 21:42:27 UTC Assignee shan pcuzner
Status NEW ASSIGNED
Paul Cuzner 2016-10-21 05:38:51 UTC Status ASSIGNED MODIFIED
Ken Dreyer (Red Hat) 2016-10-21 17:42:14 UTC Fixed In Version ceph-iscsi-ansible-1.3-1.el7scon cephh-iscsi-config-1.3-1.el7cp
Ken Dreyer (Red Hat) 2016-10-21 17:46:18 UTC Fixed In Version ceph-iscsi-ansible-1.3-1.el7scon cephh-iscsi-config-1.3-1.el7cp ceph-iscsi-ansible-1.3-1.el7scon ceph-iscsi-config-1.3-1.el7cp
Paul Cuzner 2016-10-25 00:26:01 UTC Status MODIFIED ON_QA
Ken Dreyer (Red Hat) 2016-10-25 02:54:52 UTC Target Release 3 2
CC kdreyer
Paul Cuzner 2016-11-02 04:42:44 UTC Status ON_QA POST
Ken Dreyer (Red Hat) 2016-11-02 13:04:08 UTC Target Release 2 3
Mike Christie 2016-11-04 04:32:52 UTC CC mchristi
Component ceph-ansible documentation
Assignee pcuzner asriram
Doc Text Cause:

The device-mapper-multipath rbd path checker only supports the default cluster name, ceph.

Consequence:

iSCSI gateway setup will fail during LUN creation due to the device-multipath-mapper-multipath failure during initialization.

The "ansible-playbook ceph-iscsi-gw.yml" command will fail with the error, "Could not find dm multipath device for <image_name>."

Workaround (if any):

In ceph-iscsi-gw, cluster_name must be set to ceph, and gateway_keyring must be set to ceph.client.admin.keyring.

On the "seed_monitor" host (as defined in your ceph-iscsi-gw Ansible configuration file), make a symlink from "/etc/ceph/<your cluster name>.conf" to "/etc/ceph/ceph.conf" and also from "/etc/ceph/<your cluster name>.client.admin.keyring" to "/etc/ceph/ceph.client.admin.keyring".

Result:

The device-mapper-multipath rbd path checker will be able to connect to clusters not using the default ceph naming, and the ansible-playbook command will succeed during gateway setup.
QA Contact ceph-qe-bugs sds-qe-bugs
Doc Type If docs needed, set a value Known Issue
Mike Christie 2016-11-04 04:44:56 UTC Target Release 3 2
Mike Christie 2016-11-04 17:39:24 UTC Assignee asriram ceph-docs
QA Contact sds-qe-bugs ceph-qe-bugs
Bara Ancincova 2016-11-07 10:18:34 UTC CC agunn
Depends On 1383917
Docs Contact bancinco
Doc Text Cause:

The device-mapper-multipath rbd path checker only supports the default cluster name, ceph.

Consequence:

iSCSI gateway setup will fail during LUN creation due to the device-multipath-mapper-multipath failure during initialization.

The "ansible-playbook ceph-iscsi-gw.yml" command will fail with the error, "Could not find dm multipath device for <image_name>."

Workaround (if any):

In ceph-iscsi-gw, cluster_name must be set to ceph, and gateway_keyring must be set to ceph.client.admin.keyring.

On the "seed_monitor" host (as defined in your ceph-iscsi-gw Ansible configuration file), make a symlink from "/etc/ceph/<your cluster name>.conf" to "/etc/ceph/ceph.conf" and also from "/etc/ceph/<your cluster name>.client.admin.keyring" to "/etc/ceph/ceph.client.admin.keyring".

Result:

The device-mapper-multipath rbd path checker will be able to connect to clusters not using the default ceph naming, and the ansible-playbook command will succeed during gateway setup.
.iSCSI gateway setup fails if the cluster name if different than "ceph"

The `device-mapper-multipath rbd` path checker only supports the default cluster name, which is "ceph". As a consequence, an attempt to set up an iSCSI gateway fails during Logical Unit Number (LUN) creation if the cluster name is different than "ceph". In addition, the `ansible-playbook ceph-iscsi-gw.yml` command returns the following error:

----
Could not find dm multipath device for <image_name>.
----

To work around this problem:

. In the `ceph-iscsi-gw` Ansible configuration file:

.. Set the `cluster_name` variable to `ceph`.
.. Set the `gateway_keyring` variable to `ceph.client.admin.keyring`.

. On the `seed_monitor` host, create the following symbolic links:

* from `/etc/ceph/<your_cluster_name>.conf` to `/etc/ceph/ceph.conf`
+
----
ln -s /etc/ceph/<your_cluster_name>.conf /etc/ceph/ceph.conf
----

* from `/etc/ceph/<your_cluster_name>.client.admin.keyring` to `/etc/ceph/ceph.client.admin.keyring`
+
----
ln -s /etc/ceph/<your_cluster_name>.client.admin.keyring \
/etc/ceph/ceph.client.admin.keyring
----
Flags needinfo?(agunn) needinfo?(mchristi)
Mike Christie 2016-11-07 17:37:48 UTC Flags needinfo?(agunn) needinfo?(mchristi)
Bara Ancincova 2016-11-11 10:22:54 UTC Blocks 1383917
Depends On 1383917
Bara Ancincova 2016-11-14 10:24:30 UTC Blocks 1383917
Assignee ceph-docs asriram
Bara Ancincova 2016-11-14 10:28:51 UTC Assignee asriram ceph-docs
Bara Ancincova 2016-11-16 09:44:22 UTC Doc Text .iSCSI gateway setup fails if the cluster name if different than "ceph"

The `device-mapper-multipath rbd` path checker only supports the default cluster name, which is "ceph". As a consequence, an attempt to set up an iSCSI gateway fails during Logical Unit Number (LUN) creation if the cluster name is different than "ceph". In addition, the `ansible-playbook ceph-iscsi-gw.yml` command returns the following error:

----
Could not find dm multipath device for <image_name>.
----

To work around this problem:

. In the `ceph-iscsi-gw` Ansible configuration file:

.. Set the `cluster_name` variable to `ceph`.
.. Set the `gateway_keyring` variable to `ceph.client.admin.keyring`.

. On the `seed_monitor` host, create the following symbolic links:

* from `/etc/ceph/<your_cluster_name>.conf` to `/etc/ceph/ceph.conf`
+
----
ln -s /etc/ceph/<your_cluster_name>.conf /etc/ceph/ceph.conf
----

* from `/etc/ceph/<your_cluster_name>.client.admin.keyring` to `/etc/ceph/ceph.client.admin.keyring`
+
----
ln -s /etc/ceph/<your_cluster_name>.client.admin.keyring \
/etc/ceph/ceph.client.admin.keyring
----
.iSCSI gateway setup fails if the cluster name is different than "ceph"

The `device-mapper-multipath rbd` path checker currently only supports the default cluster name, which is "ceph". As a consequence, an attempt to set up an iSCSI gateway fails during Logical Unit Number (LUN) creation if the cluster name is different than "ceph". In addition, the `ansible-playbook ceph-iscsi-gw.yml` command returns the following error:

----
Could not find dm multipath device for <image_name>.
----

To work around this problem:

. In the `ceph-iscsi-gw` Ansible configuration file:

.. Set the `cluster_name` variable to `ceph`.
.. Set the `gateway_keyring` variable to `ceph.client.admin.keyring`.

. On the `seed_monitor` host, create the following symbolic links:

* from `/etc/ceph/<your_cluster_name>.conf` to `/etc/ceph/ceph.conf`
+
----
ln -s /etc/ceph/<your_cluster_name>.conf /etc/ceph/ceph.conf
----

* from `/etc/ceph/<your_cluster_name>.client.admin.keyring` to `/etc/ceph/ceph.client.admin.keyring`
+
----
ln -s /etc/ceph/<your_cluster_name>.client.admin.keyring \
/etc/ceph/ceph.client.admin.keyring
----
Shubhendu Tripathi 2018-11-19 05:44:11 UTC Status POST CLOSED
Resolution --- WONTFIX
Last Closed 2018-11-19 00:44:11 UTC
Shubhendu Tripathi 2018-11-19 05:44:30 UTC Last Closed 2018-11-19 00:44:11 UTC
Resolution WONTFIX EOL

Back to bug 1386617