Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1503

Azurecompute-arm deploy doesn't work

    XMLWordPrintableJSON

Details

    Description

      Deploying on azure/northeurope I have this error from this morning, I am passing northeurope as locationId

      Stacktrace:

      java.lang.NumberFormatException: For input string: "‎54.366669" 
       at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043) 
       at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110) 
       at java.lang.Double.parseDouble(Double.java:538) 
       at com.google.gson.stream.JsonReader.nextDouble(JsonReader.java:925) 
       at com.google.gson.Gson$3.read(Gson.java:268) 
       at com.google.gson.Gson$3.read(Gson.java:262) 
       at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$ParameterReader.read(DeserializationConstructorAndReflectiveTypeAdapterFactory.j$
      va:273) 
       at org.jclouds.json.internal.DeserializationConstructorAndReflectiveTypeAdapterFactory$DeserializeIntoParameterizedConstructor.read(DeserializationConstructorAndReflec$
      iveTypeAdapterFactory.java:185) 
       at org.jclouds.json.internal.NullFilteringTypeAdapterFactories$IterableTypeAdapter.readAndBuild(NullFilteringTypeAdapterFactories.java:95) 
       at org.jclouds.json.internal.NullFilteringTypeAdapterFactories$IterableTypeAdapter.read(NullFilteringTypeAdapterFactories.java:83) 
       at org.jclouds.json.internal.NullFilteringTypeAdapterFactories$IterableTypeAdapter.read(NullFilteringTypeAdapterFactories.java:62) 
       at com.google.gson.Gson.fromJson(Gson.java:861) 
       at org.jclouds.http.functions.ParseFirstJsonValueNamed.apply(ParseFirstJsonValueNamed.java:80) 
       at org.jclouds.http.functions.ParseFirstJsonValueNamed.apply(ParseFirstJsonValueNamed.java:44) 
       at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:91) 
       at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:74) 
       at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:45) 
       at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117) 
       at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:84) 
       at com.sun.proxy.$Proxy214.list(Unknown Source) 
       at org.jclouds.azurecompute.arm.compute.AzureComputeServiceAdapter.listLocations(AzureComputeServiceAdapter.java:307) 
       at org.jclouds.compute.config.ComputeServiceAdapterContextModule$LocationsFromComputeServiceAdapterModule$1.get(ComputeServiceAdapterContextModule.java:84) 
       at org.jclouds.compute.config.ComputeServiceAdapterContextModule$LocationsFromComputeServiceAdapterModule$1.get(ComputeServiceAdapterContextModule.java:81) 
       at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTi$
      eOutButNotOnAuthorizationExceptionSupplier.java:75) 
       at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTim
      eOutButNotOnAuthorizationExceptionSupplier.java:57)
       at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3628)
       at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2336)
       at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2295)
       at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2208)
       at com.google.common.cache.LocalCache.get(LocalCache.java:4053)
       at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4057)
       at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4986)
       at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:150)
       at org.jclouds.compute.domain.internal.TemplateBuilderImpl.locationId(TemplateBuilderImpl.java:603)
      
      

      Attachments

        1. Schermata del 2019-06-14 10-34-17.png
          177 kB
          Simone
        2. locations.json
          8 kB
          Sergi Castro
        3. jclouds-wire.log
          62 kB
          Simone

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pimuzzo Simone
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h