@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.166
Then
I should see a "Bootstrap Minions" text
00:00:00.075
The hostname of proxy is uyuni-master-proxy.sumaci.aws
And
I enter "22" as "port"
00:00:00.057
And
I enter "root" as "user"
00:00:00.062
And
I enter "linux" as "password"
00:00:00.063
And
I select "1-PROXY-KEY-x86_64" from "activationKeys"
00:00:00.082
And
I click on "Bootstrap"
00:00:00.069
And
I wait until I see "Bootstrap process initiated." text
00:00:38.094
@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:13.489
And
I copy the configuration "/tmp/proxy_container_config.tar.gz" of containerized proxy from the server to the proxy
00:00:02.931
@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.501
And
I wait until "uyuni-proxy-httpd" service is active on "proxy"
00:00:09.991
And
I wait until "uyuni-proxy-salt-broker" service is active on "proxy"
00:00:00.292
And
I wait until "uyuni-proxy-squid" service is active on "proxy"
00:00:00.295
And
I wait until "uyuni-proxy-ssh" service is active on "proxy"
00:00:00.297
And
I wait until "uyuni-proxy-tftpd" service is active on "proxy"
00:00:00.293
And
I wait until port "8022" is listening on "proxy" container
00:00:00.312
And
I wait until port "80" is listening on "proxy" container
00:00:00.312
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.372
@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.795
When
I follow "Properties" in the content area
00:00:00.077
Then
the "monitoring_entitled" checkbox should be disabled
00:00:10.007