if raise except as follow: InstanceAgentNotEnabled,SetAdminPasswdNotSupported,NotImplementedError,NotImplementedError,UnexpectedTaskStateError,the vm's state is ACTIVE, but vm's vm_state become ERROR if raise other except.
if raise except as follow: InstanceAgentNo tEnabled, SetAdminPasswdN otSupported, NotImplementedE rror,NotImpleme ntedError, UnexpectedTaskS tateError, the vm's state is ACTIVE,
but vm's vm_state become ERROR if raise other except.