Fedcloud-tf:WorkGroups:VM Marketplace
Revision as of 12:23, 17 May 2012 by Stkenny (talk | contribs) (→Publishing metadata for images stored in RP local image store)
Main | Roadmap and Innovation | Technology | For Users | For Resource Providers | Media |
Leader: Kostas Koumantaros, EGI-InSPIRE SA2
Collaborators
Role | Institution | Name |
---|---|---|
Scenario leader | EGI-InSPIRE SA2 | Kostas Koumantaros |
Collaborator | GRIF | Michel Jovi |
Collaborator | TCD | Stuart Kenny |
Roadmap
- Investigate how to do double endorsement
- Investigate x509 + VOMS authentication
Scope
This workbench deals with the issues around setting up a VM Marketplace to:
- Provide a publicly searchable place for VMs that may provide the application that is needed
- Provide a common place to add a token of endorsement to a pertinent VM
Marketplace Howto
Publishing metadata for images stored in RP local image store
In this case we are publishing metadata describing an image that is stored in a Resource Providers local image store. The metadata will contain an OCCI storage link that can be used by a user when creating a compute resource at that provider.
- Install the StratusLab command line client.
- See http://www.stratuslab.org/doku.php/tutorial:installation
- This provides the commands needed to create metadata and to upload to the Marketplace
- Obtain the OCCI URL for the image. The script get-occi-link.pl will do this:
- perl get-occi-link.pl -host=http://<occi_host> -port=<occi_port> -image="<image_name>"
- To create the metadata you must have access to the image file. The file passed to stratus-build-metadata should be uncompressed. The location should be set as the OCCI URL retrieved in the previous step.
- stratus-build-metadata
- --author=<author>
- --os=<os>
- --os-version=<os version>
- --os-arch=<arch>
- --image-version=<version>
- --comment="A description of the image"
- --compression=<compression>
- --location=<occi url>
- </path/to/image>
- The metadata must now be signed.
- stratus-sign-metadata
- --p12-cert=</path/to/cert>
- --p12-password=<password>
- --email=<endorser email>
- <metadata file>
- And finally uploaded
- stratus-upload-metadata
- --marketplace-endpoint http://marketplace.egi.eu
- <metadata file>