GC 计算引擎:无法访问虚拟机

GC Compute Engine: Unable to Access VM's

默认启动脚本没有自动安装,所以报错。 显示的错误是:"The connection was denied because the user account is not authorized for remote login"

Calling oobe-script from metadata.
attributes/sysprep-oobe-script-bat value is not set or metadata server is not reachable.
attributes/sysprep-oobe-script-cmd value is not set or metadata server is not reachable.
attributes/sysprep-oobe-script-ps1 value is not set or metadata server is not reachable.
Running schtasks with arguments /run /tn GCEStartup
--> SUCCESS: Attempted to run the scheduled task "GCEStartup".
-------------------------------------------------------------
Instance setup finished. palids is ready to use.
-------------------------------------------------------------
Booting on date 02/14/2015 15:34:18 
attributes/windows-startup-script-bat value is not set or metadata server is not reachable.
attributes/windows-startup-script-cmd value is not set or metadata server is not reachable.
attributes/windows-startup-script-ps1 value is not set or metadata server is not reachable.

我尝试了一些命令但没有成功。我该如何克服这个问题?

正如 Marius 指出的那样,串行控制台输出是可以预料的。两个注意事项:

1 - 您的初始 用户名 必须与主机名/VM 名称不同,并且;

2 - 在 VM 创建期间选择的 密码 必须满足密码复杂性要求:

  • 至少有 8 个字符。
  • 关注这些额外的 complexity requirements
  • 不能包含任何不受支持的非 ASCII 字符。

可以找到有关 GCE 文档的综合 Windows here. Also consider that Windows VMs usually require 10 min approx before they are fully usable, as described in the Windows on GCE documentation