Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VTP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick Okui
VTP
Commits
8cdb894b
Commit
8cdb894b
authored
8 years ago
by
Brian Candler
Browse files
Options
Downloads
Patches
Plain Diff
Workaround for lxd-bridge-proxy pipelining bug
parent
145d0ed0
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/gold-master.yml
+13
-4
13 additions, 4 deletions
ansible/gold-master.yml
with
13 additions
and
4 deletions
ansible/gold-master.yml
+
13
−
4
View file @
8cdb894b
...
...
@@ -16,10 +16,6 @@
type
:
nic
# NOTE: on first run this fetches the whole image (~650MB) over the Internet
# NOTE: we should be able to leave the container on the "default" profile, which gets a
# link-local v6 address and http_proxy pointing at lxdbr0. But this doesn't work:
# https://github.com/lxc/lxd/issues/2166
# So for now we have to attach to a real bridge and pick up a real IP address
-
name
:
create and start gold-master container
lxd_container
:
...
...
@@ -35,6 +31,19 @@
wait_for_ipv4_addresses
:
true
timeout
:
600
# If we are on the "default" profile, we get only a link-local v6 address, and
# http_proxy pointing at lxdbr0. But there is a bug with pipelining in the proxy:
# https://github.com/lxc/lxd/issues/2166
# Workaround:
# http://bnpcs.blogspot.co.uk/2010/11/disable-http-pipelining-in-ubuntu.html
-
name
:
disable pipelining for apt-get
delegate_to
:
gold-master
copy
:
content
:
|
Acquire::http::Pipeline-Depth "0";
dest
:
/etc/apt/apt.conf.d/00no-pipeline
# Ansible cannot run in a container unless python2 is present.
# So we must force it to be installed using raw commands.
-
name
:
check python is installed in container
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment