* fix(esxi): Fetch full templates of datastoreImageCache
Datastore 和 DatastoreImageCache 是一对一的关系。
每一个 Datastore 可能有多个对应的 Host,所以 GetIIMages 里面获取
Templates 的逻辑应该尝试去获取所有 Host 的 Templates。
* fix(host-deployer): Exit correctly after mounting
MountRootfs的返回值为nil时,还是需要Umount的操作来正确退出(比如VDDK)。
VDDK的Mount分为两步,第一步会挂在remote
disk到fuse下,然后挂载fuse/xxx/flat
到块设备上。第一步成功,第二部失败也应该正确退出。
* fix(host-deployer): Kill process
* opt(host-deployer): Increase timeout of waiting mount
* opt(host-deployer): Add debug log print command to mount
* fix(esxi): Support multi agent in different zone
* notify: log with context info
* region: guests: log with context info
* region: hosts: log with context info
* region: misc: remove redundant log
* region: skus: use NewInternalServerError instead of NewGeneralError
* appsrv: dispatcher: preserve text id
* appsrv: dispatcher: remove commented-out code
* cloudcommon: db_dispatcher: note errors that won't be translated
* cloudcommon: db: rbac: preserve text id
* cloudcommon: caller: preserve text id
* treewide: fix fmt string
* region: guest_actions: preserve text id
* region: guest_actions: fix fmt string
* region: usages: fix fmt string
* mcclient: hosts: remove redundant return value
* cloudcommon: fetch: preserve text id
* region: guest_template: preserve text id
* cloudcommon: db: db_dispatcher: preserve text id
* region: guest_actions: preserve text id
* httperrors: add funcs for wrap lang tag into context
* vendor: golang.org/x/text
* httperrors: error with context
* httperrors: HTTPError
* treewide: fix typo
* treewide: use en in source code
* locales: initial version
1. There is only one esxi agent needed in OneCloud.
2. Workspace path shoule be EsxiAgentPath not the parent directory of this.
3. The VM name is too long for vcenter when importing VM so that shrink
it.
1. 修改了host-deployer 使其支持 vmware vddk 的 deploy guest fs 操作。
2. esxi agent python ==> Go
fix(esxi-agent): Fix some bugs and irregular contents
fix(esxi-agent): Partial parameter structure
fix(esxi-agent): Add ovf template and remove some binary file
fix(esxi-agent): Format Code
fix(esxi-agent): fix based on reviewers' comments
fix(esxi-agent): fix host-deployer because of occasional unknown panic
fix: DelayTask should have a new Context
fix(esxi-agent): call hostutils.DelayTask
change '_interface' package to 'iagent' package
fix(esxi-agent): Fix some irregular code