Automated Testing
06.10.2017
2
Used Software
● Openshift – containers platform
● Openstack – private cloud
● Kuryr – bridge between Openshift and
Openstack
3
Current Workflow
4
Cons
● Lack of full virtualization (Astra Linux, FreeBSD,
SLES, Solaris, Windows).
● Testing things that don’t need be tested.
5
Future Workflow
6
Pros
● Full virtualization, perspective of ARM/MIPS
support
● Containers Application Catalog
● Intelligent Testing
● Declarative Environments
7
Openshift YAML
- apiVersion: "v1"
kind: "Pod"
metadata:
name: "nginx"
labels:
name: "nginx"
conf: "nginx"
spec:
containers:
-
name: "nginx"
image: "nginx:latest"
securityContext:
privileged: true
8
Openstack YAML
heat_template_version: 2017-02-24
resources:
windows_port:
type: OS::Neutron::Port
properties:
network: "openshift-pod"
name: "windows"
fixed_ips: [{"subnet_id": "openshift-pod"}]
windows:
type: OS::Nova::Server
properties:
name: windows
image: w7
flavor: m1.medium
networks:
- port: { get_resource: windows_port }
9
QCOW Backing File
10
DEMO

Automated testing: Openshift on Openstack