Update git submodules
* Update openstack-ansible-openstack_hosts from branch 'master' to f2220c4fe05ac41c512280b9be2c586acdb9ddd3 - Add custom user-agent for git clones from opendev.org There has been one confirmed denial-of-service against the opendev git servers due to an openstack-ansible deployment failing to correctly use cached wheels from the repo server and instead clone and build the source code for each openstack service on each target host. Whilst we wait for further information to understand the root cause of that DOS, it is possible to adjust the user-agent that git uses on a per-domain basis. A previous patch [1] creates a user-agent string very early during the setup of a deployment host, or all-in-one environment, but not any other nodes in a multinode environment. This patch addresses creating /etc/gitconfig for all hosts in a multinode environment. If git is not installed on a host (which would be the default state for hosts other than the deploy host and repo server) a placeholder /etc/gitconfig is written in case later in the deployment the python_venv_build role installs git and clones openstack services from source code to install into a venv without use of the repo server container. The repo server should normally clone once for each service deployed for the whole environment. The user-agent, where possible, contains the git version string, the openstack-ansible version string and the OSA 'component' to aid understanding traffic patterns seen at the opendev.org git servers. [1] https://review.opendev.org/c/openstack/openstack-ansible/+/786596 Change-Id: I4f82bb1a08d01f30c45444f52db357e47245fe31
This commit is contained in:
parent
a1ac8bde92
commit
607b3717c8
@ -1 +1 @@
|
||||
Subproject commit 6fea8f1a504cf7339d339070dc91895a15744387
|
||||
Subproject commit f2220c4fe05ac41c512280b9be2c586acdb9ddd3
|
Loading…
Reference in New Issue
Block a user