Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1 dynamic bridges log script output #6786

Conversation

frobware
Copy link
Contributor

@frobware frobware commented Jan 9, 2017

We currently log the bridge script output only if there is an error. If there is no error, we still capture the output, but at trace level. It is useful to see the before/after configuration of routing and bridging when debugging problems.

Andrew McDermott added 7 commits January 9, 2017 15:11
We currently log the bridge script only if there is an error. If there
is no error, we still capture the output, but at trace level. It is
useful to see the before/after configuration of routing and bridging
when debugging problems.
@frobware
Copy link
Contributor Author

!!build!!

Copy link
Member

@jameinel jameinel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested this live and feel like it gives useful context for debugging?

@frobware
Copy link
Contributor Author

@jameinel - yes, tested live. It show us the current configuration for things we are about to change; /e/n/i, current bridges, current routes, current state of interfaces, then same again after we have bridged. The only small caveat I would mention is that /sometimes/ it shows the state of, say, br-en3 as DOWN. This is a timing issue because if you augment the output with a sleep, then ip -d link show you'll see that br-ens3 is actually UP.

@frobware
Copy link
Contributor Author

$$meege$$

@jujubot
Copy link
Collaborator

jujubot commented Jan 10, 2017

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit c1c8764 into juju:2.1-dynamic-bridges Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants