Offerings
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.
Waldur supports a number of different types of service providers when creating a shared offering. A common way of creating an offering is through a HomePort.
OpenStack offering creation
-
Select organization, which will provide the offering.
-
Go to Provider dashboard, click Marketplace -> Offerings from the top menu and then Add from the left.
-
A popup opens, fill in the name for the offering, category (e.g. Private clouds) and type (OpenStack tenant) and click Create.
-
An offering configuration page opens with an option to edit different attributes.
-
For the OpenStack integration, select Integration -> Credentials from the top menu. Fill in requested parameters.
- API URL - OpenStack deployment keystone URL
- Domain name - OpenStack domain name
- Username - Tenant user username
- Password - Tenant user password
- Tenant name - OpenStack tenant name
- External network ID - OpenStack extnet UUID
-
If everything is filled in, click on Synchronize in the top left corner. After few seconds, the State field will show OK if the integration is completed between Waldur and OpenStack.
-
To adjust the accounting, select Accounting from the top menu and then Plans -> Edit prices. Default accounting components are already defined.
-
If everything is completed and ready, click on Activate in the upper right corner to publish the offering.
SLURM offering creation
-
Select organization, which will provide the offering.
-
Go to Provider dashboard and click on Marketplace -> Offerings from the top menu and then click Add from the right.
-
A popup opens, fill in the name for the offering, category and type.
-
An offering configuration page opens with an option to edit different attributes.
-
Under Endpoints section, you can add access endpoints for the offering, for example, management consoles, SSH login nodes or similar.
This configuration will display then to resource of the offering a menu for easier navigation to the corresponding services. For SSH protocol this would trigger opening of an SSH client if configured for the browser. Out of the box works on OS X and Linux, requires configuration of the default application on Windows.
-
To add accounting components, select "Accounting components" from the top menu and then "Add component" from the right side. Accounting component is a measurable unit of a resource. For example, it can be CPU hours, GPU hours, storage hours, RAM etc.
-
A popup opens with possibility to configure fields and select the accounting type (whether the component is billed by the usage, max limit or it has a fixed price).
- Usage-based - billing is applied according to the actual usage of the resource during the billing period defined in the accounting plan after the submission of a usage report;
- Limit-based - billing is applied according to the requested/updated limits of a resource, actual usage can be below the limits and it is not the basis of the billing;
- Fixed price - billing is applied according to the exact values defined by the service provider in the accounting plan, limits and usage are not the basis for the accounting;
- One-time - billing is applied once on resource activation;
- One-time on plan switch - billing is applied once on resource activation and everytime a plan has changed, using pricing of a new plan.
-
To configure accounting frequency and prices, select "Accounting plans" from the top menu and then "Add plan" from the right. Select a name for the plan and accounting frequency.
-
To define prices for the components, select "Actions" and then "Edit prices". Set new price and save. If there is a need to provide higher priority access to resources with different prices, then it is advised to create another offering for this kind of cases.
-
If all set, click "Activate" on the top-right side to make it visible to everybody.
Tip
For more advanced cases of management of offerings, take a look at how a SLURM offering can be managed using Ansible module.
Offering management
It is possible to temporarily unpublish the offering. For example, if the service is down for a longer maintenance. To do that, open the offering edit page and click on Pause from the right.
If the offering is not needed anymore, then it is possible to archive it by selecting Archive from the offering edit page.