简体   繁体   English

GC计算引擎:无法访问VM

[英]GC Compute Engine: Unable to Access VM's

The Default startup scripts are not installed automatically, so it gives an error. 默认启动脚本未自动安装,因此会出错。 The error displayed is: "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.

I tried some commands but no luck. 我尝试了一些命令,但没有运气。 How do I overcome this? 我该如何克服这个问题?

Like Marius points out, that serial console output is to be expected. 就像Marius指出的那样,可以预期串行控制台输出。 Two considerations: 两个考虑:

1 - your initial username must be different than the hostname / VM name, and; 1 - 您的初始用户名必须与主机名/ VM名称不同,并且;

2 - the password chosen during VM creation must meet password complexity requirements: 2 - 在VM创建期间选择的密码必须满足密码复杂性要求:

  • Have at least 8 characters. 至少有8个字符。
  • Follow these additional complexity requirements . 遵循这些额外的复杂性要求
  • Cannot contain any non-ASCII characters, which are not supported. 不能包含任何不支持的非ASCII字符。

Comprehensive Windows on GCE documentation can be found here . 可在此处找到有关GCE文档的综合Windows。 Also consider that Windows VMs usually require 10 min approx before they are fully usable, as described in the Windows on GCE documentation . 还要考虑Windows VM在完全可用之前通常需要10分钟,如Windows on GCE文档中所述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Compute Engine VM执行个体中的错误 - ERROR in Compute Engine VM Instances 为Google Compute Engine VM设置负载平衡器 - Setup load balancer for Google Compute Engine VM 有没有办法通过单个Compute Engine的VM实例连接多个Cloud memorystore实例 - Is there any way to connect multiple Cloud memorystore instances through single Compute Engine's VM instance 使用云sql作为数据库连接网站计算引擎VM - connect website compute engine VM using cloud sql as database 更改不会显示在Google云计算引擎VM上 - Changes do not show up on google cloud compute engine VM 无法访问安装在 Google Cloud VM 上的 Nginx - Unable to access Nginx installed on Google Cloud VM Google Compute Engine:在创建新的VM实例时指定内部IP地址? - Google Compute Engine: Specify internal IP-address while creating new VM instance? 谷歌云服务:编辑虚拟机实例“iq-wealth-wordpress-vm”失败。 错误:“计算 API”需要“Alpha 访问”权限 - Google Cloud Services: Editing VM instance “iq-wealth-wordpress-vm” failed. Error: Required 'Alpha Access' permission for 'Compute API' 如何访问可通过本地计算机从 RDP 访问的 VM? - How to access a VM that's accessible from RDP via Local Machine? 多个所有者-Google Compute Engine - Multiple Owners - Google Compute Engine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM