Git Product home page Git Product logo

Comments (6)

guillaumeger avatar guillaumeger commented on May 18, 2024 1

With version prod-1.19.1, it no longer panics. Thanks!

from opencost.

AjayTripathy avatar AjayTripathy commented on May 18, 2024

The Access Denied is expected if a key isn't supplied to read your spot data information, or the node you're running this on hasn't been provisioned with the correct permissions to look at s3 buckets.

The panic is not expected-- looking into this.

from opencost.

AjayTripathy avatar AjayTripathy commented on May 18, 2024

I just shipped #64 to hopefully stop the panics and come up with some sensible logs. If possible could you upgrade?

In the meantime, I know we have issues where default storageclass isn't set. Mind checking the storageclass on your PV's?

kubectl get storageclass

should return something like

gp2 (default) kubernetes.io/aws-ebs 12d
If no (default) gets returned, that would be helpful information.

from opencost.

guillaumeger avatar guillaumeger commented on May 18, 2024

Thanks for the quick response!
Using version prod-1.18.3, I still have the same panic.

kubectl get storageclass:
NAME            PROVISIONER             AGE
default         kubernetes.io/aws-ebs   1y
gp2 (default)   kubernetes.io/aws-ebs   1y

We do have some pv/pvc where we specify an empty storageclass to avoid auto-provisioning of EBS volumes. I don't know if that can be a problem.

from opencost.

AjayTripathy avatar AjayTripathy commented on May 18, 2024

Hi @guillaumeger , two things:

  • Looks like master with the defensive programming upgrades (#64) to not panic in this situation did not make it to 1.18.3 . We'll put it in tonight's release.

  • Yes, empty storageclass in the PVClaim was the issue. We will need to better support auto-provisioned EBS (#69) For now, though, #68 contains a workaround to allow you to use the cost-model minus support for manually provisioned PVs. I will update this bug when #68 makes it into production.

from opencost.

AjayTripathy avatar AjayTripathy commented on May 18, 2024

#68 is in production and I've filed #69 to track the root cause, so closing for now. Let me know if I can help in any other way.

from opencost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.