[heketi-devel] Strange behaviour with Kubernetes StatefulSet and dynamic provisioning

Luis Pabon lpabon at chrysalix.org
Fri Aug 18 06:25:35 UTC 2017


That is strange. I wonder if the volume creation was successful. Can show
attach the logs for Heketi?

- Luis

On Thu, Aug 17, 2017 at 8:31 AM, Christopher Schmidt <fakod666 at gmail.com>
wrote:

>
> Hi all,
>
> I've just tried Prometheus on Kubernetes, using
> - CoreOS Prometheus Operator (0.10.2)
> - K8s 1.6.8
> - GlusterFS 3.10.4 (disabled all performance translators)
> - Heketi 5
>
> The Operator created a StatefulSet with a VolumeClaimTemplate
> prometheus-prometheus-db-prometheus-prometheus-0
> As you can see below, the claim has issues creating volumes.
> But actually, the volumes are created. LoggedIn in my GlusterFS Container
> I can see f.e. vol_9903142828b2954544430d0f9dd385bf but not in Heketi
>
> Any idea how this can happen?
>
> best Christopher
>
>
>
>
> > kubectl -n metrics describe pvc prometheus-prometheus-db-
> prometheus-prometheus-0
> Name: prometheus-prometheus-db-prometheus-prometheus-0
> Namespace: metrics
> StorageClass: distributed
> Status: Pending
> Volume:
> Labels: app=prometheus
> prometheus=prometheus
> Annotations: volume.beta.kubernetes.io/storage-class=distributed
> volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/glusterfs
> Capacity:
> Access Modes:
> Events:
>   FirstSeen LastSeen Count From SubObjectPath Type Reason Message
>   --------- -------- ----- ---- ------------- -------- ------ -------
>   39s 39s 1 persistentvolume-controller Warning ProvisioningFailed Failed
> to provision volume with StorageClass "distributed": glusterfs: create
> volume err: error creating volume Unable to execute command on
> glusterfs-vl1tl: volume start: vol_9903142828b2954544430d0f9dd385bf:
> failed: Another transaction is in progress Please try again after sometime..
>   28s 28s 1 persistentvolume-controller Warning ProvisioningFailed Failed
> to provision volume with StorageClass "distributed": glusterfs: create
> volume err: failed to create endpoint/service <nil>.
>   15s 15s 1 persistentvolume-controller Warning ProvisioningFailed Failed
> to provision volume with StorageClass "distributed": glusterfs: create
> volume err: error creating volume Unable to execute command on
> glusterfs-vl1tl: volume start: vol_f4e20daae202e6190085fd4bbbe837bb:
> failed: Another transaction is in progress Please try again after sometime..
>   0s 0s 1 persistentvolume-controller Warning ProvisioningFailed Failed
> to provision volume with StorageClass "distributed": glusterfs: create
> volume err: error creating volume Unable to execute command on
> glusterfs-4sl4b: volume start: vol_8c913f988caa2328f57cc37e164d7d80:
> failed: Another transaction is in progress Please try again after sometime..
>
> _______________________________________________
> heketi-devel mailing list
> heketi-devel at gluster.org
> http://lists.gluster.org/mailman/listinfo/heketi-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/heketi-devel/attachments/20170818/8f332ec4/attachment-0001.html>


More information about the heketi-devel mailing list