We use swift as Secondary Storage with XenServer, did not test with KVM. So you need a staging NFS share that is used by the SSVM->hypervisor, staging NFS is used to temporary store template while creating a new Instance from a template.
SSVM VM communicate to Swift via the MGT interface and probably via the storage interface if configured (I haven't test that). in the case of XenServer, the Hypervisor interact directly with Swift to send volume snapshot directly to swift instead of interacting with the SSVM. Swift as secondary storage can only be used with the API V1 with tempauth. There is some features that does not work well, as you need to turn off differential disk snapshot in Global Settings, and the download percentage indicator is not working when importing ISO or Template from URL. also the extract template download link is not working, but template can be download from Swift directly. I would suggest to do a lot of tests to make sure it work as your requirements. On Fri, May 8, 2015 at 4:55 AM, Andrija Panic <andrija.pa...@gmail.com> wrote: > Thx Marcus - we might go than over Public S3/Swift URL - its all local > network and over 10G - so would work for us fine - I will check. > > Otherwise, I might trunk secondary storage network to Swift nodes as well, > so no routing, local attached swift&SSVM. > > Thanks again > > > On 8 May 2015 at 09:10, Marcus <shadow...@gmail.com> wrote: > > > Looking at the code, it seems the SwiftImageStoreDriverImpl selects an > > SSVM(EndPoint) and issues a DownloadCommand to it. So the SSVM would need > > access to it, most likely via the public interface, but you could also > > probably get to it via the management interface via the > > 'secstorage.allowed.internal.sites' > > setting, similar to how the NFS template registration works. > > > > I'm not highly versed in the object storage, so perhaps someone who is > can > > verify or deny this. > > > > On Thu, May 7, 2015 at 11:31 PM, Andrija Panic <andrija.pa...@gmail.com> > > wrote: > > > > > Yes, for that matter - I place question for any S3 style storage :) > > > > > > Just need some integration guidelines... > > > > > > Thx > > > On May 8, 2015 2:58 AM, "Marcus" <shadow...@gmail.com> wrote: > > > > > > > Not entirely sure, but is there anything about the other object > > > stores(S3)? > > > > They should all work the same with NFS staging. > > > > On May 7, 2015 4:00 AM, "Andrija Panic" <andrija.pa...@gmail.com> > > wrote: > > > > > > > > > Hi guys, > > > > > > > > > > I cant find any docs on this topic, so...posting a question here. > > > > > > > > > > We are going to use Swift as region wide Secondary Storage. > > > > > > > > > > My understadning: KVM hosts will still move i.e. templates from > > Primary > > > > > Storage to Secondary NFS Staging storage - and then this template > > needs > > > > to > > > > > be moved to Swift. > > > > > > > > > > Question: > > > > > > > > > > Who/What is actually moving data from NFS Staging to Swift and over > > > what > > > > > path/network? > > > > > > > > > > Is SSVM moving data from NFS to Swift - if so, over what Network - > > does > > > > it > > > > > use Secondary Storage Gateway maybe, or not) - it certainly does > not > > > use > > > > > default routing (over Public Network) > > > > > > > > > > Any hints - I need to enable some NFS-to-Swift connectivity :) > > > > > > > > > > Thx, > > > > > > > > > > -- > > > > > > > > > > Andrija Panić > > > > > > > > > > > > > > > > > > -- > > Andrija Panić >