GC计算引擎:无法访问VM

时间:2015-02-15 05:39:16

标签: cloud google-compute-engine google-cloud-platform gcloud

默认启动脚本未自动安装,因此会出错。 显示的错误是:“连接被拒绝,因为用户帐户未获得远程登录授权”

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.

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

1 个答案:

答案 0 :(得分:0)

像马吕斯所指出的那样,可以预期串行控制台输出。两个考虑因素:

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

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

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

可以找到有关GCE文档的综合Windows here。还要考虑Windows VM在完全可用之前通常需要10分钟,如Windows on GCE documentation中所述。

相关问题