Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Cleanup error reporting during container provisioning #6828
Conversation
jameinel
added some commits
Jan 17, 2017
|
While failing to provision, the 'juju show-machine N' looks like:
Once it has finally decided to stop trying (3 attempts after 30s), it says:
The controller has a log message with: The machine that is provisioning the container has log messages of:
|
jameinel
added some commits
Jan 18, 2017
|
On feedback from frobware, I added a 'attempts left' section which now looks like:
|
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
Build failed: Tests failed |
|
!!build!! |
| @@ -1669,7 +1669,7 @@ func (s *linkLayerDevicesStateSuite) TestSetContainerLinkLayerDevicesMissingBrid | ||
| }) | ||
| c.Assert(err, jc.ErrorIsNil) | ||
| err = s.machine.SetContainerLinkLayerDevices(s.containerMachine) | ||
| - c.Assert(err.Error(), gc.Equals, `unable to find host bridge for spaces ["dmz"] for container "0/lxd/0"`) | ||
| + c.Assert(err.Error(), gc.Equals, `unable to find host bridge for spaces "dmz" for container "0/lxd/0"`) |
perrito666
Jan 18, 2017
Contributor
this error strikes me odd, is there a possibility that there is a list of spaces? otherwise perhaps the error should be "for space" sorry for commenting this here and not in the error itself.
|
!!build!! |
jameinel
added some commits
Jan 19, 2017
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
jameinel
added some commits
Jan 19, 2017
|
!!build!! |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jameinel commentedJan 18, 2017
•
Edited 1 time
-
jameinel
Jan 19, 2017
This handles bug #1650252.
Key points:
It's possible to test this today by doing:
juju deploy app --bind badspace --to lxd:N
where 'badspace' is the name of a space that the host machine doesn't have access to. (Eventually this will be a deployment failure, but it triggers the provisioning failure right now.)