为什么我的GCP Dataflow管道无法创建VM?

时间:2022-12-23 15:35:37

I do not see anything in the error message that indicate why it cannot create the VMs. The error message below was found on the DataFlow web console under the logs "tab". I couldn't find any more details or any other errors anywhere.

我没有在错误消息中看到任何指示它无法创建VM的原因。下面的错误消息是在DataFlow Web控制台的日志“选项卡”下找到的。我无法在任何地方找到任何更多细节或任何其他错误。

Mar 23, 2016, 1:07:09 PM (d408c858b9bd6602): Workflow failed. Causes: (7bc822caf77dd216): Unable to create VMs.

2016年3月23日,下午1:07:09(d408c858b9bd6602):工作流程失败。原因:(7bc822caf77dd216):无法创建VM。

We do not have a "default" network, but we are passing --network=ourcustomnetworkname

我们没有“默认”网络,但我们正在传递--network = ourcustomnetworkname

Cloud SDK version 102.0.0 and the following in my POM:

我的POM中的Cloud SDK版本102.0.0及以下内容:

<repositories>
  <repository>
<!-- Added to pull in latest build that supports subnetworks -->
  <id>sonatype-staging</id>
  <url>https://oss.sonatype.org/content/groups/staging/</url>
 </repository>

<dependencies>
    <dependency>
        <groupId>com.google.cloud.dataflow</groupId>
        <artifactId>google-cloud-dataflow-java-sdk-all</artifactId>
        <version>[1.0.0, 2.0.0)</version>
    </dependency>

1 个解决方案

#1


1  

The network needs to be specified as the complete resource URL, for example https://www.googleapis.com/compute/latest/projects/PROJECT_ID/global/networks/ourcustomnetworkname.

需要将网络指定为完整的资源URL,例如https://www.googleapis.com/compute/latest/projects/PROJECT_ID/global/networks/ourcustomnetworkname。

You can find this by running gcloud compute networks describe ourcustomnetworkname and using the selfLink displayed there.

你可以通过运行gcloud计算网络来描述我的自定义网络名称并使用那里显示的selfLink。

#1


1  

The network needs to be specified as the complete resource URL, for example https://www.googleapis.com/compute/latest/projects/PROJECT_ID/global/networks/ourcustomnetworkname.

需要将网络指定为完整的资源URL,例如https://www.googleapis.com/compute/latest/projects/PROJECT_ID/global/networks/ourcustomnetworkname。

You can find this by running gcloud compute networks describe ourcustomnetworkname and using the selfLink displayed there.

你可以通过运行gcloud计算网络来描述我的自定义网络名称并使用那里显示的selfLink。