首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >GCE路由问题的栈驱动程序

GCE路由问题的栈驱动程序
EN

Server Fault用户
提问于 2016-04-03 02:50:48
回答 1查看 494关注 0票数 0

我一直遵循在CentOS 7 VM上安装堆栈驱动程序代理的说明。

这个VM可以访问internet:我可以运行一个针对www.google.com或其他公共服务的traceroute,而不存在任何问题。

代码语言:javascript
复制
[root@dbrocket sysconfig]# ping www.google.com
PING www.google.com (74.125.141.99) 56(84) bytes of data.
64 bytes from vl-in-f99.1e100.net (74.125.141.99): icmp_seq=1 ttl=49 time=74.0 ms
64 bytes from vl-in-f99.1e100.net (74.125.141.99): icmp_seq=2 ttl=49 time=73.0 ms

当我尝试启动堆栈驱动程序代理时,它会失败如下:

代码语言:javascript
复制
Apr 03 02:42:55 dbrocket stackdriver-agent[25065]: Starting stackdriver-collectd: Unable to determine collectd endpoint!
Apr 03 02:42:55 dbrocket systemd[1]: stackdriver-agent.service: control process exited, code=exited status=1
Apr 03 02:42:55 dbrocket systemd[1]: Failed to start LSB: start and stop Stackdriver Agent.

从源代码看,它似乎无法连接到堆栈驱动程序网关服务,而且实际上无法访问它:

代码语言:javascript
复制
[root@dbrocket sysconfig]# traceroute -n collectd-gateway.google.stackdriver.com
traceroute to collectd-gateway.google.stackdriver.com (173.255.114.144), 30 hops max, 60 byte packets
1  10.80.0.2  36.808 ms  36.733 ms  36.764 ms
2  * * *
3  * * *
4  * * *
5  * * *
6  * * *

这些是此VM具有的API权限:

代码语言:javascript
复制
[root@dbrocket sysconfig]# curl --silent -f -H "Metadata-Flavor: Google" http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/scopes
https://www.googleapis.com/auth/cloud.useraccounts.readonly
https://www.googleapis.com/auth/devstorage.read_only
https://www.googleapis.com/auth/logging.write
https://www.googleapis.com/auth/monitoring

我将使用附加的google-cloud-plaform API授权范围构建另一个VM,但是这个路由问题看起来还是很奇怪的。我尝试过从不同的越南船民与适当的互联网接入,他们都表现出相同的行为。

我做错了什么?

EN

回答 1

Server Fault用户

发布于 2016-04-03 03:12:39

这已经通过修复主网络配置中的防火墙规则来解决。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/767814

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档