Difference between revisions of "Fedcloud-tf:WorkGroups:VM Marketplace"
Jump to navigation
Jump to search
Line 45: | Line 45: | ||
#: See http://www.stratuslab.org/doku.php/tutorial:installation | #: See http://www.stratuslab.org/doku.php/tutorial:installation | ||
#: This provides the commands needed to create metadata and to upload to the Marketplace | #: This provides the commands needed to create metadata and to upload to the Marketplace | ||
# Obtain the OCCI URL for the image. The | # Obtain the OCCI URL for the image. The script [https://oerc.basecamphq.com/projects/7732005/file/122665694/get-occi-link.pl get-occi-link.pl] will do this: | ||
#: perl get-occi-link.pl -host=<nowiki>http://<occi_host></nowiki> -port=<occi_port> -image="<image_name>" | #: perl get-occi-link.pl -host=<nowiki>http://<occi_host></nowiki> -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. | # 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. | ||
Line 56: | Line 56: | ||
#: --comment="A description of the image" | #: --comment="A description of the image" | ||
#: --compression=<compression> | #: --compression=<compression> | ||
#: --location= | #: '''--location=<occi url>''' | ||
#: </path/to/image> | #: </path/to/image> | ||
# The metadata must now be signed. | # The metadata must now be signed. |
Revision as of 11:23, 17 May 2012
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>