[DNM] debug output
Signed-off-by: Ruslan Aliev <raliev@mirantis.com> Change-Id: I47800fad578c908fe7f8e2cda807ddc99fef5b36
This commit is contained in:
parent
220d1a5936
commit
bfd8a3d9f0
|
@ -46,6 +46,8 @@ class ArmadaPostApplyOperator(ArmadaBaseOperator):
|
||||||
# Set up target manifest
|
# Set up target manifest
|
||||||
self.dc = self.xcom_puller.get_deployment_configuration()
|
self.dc = self.xcom_puller.get_deployment_configuration()
|
||||||
self.target_manifest = self.dc['armada.manifest']
|
self.target_manifest = self.dc['armada.manifest']
|
||||||
|
if self.action_info['name'] == 'update_software':
|
||||||
|
self.target_manifest = 'update_site'
|
||||||
|
|
||||||
# Update query dict with information of target_manifest
|
# Update query dict with information of target_manifest
|
||||||
self.query['target_manifest'] = self.target_manifest
|
self.query['target_manifest'] = self.target_manifest
|
||||||
|
@ -53,8 +55,10 @@ class ArmadaPostApplyOperator(ArmadaBaseOperator):
|
||||||
# Retrieve read timeout
|
# Retrieve read timeout
|
||||||
timeout = self.dc['armada.post_apply_timeout']
|
timeout = self.dc['armada.post_apply_timeout']
|
||||||
|
|
||||||
|
attrs = vars(self)
|
||||||
|
to_print = ', '.join("%s: %s" % item for item in attrs.items())
|
||||||
# Execute Armada Apply to install the helm charts in sequence
|
# Execute Armada Apply to install the helm charts in sequence
|
||||||
LOG.info("Armada Apply")
|
LOG.info("Armada Apply raliev: %s", to_print)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
armada_post_apply = self.armada_client.post_apply(
|
armada_post_apply = self.armada_client.post_apply(
|
||||||
|
|
Loading…
Reference in New Issue