sthirugn
sthirugn
For example, if I have three repos, I should have a nailgun feature something like: ``` py with nailgun.waitfunction(): Repo1.sync() Repo2.sync() Repo3.sync() ...continue other code... ``` The call should return...
it is common to find metadata.yml.gz for 6.3 and clone identifies the satellite as 6.2
if `/etc/sudoers` doesn't have ALL permissions for root, (like ```root ALL=(ALL) ALL```), running satellite-clone gives an error: ```sh TASK [satellite-clone : test foreman.dump file is readable by postgres user] *******************...
in satellite-clone.md there is a note: ```If you are using Remote Execution, you will have to re-copy the ssh keys to your clients. The keys are regenerate during the install...
``` # yum remove satellite-clone # find / -name satellite-clone /etc/satellite-clone /usr/share/satellite-clone # tree /usr/share/satellite-clone /usr/share/satellite-clone ├── callback_plugins │ └── human_log.pyc └── logs ├── playbook.log └── reassociate_capsules.txt # ls /etc/satellite-clone/...
Any failure in disassociate_capsules.rb should propogate as failure in the corresponding ansible-playbook task. Currently it fails silently and it can be easily overlooked.
I tested today: I cloned from RHEL6 to RHEL7 box. after cloning, I turned katello-service off in RHEL6 box. updated /etc/hosts in my clients to point to the new satellite...
```sh TASK [satellite-clone : Disassociate capsules with lifecycle environments (to avoid the cloned Satellite server talking with live capsules)] *** Friday 07 April 2017 12:58:35 -0400 (0:00:00.026) 0:56:25.277 ********** changed:...
- include: reset_pulp_data.yml when: not pulp_data.stat.exists and not online_backup