We are unable to launch gce instance in specific network, Because it is failing with following error.

       

      org.jclouds.compute.RunNodesException: error running 1 node group(jenkins-slavetest) location(asia-east1-a) image(7559062312031929877) size(1000) options({loginUser=utkarsh, loginPrivateKeyPresent=true, scriptPresent=true, userMetadata={Name=jenkins-slavetest}, networks=https://www.googleapis.com/compute/v1/projects/xyz/global/networks/xyz}) Execution failures: 1) ExecutionException on jenkins-slavetest-141: java.util.concurrent.ExecutionException: org.jclouds.http.HttpResponseException: command: POST https://www.googleapis.com/compute/v1/projects/xyz/zones/asia-east1-a/instances HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [{ "error": { "errors": [ { "domain": "global", "reason": "invalid", "message": "Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network" } ], "code": 400, "message": "Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network" } } ] at shaded.com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299) at shaded.com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286) at shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) at org.jclouds.concurrent.FutureIterables$1.run(FutureIterables.java:123) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: org.jclouds.http.HttpResponseException: command: POST https://www.googleapis.com/compute/v1/projects/xyz/zones/asia-east1-a/instances HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [{ "error": {

       

      Please help us fixing this issue. 

          [JENKINS-44292] Jcloud GCP network error

          utkarsh sharma created issue -
          utkarsh sharma made changes -
          Description Original: We are unable to launch gce instance in specific network, Because it is failing with following error.

           

          org.jclouds.compute.RunNodesException: error running 1 node group(jenkins-slavetest) location(asia-east1-a) image(7559062312031929877) size(1000) options(\{loginUser=utkarsh, loginPrivateKeyPresent=true, scriptPresent=true, userMetadata=\{Name=jenkins-slavetest}, networks=[https://www.googleapis.com/compute/v1/projects/bbm-build/global/networks/bbm]}) Execution failures: 1) ExecutionException on jenkins-slavetest-141: java.util.concurrent.ExecutionException: org.jclouds.http.HttpResponseException: command: POST https://www.googleapis.com/compute/v1/projects/bbm-build/zones/asia-east1-a/instances HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [\{ "error": \{ "errors": [ \{ "domain": "global", "reason": "invalid", "message": "Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network" } ], "code": 400, "message": "Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network" } } ] at shaded.com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299) at shaded.com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286) at shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) at org.jclouds.concurrent.FutureIterables$1.run(FutureIterables.java:123) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: org.jclouds.http.HttpResponseException: command: POST https://www.googleapis.com/compute/v1/projects/bbm-build/zones/asia-east1-a/instances HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [\{ "error": \{

           

          Please help us fixing this issue. 
          New: We are unable to launch gce instance in specific network, Because it is failing with following error.

           

          org.jclouds.compute.RunNodesException: error running 1 node group(jenkins-slavetest) location(asia-east1-a) image(7559062312031929877) size(1000) options(\{loginUser=utkarsh, loginPrivateKeyPresent=true, scriptPresent=true, userMetadata=\{Name=jenkins-slavetest}, networks=[https://www.googleapis.com/compute/v1/projects/xyz/global/networks/x|https://www.googleapis.com/compute/v1/projects/bbm-build/global/networks/bbm]yz}) Execution failures: 1) ExecutionException on jenkins-slavetest-141: java.util.concurrent.ExecutionException: org.jclouds.http.HttpResponseException: command: POST [https://www.googleapis.com/compute/v1/projects/xyz/zones/asia-east1-a/instances|https://www.googleapis.com/compute/v1/projects/bbm-build/zones/asia-east1-a/instances] HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [\{ "error": \{ "errors": [ \{ "domain": "global", "reason": "invalid", "message": "Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network" } ], "code": 400, "message": "Invalid value for field 'resource.networkInterfaces[0]': ''. Subnetwork should be specified for custom subnetmode network" } } ] at shaded.com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299) at shaded.com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286) at shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116) at org.jclouds.concurrent.FutureIterables$1.run(FutureIterables.java:123) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: org.jclouds.http.HttpResponseException: command: POST [https://www.googleapis.com/compute/v1/projects/xyz/zones/asia-east1-a/instances|https://www.googleapis.com/compute/v1/projects/bbm-build/zones/asia-east1-a/instances] HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [\{ "error": \{

           

          Please help us fixing this issue. 
          utkarsh sharma made changes -
          Attachment Original: Screen Shot 2017-05-16 at 12.44.31 PM.png [ 37919 ]
          utkarsh sharma made changes -
          Attachment New: Screen Shot 2017-05-16 at 12.44.31 PM.png [ 37922 ]
          utkarsh sharma made changes -
          Attachment New: Screen Shot 2017-05-16 at 12.58.41 PM.png [ 37923 ]
          Joshua Forest made changes -
          Attachment New: GCE_VPC_custom_subnets.png [ 38033 ]
          Joshua Forest made changes -
          Attachment New: jclouds_plugin_template_configuration.png [ 38034 ]
          Joshua Forest made changes -
          Attachment New: image-2017-09-19-11-36-44-982.png [ 39775 ]
          Fritz Elfert made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Fritz Elfert made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]
          Fritz Elfert made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            felfert Fritz Elfert
            utkarshs21 utkarsh sharma
            Votes:
            3 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: