Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to attach cinder volumes created from volume image or snapshot

Problem: We are not able to mount any cinder volumes which are not created new with out sourcing an image or source volume. If We do source a volume or image we are unable to attach them to an instance The cinder API seems to throw the following error.

    2015-07-20 10:33:18.291 16325 ERROR oslo.messaging._drivers.common [req-42eb46b1-51f4-46d8-8fe0-52e1eb4b493e 54ec776d99044bd6be27ebbc53458107 63436ca0d2b24921b60a7ac984db555a - - -] Returning exception Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: md5() argument 1 must be string or buffer, not None to caller

2015-07-20 10:33:18.291 16325 ERROR oslo.messaging._drivers.common [req-42eb46b1-51f4-46d8-8fe0-52e1eb4b493e 54ec776d99044bd6be27ebbc53458107 63436ca0d2b24921b60a7ac984db555a - - -] ['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 902, in initialize_connection\n    raise exception.VolumeBackendAPIException(data=err_msg)\n', 'VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: md5() argument 1 must be string or buffer, not None\n']

Currently running Juno on RDO with a glusterfs backend. Unsure how to resolve this. This was working on icehouse.

Also wondering if this is related to the following.

https://bugs.launchpad.net/cinder/+bug/1441050

I am unable to upgrade to liberty at this moment. Which looks like this bug refers to. Any help would be great

Unable to attach cinder volumes created from volume image or snapshot

Problem: We are not able to mount any cinder volumes which are not created new with out sourcing an image or source volume. If We do source a volume or image we are unable to attach them to an instance The cinder API seems to throw the following error.

    2015-07-20 10:33:18.291 16325 ERROR oslo.messaging._drivers.common [req-42eb46b1-51f4-46d8-8fe0-52e1eb4b493e 54ec776d99044bd6be27ebbc53458107 63436ca0d2b24921b60a7ac984db555a - - -] Returning exception Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: md5() argument 1 must be string or buffer, not None to caller

2015-07-20 10:33:18.291 16325 ERROR oslo.messaging._drivers.common [req-42eb46b1-51f4-46d8-8fe0-52e1eb4b493e 54ec776d99044bd6be27ebbc53458107 63436ca0d2b24921b60a7ac984db555a - - -] ['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 902, in initialize_connection\n    raise exception.VolumeBackendAPIException(data=err_msg)\n', 'VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: md5() argument 1 must be string or buffer, not None\n']

Currently running Juno on RDO with a glusterfs backend. Unsure how to resolve this. This was working on icehouse.

Also wondering if this is related to the following.

https://bugs.launchpad.net/cinder/+bug/1441050

I am unable to upgrade to liberty at this moment. Which looks like this bug refers to. Any help would be great

Provider location does not seem to be being set with the gluster drive after a fork of volume from a volume copy or image copy.

MariaDB [cinder]> SELECT provider_location FROM volumes WHERE provider_location IS NULL; +-------------------+ | provider_location | +-------------------+ | NULL | | NULL | | NULL | | NULL | | NULL | | NULL | | NULL | | NULL |

After updating the provider_location it then works. MariaDB [cinder]> SELECT provider_location FROM volumes; +---------------------+ | provider_location | +---------------------+ | gfs-primary:/cinder | | gfs-primary:/cinder | | gfs-primary:/cinder | | gfs-primary:/cinder | | gfs-primary:/cinder | | gfs-primary:/cinder | | gfs-primary:/cinder | | gfs-primary:/cinder | | gfs-primary:/cinder | | gfs-primary:/cinder |

Unable to attach cinder volumes created from volume image or snapshot

Problem: We are not able to mount any cinder volumes which are not created new with out sourcing an image or source volume. If We do source a volume or image we are unable to attach them to an instance The cinder API seems to throw the following error.

    2015-07-20 10:33:18.291 16325 ERROR oslo.messaging._drivers.common [req-42eb46b1-51f4-46d8-8fe0-52e1eb4b493e 54ec776d99044bd6be27ebbc53458107 63436ca0d2b24921b60a7ac984db555a - - -] Returning exception Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: md5() argument 1 must be string or buffer, not None to caller

2015-07-20 10:33:18.291 16325 ERROR oslo.messaging._drivers.common [req-42eb46b1-51f4-46d8-8fe0-52e1eb4b493e 54ec776d99044bd6be27ebbc53458107 63436ca0d2b24921b60a7ac984db555a - - -] ['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 902, in initialize_connection\n    raise exception.VolumeBackendAPIException(data=err_msg)\n', 'VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Unable to fetch connection information from backend: md5() argument 1 must be string or buffer, not None\n']

Currently running Juno on RDO with a glusterfs backend. Unsure how to resolve this. This was working on icehouse.

Also wondering if this is related to the following.

https://bugs.launchpad.net/cinder/+bug/1441050

I am unable to upgrade to liberty at this moment. Which looks like this bug refers to. Any help would be great

Provider location does not seem to be being set with the gluster drive after a fork of volume from a volume copy or image copy.

MariaDB [cinder]> SELECT provider_location FROM volumes WHERE provider_location IS NULL;
+-------------------+
| provider_location |
+-------------------+
| NULL              |
| NULL              |
| NULL              |
| NULL              |
| NULL              |
| NULL              |
| NULL              |
| NULL              |

|

After updating the provider_location it then works. MariaDB [cinder]> SELECT provider_location FROM volumes; volumes;

+---------------------+
| provider_location   |
+---------------------+
| gfs-primary:/cinder |
| gfs-primary:/cinder |
| gfs-primary:/cinder |
| gfs-primary:/cinder |
| gfs-primary:/cinder |
| gfs-primary:/cinder |
| gfs-primary:/cinder |
| gfs-primary:/cinder |
| gfs-primary:/cinder |
| gfs-primary:/cinder |

|