Skip to content

Introduction

Marketplace is a central module for provisioning of Waldur resources. Marketplace contains Offerings that belong to a special type of Organizations - Service Providers. Marketplace provides common functionality for resource lifecycle management, accounting and invoicing. Specifics are implemented in the Marketplace plugins (e.g. for OpenStack, SLURM, Rancher, etc).

Diagram of concepts

Diagram of marketplace concepts

Adding a new Offering

To create a new Offering in the Marketplace, you need to:

  • Assure that categories are configured in the Marketplace.
  • Create at least one service provider.
  • Create and activate a public offering.

Creating a Service Provider

Pick or create an organization that will be used as a service provider. Mark it a such in the Management tab of the organization using "Register as service provider":

Mark as service provider

Creating Marketplace categories

To create a category, either use administrative interface of Waldur, hosted under `/admin (can be accessed by staff users) or use management command for loading the pre-defined categories.

  • With Docker-compose deployment:
1
  docker exec -t waldur-mastermind-worker waldur load_categories  # vpc vm storage ...
  • With Helm deployment

Open waldur-mastermind-worker shell and execute the following command:

  1. Get waldur-mastermind-worker pod name
1
2
3
  # Example:
  kubectl get pods -A | grep waldur-mastermind-worker # -->
  # default       waldur-mastermind-worker-6d98cd98bd-wps8n   1/1     Running     0          9m9s
  1. Connect to pod via shell
1
2
  # Example:
  kubectl exec -it waldur-mastermind-worker-6d98cd98bd-wps8n -- /bin/bash
  1. Execute command to see available or add a category
1
  waldur load_categories  # vpc vm storage ...

Creating public Offering

Once you have a service provider and at least one category defined, you can add a new service offering.

  • Go to Public services -> Public offerings:

List offerings

  • Fill in details of the offerings.

Add offering

  • Activate an offering (requires staff account) to make it visible in the Marketplace.

Activate offering


Last update: 2021-10-12