-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
load AWS credentials from any provider in the chain #306
Comments
My guess is that you need to pass your AWS credentials via the env variables of the container ( You can also mount your local |
Suresh,
Have you had any success?
We are soon going to release here a significantly updated version of
Teevity/Ice. With support for GCP and Azure on top of AWS.
But in the meantime, you can also try this work of Ice which has pretty
up-to-date support for many AWS billing features:
https://github.com/jimroth/ice
Nicolas
Le ven. 14 juil. 2023 à 16:03, Suresh Adapa ***@***.***> a
écrit :
Hi,
I am trying to run inside the container with below.
bash-4.4# uname -a
Linux 26dac1b8ad91 5.15.49-linuxkit-pr #1
<#1> SMP PREEMPT Thu May 25 07:27:39
UTC 2023 aarch64 Linux
bash-4.4# java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (IcedTea 3.8.0) (Alpine 8.171.11-r0)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
bash-4.4# grails -version
Grails version: 2.4.4
=====ERROR LOG ====
2023-07-14 18:23:41,907 [localhost-startStop-1] INFO BootStrap - Starting
ice...
| Error com.amazonaws.SdkClientException: Unable to load AWS credentials
from any provider in the chain
| Error at
com.amazonaws.auth.AWSCredentialsProviderChain.getCredentials(AWSCredentialsProviderChain.java:131)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.getCredentialsFromContext(AmazonHttpClient.java:1119)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.runBeforeRequestHandlers(AmazonHttpClient.java:759)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:723)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:716)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:699)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:667)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:649)
| Error at
com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:513)
| Error at
com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4221)
| Error at
com.amazonaws.services.s3.AmazonS3Client.getBucketRegionViaHeadRequest(AmazonS3Client.java:4982)
| Error at
com.amazonaws.services.s3.AmazonS3Client.fetchRegionFromCache(AmazonS3Client.java:4956)
| Error at
com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4205)
| Error at
com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4168)
| Error at
com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1378)
| Error at
com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1255)
| Error at com.netflix.ice.common.AwsUtils.download(AwsUtils.java:338)
| Error at com.netflix.ice.common.AwsUtils.download(AwsUtils.java:333)
| Error at
com.netflix.ice.common.AwsUtils.downloadFileIfNotExist(AwsUtils.java:321)
| Error at
com.netflix.ice.basic.BasicReservationService.init(BasicReservationService.java:101)
| Error at
com.netflix.ice.processor.ProcessorConfig.(ProcessorConfig.java:97)
| Error at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
| Error at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
| Error at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
| Error at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
| Error at
org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
| Error at
org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
| Error at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
| Error at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
| Error at BootStrap$_closure1.doCall(BootStrap.groovy:187)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| Error at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:498)
| Error at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
| Error at
groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1081)
| Error at
groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
| Error at groovy.lang.Closure.call(Closure.java:423)
| Error at groovy.lang.Closure.call(Closure.java:417)
| Error at
grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
| Error at
grails.util.Environment.executeForEnvironment(Environment.java:320)
| Error at
grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
| Error at
org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:60)
| Error at
org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:78)
| Error at
org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.initWebApplicationContext(GrailsContextLoaderListener.java:110)
| Error at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
| Error at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
| Error at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
| Error at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
| Error at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
| Error at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
| Error at java.util.concurrent.FutureTask.run(FutureTask.java:266)
| Error at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
| Error at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
| Error at java.lang.Thread.run(Thread.java:748)
| Error 2023-07-14 18:23:44,234 [localhost-startStop-1] ERROR BootStrap -
Startup failed
Message: Unable to load AWS credentials from any provider in the chain
Line | Method
->> 131 | getCredentials in com.amazonaws.auth.AWSCredentialsProviderChain
------------------------------
| 1119 | getCredentialsFromContext in
com.amazonaws.http.AmazonHttpClient$RequestExecutor
| 759 | runBeforeRequestHandlers . . . . in ''
| 723 | doExecute in ''
| 716 | executeWithTimer . . . . . . . . in ''
| 699 | execute in ''
| 667 | access$500 . . . . . . . . . . . in ''
| 649 | execute in
com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl
| 513 | execute . . . . . . . . . . . . in
com.amazonaws.http.AmazonHttpClient
| 4221 | invoke in com.amazonaws.services.s3.AmazonS3Client
| 4982 | getBucketRegionViaHeadRequest . in ''
| 4956 | fetchRegionFromCache in ''
| 4205 | invoke . . . . . . . . . . . . . in ''
| 4168 | invoke in ''
| 1378 | getObject . . . . . . . . . . . in ''
| 1255 | getObject in ''
| 338 | download . . . . . . . . . . . . in com.netflix.ice.common.AwsUtils
| 333 | download in ''
| 321 | downloadFileIfNotExist . . . . . in ''
| 101 | init in com.netflix.ice.basic.BasicReservationService
| 97 | . . . . . . . . . . . . . in
com.netflix.ice.processor.ProcessorConfig
| 187 | doCall in BootStrap$_closure1
| 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
| 320 | executeForEnvironment in ''
| 296 | executeForCurrentEnvironment . . in ''
| 266 | run in java.util.concurrent.FutureTask
| 1149 | runWorker . . . . . . . . . . . in
java.util.concurrent.ThreadPoolExecutor
| 624 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 748 | run . . . . . . . . . . . . . . in java.lang.Thread
==== MY ice.properties ======
ice.processor=true
ice.reader=true
ice.reservationCapacityPoller=false
ice.reservationPeriod=oneyear
ice.reservationUtilization=HEAVY
ice.highstockUrl=https://code.highcharts.com/stock/4.2.1/highstock.js
ice.urlPrefix=
ice.fromEmail=
ice.ondemandCostAlertThreshold=250
ice.ondemandCostAlertEmails=
ice.billing_s3bucketname=plural-ice/detailed-billing-bucket
ice.billing_s3bucketregion=ap-south-1
ice.billing_s3bucketprefix=,
ice.startmillis=1364774400000
ice.companyName=Pinelabs
ice.work_s3bucketname=plural-ice/work-bucket
ice.work_s3bucketprefix=ice/
ice.processor.localDir=/mnt/ice_processor
ice.reader.localDir=/mnt/ice_reader
ice.monthlycachesize=12
ice.owneraccount.account1.role=ice
ice.owneraccount.account1.externalId=
—
Reply to this email directly, view it on GitHub
<#306>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAJJJP4OVF2ZEVXTDRDANDXQFGRRANCNFSM6AAAAAA2KL6B6A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
--
Nicolas Fonrose | Teevity | Founder
+33.6.61.35.43.31
https://teevity.com - Cloud Costs Analytics for AWS, GCP and Azure powered
by NetflixOSS Ice
twitter - @nfonrose / @Teevity
|
No Success, I have installed both the images and no luck. I am sharing the log and ice.properties below
FYI: I have deployed in AWS K8S cluster and have S3 bucket permissions with AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
=== Ice.properties <i.e configmap> 16 Aug ====
# Some configuration need some value passed into them.
# Do not remove or comment out configurations that have ','
ice.processor=true
ice.reader=true
ice.work_s3bucketname=plural-ice/detailed-billing-bucket
ice.work_s3bucketregion=ap-south-1
ice.work_s3bucketprefix=work/
ice.numthreads=5
ice.hourlyData=true
ice.tagCoverage=none
ice.highstockUrl=https://code.highcharts.com/stock/4.2.1/highstock.js
ice.companyName=Pinelabs
ice.reader.localDir=/mnt/ice_reader
ice.monthlycachesize=12
ice.notice=
ice.processOnce=false
ice.startMonth=2017-06
ice.processor.localDir=/mnt/ice_processor
ice.reservationCapacityPoller=false
ice.breakoutFamilyReservationUsage=false
ice.writeJsonFiles=
ice.tagCoverage=none
ice.reservationPeriod=oneyear
ice.reservationUtilization=PARTIAL
ice.billing_s3bucketname=plural-ice/work-bucket
ice.billing_s3bucketregion=ap-south-1
ice.billing_s3bucketprefix=,
ice.billing_payerAccountId=,
ice.use_blended=
ice.costAndUsageStartDate=2017-10
ice.costAndUsageNetUnblendedStartDate=2019-01
ice.edpDiscounts=2019-01:5
ice.customTags=<custom-tag-1>.<custom-tag-2>
======= 14 Aug with jonbrouse/ice ====
ice Aug 14, 2023 11:07:21 PM java.util.prefs.FileSystemPreferences$1 run
ice INFO: Created user preferences directory.
ice | Configuring classpath.
ice | Environment set to development
ice | Environment set to development.
ice | Environment set to development..
ice | Environment set to development...
ice | Environment set to development....
ice | Environment set to development.....
ice | Packaging Grails application
ice | Installing zip tomcat-8.0.20.zip...
ice | Installing zip tomcat-8.0.20.zip....
ice | Installing zip tomcat-8.0.20.zip.....
ice | Installed plugin tomcat-8.0.20
ice | Installed plugin tomcat-8.0.20.
ice | Installed plugin tomcat-8.0.20..
ice | Installed plugin tomcat-8.0.20...
ice | Installed plugin tomcat-8.0.20....
ice | Installed plugin tomcat-8.0.20.....
ice | Compiling 10 source files
ice
ice | Compiling 10 source files.
ice | Compiling 10 source files..
ice | Compiling 10 source files
ice
ice | Compiling 10 source files.
ice | Compiling 10 source files..
ice | Compiling 10 source files...
ice | Compiling 10 source files....
ice | Compiling 10 source files.....
ice | Compiling 112 source files
nginx 127.0.0.1 - - [14/Aug/2023:17:38:36 +0000] "GET /ice HTTP/1.1" 502 537 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" "-"
ice
ice | Compiling 112 source files.
ice | Compiling 112 source files..
ice | Compiling 112 source files...
ice | Compiling 112 source files....
ice | Compiling 112 source files.....
ice | Running Grails application
ice 2023-08-14 23:09:51,669 [main] INFO http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
ice 2023-08-14 23:09:51,780 [main] INFO net.NioSelectorPool - Using a shared selector for servlet write/read
ice 2023-08-14 23:09:51,877 [main] INFO core.StandardService - Starting service Tomcat
ice 2023-08-14 23:09:51,877 [main] INFO core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.0.20
ice 2023-08-14 23:09:52,263 [localhost-startStop-1] INFO core.StandardContext - Unable to set the web application class loader property [clearReferencesStatic] to [false] as the property does not exist.
ice 2023-08-14 23:09:52,266 [localhost-startStop-1] INFO core.StandardContext - Unable to set the web application class loader property [clearReferencesStopThreads] to [false] as the property does not exist.
ice 2023-08-14 23:09:52,266 [localhost-startStop-1] INFO core.StandardContext - Unable to set the web application class loader property [clearReferencesStopTimerThreads] to [false] as the property does not exist.
ice 2023-08-14 23:09:52,266 [localhost-startStop-1] INFO core.StandardContext - Unable to set the web application class loader property [clearReferencesHttpClientKeepAliveThread] to [true] as the property does not exist.
ice 2023-08-14 23:09:52,277 [localhost-startStop-1] INFO startup.ContextConfig - No global web.xml found
ice 2023-08-14 23:09:53,174 [localhost-startStop-1] INFO [localhost].[/ice] - No Spring WebApplicationInitializer types detected on classpath
ice 2023-08-14 23:09:53,569 [localhost-startStop-1] INFO [localhost].[/ice] - Initializing Spring root WebApplicationContext
ice 2023-08-14 23:10:35,970 [localhost-startStop-1] INFO context.GrailsConfigUtils - [GrailsContextLoader] Grails application loaded.
ice 2023-08-14 23:10:36,273 [localhost-startStop-1] INFO BootStrap - Starting ice...
ice 2023-08-14 23:10:36,274 [localhost-startStop-1] INFO BootStrap - Read ice.properties ...
ice | Error java.lang.NullPointerException
ice | Error at java.util.Hashtable.put(Hashtable.java:460)
ice | Error at java.util.Properties.setProperty(Properties.java:166)
ice | Error at java_util_Properties$setProperty$1.call(Unknown Source)
ice | Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
ice | Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
ice | Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
ice | Error at BootStrap$_closure1.doCall(BootStrap.groovy:108)
ice | Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
ice | Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
ice | Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
ice | Error at java.lang.reflect.Method.invoke(Method.java:498)
ice | Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
ice | Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
ice | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
ice | Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
ice | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
ice | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1081)
ice | Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
ice | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
ice | Error at groovy.lang.Closure.call(Closure.java:423)
ice | Error at groovy.lang.Closure.call(Closure.java:417)
ice | Error at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
ice | Error at grails.util.Environment.executeForEnvironment(Environment.java:320)
ice | Error at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
ice | Error at org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:60)
ice | Error at org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:78)
ice | Error at org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.initWebApplicationContext(GrailsContextLoaderListener.java:110)
ice | Error at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
ice | Error at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
ice | Error at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
ice | Error at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
ice | Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
ice | Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
ice | Error at java.util.concurrent.FutureTask.run(FutureTask.java:266)
ice | Error at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
ice | Error at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
ice | Error at java.lang.Thread.run(Thread.java:748)
ice | Error 2023-08-14 23:10:36,962 [localhost-startStop-1] ERROR BootStrap - Startup failed
ice Message: null
ice Line | Method
ice ->> 460 | put in java.util.Hashtable
ice - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice | 166 | setProperty in java.util.Properties
ice | 108 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
ice | 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
ice | 320 | executeForEnvironment . . . . . in ''
ice | 296 | executeForCurrentEnvironment in ''
ice | 266 | run . . . . . . . . . . . . . . in java.util.concurrent.FutureTask
ice | 1149 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice | 624 | run . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice ^ 748 | run in java.lang.Thread
nginx 127.0.0.1 - - [14/Aug/2023:17:40:38 +0000] "GET /ice HTTP/1.1" 502 537 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" "-"
nginx 127.0.0.1 - - [14/Aug/2023:17:40:38 +0000] "GET /ice HTTP/1.1" 502 537 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" "-"
Stream closed EOF for analyse-billing/ice-88b9c4464-hsf9w (ice)
=======16 Aug with jimroth/ice =====
| Loading Grails 2.4.4
| Configuring classpath
Aug 16, 2023 2:49:21 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
| Configuring classpath.
| Environment set to development
| Environment set to development.
| Environment set to development..
| Environment set to development...
| Environment set to development....
| Environment set to development.....
| Packaging Grails application
| Installing zip tomcat-8.0.20.zip...
| Installing zip tomcat-8.0.20.zip....
| Installing zip tomcat-8.0.20.zip.....
| Installed plugin tomcat-8.0.20
| Installed plugin tomcat-8.0.20.
| Installed plugin tomcat-8.0.20..
| Installed plugin tomcat-8.0.20...
| Installed plugin tomcat-8.0.20....
| Installed plugin tomcat-8.0.20.....
| Compiling 10 source files
| Compiling 10 source files.
| Compiling 10 source files..
| Compiling 10 source files
| Compiling 10 source files.
| Compiling 10 source files..
| Compiling 10 source files...
| Compiling 10 source files....
| Compiling 10 source files.....
| Compiling 143 source files
Note: /opt/ice/src/java/com/netflix/ice/processor/DataParquetWriter.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
| Compiling 143 source files.
| Compiling 143 source files..
| Compiling 143 source files...
| Compiling 143 source files....
| Compiling 143 source files.....
| Running Grails application
2023-08-16 14:50:38,728 [main] INFO http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
2023-08-16 14:50:38,832 [main] INFO net.NioSelectorPool - Using a shared selector for servlet write/read
2023-08-16 14:50:38,928 [main] INFO core.StandardService - Starting service Tomcat
2023-08-16 14:50:38,928 [main] INFO core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.0.20
2023-08-16 14:50:39,339 [localhost-startStop-1] INFO core.StandardContext - Unable to set the web application class loader property [clearReferencesStatic] to [false] as the property does not exist.
2023-08-16 14:50:39,342 [localhost-startStop-1] INFO core.StandardContext - Unable to set the web application class loader property [clearReferencesStopThreads] to [false] as the property does not exist.
2023-08-16 14:50:39,342 [localhost-startStop-1] INFO core.StandardContext - Unable to set the web application class loader property [clearReferencesStopTimerThreads] to [false] as the property does not exist.
2023-08-16 14:50:39,342 [localhost-startStop-1] INFO core.StandardContext - Unable to set the web application class loader property [clearReferencesHttpClientKeepAliveThread] to [true] as the property does not exist.
2023-08-16 14:50:39,428 [localhost-startStop-1] INFO startup.ContextConfig - No global web.xml found
2023-08-16 14:50:39,933 [localhost-startStop-1] INFO [localhost].[/ice] - No Spring WebApplicationInitializer types detected on classpath
2023-08-16 14:50:40,029 [localhost-startStop-1] INFO [localhost].[/ice] - Initializing Spring root WebApplicationContext
2023-08-16 14:51:00,641 [localhost-startStop-1] INFO context.GrailsConfigUtils - [GrailsContextLoader] Grails application loaded.
2023-08-16 14:51:00,827 [localhost-startStop-1] INFO BootStrap - Starting ice...
2023-08-16 14:51:00,827 [localhost-startStop-1] INFO BootStrap - Read ice.properties ...
| Error com.amazonaws.services.ec2.model.AmazonEC2Exception: You are not authorized to perform this operation. (Service: AmazonEC2; Status Code: 403; Error Code: UnauthorizedOperation; Request ID: ddd8a320-4fa0-4e22-ba79-664ad00477eb; Proxy: null)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1819)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleServiceErrorResponse(AmazonHttpClient.java:1403)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1372)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1145)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:802)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:770)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:744)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:704)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:686)
| Error at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:550)
| Error at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:530)
| Error at com.amazonaws.services.ec2.AmazonEC2Client.doInvoke(AmazonEC2Client.java:27942)
| Error at com.amazonaws.services.ec2.AmazonEC2Client.invoke(AmazonEC2Client.java:27909)
| Error at com.amazonaws.services.ec2.AmazonEC2Client.invoke(AmazonEC2Client.java:27898)
| Error at com.amazonaws.services.ec2.AmazonEC2Client.executeDescribeRegions(AmazonEC2Client.java:14798)
| Error at com.amazonaws.services.ec2.AmazonEC2Client.describeRegions(AmazonEC2Client.java:14767)
| Error at com.amazonaws.services.ec2.AmazonEC2Client.describeRegions(AmazonEC2Client.java:14810)
| Error at com.netflix.ice.processor.ProcessorConfig.initZones(ProcessorConfig.java:270)
| Error at com.netflix.ice.processor.ProcessorConfig.<init>(ProcessorConfig.java:115)
| Error at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| Error at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
| Error at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
| Error at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
| Error at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
| Error at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
| Error at BootStrap$_closure1.doCall(BootStrap.groovy:184)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:498)
| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1081)
| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
| Error at groovy.lang.Closure.call(Closure.java:423)
| Error at groovy.lang.Closure.call(Closure.java:417)
| Error at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
| Error at grails.util.Environment.executeForEnvironment(Environment.java:320)
| Error at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
| Error at org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:60)
| Error at org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:78)
| Error at org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.initWebApplicationContext(GrailsContextLoaderListener.java:110)
| Error at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
| Error at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
| Error at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
| Error at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
| Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
| Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
| Error at java.util.concurrent.FutureTask.run(FutureTask.java:266)
| Error at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
| Error at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
| Error at java.lang.Thread.run(Thread.java:748)
| Error 2023-08-16 14:51:07,323 [localhost-startStop-1] ERROR BootStrap - Startup failed
Message: You are not authorized to perform this operation. (Service: AmazonEC2; Status Code: 403; Error Code: UnauthorizedOperation; Request ID: ddd8a320-4fa0-4e22-ba79-664ad00477eb; Proxy: null)
Line | Method
->> 1819 | handleErrorResponse in com.amazonaws.http.AmazonHttpClient$RequestExecutor
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 1403 | handleServiceErrorResponse in ''
| 1372 | executeOneRequest . . . . . . . in ''
| 1145 | executeHelper in ''
| 802 | doExecute . . . . . . . . . . . in ''
| 770 | executeWithTimer in ''
| 744 | execute . . . . . . . . . . . . in ''
| 704 | access$500 in ''
| 686 | execute . . . . . . . . . . . . in com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl
| 550 | execute in com.amazonaws.http.AmazonHttpClient
| 530 | execute . . . . . . . . . . . . in ''
| 27942 | doInvoke in com.amazonaws.services.ec2.AmazonEC2Client
| 27909 | invoke . . . . . . . . . . . . . in ''
| 27898 | invoke in ''
| 14798 | executeDescribeRegions . . . . . in ''
| 14767 | describeRegions in ''
| 14810 | describeRegions . . . . . . . . in ''
| 270 | initZones in com.netflix.ice.processor.ProcessorConfig
| 115 | <init> . . . . . . . . . . . . . in ''
| 184 | doCall in BootStrap$_closure1
| 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
| 320 | executeForEnvironment in ''
| 296 | executeForCurrentEnvironment . . in ''
| 266 | run in java.util.concurrent.FutureTask
| 1149 | runWorker . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor
| 624 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 748 | run . . . . . . . . . . . . . . in java.lang.Thread
Stream closed EOF for analyse-billing/ice-747d8ccf66-9mlbn (ice)
Thanks
SureshA
From: Nicolas Fonrose ***@***.***>
Date: Tuesday, 18 July 2023 at 5:18 PM
To: Teevity/ice ***@***.***>
Cc: Suresh Adapa ***@***.***>, Author ***@***.***>
Subject: Re: [Teevity/ice] load AWS credentials from any provider in the chain (Issue #306)
Suresh,
Has you had any success?
We are soon going to release here a significantly updated version of
Teevity/Ice. With support for GCP and Azure on top of AWS.
But in the meantime, you can also try this work of Ice which has pretty
up-to-date support for many AWS billing features:
https://github.com/jimroth/ice
Nicolas
Le ven. 14 juil. 2023 ? 16:03, Suresh Adapa ***@***.***> a
?crit :
Hi,
I am trying to run inside the container with below.
bash-4.4# uname -a
Linux 26dac1b8ad91 5.15.49-linuxkit-pr #1
<#1> SMP PREEMPT Thu May 25 07:27:39
UTC 2023 aarch64 Linux
bash-4.4# java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (IcedTea 3.8.0) (Alpine 8.171.11-r0)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
bash-4.4# grails -version
Grails version: 2.4.4
=====ERROR LOG ====
2023-07-14 18:23:41,907 [localhost-startStop-1] INFO BootStrap - Starting
ice...
| Error com.amazonaws.SdkClientException: Unable to load AWS credentials
from any provider in the chain
| Error at
com.amazonaws.auth.AWSCredentialsProviderChain.getCredentials(AWSCredentialsProviderChain.java:131)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.getCredentialsFromContext(AmazonHttpClient.java:1119)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.runBeforeRequestHandlers(AmazonHttpClient.java:759)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:723)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:716)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:699)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:667)
| Error at
com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:649)
| Error at
com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:513)
| Error at
com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4221)
| Error at
com.amazonaws.services.s3.AmazonS3Client.getBucketRegionViaHeadRequest(AmazonS3Client.java:4982)
| Error at
com.amazonaws.services.s3.AmazonS3Client.fetchRegionFromCache(AmazonS3Client.java:4956)
| Error at
com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4205)
| Error at
com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4168)
| Error at
com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1378)
| Error at
com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1255)
| Error at com.netflix.ice.common.AwsUtils.download(AwsUtils.java:338)
| Error at com.netflix.ice.common.AwsUtils.download(AwsUtils.java:333)
| Error at
com.netflix.ice.common.AwsUtils.downloadFileIfNotExist(AwsUtils.java:321)
| Error at
com.netflix.ice.basic.BasicReservationService.init(BasicReservationService.java:101)
| Error at
com.netflix.ice.processor.ProcessorConfig.(ProcessorConfig.java:97)
| Error at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
| Error at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
| Error at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
| Error at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
| Error at
org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
| Error at
org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
| Error at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
| Error at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
| Error at BootStrap$_closure1.doCall(BootStrap.groovy:187)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| Error at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:498)
| Error at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
| Error at
groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1081)
| Error at
groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
| Error at groovy.lang.Closure.call(Closure.java:423)
| Error at groovy.lang.Closure.call(Closure.java:417)
| Error at
grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
| Error at
grails.util.Environment.executeForEnvironment(Environment.java:320)
| Error at
grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
| Error at
org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:60)
| Error at
org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:78)
| Error at
org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.initWebApplicationContext(GrailsContextLoaderListener.java:110)
| Error at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
| Error at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
| Error at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
| Error at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
| Error at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
| Error at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
| Error at java.util.concurrent.FutureTask.run(FutureTask.java:266)
| Error at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
| Error at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
| Error at java.lang.Thread.run(Thread.java:748)
| Error 2023-07-14 18:23:44,234 [localhost-startStop-1] ERROR BootStrap -
Startup failed
Message: Unable to load AWS credentials from any provider in the chain
Line | Method
->> 131 | getCredentials in com.amazonaws.auth.AWSCredentialsProviderChain
------------------------------
| 1119 | getCredentialsFromContext in
com.amazonaws.http.AmazonHttpClient$RequestExecutor
| 759 | runBeforeRequestHandlers . . . . in ''
| 723 | doExecute in ''
| 716 | executeWithTimer . . . . . . . . in ''
| 699 | execute in ''
| 667 | access$500 . . . . . . . . . . . in ''
| 649 | execute in
com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl
| 513 | execute . . . . . . . . . . . . in
com.amazonaws.http.AmazonHttpClient
| 4221 | invoke in com.amazonaws.services.s3.AmazonS3Client
| 4982 | getBucketRegionViaHeadRequest . in ''
| 4956 | fetchRegionFromCache in ''
| 4205 | invoke . . . . . . . . . . . . . in ''
| 4168 | invoke in ''
| 1378 | getObject . . . . . . . . . . . in ''
| 1255 | getObject in ''
| 338 | download . . . . . . . . . . . . in com.netflix.ice.common.AwsUtils
| 333 | download in ''
| 321 | downloadFileIfNotExist . . . . . in ''
| 101 | init in com.netflix.ice.basic.BasicReservationService
| 97 | . . . . . . . . . . . . . in
com.netflix.ice.processor.ProcessorConfig
| 187 | doCall in BootStrap$_closure1
| 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
| 320 | executeForEnvironment in ''
| 296 | executeForCurrentEnvironment . . in ''
| 266 | run in java.util.concurrent.FutureTask
| 1149 | runWorker . . . . . . . . . . . in
java.util.concurrent.ThreadPoolExecutor
| 624 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 748 | run . . . . . . . . . . . . . . in java.lang.Thread
==== MY ice.properties ======
ice.processor=true
ice.reader=true
ice.reservationCapacityPoller=false
ice.reservationPeriod=oneyear
ice.reservationUtilization=HEAVY
ice.highstockUrl=https://code.highcharts.com/stock/4.2.1/highstock.js
ice.urlPrefix=
ice.fromEmail=
ice.ondemandCostAlertThreshold=250
ice.ondemandCostAlertEmails=
ice.billing_s3bucketname=plural-ice/detailed-billing-bucket
ice.billing_s3bucketregion=ap-south-1
ice.billing_s3bucketprefix=,
ice.startmillis=1364774400000
ice.companyName=Pinelabs
ice.work_s3bucketname=plural-ice/work-bucket
ice.work_s3bucketprefix=ice/
ice.processor.localDir=/mnt/ice_processor
ice.reader.localDir=/mnt/ice_reader
ice.monthlycachesize=12
ice.owneraccount.account1.role=ice
ice.owneraccount.account1.externalId=
-
Reply to this email directly, view it on GitHub
<#306>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAJJJP4OVF2ZEVXTDRDANDXQFGRRANCNFSM6AAAAAA2KL6B6A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
--
Nicolas Fonrose | Teevity | Founder
+33.6.61.35.43.31
https://teevity.com - Cloud Costs Analytics for AWS, GCP and Azure powered
by NetflixOSS Ice
twitter - @nfonrose / @Teevity
-
Reply to this email directly, view it on GitHub<#306 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXMI63INBR3SDKCKOECPQZLXQ2ZNFANCNFSM6AAAAAA2KL6B6A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
CONFIDENTIALITY NOTICE This e-mail message and any attachments are only for the use of the intended recipient and may contain information that is privileged and confidential. If you are not the intended recipient, you are hereby notified that any disclosure, distribution or other use of this e-mail message or attachments is strictly prohibited. If you have received this e-mail message in error, please permanently delete the email and its attachments and notify the sender immediately. Thank you.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am trying to run inside the container with below.
bash-4.4# uname -a
Linux 26dac1b8ad91 5.15.49-linuxkit-pr #1 SMP PREEMPT Thu May 25 07:27:39 UTC 2023 aarch64 Linux
bash-4.4# java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (IcedTea 3.8.0) (Alpine 8.171.11-r0)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
bash-4.4# grails -version
Grails version: 2.4.4
=====ERROR LOG ====
2023-07-14 18:23:41,907 [localhost-startStop-1] INFO BootStrap - Starting ice...
| Error com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain
| Error at com.amazonaws.auth.AWSCredentialsProviderChain.getCredentials(AWSCredentialsProviderChain.java:131)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.getCredentialsFromContext(AmazonHttpClient.java:1119)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.runBeforeRequestHandlers(AmazonHttpClient.java:759)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:723)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:716)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:699)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:667)
| Error at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:649)
| Error at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:513)
| Error at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4221)
| Error at com.amazonaws.services.s3.AmazonS3Client.getBucketRegionViaHeadRequest(AmazonS3Client.java:4982)
| Error at com.amazonaws.services.s3.AmazonS3Client.fetchRegionFromCache(AmazonS3Client.java:4956)
| Error at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4205)
| Error at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4168)
| Error at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1378)
| Error at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1255)
| Error at com.netflix.ice.common.AwsUtils.download(AwsUtils.java:338)
| Error at com.netflix.ice.common.AwsUtils.download(AwsUtils.java:333)
| Error at com.netflix.ice.common.AwsUtils.downloadFileIfNotExist(AwsUtils.java:321)
| Error at com.netflix.ice.basic.BasicReservationService.init(BasicReservationService.java:101)
| Error at com.netflix.ice.processor.ProcessorConfig.(ProcessorConfig.java:97)
| Error at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| Error at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
| Error at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
| Error at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
| Error at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
| Error at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
| Error at BootStrap$_closure1.doCall(BootStrap.groovy:187)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| Error at java.lang.reflect.Method.invoke(Method.java:498)
| Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
| Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1081)
| Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
| Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
| Error at groovy.lang.Closure.call(Closure.java:423)
| Error at groovy.lang.Closure.call(Closure.java:417)
| Error at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
| Error at grails.util.Environment.executeForEnvironment(Environment.java:320)
| Error at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
| Error at org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:60)
| Error at org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:78)
| Error at org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.initWebApplicationContext(GrailsContextLoaderListener.java:110)
| Error at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
| Error at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
| Error at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
| Error at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
| Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
| Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
| Error at java.util.concurrent.FutureTask.run(FutureTask.java:266)
| Error at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
| Error at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
| Error at java.lang.Thread.run(Thread.java:748)
| Error 2023-07-14 18:23:44,234 [localhost-startStop-1] ERROR BootStrap - Startup failed
Message: Unable to load AWS credentials from any provider in the chain
Line | Method
->> 131 | getCredentials in com.amazonaws.auth.AWSCredentialsProviderChain
| 1119 | getCredentialsFromContext in com.amazonaws.http.AmazonHttpClient$RequestExecutor
| 759 | runBeforeRequestHandlers . . . . in ''
| 723 | doExecute in ''
| 716 | executeWithTimer . . . . . . . . in ''
| 699 | execute in ''
| 667 | access$500 . . . . . . . . . . . in ''
| 649 | execute in com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl
| 513 | execute . . . . . . . . . . . . in com.amazonaws.http.AmazonHttpClient
| 4221 | invoke in com.amazonaws.services.s3.AmazonS3Client
| 4982 | getBucketRegionViaHeadRequest . in ''
| 4956 | fetchRegionFromCache in ''
| 4205 | invoke . . . . . . . . . . . . . in ''
| 4168 | invoke in ''
| 1378 | getObject . . . . . . . . . . . in ''
| 1255 | getObject in ''
| 338 | download . . . . . . . . . . . . in com.netflix.ice.common.AwsUtils
| 333 | download in ''
| 321 | downloadFileIfNotExist . . . . . in ''
| 101 | init in com.netflix.ice.basic.BasicReservationService
| 97 | . . . . . . . . . . . . . in com.netflix.ice.processor.ProcessorConfig
| 187 | doCall in BootStrap$_closure1
| 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
| 320 | executeForEnvironment in ''
| 296 | executeForCurrentEnvironment . . in ''
| 266 | run in java.util.concurrent.FutureTask
| 1149 | runWorker . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor
| 624 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 748 | run . . . . . . . . . . . . . . in java.lang.Thread
==== MY ice.properties ======
ice.processor=true
ice.reader=true
ice.reservationCapacityPoller=false
ice.reservationPeriod=oneyear
ice.reservationUtilization=HEAVY
ice.highstockUrl=https://code.highcharts.com/stock/4.2.1/highstock.js
ice.urlPrefix=
ice.fromEmail=
ice.ondemandCostAlertThreshold=250
ice.ondemandCostAlertEmails=
ice.billing_s3bucketname=plural-ice/detailed-billing-bucket
ice.billing_s3bucketregion=ap-south-1
ice.billing_s3bucketprefix=,
ice.startmillis=1364774400000
ice.companyName=Pinelabs
ice.work_s3bucketname=plural-ice/work-bucket
ice.work_s3bucketprefix=ice/
ice.processor.localDir=/mnt/ice_processor
ice.reader.localDir=/mnt/ice_reader
ice.monthlycachesize=12
ice.owneraccount.account1.role=ice
ice.owneraccount.account1.externalId=
The text was updated successfully, but these errors were encountered: