Skip to content

Failure in samples/scenario/create-check-and-delete-pod-with-local-persistent-volume.yaml  #45

@msidana

Description

@msidana

Scenario samples/scenario/create-check-and-delete-pod-with-local-persistent-volume.yaml fails with error persistentvolume-controller waiting for first consumer to be created before binding

The persistent volume gets created, but the claim fails.
Disk space is sufficient. Is there any pre-requisite needed for this on the cluster ?

root@oplind-19:~/xrally-kubernetes# kubectl describe persistentvolumeclaim --all-namespaces
Name:          rally-bae606e5-iufeyg2q
Namespace:     c-rally-bae606e5-zpvrf10e
StorageClass:  c-rally-bae606e5-17ulfb0n
Status:        Pending
Volume:        
Labels:        <none>
Annotations:   <none>
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:      
Access Modes:  
VolumeMode:    Filesystem
Mounted By:    rally-bae606e5-iufeyg2q
Events:
  Type    Reason                Age                From                         Message
  ----    ------                ----               ----                         -------
  Normal  WaitForFirstConsumer  14s (x2 over 20s)  persistentvolume-controller  waiting for first consumer to be created before binding
root@oplind-19:~/xrally-kubernetes#

Scenario Logs:

TimeoutException: Rally tired waiting 50.00 seconds for Pod rally-bae606e5-iufeyg2q:186e8a4e-3bc8-442c-8194-b6644d4b5455 to become Running current status Pending

Traceback (most recent call last):
  File "/root/rally-plugins/venv/local/lib/python2.7/site-packages/rally/task/runner.py", line 71, in _run_scenario_once
    getattr(scenario_inst, method_name)(**scenario_kwargs)
  File "/root/rally-plugins/venv/local/lib/python2.7/site-packages/rally_plugins/scenarios/kubernetes/volumes/local_persistent_volume.py", line 98, in run
    status_wait=status_wait
  File "/root/rally-plugins/venv/local/lib/python2.7/site-packages/rally_plugins/scenarios/kubernetes/volumes/base.py", line 45, in run
    status_wait=status_wait
  File "/root/rally-plugins/venv/local/lib/python2.7/site-packages/rally/task/service.py", line 116, in wrapper
    return func(instance, *args, **kwargs)
  File "/root/rally-plugins/venv/local/lib/python2.7/site-packages/rally/task/atomic.py", line 91, in func_atomic_actions
    f = func(self, *args, **kwargs)
  File "/root/rally-plugins/venv/local/lib/python2.7/site-packages/rally_plugins/services/kube/kube.py", line 436, in create_pod
    volume=volume)
  File "/root/rally-plugins/venv/local/lib/python2.7/site-packages/rally_plugins/services/kube/kube.py", line 73, in wait_for_status
    timeout=(retries_total * sleep_time))
TimeoutException: Rally tired waiting 50.00 seconds for Pod rally-bae606e5-iufeyg2q:186e8a4e-3bc8-442c-8194-b6644d4b5455 to become Running current status Pending

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions