[DevStack]: unstack should remove etcd directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-libnetwork |
Fix Released
|
Undecided
|
Dongcan Ye |
Bug Description
When we using devstack install kuryr-libnetwork, there may be some exception in install etcd data store, like network timeout, IO error.
Then we need to run ./unstack cancel previous installation. But /etcd dir had not removed, so we may met error like:
2016-08-09 02:51:43.900 | ++functions-
2016-08-09 02:51:43.904 | +functions-
2016-08-09 02:51:43.908 | +functions-
2016-08-09 02:51:43.913 | +functions-
2016-08-09 02:51:43.918 | +functions-
2016-08-09 02:51:43.922 | +functions-
2016-08-09 02:51:43.926 | +functions-
2016-08-09 02:51:43.930 | +functions-
2016-08-09 02:51:43.935 | +functions-
2016-08-09 02:51:43.939 | +functions-
2016-08-09 02:51:43.944 | +functions-
2016-08-09 02:51:43.949 | +functions-
2016-08-09 02:51:43.971 | Installing etcd server
2016-08-09 02:51:43.972 | mkdir: cannot create directory '/opt/stack/etcd': File exists
2016-08-09 02:51:43.973 | Error on exit
I think we should run rm command clean the etcd directory in unstack script.
Changed in kuryr-libnetwork: | |
assignee: | nobody → Dongcan Ye (hellochosen) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/352692
Review: https:/