Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
2.1.1 treat errors correctly 1656326 #7062
Conversation
jameinel
added some commits
Feb 26, 2017
jameinel
added some commits
Mar 1, 2017
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$merge$$ failure appears to be Windows "could not find mongo" failures. |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit 5378952
into
juju:2.1
Mar 2, 2017
1 check passed
github-check-merge-juju
Built PR, ran unit tests, and tested LXD deploy. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details
jameinel
deleted the
jameinel:2.1.1-no-fallback-again-1656326
branch
Apr 22, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jameinel commentedMar 2, 2017
Description of change
The code around setting up network interfaces for a container had a statement of "if err != nil { // its not fatal, fallback to the local bridge". Which I really wanted to get rid of. However, the last time I did that, it turned out to break deployments.
This, in turn, turned out to be 2 more bugs:
There is a bunch of other cleanups and logging tweaks that were helpful while debugging all of this.
QA steps
That should create 2 trusty machines, and on the second one create 2 containers. They should be bridged onto lxdbr0. This is the same behavior as before with 2.1, but it is being done via a different code path. You should be able to see in
juju debug-logthat we are consciously selectinglxdbr0for the containers. Rather than a line like:failed to prepare container 1/lxd/0 network configDocumentation changes
Ideally this isn't user facing. Other than decreasing the number of times people end up with a container that can't be accessed. Instead errors that we would have suppressed should show up as container provisioning errors.
Bug reference
lp:1656326