initial DB

Change-Id: I2373e0950595a71fbe75da9c4c520aa07479eba1
Merge branch 'dev' of https://github.com/davidyuan1989/nova into dev
fix bugs in periodic

Change-Id: I38120bc5be3fa6b5c19c5859aa98e70d70e07614