@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.157
Then
I should see a "Bootstrap Minions" text
00:00:00.068
The hostname of proxy is uyuni-master-proxy.sumaci.aws
And
I enter "22" as "port"
00:00:00.052
And
I enter "root" as "user"
00:00:00.056
And
I enter "linux" as "password"
00:00:00.055
And
I select "1-PROXY-KEY-x86_64" from "activationKeys"
00:00:00.073
And
I click on "Bootstrap"
00:00:00.061
And
I wait until I see "Bootstrap process initiated." text
00:00:38.508
@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:11.647
And
I copy the configuration "/tmp/proxy_container_config.tar.gz" of containerized proxy from the server to the proxy
00:00:02.917
@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.496
And
I wait until "uyuni-proxy-httpd" service is active on "proxy"
00:00:02.811
And
I wait until "uyuni-proxy-salt-broker" service is active on "proxy"
00:00:05.179
And
I wait until "uyuni-proxy-squid" service is active on "proxy"
00:00:00.382
And
I wait until "uyuni-proxy-ssh" service is active on "proxy"
00:00:00.342
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.304
And
I wait until port "80" is listening on "proxy" container
00:00:00.306
And
I wait until port "443" is listening on "proxy" container
00:00:00.302
And
I visit "Proxy" endpoint of this "proxy"
00:00:00.357
@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.604
When
I follow "Properties" in the content area
00:00:00.067
Then
the "monitoring_entitled" checkbox should be disabled
00:00:10.000