Skip to content

Commit

Permalink
Fixes:Analytics nodes incorrectly point to database nodes Edit
Browse files Browse the repository at this point in the history
Description: In addition to the fix in the provision_issu.py, I am also fixing roles, to correctly shutdown collector and UI during finalize.
Closes-Bug: 1647845
Change-Id: I2dfec073508f4ffa998a0f3dd205c15d0d9ba999
  • Loading branch information
Suresh-vin committed Dec 7, 2016
1 parent accc12e commit 223f142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fabfile/tasks/issu_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,15 @@ def issu_contrail_stop_old_control():
@task
@roles('oldwebui')
def issu_contrail_stop_old_webui():
for host in env.roledefs['oldcontrol']:
for host in env.roledefs['oldwebui']:
sudo("contrail-status")
execute("stop_webui_node", host)
sudo("contrail-status")

@task
@roles('oldcollector')
def issu_contrail_stop_old_collector():
for host in env.roledefs['oldcontrol']:
for host in env.roledefs['oldcollector']:
sudo("contrail-status")
execute("stop_collector_node", host)
sudo("contrail-status")
Expand Down

0 comments on commit 223f142

Please sign in to comment.