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

The v2plugin can't removed when executed the uninstall command #245

Open
wangxf1987 opened this issue Sep 12, 2017 · 2 comments
Open

The v2plugin can't removed when executed the uninstall command #245

wangxf1987 opened this issue Sep 12, 2017 · 2 comments

Comments

@wangxf1987
Copy link

wangxf1987 commented Sep 12, 2017

When I exectued the follow command that uninstall the contiv,
./install/ansible/uninstall_swarm.sh -f cfg.yml -e <ssh key> -u <username> -p
It's fine.
But reinstall the contiv, the error was occur,
TASK [contiv_network : install v2plugin on master nodes] *********************** fatal: [node1]: FAILED! => {"changed": true, "cmd": "/usr/bin/docker plugin install --grant-all-permissions contiv/v2plugin:1.1.2 ctrl_ip=172.19.146.76 control_url=172.19.146.76:9999 vxlan_port=8472 iflist=eth0 plugin_name=contiv/v2plugin:1.1.2 cluster_store=etcd://localhost:2379 plugin_role=master", "delta": "0:00:09.558766", "end": "2017-09-11 21:30:25.182311", "failed": true, "rc": 1, "start": "2017-09-11 21:30:15.623545", "stderr": "Error response from daemon: plugin \"contiv/v2plugin:1.1.2\" already exists", "stderr_lines": ["Error response from daemon: plugin \"contiv/v2plugin:1.1.2\" already exists"], "stdout": "", "stdout_lines": []} to retry, use: --limit @/ansible/install_plays.retry
It's mean that the v2plugin is exist on the master node.
So I find the plugin on the master,
[root@iaas_monitor_worker00 ~]# docker plugin ls
ID NAME DESCRIPTION ENABLED
56ca5d266f8c contiv/v2plugin:1.1.2 Contiv network plugin for Docker false
I had to manually remove it, i think it is a bug.

@rkharya
Copy link

rkharya commented Sep 12, 2017

yeh, this is a bug. We have to remove explicitly using docker plugin rm contiv/v2plugin:1.1.2 on each cluster nodes. If we don't, contiv installer fails to install contiv next time.

@wangxf1987
Copy link
Author

@rkharya Thx for your response and Did the patch merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants