Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

weave reset does not remove net-plugin v2 weavedata.db #3103

Closed
dtshepherd opened this issue Aug 27, 2017 · 3 comments
Closed

weave reset does not remove net-plugin v2 weavedata.db #3103

dtshepherd opened this issue Aug 27, 2017 · 3 comments

Comments

@dtshepherd
Copy link
Collaborator

What you expected to happen?

After running weave reset --force, /var/lib/weave/weavedata.db would be removed.

What happened?

/var/lib/weave/weavedata.db still exists on the host.

How to reproduce it?

  1. Install net-plugin v2.
  2. Disable and remove the plugin.
  3. Run weave reset --force

Anything else we need to know?

This is a similar issue that was fixed with PR #2610.

Versions:

$ weave version
weave script 2.0.4
weave 2.0.4
$ docker version
Client:
 Version:      17.06.0-ce
 API version:  1.30
 Go version:   go1.8.3
 Git commit:   02c1d87
 Built:        Fri Jun 23 21:23:31 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.06.0-ce
 API version:  1.30 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   02c1d87
 Built:        Fri Jun 23 21:19:04 2017
 OS/Arch:      linux/amd64
 Experimental: false
$ uname -a
Linux NUC 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Logs:

NA

Network:

NA

@brb
Copy link
Contributor

brb commented Aug 28, 2017

Thanks for the report.

@dtshepherd
Copy link
Collaborator Author

FYI, I think I have a fix for this. Similar to have removal is handled for weave-kube.

@brb
Copy link
Contributor

brb commented Sep 9, 2017

Fixed by #3114

@brb brb closed this as completed Sep 9, 2017
@brb brb added this to the 2.0.5 milestone Sep 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants