Revision ca77edbc
b/lib/backend.py | ||
---|---|---|
909 | 909 |
time.sleep(10) |
910 | 910 |
else: |
911 | 911 |
# the shutdown did not succeed |
912 |
logging.error("shutdown of '%s' unsuccessful, using destroy", instance) |
|
912 |
logging.error("Shutdown of '%s' unsuccessful, using destroy", |
|
913 |
instance.name) |
|
913 | 914 |
|
914 | 915 |
try: |
915 | 916 |
hyper.StopInstance(instance, force=True) |
... | ... | |
919 | 920 |
|
920 | 921 |
time.sleep(1) |
921 | 922 |
if instance.name in GetInstanceList([hv_name]): |
922 |
logging.error("could not shutdown instance '%s' even by destroy",
|
|
923 |
logging.error("Could not shutdown instance '%s' even by destroy",
|
|
923 | 924 |
instance.name) |
924 | 925 |
return False |
925 | 926 |
|
Also available in: Unified diff