Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60499

Plugin of JCloud won't work anymore because of GCP zone changes

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi,

       

      it seems plugin of jcloud have hardcoded zones in the code and it doesn't fetching directly from the api. So when the GCP changed, or one of the datacenter went down, JCloud won't work anymore, because that zone can be found anymore. Here is the trace message:

      java.lang.IllegalStateException: zone https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-central1-d not present in [https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east2-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east2-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east2-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast2-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast2-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast2-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-south1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-south1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-south1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-southeast1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-southeast1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-southeast1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/australia-southeast1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/australia-southeast1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/australia-southeast1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-north1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-north1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-north1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west1-d, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west2-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west2-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west2-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west3-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west3-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west3-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west4-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west4-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west4-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west6-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west6-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west6-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/northamerica-northeast1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/northamerica-northeast1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/northamerica-northeast1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/southamerica-east1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/southamerica-east1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/southamerica-east1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-central1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-central1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-central1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-central1-f, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east1-d, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east4-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east4-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east4-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west2-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west2-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west2-a]java.lang.IllegalStateException: zone https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-central1-d not present in [https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east2-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east2-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-east2-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast2-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast2-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-northeast2-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-south1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-south1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-south1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-southeast1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-southeast1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/asia-southeast1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/australia-southeast1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/australia-southeast1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/australia-southeast1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-north1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-north1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-north1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west1-d, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west2-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west2-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west2-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west3-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west3-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west3-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west4-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west4-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west4-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west6-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west6-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/europe-west6-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/northamerica-northeast1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/northamerica-northeast1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/northamerica-northeast1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/southamerica-east1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/southamerica-east1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/southamerica-east1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-central1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-central1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-central1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-central1-f, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east1-d, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east4-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east4-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-east4-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west1-a, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west1-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west1-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west2-c, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west2-b, https://www.googleapis.com/compute/v1/projects/PROJECT_NAME_IN_GCP/zones/us-west2-a] at org.jclouds.googlecomputeengine.compute.functions.MachineTypeToHardware.apply(MachineTypeToHardware.java:55) at org.jclouds.googlecomputeengine.compute.functions.MachineTypeToHardware.apply(MachineTypeToHardware.java:39) at com.google.common.collect.Iterators$8.transform(Iterators.java:799) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:651) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.ImmutableCollection$Builder.addAll(ImmutableCollection.java:300) at com.google.common.collect.ImmutableSet$Builder.addAll(ImmutableSet.java:522) at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:321) at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:300) at com.google.common.collect.FluentIterable.toSet(FluentIterable.java:396) at org.jclouds.compute.config.ComputeServiceAdapterContextModule.transformGuardingNull(ComputeServiceAdapterContextModule.java:111) at org.jclouds.compute.config.ComputeServiceAdapterContextModule.access$000(ComputeServiceAdapterContextModule.java:52) at org.jclouds.compute.config.ComputeServiceAdapterContextModule$1.get(ComputeServiceAdapterContextModule.java:101) at org.jclouds.compute.config.ComputeServiceAdapterContextModule$1.get(ComputeServiceAdapterContextModule.java:98) at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75) at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:57) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197) at com.google.common.cache.LocalCache.get(LocalCache.java:3937) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824) at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:150) at org.jclouds.googlecomputeengine.compute.config.GoogleComputeEngineServiceContextModule$13.get(GoogleComputeEngineServiceContextModule.java:167) at org.jclouds.googlecomputeengine.compute.config.GoogleComputeEngineServiceContextModule$13.get(GoogleComputeEngineServiceContextModule.java:164) at com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:192) at org.jclouds.googlecomputeengine.compute.functions.InstanceToNodeMetadata.apply(InstanceToNodeMetadata.java:87) at org.jclouds.googlecomputeengine.compute.functions.InstanceToNodeMetadata.apply(InstanceToNodeMetadata.java:44) at com.google.common.base.Functions$FunctionComposition.apply(Functions.java:216) at com.google.common.collect.Iterators$8.transform(Iterators.java:799) at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) at com.google.common.collect.Iterators$7.computeNext(Iterators.java:651) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at com.google.common.collect.Iterators.addAll(Iterators.java:361) at com.google.common.collect.Iterables.addAll(Iterables.java:354) at com.google.common.collect.Sets.newLinkedHashSet(Sets.java:328) at org.jclouds.compute.internal.BaseComputeService.listNodes(BaseComputeService.java:328) at jenkins.plugins.jclouds.compute.JCloudsCloud.getRunningNodesCount(JCloudsCloud.java:488) at jenkins.plugins.jclouds.compute.JCloudsCloud.doProvision(JCloudsCloud.java:473) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)Caused: javax.servlet.ServletException at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:797) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:280) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:243) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:92) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:99) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:505) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804) at java.lang.Thread.run(Thread.java:748) 
      

      And when I listing via CLI of gcloud:

      ➜  ~ gcloud compute zones list | grep us-central
      us-central1-c              us-central1              UP
      us-central1-a              us-central1              UP
      us-central1-f              us-central1              UP
      us-central1-b              us-central1              UP
      ➜  ~
      

      There is no "d" zone either. So our CI builds can't work right now even we don't using that region of us-central1. 

       

       

        Attachments

          Activity

          Hide
          felfert Fritz Elfert added a comment - - edited

          In the jenkins pugin, there are no hardcoded zones for shure.

          The zones come from the apache-jclouds library (which also provides the gcloud CLI as far as I know).

          Please report a bug there at https://jclouds.apache.org/reference/report-a-bug/ (or find an already open one). After that, add a link to that bug here, so I can track it. If a fix gets released by the apache-jclouds project, I will be happy to upgrade to the fixed version)

          Show
          felfert Fritz Elfert added a comment - - edited In the jenkins pugin, there are no hardcoded zones for shure. The zones come from the apache-jclouds library (which also provides the gcloud CLI as far as I know). Please report a bug there at https://jclouds.apache.org/reference/report-a-bug/ (or find an already open one). After that, add a link to that bug here, so I can track it. If a fix gets released by the apache-jclouds project, I will be happy to upgrade to the fixed version)
          Hide
          navidonskis Donatas Navidonskis added a comment -

          Well it seems it was fixed in 2.2.0 https://issues.apache.org/jira/browse/JCLOUDS-1463

          Show
          navidonskis Donatas Navidonskis added a comment - Well it seems it was fixed in 2.2.0  https://issues.apache.org/jira/browse/JCLOUDS-1463
          Hide
          navidonskis Donatas Navidonskis added a comment -

          But jcloud plugin is not released with latest version https://github.com/jenkinsci/jclouds-plugin only in master at the moment.

          Show
          navidonskis Donatas Navidonskis added a comment - But jcloud plugin is not released with latest version  https://github.com/jenkinsci/jclouds-plugin  only in master at the moment.
          Hide
          felfert Fritz Elfert added a comment -

          The upcoming version (which uses jclouds-2.2.0) is available here:

          https://ci.jenkins.io/job/Plugins/job/jclouds-plugin/job/master/lastSuccessfulBuild/artifact/jclouds-plugin/target/jclouds-jenkins.hpi

          Please install that manually, test it and let me know if that fixes your problem.

          Show
          felfert Fritz Elfert added a comment - The upcoming version (which uses jclouds-2.2.0) is available here: https://ci.jenkins.io/job/Plugins/job/jclouds-plugin/job/master/lastSuccessfulBuild/artifact/jclouds-plugin/target/jclouds-jenkins.hpi Please install that manually, test it and let me know if that fixes your problem.
          Hide
          navidonskis Donatas Navidonskis added a comment -

          Snapshot works (2.16-SNAPSHOT (private-015f6e5d-?)). Go ahead and release it. 

          Show
          navidonskis Donatas Navidonskis added a comment - Snapshot works (2.16-SNAPSHOT (private-015f6e5d-?)). Go ahead and release it. 
          Hide
          felfert Fritz Elfert added a comment -

          Will be released soon.

          Show
          felfert Fritz Elfert added a comment - Will be released soon.
          Hide
          felfert Fritz Elfert added a comment -

          Released in 2.16

          Show
          felfert Fritz Elfert added a comment - Released in 2.16

            People

            Assignee:
            felfert Fritz Elfert
            Reporter:
            navidonskis Donatas Navidonskis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: