commit 6e49e5a1fbd6c95abedfb3e5e4f6b215b2f0c205
Author: Lin Yang <email address hidden>
Date: Fri Jan 6 15:55:50 2017 -0800
Fix execute db_manager init failed
Previously, `db_manager init` command failed because pbr generated
script will not pass sys.argv as argument to main function. So fix
it.
And improve etcd_db.init_etcd_db to make it check whether each
directory already exists in etcd at first. If it exist and it's not
directory, delete and re-create it.
Reviewed: https:/ /review. openstack. org/417556 /git.openstack. org/cgit/ openstack/ valence/ commit/ ?id=6e49e5a1fbd 6c95abedfb3e5e4 f6b215b2f0c205
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6e49e5a1fbd6c95 abedfb3e5e4f6b2 15b2f0c205
Author: Lin Yang <email address hidden>
Date: Fri Jan 6 15:55:50 2017 -0800
Fix execute db_manager init failed
Previously, `db_manager init` command failed because pbr generated
script will not pass sys.argv as argument to main function. So fix
it.
And improve etcd_db. init_etcd_ db to make it check whether each
directory already exists in etcd at first. If it exist and it's not
directory, delete and re-create it.
Change-Id: I7d9980e0a1b38d 988fe8144d0cbd6 18ac12f5498
Closes-Bug: #1654638