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

Fix "brctl: invalid command" message appearing in startup logs #6148

Merged
merged 1 commit into from
Mar 30, 2015

Conversation

zmerlynn
Copy link
Member

We were actually failing to call brctl in configure-vm.sh. I finally
tracked it down to the attempt to delete the docker0 bridge. This
particular package was getting installed later by Salt anyways, so
all this PR is doing is moving the package install up from Salt to
bash.

Also adds some minor logging.

# Forcibly install bridge-utils (options borrowed from Salt logs).
until apt-get -q -y -o DPkg::Options::=--force-confold -o DPkg::Options::=--force-confdef install bridge-utils; do
echo "== install of bridge-utils failed, retrying =="
echo sleep 5
Copy link
Member

Choose a reason for hiding this comment

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

did you really mean "echo sleep 5" or just "sleep 5" ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Hah. Good catch. Probably not, no. Will fix in front of a real computer.
On Mar 29, 2015 2:26 PM, "David Oppenheimer" notifications@github.com
wrote:

In cluster/gce/configure-vm.sh
#6148 (comment)
:

@@ -83,10 +83,18 @@ for k,v in yaml.load(sys.stdin).iteritems():
}

function remove-docker-artifacts() {

  • echo "== Deleting docker0 =="
  • Forcibly install bridge-utils (options borrowed from Salt logs).

  • until apt-get -q -y -o DPkg::Options::=--force-confold -o DPkg::Options::=--force-confdef install bridge-utils; do
  • echo "== install of bridge-utils failed, retrying =="
  • echo sleep 5

did you really mean "echo sleep 5" or just "sleep 5" ?


Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/6148/files#r27359276
.

@davidopp davidopp self-assigned this Mar 29, 2015
We were actually failing to call brctl in configure-vm.sh. I finally
tracked it down to the attempt to delete the docker0 bridge. This
particular package was getting installed later by Salt anyways, so
all this PR is doing is moving the package install up from Salt to
bash.

Also adds some minor logging.
@zmerlynn
Copy link
Member Author

Fixed, PTAL.

@davidopp
Copy link
Member

LGTM

@davidopp davidopp added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 30, 2015
vmarmol added a commit that referenced this pull request Mar 30, 2015
Fix "brctl: invalid command" message appearing in startup logs
@vmarmol vmarmol merged commit 0c75f26 into kubernetes:master Mar 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants