Issue #18302 has been updated by eric sorenson.

Tracker changed from Bug to Feature
Subject changed from Response from  /production/status/no_key does not change 
with ENC failure. to '/production/status/any_string' REST path is not a 
reliable indicator of master's status
Status changed from Unreviewed to Needs Decision
Assignee set to eric sorenson
Keywords set to backlog

Hi Gerard, thanks for the bug report. Looking at the code in 
`lib/puppet/status.rb`, this REST path does not actually do any introspection 
of the master's state.

The [documentation for this 
endpoint](http://docs.puppetlabs.com/guides/rest_api.html#status) says 
cryptically "Just used for testing" so I don't think there's an "API promise" 
that this was a reliable indicator for health checks. 

That said, I agree that it _should be_ would like to see us provide better 
introspection around the master's current state. I've updated the bug's 
description to reflect what I think you're really asking for and added it to 
our backlog. Please feel free to update this with more detail about your 
use-case and desired implementation.
----------------------------------------
Feature #18302: '/production/status/any_string' REST path is not a reliable 
indicator of master's status
https://projects.puppetlabs.com/issues/18302#change-80083

Author: Gerard Hickey
Status: Needs Decision
Priority: Normal
Assignee: eric sorenson
Category: 
Target version: 
Affected Puppet version: 3.0.1
Keywords: backlog
Branch: 


When the ENC stops responding to requests, the puppet master continues to 
respond to /production/status/no_key with the string "is_alive". As a result 
the puppet master can not be automatically marked down in a load balancer when 
it starts handing out bad data. 


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to