-
Notifications
You must be signed in to change notification settings - Fork 115
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
reorder and improve clone test to match docs #16683
Conversation
f'sshpass -p "{SSH_PASS}" rsync -e "ssh -o StrictHostKeyChecking=no" --archive --partial --progress --compress ' | ||
f'/var/lib/pulp root@{sat_ready_rhel.hostname}:/var/lib/' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs say:
# rsync --archive --partial --progress --compress \
/var/lib/pulp/ target_server.example.com:/var/lib/pulp/
So this should be:
f'sshpass -p "{SSH_PASS}" rsync -e "ssh -o StrictHostKeyChecking=no" --archive --partial --progress --compress ' | |
f'/var/lib/pulp root@{sat_ready_rhel.hostname}:/var/lib/' | |
f'sshpass -p "{SSH_PASS}" rsync -e "ssh -o StrictHostKeyChecking=no" --archive --partial --progress --compress ' | |
f'/var/lib/pulp/ root@{sat_ready_rhel.hostname}:/var/lib/' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the re-ordering is correct, just a nitpick on the rsync command to be exactly as in docs (rsync is picky about trailing slashes)
22ede62
to
9a8b2aa
Compare
trigger: test-robottelo |
PRT Result
|
@rmynar don't you want to add |
9a8b2aa
to
eecd3b1
Compare
improve and reorder clone test to match docs (cherry picked from commit 4fb0042)
Added coverage for SAT-27907.
Reordered steps to match documentation - Pulp content has to be copied to target machine before the satellite-clone is executed.
Added steps that occupy source satellite userids on target satellite server to check that satellite-clone changes ownership and permissions.