Merge "Allow rulesets modification in secgroups"
diff --git a/tempest/api/compute/servers/test_device_tagging.py b/tempest/api/compute/servers/test_device_tagging.py
index d099fce..7d29a4d 100644
--- a/tempest/api/compute/servers/test_device_tagging.py
+++ b/tempest/api/compute/servers/test_device_tagging.py
@@ -402,7 +402,7 @@
config_drive=config_drive_enabled,
name=data_utils.rand_name('device-tagging-server'),
networks=[{'uuid': self.get_tenant_network()['id']}],
- wait_until='ACTIVE')
+ wait_until='SSHABLE')
self.addCleanup(self.delete_server, server['id'])
# NOTE(mgoddard): Get detailed server to ensure addresses are present
diff --git a/tempest/common/compute.py b/tempest/common/compute.py
index 03da49a..eb7e366 100644
--- a/tempest/common/compute.py
+++ b/tempest/common/compute.py
@@ -15,7 +15,7 @@
import base64
import socket
-import ssl
+from ssl import SSLContext as sslc
import struct
import textwrap
from urllib import parse as urlparse
@@ -395,7 +395,8 @@
af, socktype, proto, _, sa = res
client_socket = socket.socket(af, socktype, proto)
if url.scheme == 'https':
- client_socket = ssl.wrap_socket(client_socket)
+ client_socket = sslc().wrap_socket(client_socket,
+ server_hostname=url.hostname)
client_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
try:
client_socket.connect(sa)
diff --git a/tempest/config.py b/tempest/config.py
index 0f509fb..b4d4891 100644
--- a/tempest/config.py
+++ b/tempest/config.py
@@ -876,7 +876,7 @@
cfg.StrOpt('qos_placement_physnet', default=None,
help='Name of the physnet for placement based minimum '
'bandwidth allocation.'),
- cfg.StrOpt('provider_net_base_segmentation_id', default=3000,
+ cfg.StrOpt('provider_net_base_segmentation_id', default='3000',
help='Base segmentation ID to create provider networks. '
'This value will be increased in case of conflict.'),
cfg.BoolOpt('qos_min_bw_and_pps', default=False,
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index bd03037..f687cb1 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -35,6 +35,8 @@
- glance-multistore-cinder-import:
voting: false
irrelevant-files: *tempest-irrelevant-files
+ - tempest-full-yoga:
+ irrelevant-files: *tempest-irrelevant-files
- tempest-full-xena:
irrelevant-files: *tempest-irrelevant-files
- tempest-full-wallaby-py3:
@@ -167,6 +169,7 @@
irrelevant-files: *tempest-irrelevant-files
periodic-stable:
jobs:
+ - tempest-full-yoga
- tempest-full-xena
- tempest-full-wallaby-py3
- tempest-full-victoria-py3
diff --git a/zuul.d/stable-jobs.yaml b/zuul.d/stable-jobs.yaml
index 5cc0dd0..f3b5716 100644
--- a/zuul.d/stable-jobs.yaml
+++ b/zuul.d/stable-jobs.yaml
@@ -1,5 +1,10 @@
# NOTE(gmann): This file includes all stable release jobs definition.
- job:
+ name: tempest-full-yoga
+ parent: tempest-full-py3
+ override-checkout: stable/yoga
+
+- job:
name: tempest-full-xena
parent: tempest-full-py3
override-checkout: stable/xena