Description of problem: satellite-clone fails on 6.4 # satellite-clone ... TASK [satellite-clone : Check for satellite version in metadata file] ********** Friday 31 August 2018 10:58:55 +0200 (0:00:00.022) 0:00:05.434 ********* fatal: [localhost]: FAILED! => {"changed": false, "msg": "Satellite version is not supported or found. Only Satellite 6.2, 6.3 is supported."} ... PLAY RECAP ********************************************************************* localhost : ok=27 changed=2 unreachable=0 failed=1 I altered the code to skip that check to get further, and later there were more errors: TASK [satellite-clone : change owner of backup directory to postgres] ********** Friday 31 August 2018 11:19:55 +0200 (0:15:55.757) 0:16:09.139 ********* fatal: [localhost]: FAILED! => {"changed": false, "gid": 0, "group": "root", "mode": "0770", "msg": "chown failed: failed to look up user postgres", "owner": "root", "path": "/tmp/satellite-backup-2018-08-31-07-58-41", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 152, "state": "directory", "uid": 0} postgresql-server is be installed later by satellite-installer, see https://projects.theforeman.org/issues/23103 that is why there is not postgres user TASK [satellite-clone : Start mongod] ****************************************** Friday 31 August 2018 16:04:11 +0200 (0:00:00.015) 0:17:09.055 ********* fatal: [localhost]: FAILED! => {"changed": false, "msg": "Could not find the requested service mongod: host"} in Sat 6.4 there is mongo 3.4 (different service name) Version-Release number of selected component (if applicable): satellite-clone-1.2.4-1.el7sat.noarch
Is there an expectation that 6.4 is supported? Satellite clone is primarily used for upgrades so it only supports 6.3 and under currently as the error message says
I think we should target supporting 6.4 as well from the day one: the reason is the ability to spin up an independent environment, which can be used for other than upgrade purposes.
> I believe it should be supported. It is still described in documentation https://doc-stage.usersys.redhat.com/documentation/en-us/red_hat_satellite/6.4-beta/html-single/upgrading_and_updating_red_hat_satellite/#sec-Cloning_to_Target This is in the upgrade section so it's meant for a 6.3 machine. If it is not clear that this is meant to be done pre-upgrade to 6.4, please file a docs bug.
*** This bug has been marked as a duplicate of bug 1644152 ***