remove vmware
VMware not supported since Fuel 10. So we should stop test it. Change-Id: I5996520ded3419fd2ce2cb1e76056eed157bfffb Implements: blueprint remove-vmware
This commit is contained in:
parent
3124271bd1
commit
a0838e91a9
|
@ -322,11 +322,6 @@ Test Ubuntu Cloud Archive
|
|||
.. automodule:: fuelweb_test.tests.tests_uca.test_uca
|
||||
:members:
|
||||
|
||||
Test Vcenter
|
||||
------------
|
||||
.. automodule:: fuelweb_test.tests.test_vcenter
|
||||
:members:
|
||||
|
||||
Test Ironic
|
||||
-----------
|
||||
.. automodule:: fuelweb_test.tests.test_ironic_base
|
||||
|
|
|
@ -59,11 +59,6 @@ Strength actions
|
|||
.. automodule:: system_test.actions.strength_actions
|
||||
:members:
|
||||
|
||||
VCenter actions
|
||||
---------------
|
||||
.. automodule:: system_test.actions.vcenter_actions
|
||||
:members:
|
||||
|
||||
General tests
|
||||
=============
|
||||
|
||||
|
@ -133,24 +128,6 @@ Example plugin v3
|
|||
.. automodule:: system_test.tests.plugins.plugin_example.test_plugin_example_v3
|
||||
:members:
|
||||
|
||||
vCenter tests
|
||||
=============
|
||||
|
||||
vCenter/DVS
|
||||
-----------
|
||||
.. automodule:: system_test.tests.vcenter.test_vcenter_dvs
|
||||
:members:
|
||||
|
||||
vCenter/DVS failover
|
||||
--------------------
|
||||
.. automodule:: system_test.tests.vcenter.test_vcenter_failover
|
||||
:members:
|
||||
|
||||
vCenter/DVS cluster actions
|
||||
---------------------------
|
||||
.. automodule:: system_test.tests.vcenter.test_vcenter_cluster_actions
|
||||
:members:
|
||||
|
||||
Helpers
|
||||
=======
|
||||
|
||||
|
|
|
@ -1182,9 +1182,9 @@ class SettingsChanger(object):
|
|||
'repo_setup.uca_openstack_release', 'repo_setup.uca_repo_url',
|
||||
'public_ssl.cert_source', 'public_ssl.hostname',
|
||||
'operator_user.homedir', 'access.email', 'common.libvirt_type',
|
||||
'storage.images_vcenter', 'additional_components.ironic',
|
||||
'additional_components.ceilometer', 'workloads_collector.tenant',
|
||||
'access.user', 'workloads_collector.user', 'operator_user.name']
|
||||
'additional_components.ironic', 'additional_components.ceilometer',
|
||||
'workloads_collector.tenant', 'access.user',
|
||||
'workloads_collector.user', 'operator_user.name']
|
||||
|
||||
def __init__(self, attrs=None):
|
||||
self._attrs = attrs['editable'] if attrs else None
|
||||
|
|
|
@ -98,11 +98,6 @@ from fuelweb_test.settings import SSL_CN
|
|||
from fuelweb_test.settings import TIMEOUT
|
||||
from fuelweb_test.settings import UCA_ENABLED
|
||||
from fuelweb_test.settings import USER_OWNED_CERT
|
||||
from fuelweb_test.settings import VCENTER_DATACENTER
|
||||
from fuelweb_test.settings import VCENTER_DATASTORE
|
||||
from fuelweb_test.settings import VCENTER_IP
|
||||
from fuelweb_test.settings import VCENTER_PASSWORD
|
||||
from fuelweb_test.settings import VCENTER_USERNAME
|
||||
from fuelweb_test.settings import UBUNTU_SERVICE_PROVIDER
|
||||
|
||||
|
||||
|
@ -604,7 +599,7 @@ class FuelWebClient29(object):
|
|||
elif option in {'volumes_ceph', 'images_ceph',
|
||||
'ephemeral_ceph', 'objects_ceph',
|
||||
'osd_pool_size', 'volumes_lvm',
|
||||
'volumes_block_device', 'images_vcenter'}:
|
||||
'volumes_block_device'}:
|
||||
section = 'storage'
|
||||
elif option in {'tenant', 'password', 'user'}:
|
||||
section = 'access'
|
||||
|
@ -682,11 +677,6 @@ class FuelWebClient29(object):
|
|||
hpv_data = attributes['editable']['common']['libvirt_type']
|
||||
hpv_data['value'] = "kvm"
|
||||
|
||||
if help_data.VCENTER_USE:
|
||||
logger.info('Enable Dual Hypervisors Mode')
|
||||
hpv_data = attributes['editable']['common']['use_vcenter']
|
||||
hpv_data['value'] = True
|
||||
|
||||
if NOVA_QUOTAS_ENABLED:
|
||||
logger.info('Enable Nova quotas')
|
||||
nova_quotas = attributes['editable']['common']['nova_quota']
|
||||
|
@ -773,76 +763,6 @@ class FuelWebClient29(object):
|
|||
"with next attributes {0}".format(attributes))
|
||||
self.client.update_cluster_attributes(cluster_id, attributes)
|
||||
|
||||
@logwrap
|
||||
def vcenter_configure(self, cluster_id, vcenter_value=None,
|
||||
multiclusters=None, vc_glance=None,
|
||||
target_node_1='controllers',
|
||||
target_node_2='controllers'):
|
||||
|
||||
if not vcenter_value:
|
||||
vcenter_value = {
|
||||
"glance": {
|
||||
"vcenter_username": "",
|
||||
"datacenter": "",
|
||||
"vcenter_host": "",
|
||||
"vcenter_password": "",
|
||||
"datastore": "",
|
||||
"vcenter_insecure": True},
|
||||
"availability_zones": [
|
||||
{"vcenter_username": VCENTER_USERNAME,
|
||||
"nova_computes": [
|
||||
{"datastore_regex": ".*",
|
||||
"vsphere_cluster": "Cluster1",
|
||||
"service_name": "vmcluster1",
|
||||
"target_node": {
|
||||
"current": {"id": target_node_1,
|
||||
"label": target_node_1},
|
||||
"options": [{"id": "controllers",
|
||||
"label": "controllers"}, ]},
|
||||
},
|
||||
|
||||
],
|
||||
"vcenter_host": VCENTER_IP,
|
||||
"az_name": "vcenter",
|
||||
"vcenter_password": VCENTER_PASSWORD,
|
||||
"vcenter_insecure": True
|
||||
|
||||
}],
|
||||
"network": {"esxi_vlan_interface": "vmnic0"}
|
||||
}
|
||||
if multiclusters:
|
||||
multiclusters =\
|
||||
vcenter_value["availability_zones"][0]["nova_computes"]
|
||||
multiclusters.append(
|
||||
{"datastore_regex": ".*",
|
||||
"vsphere_cluster": "Cluster2",
|
||||
"service_name": "vmcluster2",
|
||||
"target_node": {
|
||||
"current": {"id": target_node_2,
|
||||
"label": target_node_2},
|
||||
"options": [{"id": "controllers",
|
||||
"label": "controllers"}, ]},
|
||||
})
|
||||
if vc_glance:
|
||||
vcenter_value["glance"]["vcenter_username"] = VCENTER_USERNAME
|
||||
vcenter_value["glance"]["datacenter"] = VCENTER_DATACENTER
|
||||
vcenter_value["glance"]["vcenter_host"] = VCENTER_IP
|
||||
vcenter_value["glance"]["vcenter_password"] = VCENTER_PASSWORD
|
||||
vcenter_value["glance"]["datastore"] = VCENTER_DATASTORE
|
||||
|
||||
if help_data.VCENTER_USE:
|
||||
logger.info('Configuring vCenter...')
|
||||
vmware_attributes = \
|
||||
self.client.get_cluster_vmware_attributes(cluster_id)
|
||||
vcenter_data = vmware_attributes['editable']
|
||||
vcenter_data['value'] = vcenter_value
|
||||
logger.debug("Try to update cluster with next "
|
||||
"vmware_attributes {0}".format(vmware_attributes))
|
||||
self.client.update_cluster_vmware_attributes(cluster_id,
|
||||
vmware_attributes)
|
||||
|
||||
logger.debug("Attributes of cluster were updated")
|
||||
|
||||
def add_local_ubuntu_mirror(self, cluster_id, name='Auxiliary',
|
||||
path=help_data.LOCAL_MIRROR_UBUNTU,
|
||||
suite='auxiliary', section='main',
|
||||
|
|
|
@ -88,11 +88,6 @@ class NailgunClient(object):
|
|||
return self._get(
|
||||
url="/clusters/{}/attributes/".format(cluster_id)).json()
|
||||
|
||||
def get_cluster_vmware_attributes(self, cluster_id):
|
||||
return self._get(
|
||||
url="/clusters/{}/vmware_attributes/".format(cluster_id),
|
||||
).json()
|
||||
|
||||
@logwrap
|
||||
def update_cluster_attributes(self, cluster_id, attrs):
|
||||
return self._put(
|
||||
|
@ -100,13 +95,6 @@ class NailgunClient(object):
|
|||
json=attrs
|
||||
).json()
|
||||
|
||||
@logwrap
|
||||
def update_cluster_vmware_attributes(self, cluster_id, attrs):
|
||||
return self._put(
|
||||
"/clusters/{}/vmware_attributes/".format(cluster_id),
|
||||
json=attrs
|
||||
).json()
|
||||
|
||||
@logwrap
|
||||
def get_cluster(self, cluster_id):
|
||||
return self._get(url="/clusters/{}".format(cluster_id)).json()
|
||||
|
|
|
@ -368,28 +368,8 @@ PATCH_PATH = os.environ.get(
|
|||
'PATCH_PATH', '/tmp/fuel-ostf')
|
||||
|
||||
KVM_USE = get_var_as_bool('KVM_USE', False)
|
||||
VCENTER_USE = get_var_as_bool('VCENTER_USE', False)
|
||||
DEBUG_MODE = get_var_as_bool('DEBUG_MODE', True)
|
||||
|
||||
# vCenter tests
|
||||
VCENTER_IP = os.environ.get('VCENTER_IP')
|
||||
VCENTER_USERNAME = os.environ.get('VCENTER_USERNAME')
|
||||
VCENTER_PASSWORD = os.environ.get('VCENTER_PASSWORD')
|
||||
VCENTER_CERT_BYPASS = get_var_as_bool('VCENTER_CERT_BYPASS', True)
|
||||
VCENTER_CERT_URL = os.environ.get('VCENTER_CERT_URL')
|
||||
VCENTER_DATACENTER = os.environ.get('VC_DATACENTER')
|
||||
VCENTER_DATASTORE = os.environ.get('VC_DATASTORE')
|
||||
VCENTER_GLANCE_IP = os.environ.get('VCENTER_GLANCE_IP')
|
||||
VCENTER_GLANCE_USERNAME = os.environ.get('VCENTER_GLANCE_USERNAME')
|
||||
VCENTER_GLANCE_PASSWORD = os.environ.get('VCENTER_GLANCE_PASSWORD')
|
||||
VCENTER_GLANCE_CERT_BYPASS = get_var_as_bool('VCENTER_GLANCE_CERT_BYPASS',
|
||||
True)
|
||||
VCENTER_GLANCE_CERT_URL = os.environ.get('VCENTER_GLANCE_CERT_URL')
|
||||
VMWARE_IMG_URL = os.environ.get('VMWARE_IMG_URL')
|
||||
VMWARE_IMG_NAME = os.environ.get('VMWARE_IMG_NAME')
|
||||
VMWARE_IMG_LOGIN = os.environ.get('VMWARE_IMG_LOGIN')
|
||||
VMWARE_IMG_PASSWORD = os.environ.get('VMWARE_IMG_PASSWORD')
|
||||
|
||||
# Services tests
|
||||
SERVTEST_LOCAL_PATH = os.environ.get('SERVTEST_LOCAL_PATH', '/tmp')
|
||||
SERVTEST_USERNAME = os.environ.get('SERVTEST_USERNAME', 'admin')
|
||||
|
@ -510,8 +490,6 @@ PLUGIN_PACKAGE_VERSION = os.environ.get('PLUGIN_PACKAGE_VERSION', '')
|
|||
CONTRAIL_PLUGIN_PATH = os.environ.get('CONTRAIL_PLUGIN_PATH')
|
||||
CONTRAIL_PLUGIN_PACK_UB_PATH = os.environ.get('CONTRAIL_PLUGIN_PACK_UB_PATH')
|
||||
CONTRAIL_PLUGIN_PACK_CEN_PATH = os.environ.get('CONTRAIL_PLUGIN_PACK_CEN_PATH')
|
||||
DVS_PLUGIN_PATH = os.environ.get('DVS_PLUGIN_PATH')
|
||||
DVS_PLUGIN_VERSION = os.environ.get('DVS_PLUGIN_VERSION')
|
||||
GLUSTER_PLUGIN_PATH = os.environ.get('GLUSTER_PLUGIN_PATH')
|
||||
GLUSTER_CLUSTER_ENDPOINT = os.environ.get('GLUSTER_CLUSTER_ENDPOINT')
|
||||
EXAMPLE_PLUGIN_PATH = os.environ.get('EXAMPLE_PLUGIN_PATH')
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -67,9 +67,6 @@ common:
|
|||
use_cow_images:
|
||||
type: checkbox
|
||||
value: true
|
||||
use_vcenter:
|
||||
type: hidden
|
||||
value: false
|
||||
corosync:
|
||||
group:
|
||||
type: text
|
||||
|
@ -378,9 +375,6 @@ storage:
|
|||
images_ceph:
|
||||
type: checkbox
|
||||
value: false
|
||||
images_vcenter:
|
||||
type: checkbox
|
||||
value: false
|
||||
mon_key:
|
||||
type: hidden
|
||||
value: AQDzghZXAAAAABAAVi1udBHvkQbZbDgNnT7gXA==
|
||||
|
|
|
@ -70,8 +70,6 @@ tasks:
|
|||
resources: []
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ironic-compute:
|
||||
no_puppet_run: true
|
||||
- primary-openstack-network-agents-metadata:
|
||||
|
@ -271,8 +269,6 @@ tasks:
|
|||
- primary-database:
|
||||
resources:
|
||||
- File[/root/.my.cnf]
|
||||
- vcenter_compute_zones_create:
|
||||
type: shell
|
||||
- openstack-haproxy-cinder:
|
||||
resources:
|
||||
- File[/etc/haproxy/conf.d/070-cinder-api.cfg]
|
||||
|
|
|
@ -49,8 +49,6 @@ tasks:
|
|||
- openstack-haproxy-aodh: null
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ironic-compute:
|
||||
no_puppet_run: true
|
||||
- primary-openstack-network-agents-metadata: null
|
||||
|
@ -171,8 +169,6 @@ tasks:
|
|||
- primary-database:
|
||||
skip:
|
||||
- File[/root/.my.cnf]
|
||||
- vcenter_compute_zones_create:
|
||||
type: shell
|
||||
- openstack-haproxy-cinder: null
|
||||
- ntp-server: null
|
||||
- murano-keystone:
|
||||
|
|
|
@ -64,9 +64,6 @@ common:
|
|||
use_cow_images:
|
||||
type: checkbox
|
||||
value: true
|
||||
use_vcenter:
|
||||
type: hidden
|
||||
value: false
|
||||
corosync:
|
||||
group:
|
||||
type: text
|
||||
|
@ -378,9 +375,6 @@ storage:
|
|||
images_ceph:
|
||||
type: checkbox
|
||||
value: false
|
||||
images_vcenter:
|
||||
type: checkbox
|
||||
value: false
|
||||
mon_key:
|
||||
type: hidden
|
||||
value: AQDzghZXAAAAABAAVi1udBHvkQbZbDgNnT7gXA==
|
||||
|
|
|
@ -71,8 +71,6 @@ tasks:
|
|||
resources: []
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ironic-compute:
|
||||
resources: []
|
||||
- primary-openstack-network-agents-metadata:
|
||||
|
@ -278,8 +276,6 @@ tasks:
|
|||
resources:
|
||||
- File[mysql-config-file]
|
||||
- File[/root/.my.cnf]
|
||||
- vcenter_compute_zones_create:
|
||||
type: shell
|
||||
- openstack-haproxy-cinder:
|
||||
resources:
|
||||
- File[/etc/haproxy/conf.d/070-cinder-api.cfg]
|
||||
|
|
|
@ -48,8 +48,6 @@ tasks:
|
|||
- openstack-haproxy-aodh: null
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ironic-compute: null
|
||||
- primary-openstack-network-agents-metadata: null
|
||||
- cinder-keystone: null
|
||||
|
@ -164,8 +162,6 @@ tasks:
|
|||
- primary-database:
|
||||
skip:
|
||||
- File[/root/.my.cnf]
|
||||
- vcenter_compute_zones_create:
|
||||
type: shell
|
||||
- openstack-haproxy-cinder: null
|
||||
- ntp-server: null
|
||||
- murano-keystone:
|
||||
|
|
|
@ -67,9 +67,6 @@ common:
|
|||
use_cow_images:
|
||||
type: checkbox
|
||||
value: true
|
||||
use_vcenter:
|
||||
type: hidden
|
||||
value: false
|
||||
corosync:
|
||||
group:
|
||||
type: text
|
||||
|
@ -378,9 +375,6 @@ storage:
|
|||
images_ceph:
|
||||
type: checkbox
|
||||
value: false
|
||||
images_vcenter:
|
||||
type: checkbox
|
||||
value: false
|
||||
mon_key:
|
||||
type: hidden
|
||||
value: AQDzghZXAAAAABAAVi1udBHvkQbZbDgNnT7gXA==
|
||||
|
|
|
@ -70,8 +70,6 @@ tasks:
|
|||
resources: []
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ironic-compute:
|
||||
no_puppet_run: true
|
||||
- primary-openstack-network-agents-metadata:
|
||||
|
@ -280,8 +278,6 @@ tasks:
|
|||
- primary-database:
|
||||
resources:
|
||||
- File[/root/.my.cnf]
|
||||
- vcenter_compute_zones_create:
|
||||
type: shell
|
||||
- openstack-haproxy-cinder:
|
||||
resources:
|
||||
- File[/etc/haproxy/conf.d/070-cinder-api.cfg]
|
||||
|
|
|
@ -47,8 +47,6 @@ tasks:
|
|||
- openstack-haproxy-aodh: null
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ironic-compute:
|
||||
no_puppet_run: true
|
||||
- primary-openstack-network-agents-metadata: null
|
||||
|
@ -165,8 +163,6 @@ tasks:
|
|||
- primary-database:
|
||||
skip:
|
||||
- File[/root/.my.cnf]
|
||||
- vcenter_compute_zones_create:
|
||||
type: shell
|
||||
- openstack-haproxy-cinder: null
|
||||
- ntp-server: null
|
||||
- murano-keystone:
|
||||
|
|
|
@ -67,9 +67,6 @@ common:
|
|||
use_cow_images:
|
||||
type: checkbox
|
||||
value: true
|
||||
use_vcenter:
|
||||
type: hidden
|
||||
value: false
|
||||
corosync:
|
||||
group:
|
||||
type: text
|
||||
|
@ -378,9 +375,6 @@ storage:
|
|||
images_ceph:
|
||||
type: checkbox
|
||||
value: false
|
||||
images_vcenter:
|
||||
type: checkbox
|
||||
value: false
|
||||
mon_key:
|
||||
type: hidden
|
||||
value: AQDzghZXAAAAABAAVi1udBHvkQbZbDgNnT7gXA==
|
||||
|
|
|
@ -71,8 +71,6 @@ tasks:
|
|||
resources: []
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ironic-compute:
|
||||
no_puppet_run: true
|
||||
- primary-openstack-network-agents-metadata:
|
||||
|
@ -302,8 +300,6 @@ tasks:
|
|||
- primary-database:
|
||||
resources:
|
||||
- File[/root/.my.cnf]
|
||||
- vcenter_compute_zones_create:
|
||||
type: shell
|
||||
- openstack-haproxy-cinder:
|
||||
resources:
|
||||
- File[/etc/haproxy/conf.d/070-cinder-api.cfg]
|
||||
|
|
|
@ -48,8 +48,6 @@ tasks:
|
|||
- openstack-haproxy-aodh: null
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ironic-compute:
|
||||
no_puppet_run: true
|
||||
- primary-openstack-network-agents-metadata: null
|
||||
|
@ -171,8 +169,6 @@ tasks:
|
|||
- primary-database:
|
||||
skip:
|
||||
- File[/root/.my.cnf]
|
||||
- vcenter_compute_zones_create:
|
||||
type: shell
|
||||
- openstack-haproxy-cinder: null
|
||||
- ntp-server: null
|
||||
- murano-keystone:
|
||||
|
|
|
@ -67,9 +67,6 @@ common:
|
|||
use_cow_images:
|
||||
type: checkbox
|
||||
value: true
|
||||
use_vcenter:
|
||||
type: hidden
|
||||
value: false
|
||||
corosync:
|
||||
group:
|
||||
type: text
|
||||
|
@ -378,9 +375,6 @@ storage:
|
|||
images_ceph:
|
||||
type: checkbox
|
||||
value: false
|
||||
images_vcenter:
|
||||
type: checkbox
|
||||
value: false
|
||||
mon_key:
|
||||
type: hidden
|
||||
value: AQDLzzFXAAAAABAAD8tvscw1K5KOBsEHbfxTGg==
|
||||
|
|
|
@ -51,8 +51,6 @@ tasks:
|
|||
resources: []
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- rabbitmq:
|
||||
resources: []
|
||||
- ironic-compute:
|
||||
|
|
|
@ -72,8 +72,6 @@ tasks:
|
|||
resources: []
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ironic-compute:
|
||||
no_puppet_run: true
|
||||
- primary-openstack-network-agents-metadata:
|
||||
|
@ -306,8 +304,6 @@ tasks:
|
|||
resources:
|
||||
- File[mysql-config-file]
|
||||
- File[/root/.my.cnf]
|
||||
- vcenter_compute_zones_create:
|
||||
type: shell
|
||||
- openstack-haproxy-cinder:
|
||||
resources:
|
||||
- File[/etc/haproxy/conf.d/070-cinder-api.cfg]
|
||||
|
|
|
@ -33,8 +33,6 @@ tasks:
|
|||
- openstack-haproxy-aodh: null
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ceilometer-radosgw-user: null
|
||||
- ironic-compute:
|
||||
no_puppet_run: true
|
||||
|
|
|
@ -46,8 +46,6 @@ tasks:
|
|||
- openstack-haproxy-aodh: null
|
||||
- murano-cfapi:
|
||||
no_puppet_run: true
|
||||
- vmware-vcenter:
|
||||
no_puppet_run: true
|
||||
- ironic-compute:
|
||||
no_puppet_run: true
|
||||
- primary-openstack-network-agents-metadata: null
|
||||
|
@ -162,8 +160,6 @@ tasks:
|
|||
- primary-database:
|
||||
skip:
|
||||
- File[/root/.my.cnf]
|
||||
- vcenter_compute_zones_create:
|
||||
type: shell
|
||||
- openstack-haproxy-cinder: null
|
||||
- ntp-server: null
|
||||
- murano-keystone:
|
||||
|
|
|
@ -26,9 +26,6 @@ from fuelweb_test.tests.tests_lcm.base_lcm_test import TASKS_BLACKLIST
|
|||
|
||||
|
||||
EXCLUDED_TASKS_FROM_COVERAGE = [
|
||||
"top-role-cinder-vmware",
|
||||
"top-role-compute-vmware",
|
||||
"vmware-vcenter",
|
||||
"generate_vms",
|
||||
"plugins_rsync",
|
||||
"plugins_setup_repositories",
|
||||
|
|
|
@ -90,7 +90,6 @@ bvt_2:
|
|||
- vcsrepo
|
||||
- virtual_ips
|
||||
- xinetd
|
||||
- vmware
|
||||
- wait_for_backend
|
||||
- wait_for_keystone_backends
|
||||
- wait_for_glance_backends
|
||||
|
|
|
@ -860,7 +860,6 @@ deployment:
|
|||
- neutron-plugin-plumgrid
|
||||
- neutron-plugin-ryu
|
||||
- neutron-plugin-ryu-agent
|
||||
- neutron-plugin-vmware
|
||||
- neutron-plugin-vpn-agent
|
||||
- neutron-server
|
||||
- neutron-vpn-agent
|
||||
|
@ -1602,7 +1601,6 @@ deployment:
|
|||
- ceph
|
||||
- cgroup-lite
|
||||
- cirros-testvm
|
||||
- cirros-testvmware
|
||||
- cloud-init
|
||||
- cluster-glue
|
||||
- conntrack
|
||||
|
@ -1831,7 +1829,6 @@ deployment:
|
|||
- python-oslo.i18n
|
||||
- python-oslo.serialization
|
||||
- python-oslo.utils
|
||||
- python-oslo.vmware
|
||||
- python-osprofiler
|
||||
- python-pam
|
||||
- python-pecan
|
||||
|
|
|
@ -788,7 +788,6 @@ deployment:
|
|||
- openstack-neutron-openvswitch
|
||||
- openstack-neutron-plumgrid
|
||||
- openstack-neutron-ryu
|
||||
- openstack-neutron-vmware
|
||||
- openstack-neutron-vpn-agent
|
||||
- python-neutron
|
||||
- dkms
|
||||
|
@ -875,7 +874,6 @@ deployment:
|
|||
- cifs-utils
|
||||
- cirros-testvm
|
||||
- cirros-testvm-mellanox
|
||||
- cirros-testvmware
|
||||
- cloud-init
|
||||
- cloud-utils
|
||||
- cloud-utils-growpart
|
||||
|
@ -1291,7 +1289,6 @@ deployment:
|
|||
- python-openstackclient
|
||||
- python-oslo-config-doc
|
||||
- python-oslo-rootwrap
|
||||
- python-oslo-vmware
|
||||
- python-osnagios
|
||||
- python-osprofiler
|
||||
- python-paste-deploy1.5
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
from .base import BaseActions
|
||||
from .fuelmaster_actions import FuelMasterActions
|
||||
from .vcenter_actions import VMwareActions
|
||||
from .strength_actions import StrengthActions
|
||||
from .strength_actions import FillRootActions
|
||||
|
||||
|
@ -22,7 +21,6 @@ from .strength_actions import FillRootActions
|
|||
__all__ = [
|
||||
'BaseActions',
|
||||
'FuelMasterActions',
|
||||
'VMwareActions',
|
||||
'StrengthActions',
|
||||
'FillRootActions'
|
||||
]
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
from __future__ import division
|
||||
|
||||
import time
|
||||
import itertools
|
||||
|
||||
|
||||
from proboscis import SkipTest
|
||||
from proboscis.asserts import assert_equal
|
||||
|
@ -37,7 +35,6 @@ from system_test import deferred_decorator
|
|||
|
||||
from system_test.actions.ostf_actions import HealthCheckActions
|
||||
from system_test.actions.plugins_actions import PluginsActions
|
||||
from system_test.actions.vcenter_actions import VMwareActions
|
||||
|
||||
from system_test.core.discover import load_yaml
|
||||
from system_test.helpers.decorators import make_snapshot_if_step_fail
|
||||
|
@ -192,8 +189,7 @@ class PrepareActions(object):
|
|||
|
||||
|
||||
# noinspection PyUnresolvedReferences
|
||||
class BaseActions(PrepareActions, HealthCheckActions, PluginsActions,
|
||||
VMwareActions):
|
||||
class BaseActions(PrepareActions, HealthCheckActions, PluginsActions):
|
||||
"""Basic actions for acceptance cases
|
||||
|
||||
For choosing action order use actions_order variable, set list of actions
|
||||
|
@ -456,15 +452,6 @@ class BaseActions(PrepareActions, HealthCheckActions, PluginsActions,
|
|||
self._add_node([node])
|
||||
elif node['action'] == 'delete':
|
||||
self._del_node([node])
|
||||
if 'compute-vmware' in node['roles']:
|
||||
self.del_vmware_nova_compute()
|
||||
elif node['action'] == 'reconfigure':
|
||||
if node.get('vmware_vcenter'):
|
||||
nova_computes = node['vmware_vcenter']['nova-compute']
|
||||
self.add_vmware_nova_compute(nova_computes)
|
||||
if node.get('vmware_dvs'):
|
||||
dvs_settings = node['vmware_dvs']
|
||||
self.update_dvs_plugin_settings(dvs_settings)
|
||||
else:
|
||||
logger.error("Unknown scale action: {}".format(node['action']))
|
||||
self.scale_step += 1
|
||||
|
@ -539,66 +526,6 @@ class BaseActions(PrepareActions, HealthCheckActions, PluginsActions,
|
|||
"{}".format(node['action']))
|
||||
self.power_step += 1
|
||||
|
||||
def add_vmware_nova_compute(self, nova_computes):
|
||||
vmware_attr = \
|
||||
self.fuel_web.client.get_cluster_vmware_attributes(self.cluster_id)
|
||||
vcenter_data = vmware_attr['editable']['value']['availability_zones'][
|
||||
0]["nova_computes"]
|
||||
|
||||
comp_vmware_nodes = self.fuel_web.get_nailgun_cluster_nodes_by_roles(
|
||||
self.cluster_id, ['compute-vmware'], role_status='pending_roles')
|
||||
|
||||
comp_vmware_nodes = [n for n in comp_vmware_nodes if
|
||||
n['pending_addition']]
|
||||
|
||||
for instance in nova_computes:
|
||||
cluster_name = instance['cluster']
|
||||
srv_name = instance['srv_name']
|
||||
datastore = instance['datastore']
|
||||
if instance['target_node'] == 'compute-vmware':
|
||||
node = comp_vmware_nodes.pop()
|
||||
target_node = node['hostname']
|
||||
else:
|
||||
target_node = instance['target_node']
|
||||
|
||||
vcenter_data[:] = [n for n in vcenter_data if
|
||||
cluster_name != n['vsphere_cluster']]
|
||||
|
||||
vcenter_data.append(
|
||||
{"vsphere_cluster": cluster_name,
|
||||
"service_name": srv_name,
|
||||
"datastore_regex": datastore,
|
||||
"target_node": {
|
||||
"current": {"id": target_node,
|
||||
"label": target_node},
|
||||
"options": [{"id": target_node,
|
||||
"label": target_node}, ]},
|
||||
}
|
||||
)
|
||||
|
||||
logger.debug("Try to update cluster with next "
|
||||
"vmware_attributes {0}".format(vmware_attr))
|
||||
self.fuel_web.client.update_cluster_vmware_attributes(
|
||||
self.cluster_id, vmware_attr)
|
||||
|
||||
def del_vmware_nova_compute(self):
|
||||
vmware_attr = \
|
||||
self.fuel_web.client.get_cluster_vmware_attributes(self.cluster_id)
|
||||
vcenter_data = vmware_attr['editable']['value']['availability_zones'][
|
||||
0]["nova_computes"]
|
||||
|
||||
comp_vmware_nodes = self.fuel_web.get_nailgun_cluster_nodes_by_roles(
|
||||
self.cluster_id, ['compute-vmware'])
|
||||
comp_vmware_nodes = [node for node in comp_vmware_nodes if
|
||||
node['pending_deletion'] is True]
|
||||
|
||||
for node, nova_comp in itertools.product(comp_vmware_nodes,
|
||||
vcenter_data):
|
||||
if node['hostname'] == nova_comp['target_node']['current']['id']:
|
||||
vcenter_data.remove(nova_comp)
|
||||
self.fuel_web.client.update_cluster_vmware_attributes(self.cluster_id,
|
||||
vmware_attr)
|
||||
|
||||
@deferred_decorator([make_snapshot_if_step_fail])
|
||||
@action
|
||||
def reset_cluster(self):
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,146 +0,0 @@
|
|||
# Copyright 2016 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE_2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from fuelweb_test.settings import DVS_PLUGIN_PATH
|
||||
from fuelweb_test.settings import DVS_PLUGIN_VERSION
|
||||
|
||||
from system_test import testcase
|
||||
from system_test.actions import BaseActions
|
||||
from system_test.actions import VMwareActions
|
||||
from system_test.tests import ActionTest
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vcenter_redeploy_successful_cluster'])
|
||||
class RedeploySuccessfulWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Reset and redeploy cluster with vCenter after successful deployment.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Run OSTF
|
||||
9. Reset cluster
|
||||
10. Check networks
|
||||
11. Redeploy cluster
|
||||
12. Run OSTF
|
||||
|
||||
Duration 3h 00min
|
||||
Snapshot cluster_actions_redeploy_successful
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'health_check',
|
||||
'reset_cluster',
|
||||
'wait_mcollective',
|
||||
'network_check',
|
||||
'deploy_cluster',
|
||||
'health_check'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vcenter_redeploy_stopped_cluster'])
|
||||
class RedeployAfterStopWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Stop and redeploy cluster with vCenter with new parameters.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings with incorrect values
|
||||
7. Stop on cluster deploy (needs env variable PROGRESS_TO_STOP=50)
|
||||
8. Configure vmware settings (depends on yaml config)
|
||||
9. Check networks
|
||||
10. Deploy cluster
|
||||
11. Run OSTF
|
||||
|
||||
Duration 3h 00min
|
||||
Snapshot cluster_actions_redeploy_stopped
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter_incorrect',
|
||||
'stop_on_deploy',
|
||||
'wait_mcollective',
|
||||
'configure_vcenter',
|
||||
'network_check',
|
||||
'deploy_cluster',
|
||||
'health_check',
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vcenter_redeploy_failed_cluster'])
|
||||
class RedeployFailedWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Redeploy cluster with vCenter after failed deployment.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings with incorrect values
|
||||
7. Deploy the cluster (deploy should fail)
|
||||
8. Configure vmware settings (depends on yaml config)
|
||||
9. Redeploy cluster
|
||||
10. Run OSTF
|
||||
|
||||
Duration 3h 00min
|
||||
Snapshot cluster_actions_redeploy_failed
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter_incorrect',
|
||||
'fail_deploy_cluster',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'health_check'
|
||||
]
|
|
@ -1,583 +0,0 @@
|
|||
# Copyright 2015 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE_2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from devops.helpers.ssh_client import SSHAuth
|
||||
|
||||
from fuelweb_test.settings import DVS_PLUGIN_PATH
|
||||
from fuelweb_test.settings import DVS_PLUGIN_VERSION
|
||||
from fuelweb_test.settings import VMWARE_IMG_LOGIN
|
||||
from fuelweb_test.settings import VMWARE_IMG_NAME
|
||||
from fuelweb_test.settings import VMWARE_IMG_PASSWORD
|
||||
from fuelweb_test.settings import VMWARE_IMG_URL
|
||||
|
||||
from system_test import testcase
|
||||
from system_test.actions import BaseActions
|
||||
from system_test.actions import VMwareActions
|
||||
from system_test.tests import ActionTest
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.deploy_vcenter_dvs_run_ostf'])
|
||||
class DeployWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and dvs plugin.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Run OSTF
|
||||
|
||||
Duration 2h 00min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'health_check_sanity_smoke_ha'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.scale_vcenter_dvs'])
|
||||
class ScaleWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy and scale cluster with vCenter and dvs plugin.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Run network verification
|
||||
8. Deploy the cluster
|
||||
9. Add/Delete nodes
|
||||
10. Redeploy cluster
|
||||
11. Run OSTF
|
||||
|
||||
Duration 3h 00min
|
||||
Snapshot scale_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'network_check',
|
||||
'deploy_cluster',
|
||||
'scale_node',
|
||||
'deploy_changes',
|
||||
'check_nova_conf',
|
||||
'health_check_sanity_smoke_ha'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.deploy_vcenter_dvs_run_platform_ostf'])
|
||||
class DeployWithVMwareRunPlatformOSTF(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and dvs plugin. Run platform OSTF.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Run OSTF
|
||||
9. Run OSTF (platform tests)
|
||||
|
||||
Duration 2h 20min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'network_check',
|
||||
'deploy_cluster',
|
||||
'health_check_sanity_smoke_ha',
|
||||
'health_check_platform'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.deploy_with_custom_hostname'])
|
||||
class DeployWithCustomHostname(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and custom hostname.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Set custom hostname for nodes
|
||||
7. Configure vmware settings (depends on yaml config)
|
||||
8. Deploy the cluster
|
||||
9. Run OSTF
|
||||
|
||||
Duration 1h 40min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'set_custom_node_names',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'health_check_sanity_smoke_ha'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.check_vcenter_configs'])
|
||||
class CheckNovaConfig(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and custom hostname.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Check nova configuration (vCenter)
|
||||
9. Run OSTF
|
||||
|
||||
Duration 1h 40min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'check_nova_conf',
|
||||
'check_cinder_conf',
|
||||
'check_glance_conf',
|
||||
'health_check_sanity_smoke_ha'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.check_nova_srv'])
|
||||
class CheckNovaSrv(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and custom hostname.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Check nova services (vCenter)
|
||||
9. Run OSTF
|
||||
|
||||
Duration 1h 40min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'check_nova_srv',
|
||||
'health_check_sanity_smoke_ha'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.check_cinder_srv'])
|
||||
class CheckCinderVmwareSrv(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and custom hostname.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Check vmware cinder service
|
||||
9. Run OSTF
|
||||
|
||||
Duration 1h 40min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'check_cinder_vmware_srv',
|
||||
'health_check_sanity_smoke_ha'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.attach_empty_volume'])
|
||||
class AttachEmptyVol(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and dvs plugin.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Create and attach to instance empty volume
|
||||
|
||||
Duration 2h 00min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'create_and_attach_empty_volume'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.bootable_vol'])
|
||||
class BootableVol(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and dvs plugin.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Create bootable volume and launch instance from it
|
||||
|
||||
Duration 2h 00min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'create_bootable_volume_and_run_instance'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.disable_enable_compute_service'])
|
||||
class DisableEnableVMwareServices(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and dvs plugin.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Disable/enable vmware compute hosts and run instance
|
||||
|
||||
Duration 2h 00min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'check_vmware_service_actions'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.upload_image'])
|
||||
class UploadImage(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and dvs plugin.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Upload ubuntu cloud image
|
||||
9. Launch instance
|
||||
|
||||
Duration 2h 00min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
image_name = VMWARE_IMG_NAME
|
||||
image_url = VMWARE_IMG_URL
|
||||
image_creds = SSHAuth(VMWARE_IMG_LOGIN, VMWARE_IMG_PASSWORD)
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'upload_image',
|
||||
'check_instance_creation'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vmxnet3'])
|
||||
class Vmxnet3(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and dvs plugin.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Upload ubuntu cloud image
|
||||
9. Launch instance with vmware vmxnet3 adapter
|
||||
|
||||
Duration 2h 00min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
image_name = VMWARE_IMG_NAME
|
||||
image_url = VMWARE_IMG_URL
|
||||
image_creds = SSHAuth(VMWARE_IMG_LOGIN, VMWARE_IMG_PASSWORD)
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'upload_image',
|
||||
'create_instance_with_vmxnet3_adapter'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.create_batch_of_instances'])
|
||||
class CreateBatchInstances(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and dvs plugin.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Create several instances simultaneously
|
||||
|
||||
Duration 2h 00min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'check_batch_instance_creation'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.diff_disk_types'])
|
||||
class DiffDiskTypes(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and dvs plugin.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Create instances with different disk type
|
||||
|
||||
Duration 2h 00min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'create_instance_with_different_disktype'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.neutron_public_net'])
|
||||
class DeployNeutronPublicNet(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy cluster with vCenter and dvs plugin.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Run OSTF
|
||||
|
||||
Duration 2h 00min
|
||||
Snapshot deploy_vcenter_dvs
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'check_neutron_public',
|
||||
'check_gw_on_vmware_nodes'
|
||||
]
|
|
@ -1,372 +0,0 @@
|
|||
# Copyright 2015 Mirantis, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE_2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from fuelweb_test.settings import DVS_PLUGIN_PATH
|
||||
from fuelweb_test.settings import DVS_PLUGIN_VERSION
|
||||
|
||||
from system_test import testcase
|
||||
from system_test.actions import BaseActions
|
||||
from system_test.actions import VMwareActions
|
||||
from system_test.tests import ActionTest
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vcenter_reset_ctrl'])
|
||||
class HardResetPrimaryWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Hard reset primary controller and check vCenter functionality.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Create instances on Nova and vCenter
|
||||
9. Hard reset primary controller
|
||||
10. Wait 5-10 minutes
|
||||
11. Verify networks
|
||||
12. Ensure that VIPs are moved to other controller
|
||||
13. Ensure connectivity between VMs
|
||||
14. Run OSTF tests
|
||||
|
||||
Duration 3h 00min
|
||||
Snapshot vcenter_reset_ctrl
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'create_instances',
|
||||
'hard_reset_primary',
|
||||
'wait_ha_services',
|
||||
'network_check',
|
||||
'check_up_vips',
|
||||
'check_vm_connect',
|
||||
'delete_instances',
|
||||
'health_check'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vcenter_shutdown_ctrl'])
|
||||
class ShutdownPrimaryWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Shutdown primary controller and check vCenter functionality.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Create instances on Nova and vCenter
|
||||
9. Add nodes (depends on yaml config)
|
||||
10 Deploy changes
|
||||
11. Shutdown primary controller
|
||||
12. Verify networks
|
||||
13. Ensure that VIPs are moved to other controller
|
||||
14. Ensure connectivity between VMs
|
||||
15. Run OSTF tests (one should fail)
|
||||
16. Turn on primary controller
|
||||
17. Wait 5-10 minutes
|
||||
18. Verify networks
|
||||
19. Run OSTF tests
|
||||
|
||||
Duration 3h 00min
|
||||
Snapshot vcenter_shutdown_ctrl
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'create_instances',
|
||||
'scale_node',
|
||||
'deploy_changes',
|
||||
'shutdown_primary',
|
||||
'network_check',
|
||||
'check_up_vips',
|
||||
'check_vm_connect',
|
||||
'delete_instances',
|
||||
'ostf_with_haproxy_fail',
|
||||
'turn_on_primary',
|
||||
'wait_ha_services',
|
||||
'network_check',
|
||||
'health_check'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vcenter_reboot_ctrl'])
|
||||
class SafeRebootPrimaryWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Safe reboot primary controller and check vCenter functionality.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Create instances on Nova and vCenter
|
||||
9. Safe reboot primary controller
|
||||
10. Wait 5-10 minutes
|
||||
11. Verify networks
|
||||
12. Ensure that VIPs are moved to other controller
|
||||
13. Ensure connectivity between VMs
|
||||
14. Run OSTF tests
|
||||
|
||||
Duration 3h 00min
|
||||
Snapshot vcenter_reboot_ctrl
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'create_instances',
|
||||
'safe_reboot_primary',
|
||||
'wait_ha_services',
|
||||
'network_check',
|
||||
'check_up_vips',
|
||||
'check_vm_connect',
|
||||
'delete_instances',
|
||||
'health_check'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vcenter_shutdown_cindervmware'])
|
||||
class ShutdownCinderNodeWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Shutdown one of CinderVMDK node.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Create instances on KVM and vCenter
|
||||
9. Run all OSTF tests
|
||||
10. Shutdown one of CinderVMDK node (depends on yaml config)
|
||||
11. Run vCenter OSTF tests
|
||||
12. Power on CinderVMDK node and wait for it to load (depends on yaml)
|
||||
13. Run vCenter OSTF tests
|
||||
14. Shutdown another CinderVMDK node (depends on yaml config)
|
||||
15. Run vCenter OSTF tests
|
||||
16. Power on CinderVMDK node and wait for it to load (depends on yaml)
|
||||
17. Run all OSTF tests
|
||||
|
||||
Duration 3h 00min
|
||||
Snapshot vcenter_shutdown_cindervmware
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'create_instances',
|
||||
'health_check_sanity_smoke_ha',
|
||||
'manage_nodes_power',
|
||||
'vcenter_ostf',
|
||||
'manage_nodes_power',
|
||||
'vcenter_ostf',
|
||||
'manage_nodes_power',
|
||||
'vcenter_ostf',
|
||||
'manage_nodes_power',
|
||||
'delete_instances',
|
||||
'health_check_sanity_smoke_ha'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vcenter_reboot_cindervmware'])
|
||||
class RebootCinderNodeWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Restart CinderVMware node.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster
|
||||
8. Reboot CinderVMware node (depends on yaml config)
|
||||
9. Check CinderVMware services.
|
||||
|
||||
Duration 3h 00min
|
||||
Snapshot vcenter_reboot_cindervmware
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'deploy_cluster',
|
||||
'manage_nodes_power',
|
||||
'check_cinder_vmware_srv',
|
||||
'health_check'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vcenter_iname_glance_ds'])
|
||||
class DeployINameDSWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy with controller and incorrect name of vCenter Glance Datastore.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster (Deploy should fail)
|
||||
|
||||
Duration 3h 00min
|
||||
Snapshot vcenter_iname_glance_ds
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'config_ids_glance',
|
||||
'fail_deploy_cluster'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vcenter_iname_glance_dc'])
|
||||
class DeployINameDCWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy with controller and incorrect name of vCenter Glance Datacenter.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Deploy the cluster (Deploy should fail)
|
||||
|
||||
Duration 3h 00min
|
||||
Snapshot vcenter_iname_glance_dc
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'config_idc_glance',
|
||||
'fail_deploy_cluster'
|
||||
]
|
||||
|
||||
|
||||
@testcase(groups=['system_test',
|
||||
'system_test.vcenter',
|
||||
'system_test.vcenter.vcenter_idatastore'])
|
||||
class DeployIDSWithVMware(ActionTest, BaseActions, VMwareActions):
|
||||
"""Deploy with controller and not correct regex of vCenter Datastore.
|
||||
|
||||
Scenario:
|
||||
1. Upload plugin to the master node
|
||||
2. Install plugin
|
||||
3. Create cluster
|
||||
4. Configure dvs settings (depends on yaml config)
|
||||
5. Add nodes (depends on yaml config)
|
||||
6. Configure vmware settings (depends on yaml config)
|
||||
7. Redefine vmware settings with incorrect ds
|
||||
8. Deploy the cluster
|
||||
9. Run OSTF tests (should fail)
|
||||
|
||||
Duration 2h 00min
|
||||
Snapshot vcenter_idatastore
|
||||
"""
|
||||
|
||||
plugin_name = "fuel-plugin-vmware-dvs"
|
||||
plugin_path = DVS_PLUGIN_PATH
|
||||
plugin_version = DVS_PLUGIN_VERSION
|
||||
|
||||
actions_order = [
|
||||
'prepare_env_with_plugin',
|
||||
'create_env',
|
||||
'configure_dvs_plugin',
|
||||
'add_nodes',
|
||||
'configure_vcenter',
|
||||
'config_idatastore',
|
||||
'deploy_cluster',
|
||||
'fail_ostf'
|
||||
]
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
dvswitch_name: !os_env DVS_NAME, "Cluster1:Cluster1:dvUplink1;dvUplink2:dvUplink3"
|
||||
dvs_fw_driver: false
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
dvswitch_name: !os_env DVS_NAME, "Cluster1:Cluster1:dvUplink1;dvUplink2:dvUplink3\nCluster2:Cluster2:dvUplink1;dvUplink2:dvUplink3"
|
||||
dvs_fw_driver: false
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
- cluster: Cluster1
|
||||
srv_name: srv_cluster1
|
||||
datastore: .*
|
||||
target_node: compute-vmware
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
- cluster: Cluster1
|
||||
srv_name: srv_cluster1
|
||||
datastore: .*
|
||||
target_node: controllers
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
- cluster: Cluster1
|
||||
srv_name: srv_cluster1
|
||||
datastore: .*
|
||||
target_node: compute-vmware
|
||||
- cluster: Cluster2
|
||||
srv_name: srv_cluster2
|
||||
datastore: .*
|
||||
target_node: compute-vmware
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
- cluster: Cluster1
|
||||
srv_name: srv_cluster1
|
||||
datastore: .*
|
||||
target_node: controllers
|
||||
- cluster: Cluster2
|
||||
srv_name: srv_cluster2
|
||||
datastore: .*
|
||||
target_node: controllers
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
- cluster: Cluster1
|
||||
srv_name: srv_cluster1
|
||||
datastore: .*
|
||||
target_node: controllers
|
||||
- cluster: Cluster2
|
||||
srv_name: srv_cluster2
|
||||
datastore: .*
|
||||
target_node: compute-vmware
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
enable: true
|
||||
host: !os_env VCENTER_GLANCE_IP, 172.16.0.254
|
||||
user: !os_env VCENTER_GLANCE_USERNAME, administrator@vsphere.local
|
||||
pwd: !os_env VCENTER_GLANCE_PASSWORD, Qwer!1234
|
||||
datacenter: !os_env VCENTER_DATACENTER, Datacenter
|
||||
datastore: !os_env VCENTER_DATASTORE, nfs
|
||||
ca_bypass: !os_env VCENTER_GLANCE_CERT_BYPASS, True
|
||||
ca_file: !os_env VCENTER_GLANCE_CERT_URL, None
|
|
@ -1,11 +0,0 @@
|
|||
---
|
||||
- eth0:
|
||||
- admin
|
||||
- eth1:
|
||||
- public
|
||||
- eth2:
|
||||
- management
|
||||
- eth3:
|
||||
- private
|
||||
- eth4:
|
||||
- storage
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
az: vcenter
|
||||
host: !os_env VCENTER_IP, 172.16.0.254
|
||||
user: !os_env VCENTER_USERNAME, administrator@vsphere.local
|
||||
pwd: !os_env VCENTER_PASSWORD, Qwer!1234
|
||||
ca_bypass: !os_env VCENTER_CERT_BYPASS, True
|
||||
ca_file: !os_env VCENTER_CERT_URL, None
|
|
@ -1,46 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 3 controllers, 1 compute + cinder, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 6
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_add_cindervmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 3
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
scale_nodes:
|
||||
- - roles:
|
||||
- cinder-vmware
|
||||
count: 1
|
||||
action: add
|
|
@ -1,45 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 cinder-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 2
|
||||
cluster_template:
|
||||
name: vcenter_add_cluster_to_ctrl
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_1cluster.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
scale_nodes:
|
||||
- - action: reconfigure
|
||||
vmware_vcenter:
|
||||
nova-compute:
|
||||
- cluster: Cluster2
|
||||
srv_name: srv_cluster2
|
||||
datastore: .*
|
||||
target_node: controllers
|
||||
vmware_dvs:
|
||||
dvswitch_name: !os_env DVS_NAME, Cluster1:Cluster1;Cluster2:Cluster2
|
||||
dvs_fw_driver: false
|
|
@ -1,52 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 compute + cinder, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 3
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_add_computevmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_1cluster.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
scale_nodes:
|
||||
- - roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
action: add
|
||||
- action: reconfigure
|
||||
vmware_vcenter:
|
||||
nova-compute:
|
||||
- cluster: Cluster2
|
||||
srv_name: srv_cluster2
|
||||
datastore: .*
|
||||
target_node: compute-vmware
|
||||
vmware_dvs:
|
||||
dvswitch_name: !os_env DVS_NAME, "Cluster1:Cluster1:dvUplink1;dvUplink2:dvUplink3\nCluster2:Cluster2:dvUplink1;dvUplink2:dvUplink3"
|
||||
dvs_fw_driver: false
|
|
@ -1,50 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 compute + cinder, 1 cinder-vmware, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 6
|
||||
cluster_template:
|
||||
name: vcenter_add_controller
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl_comp-vmware.yaml
|
||||
glance:
|
||||
!include cluster_configs/settings/vmware/vcenter_glance.yaml
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
scale_nodes:
|
||||
- - roles:
|
||||
- controller
|
||||
count: 2
|
||||
action: add
|
|
@ -1,46 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller + mongo, 1 compute + cinder, 1 cinder-vmware, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 4
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_ceilometer_and_computevmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/ceilometer.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
- mongo
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,44 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 compute, 1 compute-vmware, 2 ceph-osd on Neutron/VLAN with DVS plugin
|
||||
slaves: 5
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_ceph_and_computevmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cephImgVolRados.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_1cluster.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- ceph-osd
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 2
|
|
@ -1,39 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 cinder-vmware, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 3
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_cindervmdk_and_computevmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_1cluster.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,34 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 2 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 3
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_computevmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 2
|
|
@ -1,51 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 3 controllers, 1 compute + cinder, 1 cinder-vmware, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 6
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_delete_cindervmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 3
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
scale_nodes:
|
||||
- - roles:
|
||||
- cinder-vmware
|
||||
count: 1
|
||||
action: delete
|
|
@ -1,51 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 compute + cinder, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 3
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_delete_computevmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
scale_nodes:
|
||||
- - roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
action: delete
|
||||
- action: reconfigure
|
||||
vmware_dvs:
|
||||
dvswitch_name: !os_env DVS_NAME, "Cluster1:Cluster1:dvUplink1;dvUplink2:dvUplink3"
|
||||
dvs_fw_driver: false
|
|
@ -1,50 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 4 controllers, 1 compute + cinder, 1 cinder-vmware, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 7
|
||||
cluster_template:
|
||||
name: vcenter_delete_controller
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl_comp-vmware.yaml
|
||||
glance:
|
||||
!include cluster_configs/settings/vmware/vcenter_glance.yaml
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 4
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
scale_nodes:
|
||||
- - roles:
|
||||
- controller
|
||||
count: 1
|
||||
action: delete
|
|
@ -1,45 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 3 controllers, 1 compute + cinder, 1 cinder-vmware, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 6
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_dvs_bvt
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl_comp-vmware.yaml
|
||||
glance:
|
||||
!include cluster_configs/settings/vmware/vcenter_glance.yaml
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 3
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,38 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 5 nodes on Neutron/VLAN with DVS plugin (3 controllers, 1 compute + cinder, 1 cinder-vmware)
|
||||
slaves: 5
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_dvs_failover
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 3
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,29 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 Controller on Neutron/VLAN with DVS plugin
|
||||
slaves: 1
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_dvs_smoke
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_1cluster.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,29 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 Controller on Neutron/VLAN with DVS plugin and Glance
|
||||
slaves: 1
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_glance_backend
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_ctrl.yaml
|
||||
glance:
|
||||
!include cluster_configs/settings/vmware/vcenter_glance.yaml
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_1cluster.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,34 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 2
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_glance_backend_and_computevmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_comp-vmware.yaml
|
||||
glance:
|
||||
!include cluster_configs/settings/vmware/vcenter_glance.yaml
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_1cluster.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,38 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 cinder-vmware, 1 compute-vmware on Neutron/VLAN with DVS plugin and Glance
|
||||
slaves: 3
|
||||
cluster_template:
|
||||
name: vcenter_glance_vmware_roles
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl_comp-vmware.yaml
|
||||
glance:
|
||||
!include cluster_configs/settings/vmware/vcenter_glance.yaml
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,41 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 3 controller + mongo, 1 compute + cinder, 1 cinder-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 5
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_ha_ceilometer
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/ceilometer.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
- mongo
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 3
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,44 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 3 controller, 1 compute, 2 ceph-osd on Neutron/VLAN with DVS plugin
|
||||
slaves: 6
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_ha_ceph
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
volume-lvm: false
|
||||
volume-ceph: true
|
||||
image-ceph: true
|
||||
rados-ceph: true
|
||||
ephemeral-ceph: true
|
||||
replica-ceph: 2
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 3
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- ceph-osd
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 2
|
|
@ -1,46 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 3 controller, 1 ceph-osd + cinder-vmware, 1 ceph-osd + cinder on Neutron/VLAN with DVS plugin
|
||||
slaves: 5
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_ha_cinder_and_ceph
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
volume-lvm: true
|
||||
volume-ceph: false
|
||||
image-ceph: true
|
||||
rados-ceph: true
|
||||
ephemeral-ceph: true
|
||||
replica-ceph: 2
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 3
|
||||
|
||||
- roles:
|
||||
- ceph-osd
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- ceph-osd
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,40 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 3 controllers, 1 compute + cinder, 1 cinder-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 5
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_ha_multiple_clusters
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 3
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,42 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller + cinder-vmware + cinder + mongo, 1 compute, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 3
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_multiroles_ceilometer
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/ceilometer.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
- cinder-vmware
|
||||
- cinder
|
||||
- mongo
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,38 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller + cinder-vmware + ceph, 1 compute + cinder-vmware + ceph on Neutron/VLAN with DVS plugin
|
||||
slaves: 2
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_multiroles_cindervmdk_and_ceph
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cephImgVolRados.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
- cinder-vmware
|
||||
- ceph-osd
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder-vmware
|
||||
- ceph-osd
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,38 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller + cinder-vmware + cinder, 1 compute + cinder-vmware + cinder on Neutron/VLAN with DVS plugin
|
||||
slaves: 2
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_multiroles_cindervmdk_and_cinder
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
- cinder-vmware
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute
|
||||
- cinder-vmware
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,35 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 compute-vmware + cinder-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 2
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_multiroles_computevmware_cindervmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,52 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 3
|
||||
cluster_template:
|
||||
name: vcenter_mv_cluster_compute_to_compute
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_1cluster.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
scale_nodes:
|
||||
- - roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
action: add
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
action: delete
|
||||
- action: reconfigure
|
||||
vmware_vcenter:
|
||||
nova-compute:
|
||||
- cluster: Cluster1
|
||||
srv_name: srv_cluster1
|
||||
datastore: .*
|
||||
target_node: compute-vmware
|
|
@ -1,47 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 2
|
||||
cluster_template:
|
||||
name: vcenter_mv_cluster_compute_to_ctrl
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_1cluster.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
scale_nodes:
|
||||
- - roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
action: delete
|
||||
- action: reconfigure
|
||||
vmware_vcenter:
|
||||
nova-compute:
|
||||
- cluster: Cluster1
|
||||
srv_name: srv_cluster1
|
||||
datastore: .*
|
||||
target_node: controllers
|
|
@ -1,47 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 cinder-vmware, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 3
|
||||
cluster_template:
|
||||
name: vcenter_mv_cluster_ctrl_to_compute
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_1cluster.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
scale_nodes:
|
||||
- - roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
action: add
|
||||
- action: reconfigure
|
||||
vmware_vcenter:
|
||||
nova-compute:
|
||||
- cluster: Cluster1
|
||||
srv_name: srv_cluster1
|
||||
datastore: .*
|
||||
target_node: compute-vmware
|
|
@ -1,40 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 cinder-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 2
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_reboot_cindervmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
|
||||
manage_nodes_power:
|
||||
- - roles:
|
||||
- cinder-vmware
|
||||
node_number: 0
|
||||
action: reboot_warm
|
|
@ -1,57 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 compute + cinder, 2 cinder-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 4
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_shutdown_cindervmware
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/1cluster_ctrl.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
- roles:
|
||||
- compute
|
||||
- cinder
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 2
|
||||
|
||||
|
||||
manage_nodes_power:
|
||||
- - roles:
|
||||
- cinder-vmware
|
||||
node_number: 0
|
||||
action: power_off_warm
|
||||
- - roles:
|
||||
- cinder-vmware
|
||||
node_number: 0
|
||||
action: power_on_warm
|
||||
- - roles:
|
||||
- cinder-vmware
|
||||
node_number: 1
|
||||
action: power_off_warm
|
||||
- - roles:
|
||||
- cinder-vmware
|
||||
node_number: 1
|
||||
action: power_on_warm
|
|
@ -1,46 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 cinder-vmware, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 3
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_roles
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
- cluster: Cluster1
|
||||
srv_name: srv_cluster1
|
||||
datastore: n.*
|
||||
target_node: controllers
|
||||
- cluster: Cluster2
|
||||
srv_name: srv_cluster2
|
||||
datastore: nf.*
|
||||
target_node: compute-vmware
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,46 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 cinder-vmware, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 3
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_roles_local_ds
|
||||
release: ubuntu
|
||||
network:
|
||||
!include cluster_configs/networks/neutron_vlan.yaml
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
- cluster: Cluster1
|
||||
srv_name: srv_cluster1
|
||||
datastore: datastore.*
|
||||
target_node: controllers
|
||||
- cluster: Cluster2
|
||||
srv_name: srv_cluster2
|
||||
datastore: datastore.*
|
||||
target_node: compute-vmware
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
|
@ -1,41 +0,0 @@
|
|||
---
|
||||
template:
|
||||
name: 1 controller, 1 cinder-vmware, 1 compute-vmware on Neutron/VLAN with DVS plugin
|
||||
slaves: 3
|
||||
devops_settings: !include devops_configs/vcenter_ha_default.yaml
|
||||
cluster_template:
|
||||
name: vcenter_roles_pub_ip
|
||||
release: ubuntu
|
||||
network:
|
||||
provider: neutron
|
||||
segment-type: vlan
|
||||
pubip-to-all: true
|
||||
settings:
|
||||
components:
|
||||
!include cluster_configs/settings/components/wo_components.yaml
|
||||
storages:
|
||||
!include cluster_configs/settings/storages/cinder_only.yaml
|
||||
vmware_vcenter:
|
||||
settings:
|
||||
!include cluster_configs/settings/vmware/vcenter_main.yaml
|
||||
nova-compute:
|
||||
!include cluster_configs/settings/vmware/nova_compute/2clusters_ctrl_comp-vmware.yaml
|
||||
glance:
|
||||
enable: false
|
||||
vmware_dvs:
|
||||
!include cluster_configs/settings/vmware/dvs/dvs_main.yaml
|
||||
nodes:
|
||||
- roles:
|
||||
- controller
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- cinder-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
||||
|
||||
- roles:
|
||||
- compute-vmware
|
||||
iface: !include cluster_configs/settings/vmware/vcenter_ifaces.yaml
|
||||
count: 1
|
Loading…
Reference in New Issue