@containerized_server
@scope_containerized_proxy
@proxy
@transactional_server
@skip_if_cloud
Feature: 0019 - Setup containerized proxy
Description: In order to use a containerized proxy with the server
As the system administrator
I want to register the containerized proxy on the server
File name: proxy_container.feature
Relative path: proxy/proxy_container.feature
@containerized_server
@scope_containerized_proxy
@proxy
Scenario: Bootstrap the proxy host as a salt minion
When
I follow the left menu "Systems > Bootstrapping"
00:00:00.162
Then
I should see a "Bootstrap Minions" text
00:00:00.079
The hostname of proxy is uyuni-master-proxy.sumaci.aws
And
I enter "22" as "port"
00:00:00.055
And
I enter "root" as "user"
00:00:00.059
And
I enter "linux" as "password"
00:00:00.059
And
I select "1-PROXY-KEY-x86_64" from "activationKeys"
00:00:00.077
And
I click on "Bootstrap"
00:00:00.080
And
I wait until I see "Bootstrap process initiated." text
00:00:38.509
@containerized_server
@scope_containerized_proxy
@proxy
Scenario: Generate containerized proxy configuration
When
I generate the configuration "/tmp/proxy_container_config.tar.gz" of containerized proxy on the server
00:00:10.305
And
I copy the configuration "/tmp/proxy_container_config.tar.gz" of containerized proxy from the server to the proxy
00:00:03.018
@containerized_server
@scope_containerized_proxy
@proxy
Scenario: Set up the containerized proxy service to support Avahi
Record not added - avahi domain was not detected
@containerized_server
@scope_containerized_proxy
@proxy
Scenario: Wait until containerized proxy service is active
And
I wait until "uyuni-proxy-pod" service is active on "proxy"
00:00:00.490
And
I wait until "uyuni-proxy-httpd" service is active on "proxy"
00:00:09.984
And
I wait until "uyuni-proxy-salt-broker" service is active on "proxy"
00:00:00.290
And
I wait until "uyuni-proxy-squid" service is active on "proxy"
00:00:00.289
And
I wait until "uyuni-proxy-ssh" service is active on "proxy"
00:00:00.284
And
I wait until "uyuni-proxy-tftpd" service is active on "proxy"
00:00:00.286
And
I wait until port "8022" is listening on "proxy" container
00:00:00.309
And
I wait until port "80" is listening on "proxy" container
00:00:00.309
And
I wait until port "443" is listening on "proxy" container
00:00:00.308
And
I visit "Proxy" endpoint of this "proxy"
00:00:00.361
@containerized_server
@scope_containerized_proxy
@proxy
Scenario: Check if Monitoring can be enabled on the containerized proxy
Given
I am on the Systems overview page of this "proxy"
00:00:02.596
When
I follow "Properties" in the content area
00:00:00.075
Then
the "monitoring_entitled" checkbox should be disabled
00:00:10.008