Ask Your Question
0

LXD image server vs glance

asked 2016-11-19 14:54:25 -0500

Velkan gravatar image

What is the relationship between LXD image servers and glance?

What is the difference between getting an image via lxc launch and via glance?

Imagine two identical separate clusters. How the transfer of an image will look like? I can see how to transfer an image between two machines that run LXD daemons: on the first machine add the second as a "remote LXD image server" and then launch the image.

Does glance need to store images? Because I'm happy to have a zfs pool for LXD to store everything (on one of the nodes).

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-19 19:07:01 -0500

Glance is an image registry with a RESTful API. Glance supports a variety of solutions for storing and retrieving images, such as Ceph, Swift, the local filesystem, http etc. LXD image servers are not directly supported as far as I know.

I would say the answer to your first question is: None.

Regarding your second question, I doubt that LXD images are retrieved with a RESTful API. On the other hand, perhaps there is a way to access them with, say, http, so that you could plug that store into Glance.

I believe there are deployments where several clouds share the same image store, so that should be possible with Glance. Glance has had a separate RESTful image registry service, which facilitated that, but it has been deprecated in Newton. Not sure how such image sharing can be accomplished without the Glance registry, but I would be surprised if it were impossible.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-11-19 14:54:25 -0500

Seen: 232 times

Last updated: Nov 19 '16