Git Product home page Git Product logo

Comments (2)

sed-i avatar sed-i commented on August 28, 2024

I couldn't reproduce this with or without --trust.
Is there any additional context to this?
I.e. did you encounter this as soon as deployed the bundle?

from cos-lite-bundle.

sed-i avatar sed-i commented on August 28, 2024

Looking at the log the OP included,

  • After Emitting Juju event get_admin_password_action, we have status-set, which I assume belong to self._stored.k8s_service_patched = True and perhaps self._get_admin_password(), which will in fact also set a password if it's missing.
  • Then we have
    • Starting new HTTP connection (1): localhost:3000
    • http://localhost:3000 "GET /api/health HTTP/1.1" 200 0
    • http://localhost:3000 "GET //api/org HTTP/1.1" 401 0
  • The extra / doesn't matter, but we get a 401 Unauthorized, which is exactly what you expect when the user:pass we use are wrong.
  • I'm assuming the state-set and state-delete after the 401 belong to event handling e.g. drop_snapshot.

What I'm gathering from this is that at the time the get_admin_password action was run, grafana server was up and the admin password either didn't exist in stored state, or was outdated.

Addressing this in canonical/grafana-k8s-operator#236.

from cos-lite-bundle.

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.