Skip to content

Commit

Permalink
Always dump the PG
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed May 8, 2019
1 parent bcf2938 commit e0e1f90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dlg/deploy/pawsey/start_dfms_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,10 @@ def get_pg(opts, nms, dims):
nms = check_hosts(nms, NODE_DEFAULT_REST_PORT,
check_with_session=opts.check_with_session,
timeout=MM_WAIT_TIME)
return tool.resource_map(pgt, dims + nms, pip_name, num_dims)
pg = tool.resource_map(pgt, dims + nms, pip_name, num_dims)
with open(os.path.join(opts.log_dir, 'pg.json'), 'wb') as f:
json.dump(pg, f)
return pg

def main():

Expand Down

0 comments on commit e0e1f90

Please sign in to comment.