projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Jenkins refresh
[osm/devops.git]
/
installers
/
charm
/
ro-k8s
/
reactive
/
ro.py
diff --git
a/installers/charm/ro-k8s/reactive/ro.py
b/installers/charm/ro-k8s/reactive/ro.py
index
094812f
..
062cc07
100644
(file)
--- a/
installers/charm/ro-k8s/reactive/ro.py
+++ b/
installers/charm/ro-k8s/reactive/ro.py
@@
-109,7
+109,7
@@
def configure():
layer.status.blocked("k8s spec failed to deploy: {}".format(e))
layer.status.blocked("k8s spec failed to deploy: {}".format(e))
-@when("ro-k8s.
configured
")
+@when("ro-k8s.
ready
")
@when_not("leadership.is_leader")
def non_leaders_active():
layer.status.active("ready")
@when_not("leadership.is_leader")
def non_leaders_active():
layer.status.active("ready")
@@
-207,6
+207,7
@@
def make_pod_spec_new_ro(kafka_host, mongodb_uri):
{
"OSMRO_DATABASE_URI": mongodb_uri,
"OSMRO_MESSAGE_HOST": kafka_host,
{
"OSMRO_DATABASE_URI": mongodb_uri,
"OSMRO_MESSAGE_HOST": kafka_host,
+ "OSMRO_DATABASE_COMMONKEY": cfg.get("database_commonkey"),
}
)
return spec
}
)
return spec