Skip to content

Commit

Permalink
Fixing Bug #1546809 , cmon_param to be configured with short hostname
Browse files Browse the repository at this point in the history
Change-Id: Id75e4034b52a364f5cd476bb21889d0fd3bf7624
  • Loading branch information
vkolli committed Feb 17, 2016
1 parent dda3988 commit 7c4378a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabfile/tasks/ha.py
Expand Up @@ -580,7 +580,7 @@ def fix_cmon_param_and_add_keys_to_compute():
amqp_host_list = []
for host_string in env.roledefs[amqp_in_role]:
with settings(host_string=host_string, password=get_env_passwords(host_string)):
host_name = sudo('hostname')
host_name = sudo('hostname -s')
amqp_host_list.append(host_name)

computes = 'COMPUTES=("' + '" "'.join(compute_host_list) + '")'
Expand Down

0 comments on commit 7c4378a

Please sign in to comment.