In inventory/group_vars/repo_all.yml, internal_lb_vip_address needs to use ipwrap to handle IPv6

Bug #1777072 reported by Niklas Hagman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
New
Undecided
Unassigned

Bug Description

In my work to make openstack-ansible work with IPv6, I have found that internal_lb_vip_address needs to be ipwrap:ed to support IPv6 addresses in the file openstack/openstack-ansible/tree/inventory/group_vars/repo_all.yml.

# The URL to retrieve the get-pip.py installation script locally
pip_upstream_url: "{{ repo_release_path | replace(internal_lb_vip_address, '127.0.0.1') }}/get-pip.py"

# The URL to the local PyPI reverse proxy
pip_default_index: "{{ openstack_repo_url | replace(internal_lb_vip_address, '127.0.0.1') }}/simple"

needs to be replaced with

# The URL to retrieve the get-pip.py installation script locally
pip_upstream_url: "{{ repo_release_path | replace(internal_lb_vip_address | ipwrap, '127.0.0.1') }}/get-pip.py"

# The URL to the local PyPI reverse proxy
pip_default_index: "{{ openstack_repo_url | replace(internal_lb_vip_address | ipwrap, '127.0.0.1') }}/simple"

Revision history for this message
Niklas Hagman (blinkiz) wrote :

Another suggestion is to use "localhost" instead of "127.0.0.1".
I do not see 127.0.0.1 being replaced soon with ::1 but I do think it is the right move to do early on and let the running linux distribution decide what localhost translates into.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.