Coder Social home page Coder Social logo

Comments (6)

sdelano avatar sdelano commented on May 28, 2024

@jmink - We're triaging tickets now. Do you have any more context from this conversation that you can provide here?

from chef-server.

jmink avatar jmink commented on May 28, 2024

This came out of a brief conversation with Phil from Facebook. Basically he doesn't know how to read erlang stack traces and would prefer some error message that's a bit more focused on what the user can do to fix things.

from chef-server.

MathildeBarr avatar MathildeBarr commented on May 28, 2024

Hey @sdelano @jmink -- @mauriciosilva and I are on-site at Facebook, this is still an issue. This could be a CE project that @mauriciosilva can help out on.

from chef-server.

jaymzh avatar jaymzh commented on May 28, 2024

@seth once said of this (roughly) "We totally need to do that - it would save everyone from customers to CSE countless hours. It's easy to do in a way we can re-use across all our erlang daemons"
@jmink echoed the clear wins here.

Filing tickets with a stacktrace because a config file doesn't have the right password in it, waiting for a CSE person to decode and explain possible things and then fixing the config file is a ginormous waste of time and energy. "Authentication to Postgresql failed" means no ticket, no waste of CSE times, no waste of customer's time, and a far, far better customer experience. You chose to use erland for the clear performance and testability wins - and that's awesome. But all languages have pros and cons, and the cost of using erland is there are no sane error messages, so you get to do that yourself.

Versions of this bug keep getting closed. It's incredibly frustrating, please stop. This is a clear win for everyone involved. Multiple engineers agree. Please figure out when to schedule it on a sprint (or your nearest internal equivalent).

from chef-server.

adamedx avatar adamedx commented on May 28, 2024

@seth, @sdelano, is there already thinking on how this can be done, e.g. a list of common cases where we can do something better than a stack trace?

from chef-server.

adamedx avatar adamedx commented on May 28, 2024

I'll take a first stab after getting some feedback from Phil / CSE:

  • Our component data flow can guide the most common cases, i.e. failure to connect to services / resources such as databases, bifrost, bookshelf, solr, rabbit, etc.
  • Such connection failures can be classified around authentication, authorization, general availability (resource does not exist), or worst case some "other" failure type.
  • The message should include a human meaningful name of the resource, e.g. a hostname, postgres connection string, etc.
  • Where possible, such errors should suggest corrective actions or diagnoses for the operator, e.g. ensuring a certificate is valid and verifiable, ensuring the database is reachable through some command line tool, etc.

I have more specifics in some notes. The goal here would be to let operators know information that will let them fix things quickly, and avoid the need for outside help.

from chef-server.

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.