You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@fluo.apache.org by GitBox <gi...@apache.org> on 2020/01/17 23:26:56 UTC

[GitHub] [fluo-muchos] shannawaz commented on a change in pull request #306: Implement terminate and wipe actions for Azure clusters

shannawaz commented on a change in pull request #306: Implement terminate and wipe actions for Azure clusters
URL: https://github.com/apache/fluo-muchos/pull/306#discussion_r368176735
 
 

 ##########
 File path: lib/muchos/existing.py
 ##########
 @@ -241,6 +241,10 @@ def perform(self, action):
             elif action == 'cancel_shutdown':
                 print("Cancelling automatic shutdown of {0} cluster".format(self.config.cluster_name))
             self.execute_playbook(action + ".yml")
+            # In case of Azure, also check and if necessary wipe the storage accounts
+            # It is necessary to do this after the common kill and wipe to ensure that processes are all killed prior to this
+            if  action == 'wipe' and self.config.get("general", "cluster_type") == 'azure':
 
 Review comment:
   Made the changes as per recommendation.  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services