docker build突然出现这个错误...
我们尝试了一些方法,但都没有使错误消失:
docker登录到不同的注册表
docker rmi, docker rm
其他人在他们的本地机器上进行 docker 构建。
日志:
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most …Run Code Online (Sandbox Code Playgroud) 这可能会导致 Cloud Pub/Sub 服务出现问题。但到目前为止,GCP 支持并没有真正帮助,所以我在这里发布这个问题。
根据here,Pubsub消息应该有一个messageId属性,无论是来自pull还是push。
所以我试图看看消息是什么样的:(这里的事件是推送到云函数的 pubsub 消息)
exports.my_cloud_function = (event) => {
logger.debug(`Event: ${util.inspect(event)}`);
}
Run Code Online (Sandbox Code Playgroud)
我所期望的:
{ '@type': 'type.googleapis.com/google.pubsub.v1.PubsubMessage', messageId:'111111111', publishTime: 'Oct 1st 2019, xxxx', attributes: { key1: 'value1', key2: 'value2' }, data: 'eLCJ=(some base 64)' }
Run Code Online (Sandbox Code Playgroud)
实际上是什么:
{ '@type': 'type.googleapis.com/google.pubsub.v1.PubsubMessage', attributes: { key1: 'value1', key2: 'value2' }, data: 'eLCJ=(some base 64)' }
Run Code Online (Sandbox Code Playgroud)