Services deployed by Murano require specially prepared images, that can be created manually or via automated scripts. Please refer to corresponding chapters of this book to create image. After images are created they should be registered in Openstack Glance - image operation service.
Use the glance image-create command to import your disk image to Glance:
>$ glance image-create --name <NAME> \ --is-public true --disk-format qcow2 \ --container-format bare \ --file <IMAGE_FILE> \ --property <IMAGE_METADATA>
Replace the command line arguments to glance image-create with the appropriate values for your environment and disk image:
Replace <NAME> with the name that users will refer to the disk image by. E.g. 'ws-2012-std'
Replace <IMAGE_FILE> with the local path to the image file to upload. E.g. 'ws-2012-std.qcow2'.
Replace IMAGE_METADATA with the following property string
murano_image_info='{"title": "Windows 2012 Core Edition", "type": "ws-2012-core"}
where
title - user-friendly description of the image
type - one of possible image types
ws-2012-std - Windows Server 2012 Standart Edition
ws-2012-core - Windows 2012 Core Edition
ws-2008r2-std - Windows Server 2008R2 Standart Edition
ws-2008r2 - Windows Server 2012R2
Warning
Setting murano_image_info property is required to pick up image from Murano Dashboard.
To update metadata of the existing image run the command:
>$ glance image-update <IMAGE-ID> --property <IMAGE_MATADATA>
Replace <IMAGE-ID> with image id from the previous command output.
Replace <IMAGE_METADATA> with murano_image_info property, e.g.
murano_image_info='{"title": "Windows 2012 Core Edition",\ "type": "ws-2012-core"}'
After these steps desired image can be chosen in Murano dashboard and used for services platform.