From 78ff31e98e61efa5ba8bbe813c2c600c7f39068a Mon Sep 17 00:00:00 2001 From: Maciej Nabozny Date: Tue, 13 Sep 2016 21:21:40 +0200 Subject: [PATCH] Storage autostart --- corecluster/agents/storage_libvirt.py | 4 ++-- debian/changelog | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/corecluster/agents/storage_libvirt.py b/corecluster/agents/storage_libvirt.py index 86d0e51..80d3c23 100644 --- a/corecluster/agents/storage_libvirt.py +++ b/corecluster/agents/storage_libvirt.py @@ -80,7 +80,7 @@ def real_mount(task, conn): try: lv_storage = conn.storagePoolLookupByName(storage.name) if lv_storage.info()[0] == libvirt.VIR_STORAGE_POOL_RUNNING: - lv_storage.setAutostart(True) + lv_storage.setAutostart(False) storage.state = 'ok' storage.save() return @@ -104,7 +104,7 @@ def real_mount(task, conn): log(msg='Storage define failed. Going ahead', exception=e, tags=('info', 'agent', 'storage')) pool = conn.storagePoolLookupByName(storage.name) - pool.setAutostart(True) + pool.setAutostart(False) try: pool.build(0) except Exception as e: diff --git a/debian/changelog b/debian/changelog index b292ded..a300bef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -corecluster (16.09.11) stable; urgency=low +corecluster (16.09.12) stable; urgency=low * New API method: api/lease/get_unused/ * Updated api for redirections