summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasledzinskiy <asledzinskiy@mirantis.com>2016-12-09 12:27:10 +0200
committerasledzinskiy <asledzinskiy@mirantis.com>2016-12-09 13:12:11 +0200
commita81ceb069c119a9c31e66b8938b5f25ed81fe05e (patch)
tree40fcecf72169f81d2fd951ffd5daf10639c300db
parent97989e87aec929df9c77f466c2d9281c62332461 (diff)
Add debug key to ccp command execution
- Add debug and verbose keys to ccp command execution Change-Id: I5cb187ec293d54e06ac03f930d0efab89891796b
Notes
Notes (review): Verified+1: Mirantis CCP CI <mirantis-fuel-ccp-ci@mirantis.com> Code-Review+2: Dmitry Tyzhnenko <dtyzhnenko@mirantis.com> Workflow+1: Dmitry Tyzhnenko <dtyzhnenko@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 09 Dec 2016 12:30:24 +0000 Reviewed-on: https://review.openstack.org/409066 Project: openstack/fuel-ccp-tests Branch: refs/heads/master
-rw-r--r--fuel_ccp_tests/managers/ccpmanager.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/fuel_ccp_tests/managers/ccpmanager.py b/fuel_ccp_tests/managers/ccpmanager.py
index fb5edb5..02fcabd 100644
--- a/fuel_ccp_tests/managers/ccpmanager.py
+++ b/fuel_ccp_tests/managers/ccpmanager.py
@@ -157,11 +157,12 @@ class CCPManager(object):
157 else: 157 else:
158 components = '' 158 components = ''
159 159
160 cmd = "ccp {params} {cmd} {components} {ccp_out_redirect}".format( 160 cmd = ("ccp -v --debug {params} {cmd} {components}"
161 " {ccp_out_redirect}").format(
161 params=params, cmd=cmd, components=components, 162 params=params, cmd=cmd, components=components,
162 ccp_out_redirect=ccp_out_redirect) 163 ccp_out_redirect=ccp_out_redirect)
163 else: 164 else:
164 cmd = "ccp {cmd} {ccp_out_redirect}".format( 165 cmd = "ccp -v --debug {cmd} {ccp_out_redirect}".format(
165 cmd=cmd, ccp_out_redirect=ccp_out_redirect) 166 cmd=cmd, ccp_out_redirect=ccp_out_redirect)
166 167
167 LOG.info("Running {cmd}".format(cmd=cmd)) 168 LOG.info("Running {cmd}".format(cmd=cmd))