Autoscaling smoke test has been tuned
* test cluster will be creating without network
Related-Prod: PRODX-19207
Change-Id: I8ed99c68f8012cd0bf9244f749138ccbd9a3420b
(cherry picked from commit 5eccd69264e6fa60d9ca3d06c80fdca3b795809a)
diff --git a/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/create_stack.json b/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/create_stack.json
index 429ba49..a36b616 100644
--- a/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/create_stack.json
+++ b/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/create_stack.json
@@ -12,7 +12,7 @@
"resource": {
"type": "OS::Nova::Server",
"properties": {
- "networks": [{ "network": "$ENVIRON['NEUTRON_NETWORK']" }],
+ "networks": [{ "allocate_network": "none" }],
"flavor": "$ENVIRON['NOVA_FLAVOR_REF']",
"image": "$ENVIRON['GLANCE_IMAGE_NAME']",
"metadata": {
diff --git a/telemetry_tempest_plugin/scenario/test_telemetry_integration.py b/telemetry_tempest_plugin/scenario/test_telemetry_integration.py
index eb76023..acf9e7c 100644
--- a/telemetry_tempest_plugin/scenario/test_telemetry_integration.py
+++ b/telemetry_tempest_plugin/scenario/test_telemetry_integration.py
@@ -77,8 +77,6 @@
def _prep_test(self, filename):
admin_auth = self.os_admin.auth_provider.get_auth()
auth = self.os_primary.auth_provider.get_auth()
- networks = self.os_primary.networks_client.list_networks(
- **{'router:external': False, 'fields': 'id'})['networks']
os.environ.update({
"ADMIN_TOKEN": admin_auth[0],
@@ -97,7 +95,6 @@
"GLANCE_SERVICE_URL": self._get_endpoint(auth, "image"),
"GLANCE_IMAGE_NAME": self.glance_image_create(),
"NOVA_FLAVOR_REF": config.CONF.compute.flavor_ref,
- "NEUTRON_NETWORK": networks[0].get('id'),
"STACK_NAME": data_utils.rand_name('telemetry'),
})