Description of problem:
PVC should update the event after resizing finish successfully
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create pvc, pod.
2.Resizing pvc spec.resources.requests.storage from 1Gi to 2Gi
4.After pv is resized from 1Gi to 2Gi, Create pod again
5.Check pvc status
oc describe pvc pvc4
Annotations: pv.kubernetes.io/bind-completed: yes
Access Modes: RWO
Type Reason Age From Message
---- ------ ---- ---- -------
Normal WaitForFirstConsumer 17m (x4 over 17m) persistentvolume-controller waiting for first consumer to be created before binding
Normal ProvisioningSucceeded 17m persistentvolume-controller Successfully provisioned volume pvc-9495ca78-c56e-11e9-9e50-fa163e923999 using kubernetes.io/cinder
Warning VolumeResizeFailed 16m volume_expand error expanding volume "storage/pvc4" of plugin "kubernetes.io/cinder": volume status is not available
Mounted By: pod4
No Resizing successfully event
Should add Resizing successfully event
It is passed on 4.2.0-0.nightly-2019-09-02-172410
Warning VolumeResizeFailed 45s (x2 over 7m22s) volume_expand error expanding volume "default/pvc5" of plugin "kubernetes.io/cinder": volume in in-use status can not be expanded, it must be available and not attached to a node
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.