Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

cluster-autoscaler: Unable to look up PVC info #2507

Closed
yawboateng opened this issue Mar 28, 2017 · 5 comments
Closed

cluster-autoscaler: Unable to look up PVC info #2507

yawboateng opened this issue Mar 28, 2017 · 5 comments

Comments

@yawboateng
Copy link

cluster-autoscaler works fine but im seeing multiple lines of this error in the logs:
E0328 18:14:57.140465 1 predicates.go:234] Unable to look up PVC info for logging/datadir-elasticsearch-data-ss-1, assuming PVC matches predicate when counting limits: persistentvolumeclaim "datadir-elasticsearch-data-ss-1" not found

I've confirmed the pvc datadir-elasticsearch-data-ss-1does exist in the logging namespace

@olvesh
Copy link

olvesh commented Apr 6, 2017

I also see the same, and when the autoscaler should have executed a scale up it didn't happen.
The pod that should have caused the scaling was also using a PVC, and the event on the pod listed:

FirstSeen	LastSeen	Count	From			SubObjectPath	Type		Reason			Message
  ---------	--------	-----	----			-------------	--------	------			-------
  27m		17m		55	{cluster-autoscaler }			Normal		NotTriggerScaleUp	pod didn't trigger scale-up (it wouldn't fit if a new node is added)
  17m		17m		1	{cluster-autoscaler }			Normal		NotTriggerScaleUp	pod didn't trigger scale-up (it wouldn't fit if a new node is added)
  16m		16m		1	{cluster-autoscaler }			Normal		TriggeredScaleUp	pod triggered scale-up, group: nodes.example.com, sizes (current/new): 2/3

Last line came after I swapped the 0.5.0 for the 0.4.0 of cluster-autoscaler.

Using Kops - if that has something to do with this.

@mwielgus
Copy link
Contributor

mwielgus commented Apr 6, 2017

Which version of K8S are you on?

@olvesh
Copy link

olvesh commented Apr 6, 2017

1.5.4

@yawboateng
Copy link
Author

and im on v1.5.3

@MaciekPytel MaciekPytel self-assigned this Apr 21, 2017
k8s-github-robot pushed a commit to kubernetes/kubernetes that referenced this issue Apr 25, 2017
Automatic merge from submit-queue (batch tested with PRs 40060, 44860, 44865, 44825, 44162)

Bump Cluster Autoscaler to 0.5.2

Fixes PVC issue in Cluster Autoscaler (kubernetes-retired/contrib#2507).

cc: @MaciekPytel @fgrzadkowski
@MaciekPytel
Copy link
Contributor

This has been fixed in cluster-autoscaler 0.5.2. Since CA image has now been released I'm closing the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants