summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ef92132)
Change-Id: Ifb8fff0b5a3f03821fea4863d6d8e6a51e0a3da0
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
# vcaStatus
db_dict = dict()
db_dict["vcaStatus"] = status_dict
# vcaStatus
db_dict = dict()
db_dict["vcaStatus"] = status_dict
- await self.n2vc.update_vca_status(db_dict["vcaStatus"], vca_id=vca_id)
# update configurationStatus for this VCA
try:
# update configurationStatus for this VCA
try:
db_dict = dict()
db_dict["vcaStatus"] = {nsr_id: vca_status}
db_dict = dict()
db_dict["vcaStatus"] = {nsr_id: vca_status}
- if cluster_type in ("juju-bundle", "juju"):
- # TODO -> this should be done in a more uniform way, I think in N2VC, in order to update the K8s VCA
- # status in a similar way between Juju Bundles and Helm Charts on this side
- await self.k8sclusterjuju.update_vca_status(
- db_dict["vcaStatus"],
- kdu_instance,
- vca_id=vca_id,
- )
-
self.logger.debug(
f"Obtained VCA status for cluster type '{cluster_type}': {vca_status}"
)
self.logger.debug(
f"Obtained VCA status for cluster type '{cluster_type}': {vca_status}"
)