Implement git server HAP backend
This change implements the git server backend by changing the variable ``openstack_repo_git_url`` from using the http backend to using the generic git protocol. This change was made possible by "f59bafd778b081b1e0bf4dee9cd14995346ab8a1" and is being done in support of "https://review.openstack.org/#/c/346154/" which removes the fastcgi wrapper around the git daemon. This will allow for faster more reliable internal git clones and better multi-os support. Change-Id: I09bc504490d4b5114895f7f646fc8254748a7f41 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
a15b0661f3
commit
99ffcf3e0f
@ -36,7 +36,7 @@ pip_links:
|
||||
# URL for the frozen internal openstack repo.
|
||||
repo_server_port: 8181
|
||||
openstack_repo_url: "http://{{ internal_lb_vip_address }}:{{ repo_server_port }}"
|
||||
openstack_repo_git_url: "http://{{ internal_lb_vip_address }}:{{ repo_server_port }}/openstackgit"
|
||||
openstack_repo_git_url: "git://{{ internal_lb_vip_address }}"
|
||||
|
||||
## kernel modules for specific group hosts
|
||||
# :param name: name of the kernel module
|
||||
|
@ -27,6 +27,18 @@ haproxy_default_services:
|
||||
- 192.168.0.0/16
|
||||
- 172.16.0.0/12
|
||||
- 10.0.0.0/8
|
||||
- service:
|
||||
haproxy_service_name: repo_git
|
||||
haproxy_backend_nodes: "{{ groups['repo_all'] | default([]) }}"
|
||||
haproxy_ssl: "{{ haproxy_ssl }}"
|
||||
haproxy_port: 9418
|
||||
haproxy_balance_type: tcp
|
||||
haproxy_backend_options:
|
||||
- tcp-check
|
||||
haproxy_whitelist_networks:
|
||||
- 192.168.0.0/16
|
||||
- 172.16.0.0/12
|
||||
- 10.0.0.0/8
|
||||
- service:
|
||||
haproxy_service_name: repo_all
|
||||
haproxy_backend_nodes: "{{ groups['repo_all'] | default([]) }}"
|
||||
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
upgrade:
|
||||
- Haproxy has a new backend to support using the repo
|
||||
server nodes as a git server. The new backend
|
||||
is called "repo_git" and uses port "9418".
|
||||
Default ACLs have been created to lock down the port's
|
||||
availability to only internal networks originating from
|
||||
an RFC1918 address.
|
Loading…
Reference in New Issue
Block a user