Difference between revisions of "Fedcloud-tf:WorkGroups:VM Marketplace"

From EGIWiki
Jump to: navigation, search
(Publishing metadata for images stored in RP local image store)
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 attached script will do this:
+
# 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='''<occi url>'''
+
#:    '''--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


Workbenches: Open issues
Scenario 1
VM Management
Scenario 2
Data Management
Scenario 3
Information Systems
Scenario 4
Accounting
Scenario 5
Monitoring
Scenario 6
Notification
Scenario 7
Federated AAI
Scenario 8
VM Image Management
Scenario 9
Brokering
Scenario 10
Contextualisation
Scenario 11
Security



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.

  1. 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
  2. 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>"
  3. 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>
  4. The metadata must now be signed.
    stratus-sign-metadata
    --p12-cert=</path/to/cert>
    --p12-password=<password>
    --email=<endorser email>
    <metadata file>
  5. And finally uploaded
    stratus-upload-metadata
    --marketplace-endpoint http://marketplace.egi.eu
    <metadata file>