Fix switch kernel bug and multi-thread issue

Need to purge image and headers as well; add some sleep time for chef
attribute propagation

Change-Id: I619acea2fd745a1dd1dbd30fcdd1928cd37676d5
This commit is contained in:
Changbin Liu 2013-06-20 17:59:04 -04:00
parent 0276765738
commit 371b0fa47d
2 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,8 @@ sudo apt-get -y upgrade
# install generic and reomve virtual kernel
sudo apt-get -y install linux-generic
sudo apt-get -y purge linux-virtual
sudo apt-get -y purge linux-image-`uname -r`
sudo apt-get -y purge linux-headers-`uname -r`
# cleanup
sudo apt-get -y autoremove

View File

@ -327,6 +327,8 @@ class Orchestrator(object):
self._execute_funcs(funcs)
# run an empty list to make sure attributes are properly propagated
self._run_chef_client(ipaddrs)
# sleep some time
time.sleep(5)
def _deploy_network_vxlan(self):
"""