Project

General

Profile

Actions

Documentation #15196

closed

Documentation #15182: Write Developer Guide

Testing in the Cloud chapter: explain OpenStack stanza

Added by Nathan Cutler about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

While the roles stanza determines how many workers are needed to complete the test, it says nothing about the parameters of these workers. Workers can be bare-metal machines (which need a --machine-type definition), VPSs (VMs provisioned automatically by teuthology), or OpenStack instances. When using OpenStack, we can use the openstack stanza to specify minimum capabilities that the instance must satisfy.

"Tests can specify as many OSDs as they like and these are automatically provisioned and attached to the VM."

This is semi manual. If nothing is written, all happens in the root directory, even if the test needs 3 OSDs. If an OpenStack stanza is added to the test (see https://github.com/ceph/ceph-qa-suite/blob/master/suites/ceph-disk/basic/tasks/ceph-disk.yaml#L6 for an example and https://github.com/dachary/teuthology/tree/openstack#defining-instances-flavor-and-volumes for the full documentation), then extra OpenStack volumes are provisionned and attached to each VM created.

Actions

Also available in: Atom PDF