Skip to content

Commit

Permalink
Merge "Fix detach_vrouter_node task"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 11, 2016
2 parents 18b3080 + 02336d0 commit 46fb591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabfile/tasks/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def detach_vrouter_node(*args):
nova_compute = "nova-compute"

for host_string in args:
compute_hostname = socket.gethostbyaddr(hstr_to_ip(host_string))[0].split('.')[0]
compute_hostname = socket.gethostbyaddr(hstr_to_ip(host_string))[0]
with settings(host_string=host_string, warn_only=True):
sudo("service supervisor-vrouter stop")
sudo("service %s stop" % nova_compute)
Expand Down

0 comments on commit 46fb591

Please sign in to comment.