Fix bug that prevents a host from come out init state
Fix bug that prevents a host from come out init state

(cherry picked from commit e4f46706bcd765e712506408fc8f6023d6f40efd)

Terradue/one,hsanjuan/one,fasrc/one,mattthias/one,mattthias/one,alvarosimon/one,abelCoronado93/one,ggalancs/one,spirit03/one,dberzano/opennebula-torino,tuxmea/one,ohamada/one,juanmont/one,juanmont/one,unistra/one,alvarosimon/one,Terradue/one,alvarosimon/one,baby-gnu/one,alvarosimon/one,tuxmea/one,ohamada/one,mattthias/one,ggalancs/one,tuxmea/one,Terradue/one,abelCoronado93/one,ohamada/one,OpenNebula/one,cloudweavers/one,unistra/one,cloudweavers/one,alvarosimon/one,atodorov-storpool/one,atodorov-storpool/one,dberzano/opennebula-torino,baby-gnu/one,Terradue/one,baby-gnu/one,baby-gnu/one,unistra/one,ggalancs/one,spirit03/one,hsanjuan/one,atodorov-storpool/one,spirit03/one,mattthias/one,spirit03/one,Terradue/one,fasrc/one,tuxmea/one,OpenNebula/one,Terradue/one,fasrc/one,atodorov-storpool/one,baby-gnu/one,unistra/one,dberzano/opennebula-torino,juanmont/one,goberle/one,alvarosimon/one,goberle/one,atodorov-storpool/one,goberle/one,dberzano/opennebula-torino,juanmont/one,juanmont/one,juanmont/one,Terradue/one,OpenNebula/one,cloudweavers/one,OpenNebula/one,cloudweavers/one,unistra/one,baby-gnu/one,mattthias/one,OpenNebula/one,hsanjuan/one,hsanjuan/one,OpenNebula/one,abelCoronado93/one,tuxmea/one,dberzano/opennebula-torino,abelCoronado93/one,hsanjuan/one,atodorov-storpool/one,ggalancs/one,fasrc/one,tuxmea/one,alvarosimon/one,OpenNebula/one,cloudweavers/one,juanmont/one,ggalancs/one,spirit03/one,goberle/one,abelCoronado93/one,atodorov-storpool/one,ohamada/one,atodorov-storpool/one,ohamada/one,mattthias/one,tuxmea/one,cloudweavers/one,juanmont/one,fasrc/one,alvarosimon/one,OpenNebula/one,ggalancs/one,Terradue/one,mattthias/one,OpenNebula/one,cloudweavers/one,baby-gnu/one,goberle/one,ggalancs/one,hsanjuan/one,baby-gnu/one,spirit03/one,goberle/one,unistra/one,abelCoronado93/one,cloudweavers/one,tuxmea/one,ohamada/one,ohamada/one,fasrc/one,dberzano/opennebula-torino,juanmont/one,goberle/one,ggalancs/one,hsanjuan/one,atodorov-storpool/one,unistra/one,ohamada/one,fasrc/one,mattthias/one,dberzano/opennebula-torino,goberle/one,hsanjuan/one,abelCoronado93/one,fasrc/one,spirit03/one,spirit03/one,abelCoronado93/one,unistra/one