Skip to content

Commit

Permalink
Merge pull request kubernetes#49717 from wwwtyro/rye/block-on-failed-…
Browse files Browse the repository at this point in the history
…services

Automatic merge from submit-queue (batch tested with PRs 49712, 49694, 49714, 49670, 49717)

set juju master charm state to blocked if the services appear to be failing

**What this PR does / why we need it**: set the juju master charm state to blocked if the services appear to be failing

**Release note**:
```release-note
set the juju master charm state to blocked if the services appear to be failing
```
  • Loading branch information
Kubernetes Submit Queue authored Jul 28, 2017
2 parents 97f74e8 + 809a0ab commit a9a9241
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def idle_status(kube_api, kube_control):
hookenv.status_set('active', 'Kubernetes master running.')
else:
msg = 'Stopped services: {}'.format(','.join(failing_services))
hookenv.status_set('waiting', msg)
hookenv.status_set('blocked', msg)


def master_services_down():
Expand Down

0 comments on commit a9a9241

Please sign in to comment.