You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/08/15 17:25:27 UTC

[GitHub] [beam] bahmandar opened a new issue, #22727: [Bug]: Unable to set flex template use_public_ips=False for workers

bahmandar opened a new issue, #22727:
URL: https://github.com/apache/beam/issues/22727

   ### What happened?
   
   Running a command like this
   ```
   gcloud dataflow flex-template run <job-name> \
   --template-file-gcs-location <template-location> \
   --parameters ^~^uris=gs://test-file-location ~use_public_ips=false
   ```
   ```
   ERROR: (gcloud.dataflow.flex-template.run) INVALID_ARGUMENT: The template parameters are invalid. Details:
   use_public_ips: Unrecognized parameter
   - '@type': type.googleapis.com/google.dataflow.v1beta3.InvalidTemplateParameters
     parameterViolations:
     - description: Unrecognized parameter
       parameter: use_public_ips
   - '@type': type.googleapis.com/google.rpc.DebugInfo
     detail: |-
       [ORIGINAL ERROR] generic::invalid_argument: The template parameters are invalid. Details:
       use_public_ips: Unrecognized parameter [google.rpc.error_details_ext] { message: "The template parameters are invalid. Details: \nuse_public_ips: Unrecognized parameter" details { type_url: "type.googleapis.com/google.dataflow.v1beta3.InvalidTemplateParameters" value: "\n(\n\016use_public_ips\022\026Unrecognized parameter" } } 54820903 { 1 { 1 { 1: "cloud/dataflow/router/services/templates/flex_template_handler.cc" 2: 130 } } }
   ```
   
   Adding --disable-public-ips outside of parameters will cause both the flex container and the sdk container to not have public ips. This causes install issues because we only want the workers to not have public ips.
   
   I suspect it is related to not being able to explicitly set `use_public_ips=true`
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: infrastructure


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] damccorm commented on issue #22727: [Bug]: Unable to set flex template use_public_ips=False for workers

Posted by GitBox <gi...@apache.org>.
damccorm commented on issue #22727:
URL: https://github.com/apache/beam/issues/22727#issuecomment-1300682582

   Hey, sorry for the slow response here. This looks like an issue with the dataflow templates service, not Beam itself. Could you please open an issue in https://github.com/GoogleCloudPlatform/DataflowTemplates/issues


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] bahmandar commented on issue #22727: [Bug]: Unable to set flex template use_public_ips=False for workers

Posted by GitBox <gi...@apache.org>.
bahmandar commented on issue #22727:
URL: https://github.com/apache/beam/issues/22727#issuecomment-1312189566

   No problem. Here is the new issue for posterity:
   
   https://github.com/GoogleCloudPlatform/DataflowTemplates/issues/512


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] damccorm closed issue #22727: [Bug]: Unable to set flex template use_public_ips=False for workers

Posted by GitBox <gi...@apache.org>.
damccorm closed issue #22727: [Bug]: Unable to set flex template use_public_ips=False for workers
URL: https://github.com/apache/beam/issues/22727


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org