Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

We resolved this internally. Had to update the gluster.py cinder driver for Juno. This was not returning the correct results to the cinder manager to update the provider_location.

Below is what needed to be changed in the gluster.py

@@ -170,7 +170,7 @@
    @utils.synchronized('glusterfs', external=False)
    def create_cloned_volume(self, volume, src_vref):
        """Creates a clone of the specified volume."""
-        self._create_cloned_volume(volume, src_vref)
+        return self._create_cloned_volume(volume, src_vref)

    @utils.synchronized('glusterfs', external=False)
    def create_volume(self, volume):
@@ -188,7 +188,7 @@

    @utils.synchronized('glusterfs', external=False)
    def create_volume_from_snapshot(self, volume, snapshot):
-        self._create_volume_from_snapshot(volume, snapshot)
+        return self._create_volume_from_snapshot(volume, snapshot)

    def _copy_volume_from_snapshot(self, snapshot, volume, volume_size):
        """Copy data from snapshot to destination volume.