openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #11039
Glance store question??
-
To:
openstack <openstack@xxxxxxxxxxxxxxxxxxx>
-
From:
Joshua Harlow <harlowja@xxxxxxxxxxxxx>
-
Date:
Wed, 2 May 2012 12:23:56 -0700
-
Accept-language:
en-US
-
Acceptlanguage:
en-US
-
Thread-index:
Ac0omR3gab58PdlYHE64UWEuHjYJTw==
-
Thread-topic:
Glance store question??
Hi all,
I am making a y! specific backing store for glance and I was wondering if its really necessary to modify the following file to ensure that the code for that new store gets pulled in (or maybe I'm just doing it wrong).
diff --git a/glance/api/v1/images.py b/glance/api/v1/images.py
index 9839d2e..7c4f565 100644
--- a/glance/api/v1/images.py
+++ b/glance/api/v1/images.py
@@ -47,6 +47,7 @@ import glance.store.http
import glance.store.rbd
import glance.store.s3
import glance.store.swift
+import glance.store.SUPERAWESOMEYSTORE
from glance.store import (get_from_backend,
get_size_from_backend,
schedule_delete_from_backend,
Is there another way to make that happen so that it gets registered with glance besides either modifying that file or having a patch which will modify it upon installation (ie an RPM patch)?
Thx!
-Josh
Follow ups