|
@@ -32,10 +32,14 @@ def server_restart(slb_client, instance_id, image_name):
|
|
add_weight_list = [(10, 10), (20, 10), (40, 10), (60, 10), (80, 10), (100, 10)]
|
|
add_weight_list = [(10, 10), (20, 10), (40, 10), (60, 10), (80, 10), (100, 10)]
|
|
logging.info(f"server restart finished, instance: {instance_id}/{ip_address}")
|
|
logging.info(f"server restart finished, instance: {instance_id}/{ip_address}")
|
|
logging.error(f"server restart fail, instance: {instance_id}")
|
|
logging.error(f"server restart fail, instance: {instance_id}")
|