Merge "Reduce amount of slaves in devops template"

This commit is contained in:
Jenkins 2016-10-14 10:25:14 +00:00 committed by Gerrit Code Review
commit 88fc93096f
2 changed files with 5 additions and 29 deletions

View File

@ -44,20 +44,14 @@ template:
- storage - storage
rack-01-slave-node-params: &rack-01-slave-node-params rack-01-slave-node-params: &rack-01-slave-node-params
vcpu: !os_env SLAVE_NODE_CPU, 4 vcpu: !os_env SLAVE_NODE_CPU, 2
memory: !os_env SLAVE_NODE_MEMORY, 8192 memory: !os_env SLAVE_NODE_MEMORY, 8192
boot: boot:
- network - network
- hd - hd
volumes: volumes:
- name: system - name: system
capacity: !os_env NODE_VOLUME_SIZE, 55 capacity: !os_env NODE_VOLUME_SIZE, 150
format: qcow2
- name: cinder
capacity: !os_env NODE_VOLUME_SIZE, 55
format: qcow2
- name: swift
capacity: !os_env NODE_VOLUME_SIZE, 55
format: qcow2 format: qcow2
interfaces: *rack-01-slave-interfaces interfaces: *rack-01-slave-interfaces
network_config: *rack-01-slave-network_config network_config: *rack-01-slave-network_config
@ -70,13 +64,7 @@ template:
- hd - hd
volumes: volumes:
- name: system - name: system
capacity: !os_env NODE_VOLUME_SIZE, 55 capacity: !os_env NODE_VOLUME_SIZE, 150
format: qcow2
- name: cinder
capacity: !os_env NODE_VOLUME_SIZE, 55
format: qcow2
- name: swift
capacity: !os_env NODE_VOLUME_SIZE, 55
format: qcow2 format: qcow2
interfaces: *rack-01-slave-interfaces interfaces: *rack-01-slave-interfaces
network_config: *rack-01-slave-network_config network_config: *rack-01-slave-network_config
@ -195,15 +183,3 @@ template:
- name: slave-05 - name: slave-05
role: fuel_slave role: fuel_slave
params: *rack-02-slave-node-params params: *rack-02-slave-node-params
- name: slave-06
role: fuel_slave
params: *rack-02-slave-node-params
- name: slave-07
role: fuel_slave
params: *rack-02-slave-node-params
- name: slave-08
role: fuel_slave
params: *rack-02-slave-node-params
- name: slave-09
role: fuel_slave
params: *rack-02-slave-node-params

View File

@ -144,7 +144,7 @@ class TestNSXtSmoke(TestNSXtBase):
class TestNSXtBVT(TestNSXtBase): class TestNSXtBVT(TestNSXtBase):
"""NSX-t BVT scenarios""" """NSX-t BVT scenarios"""
@test(depends_on=[SetupEnvironment.prepare_slaves_9], @test(depends_on=[SetupEnvironment.prepare_slaves_5],
groups=["nsxt_bvt"]) groups=["nsxt_bvt"])
@log_snapshot_after_test @log_snapshot_after_test
def nsxt_bvt(self): def nsxt_bvt(self):
@ -167,7 +167,7 @@ class TestNSXtBVT(TestNSXtBase):
Duration 3 hours Duration 3 hours
""" """
self.env.revert_snapshot("ready_with_9_slaves") self.env.revert_snapshot("ready_with_5_slaves")
self.show_step(1) self.show_step(1)
self.install_nsxt_plugin() self.install_nsxt_plugin()