Comment 19 for bug 1498615

Revision history for this message
Mike Fedosin (mfedosin) wrote :

Here's the patch that fixes all urls by changing their scheme from 'swift+http(s)' to 'swift+config'.

Usage:
1. Get admin token and insert it in the code to OS_AUTH_TOKEN variable.
2. Set correct url and port of glance-registry server to OS_REGISTRY_HOST and OS_REGISTRY_PORT, respectively.
3. Run the script with 'python fix_urls.py'