【问题标题】:TeamCity Agent Push Failing Across AWS Accounts跨 AWS 账户的 TeamCity 代理推送失败
【发布时间】:2019-04-09 08:03:49
【问题描述】:

我们最近将 TeamCity 服务器移至 AWS,但它由我公司的不同业务部门管理,因此我们有不同的 AWS 账户。我已经通过我们的母公司启用了 VPC 对等互连,以便我可以启动 EC2 实例构建代理。

为简化起见:我们的 TeamCity 服务器位于 AWS 账户 A 上,而我正在使用 AWS 账户 B,我希望在其中启动构建代理。

当服务器在本地时,我没有遇到任何问题,但我现在遇到了真正的麻烦。

很好:我可以从位于其他业务部门帐户中的 TeamCity 启动实例。

糟糕:我无法从那里继续进行。

我现在只想让“代理推送”工作。现在,当我尝试时,这是我在 Web 控制台中给出的输出:

[15:12:09]: AgentPush v58406 - Install Agent on remote host
[15:12:09]: Looking for Target Host...
[15:12:09]: Validating TeamCity Server Root URL 'https://teamcity.company.com' ...
[15:12:09]: Starting agent push to 'xx.xx.xxx.xxx'(IP: xx.xx.xxx.xxx) using preset 'Amazon Linux' (Username 'ec2-user'. Target platform: 'Unix')
[15:12:09]: Checking Platform...
[15:16:09]: Remote agent installation failed: timeout: socket is not established

还有一件事:我们使用直接连接和所有私有 IP。我正在为代理推送提供私有 IP。当我在本地运行它时,这很有效。

有没有人知道为什么我不能让实例互相交谈?

【问题讨论】:

    标签: amazon-web-services teamcity


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-07-17
      • 1970-01-01
      • 2021-08-13
      • 1970-01-01
      • 2013-09-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多