OpenStack: Can I convert a volume into an image?

Solution 1:

In Icehouse and later you can convert Cinder volume to Glance image with upload-to-image command:

cinder upload-to-image <volume> <image-name>