Merge "Fixed job execution update in case of proxy command"

This commit is contained in:
Jenkins 2014-11-16 13:43:27 +00:00 committed by Gerrit Code Review
commit 17e4f4dac5
1 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,8 @@ def _update_job_status(engine, job_execution):
def _update_job_execution_extra(cluster, job_execution):
if CONF.use_namespaces and not CONF.use_floating_ips:
if ((CONF.use_namespaces and not CONF.use_floating_ips) or
CONF.proxy_command):
info = cluster.node_groups[0].instances[0].remote().get_neutron_info()
extra = job_execution.extra.copy()
extra['neutron'] = info