@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.174
Then
I should see a "Bootstrap Minions" text
00:00:00.072
The hostname of proxy is uyuni-master-proxy.sumaci.aws
And
I enter "22" as "port"
00:00:00.060
And
I enter "root" as "user"
00:00:00.066
And
I enter "linux" as "password"
00:00:00.067
And
I select "1-PROXY-KEY-x86_64" from "activationKeys"
00:00:00.082
And
I click on "Bootstrap"
00:00:00.073
And
I wait until I see "Bootstrap process initiated." text
00:00:38.047
@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:12.380
And
I copy the configuration "/tmp/proxy_container_config.tar.gz" of containerized proxy from the server to the proxy
00:00:02.991
@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.521
And
I wait until "uyuni-proxy-httpd" service is active on "proxy"
00:00:02.869
And
I wait until "uyuni-proxy-salt-broker" service is active on "proxy"
00:00:07.527
And
I wait until "uyuni-proxy-squid" service is active on "proxy"
00:00:00.291
And
I wait until "uyuni-proxy-ssh" service is active on "proxy"
00:00:00.294
And
I wait until "uyuni-proxy-tftpd" service is active on "proxy"
00:00:00.291
And
I wait until port "8022" is listening on "proxy" container
00:00:00.310
And
I wait until port "80" is listening on "proxy" container
00:00:00.308
And
I wait until port "443" is listening on "proxy" container
00:00:00.304
And
I visit "Proxy" endpoint of this "proxy"
00:00:00.365
@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:01.631
When
I follow "Properties" in the content area
00:00:00.085
Then
the "monitoring_entitled" checkbox should be disabled
00:00:10.011