discovery server should allow new publisher in down state

Bug #1475924 reported by Deepinder Setia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Undecided
Deepinder Setia
Trunk
Fix Committed
Undecided
Deepinder Setia

Bug Description

Some applications need to set SERVICE DOWN while publishing. This is generally because application may have many gating factors that all need to open before declaring service to be up. Currently discovery server immediately declares the service up when published and starts to assign to clients.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/12475
Submitter: Deepinder Setia (<email address hidden>)

Revision history for this message
Foucault de Bonneval (foucaultdebonneval) wrote :

Hi Deepinder,

About this comportement there is a very interesting behavior in Ceph about the OSD status.

As described in [0], OSD can have 2 parameter with two status each :
 - in / out
 - up / down

Adding in / out states in addition to up / down could be a way to make the difference between a up and not-ready component that gets ready after a sync period.

Enabling an administrative in / out state could also make operations easier to for "draining" of a component we would like to put in maintenance mode for example.

What do you think ?

Foucault

[0] : http://ceph.com/docs/master/rados/operations/monitoring-osd-pg/

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/12601
Submitter: Deepinder Setia (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/12601
Committed: http://github.org/Juniper/contrail-controller/commit/66d50b02a29b328d237eff89caf4a4e0fc040baa
Submitter: Zuul
Branch: R2.20

commit 66d50b02a29b328d237eff89caf4a4e0fc040baa
Author: Deepinder Setia <email address hidden>
Date: Thu Jul 23 20:24:37 2015 -0700

Bug: 1475924 - Accept admin state in publish request

Change-Id: I7389a6abac64f3cbeb3887ceed4d69d82a965ee9

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/12834
Submitter: Deepinder Setia (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/13011
Submitter: Nipa Kumar (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/12834
Committed: http://github.org/Juniper/contrail-controller/commit/dce4a585430d6c71c60d2a0937da76c752a1b2dd
Submitter: Zuul
Branch: master

commit dce4a585430d6c71c60d2a0937da76c752a1b2dd
Author: Deepinder Setia <email address hidden>
Date: Thu Jul 23 20:24:37 2015 -0700

Bug: 1475924 - Accept admin state in publish request

Change-Id: I7389a6abac64f3cbeb3887ceed4d69d82a965ee9

Nipa (nipak)
tags: added: quench
no longer affects: opencontrail
Revision history for this message
Deepinder Setia (dsetia) wrote :

foucault, sorry I had not read your comment about CEFT earlier and just saw it. Discovery now has administrative and operational states (admin-state and oped-state respectively). As the name implies, former is intended for administrator to bring the service in/out while latter is to be used by application to control its own status based on its run state. Hope this will provide enough control.

Revision history for this message
Ankit Jain (ankitja) wrote :
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22-dev

Review in progress for https://review.opencontrail.org/13927
Submitter: Vinay Vithal Mahuli (<email address hidden>)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.