Closed chris1984 closed 4 years ago
@johnpmitsch fixed :)
Manual testing works correctly, waiting on dolly to pass with unrelated test failure.
Test results:
TASK [satellite-clone : Fail if interfaces on machine do not match answer file interfaces] *******************************************************************************************************************************************************************
Friday 28 February 2020 10:51:14 -0500 (0:00:00.078) 0:00:55.124 *******
fatal: [localhost]: FAILED! => {"changed": false, "msg": "The network interface ens224 setup for DNS and ens224 setup for DHCP do not match the network interfaces on the current machine"}
msg: The network interface ens224 setup for DNS and ens224 setup for DHCP do not match the network interfaces on the current machine
PLAY RECAP ***************************************************************************************************************************************************************************************************************************************************
localhost : ok=9 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
PLAY RECAP ***************************************************************************************************************************************************************************************************************************************************
localhost : ok=73 changed=25 unreachable=0 failed=0
Friday 28 February 2020 12:49:48 -0500 (0:00:00.071) 0:59:02.401 *******
===============================================================================
satellite-clone : restore using foreman-maintain --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1315.82s
satellite-clone : Run Satellite installer ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1231.63s
satellite-clone : Run installer upgrade to match latest z-version ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 376.78s
satellite-clone : Wait for foreman-tasks service to start ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 300.41s
satellite-clone : Install Satellite packages --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 42.56s
satellite-clone : Cleanup paused tasks --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 38.22s
satellite-clone : Reset admin password --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 36.82s
satellite-clone : Install postgresql-server ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 35.79s
satellite-clone : Disable all repos ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 30.71s
satellite-clone : Enable required repos for Satellite installation ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 14.73s
satellite-clone : Check if DNS is enabled ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 12.26s
satellite-clone : Grab DHCP interface from Satellite answer file ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 12.13s
satellite-clone : Check if DHCP is enabled ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 11.64s
satellite-clone : Identify the hostname from the backup config tar file ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 11.42s
satellite-clone : Grab DNS interface from Satellite answer file -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 11.37s
satellite-clone : Migrate candlepin db ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 5.53s
satellite-clone : untar config files (for cloning only) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 5.51s
satellite-clone : Clean yum info ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 5.08s
satellite-clone : Restart katello-service ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 4.09s
satellite-clone : check for satellite answers file ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 3.66s
Tested from 6.2 up to 6.6 with 2 interfaces and it working and 1 interface where it fails. All tests pass correctly. Output from 6.6:
Going to kick off Dolly tests on the pr