Public bug reported:

Our load balancer health checks (and other folks too) just load the main
glance URL and look for an http status of 300 to determine if glance is
okay. Starting I think in Kilo, glance changed and now logs a warning.
This is highly unnecessary and ends up generating gigs of useless logs
which make diagnosing real issues more difficult.

At the least this should be an INFO, but ideally there's no point in
logging this at all.

2015-08-04 17:42:43.058 24075 WARNING glance.api.middleware.version_negotiation 
[-] Unknown version. Returning version choices.
2015-08-04 17:42:43.577 24071 WARNING glance.api.middleware.version_negotiation 
[-] Unknown version. Returning version choices.
2015-08-04 17:42:45.083 24076 WARNING glance.api.middleware.version_negotiation 
[-] Unknown version. Returning version choices.
2015-08-04 17:42:45.317 24064 WARNING glance.api.middleware.version_negotiation 
[-] Unknown version. Returning version choices.
2015-08-04 17:42:47.092 24074 WARNING glance.api.middleware.version_negotiation 
[-] Unknown version. Returning version choices.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1496138

Title:
  logging a warning when someone accesses / seems unnecessary and
  wasteful

Status in Glance:
  New

Bug description:
  Our load balancer health checks (and other folks too) just load the
  main glance URL and look for an http status of 300 to determine if
  glance is okay. Starting I think in Kilo, glance changed and now logs
  a warning. This is highly unnecessary and ends up generating gigs of
  useless logs which make diagnosing real issues more difficult.

  At the least this should be an INFO, but ideally there's no point in
  logging this at all.

  2015-08-04 17:42:43.058 24075 WARNING 
glance.api.middleware.version_negotiation [-] Unknown version. Returning 
version choices.
  2015-08-04 17:42:43.577 24071 WARNING 
glance.api.middleware.version_negotiation [-] Unknown version. Returning 
version choices.
  2015-08-04 17:42:45.083 24076 WARNING 
glance.api.middleware.version_negotiation [-] Unknown version. Returning 
version choices.
  2015-08-04 17:42:45.317 24064 WARNING 
glance.api.middleware.version_negotiation [-] Unknown version. Returning 
version choices.
  2015-08-04 17:42:47.092 24074 WARNING 
glance.api.middleware.version_negotiation [-] Unknown version. Returning 
version choices.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1496138/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to