Title: #5408: upgrade.py: restart CS for 30 seconds until it is up
Restart CS as many times as necessary within a 30-second window
to wait for DS to be ready.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5408/head:pr5408
git checkout pr5408