Revision 3b9e6a30 lib/backend.py
b/lib/backend.py | ||
---|---|---|
32 | 32 |
import subprocess |
33 | 33 |
import random |
34 | 34 |
import logging |
35 |
import tempfile |
|
35 | 36 |
|
36 | 37 |
from ganeti import errors |
37 | 38 |
from ganeti import utils |
... | ... | |
120 | 121 |
result = utils.RunCmd(["ip", "address", "del", "%s/32" % master_ip, |
121 | 122 |
"dev", master_netdev]) |
122 | 123 |
if result.failed: |
123 |
logger.error("Can't remove the master IP, error: %s", result.output)
|
|
124 |
logging.error("Can't remove the master IP, error: %s", result.output)
|
|
124 | 125 |
# but otherwise ignore the failure |
125 | 126 |
|
126 | 127 |
if stop_daemons: |
Also available in: Unified diff