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'
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'