Git Product home page Git Product logo

Comments (10)

marklcg avatar marklcg commented on May 26, 2024 1

We were able to validate that the latest master does work.

from openstack-exporter.

niedbalski avatar niedbalski commented on May 26, 2024

@marklcg

Hello mark,

Thanks for your report. What's the problem/bug/error you are seeing due to this?

from openstack-exporter.

marklcg avatar marklcg commented on May 26, 2024

Certificate trust issues in our case. We can work around it by adding the certs to /etc/ssl in our container. So we do have a work around.

EDIT: I should add that I understand that disabling verification is really the work around and adding the cert is the correct thing to do. That said, it is nice to have the configuration option and probably should be consistent with the other exporter code.

from openstack-exporter.

niedbalski avatar niedbalski commented on May 26, 2024

@marklcg
The TLSConfig is defined before the cinder exporter gets instantiated, Do you have any traceback/debug logs to see the specific error you are seeing?

from openstack-exporter.

marklcg avatar marklcg commented on May 26, 2024

Sure, we were seeing this error even with our cloud auth.verify set to false. It ignores the cert for all the other metrics, just not cinder:

time="2019-07-19T17:09:07Z" level=error msg="Get https://xx.xx.xx.xx:13776/v3/51285243fc0241e9ab74efb20a0736b2/volumes?all_tenants=1: Get https://xx.xx.xx.xx:13776/v3/51285243fc0241e9ab74efb20a0736b2/volumes?all_tenants=1: x509: certificate signed by unknown authority" source="cinder.go:92"

from openstack-exporter.

niedbalski avatar niedbalski commented on May 26, 2024

@marklcg

Thank you for the detailed report. Could you please test the latest image from [0] master and report on this bug?, this commit [1] should pass the tls configuration to the cinder client as it's done with the other service exporters.

[0] quay.io/niedbalski/openstack-exporter-linux-amd64:master
[1] 6c96a2f

from openstack-exporter.

niedbalski avatar niedbalski commented on May 26, 2024

@marklcg

I've tested it with verify false and a set of self-signed certificates, all seems to work. I am waiting on your confirmation to release 0.2.0

Thank you

from openstack-exporter.

marklcg avatar marklcg commented on May 26, 2024

Sorry for slow response, I'll see if we can grab the latest to confirm, but I suspect you are correct--we were using an old version. I'm OK with closing this for now and if we see it with the latest when we get to it, re-opening. Sound OK?

from openstack-exporter.

niedbalski avatar niedbalski commented on May 26, 2024

@marklcg

I think is a valid bug, can you check the latest master image to see if the problem is still reproducible?

Thanks

from openstack-exporter.

niedbalski avatar niedbalski commented on May 26, 2024

Thanks, marking this as fixed.

from openstack-exporter.

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.