Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't create retry files in production #308

Merged
merged 1 commit into from
Jan 23, 2018

Conversation

johnpmitsch
Copy link
Contributor

Fixes #304

@johnpmitsch
Copy link
Contributor Author

I need to test this out w/ a production install, will report back with my findings.

@johnpmitsch
Copy link
Contributor Author

No retry files were created with this setting

[root@satclonetesting satellite-clone]# satellite-clone 
This will initiate satellite-clone. Do you want to proceed? (y/n): y
ansible-playbook -i /usr/share/satellite-clone/inventory /usr/share/satellite-clone/satellite-clone-playbook.yml

PLAY [satellite6] *************************************************************************************************************************************************************************

TASK [Gathering Facts] ********************************************************************************************************************************************************************
Tuesday 23 January 2018  16:19:37 +0000 (0:00:00.058)       0:00:00.058 ******* 
ok: [localhost]

TASK [satellite-clone : fail] *************************************************************************************************************************************************************
Tuesday 23 January 2018  16:19:38 +0000 (0:00:00.426)       0:00:00.485 ******* 
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "fail on purpose"}

msg: fail on purpose

PLAY RECAP ********************************************************************************************************************************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=1   

Tuesday 23 January 2018  16:19:38 +0000 (0:00:00.014)       0:00:00.500 ******* 
=============================================================================== 
Gathering Facts -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.43s
satellite-clone : fail ------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.01s

PLAY [satellite6] *************************************************************************************************************************************************************************

TASK [satellite-clone : fail] *************************************************************************************************************************************************************
Tuesday 23 January 2018  16:19:38 +0000 (0:00:00.149)       0:00:00.649 ******* 
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "fail on purpose"}

msg: fail on purpose

PLAY RECAP ********************************************************************************************************************************************************************************
localhost                  : ok=0    changed=0    unreachable=0    failed=1   

Tuesday 23 January 2018  16:19:38 +0000 (0:00:00.012)       0:00:00.662 ******* 
=============================================================================== 
satellite-clone : fail ------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.01
[root@satclonetesting satellite-clone]# ls /usr/share/satellite-clone/
ansible.cfg             bin    callback_plugins  helpers    LICENSE  man        roles                         satellite-clone-vars.sample.yml
ansible.production.cfg  cache  docs              inventory  logs     README.md  satellite-clone-playbook.yml  satellite-clone-vars.yml
[root@satclonetesting satellite-clone]# ls /usr/share/satellite-clone/*.retry
ls: cannot access /usr/share/satellite-clone/*.retry: No such file or directory

@sthirugn
Copy link
Collaborator

ACK

@sthirugn sthirugn merged commit 79a3fbf into RedHatSatellite:master Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants