deb-sahara/etc/scenario/gate/fake.yaml.mako
Vitaly Gridnev 2b25dfa07f Create ResourceGroup with volumes only if it is required
If volumes_per_node or volumes_size is 0, there is no sense
in creating empty ResourceGroup.

Also remove volumes from one node group in gate to be sure
that sahara correctly handle such case.

Closes-bug: 1494650
Change-Id: Ic592710773b9338f5857e431b0567bc5c87af2bd
2015-09-15 11:42:55 +00:00

33 lines
748 B
Mako

clusters:
- plugin_name: fake
plugin_version: "0.1"
image: ${fake_plugin_image}
node_group_templates:
- name: aio
flavor: ${ci_flavor_id}
node_processes:
- namenode
- jobtracker
- datanode
- tasktracker
volumes_per_node: 2
volumes_size: 1
auto_security_group: true
- name: worker
flavor: ${ci_flavor_id}
node_processes:
- datanode
- jobtracker
auto_security_group: true
cluster_template:
name: fake01
node_group_templates:
aio: 1
cluster:
name: ${cluster_name}
scaling:
- operation: add
node_group: worker
size: 1
edp_jobs_flow: fake