GithubHelp home page GithubHelp logo

docker-ice's People

Contributors

aantonw avatar azrik avatar jonbrouse avatar jonhadfield avatar omerh avatar quinnypig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-ice's Issues

Server running. Browse to http://localhost:8080/ice don't works

I can't open this url.

ice_1   | 2015-11-18 18:24:08,304 [localhost-startStop-1] INFO  [localhost].[/ice]  - Initializing Spring FrameworkServlet 'grails'
ice_1   | 2015-11-18 18:24:08,446 [main] INFO  http11.Http11NioProtocol  - Starting ProtocolHandler ["http-nio-8080"]
ice_1   | | Server running. Browse to http://localhost:8080/ice

docker-compose up fail at startup

I get the following error when running docker-compose up

ice_1 | | Error 2016-05-18 13:02:32,199 [localhost-startStop-1] ERROR BootStrap - Startup failed
ice_1 | Message: failed to poll reservation prices for /home/centos/docker-ice/ice_processor/reservation_prices.threeyear.HEAVY (No such file or directory)
ice_1 | Line | Method
ice_1 | ->> 110 | init in com.netflix.ice.basic.BasicReservationService
ice_1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1 | | 95 | in com.netflix.ice.processor.ProcessorConfig
ice_1 | | 186 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
ice_1 | | 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
ice_1 | | 320 | executeForEnvironment . . . . . in ''
ice_1 | | 296 | executeForCurrentEnvironment in ''
ice_1 | | 262 | run . . . . . . . . . . . . . . in java.util.concurrent.FutureTask
ice_1 | | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1 | | 615 | run . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1 | ^ 745 | run in java.lang.Thread
dockerice_ice_1 exited with code 0

the directory clearly exists:

ls -la /home/centos/docker-ice/ice_processor
total 4
drwxrwxrwx. 2 centos centos 6 May 18 16:36 .
drwxrwxr-x. 8 centos centos 4096 May 18 16:55 ..

Error Script not found: #

Hello, when I docker-compose up - i get -

docker-compose up                                                                                                                                          (uat.k8s.oimeshtest.cloud/default)
Starting dockerice_ice_1 ...
Starting dockerice_ice_1 ... done
Starting dockerice_nginx_1 ...
Starting dockerice_nginx_1 ... done
Attaching to dockerice_ice_1, dockerice_nginx_1
ice_1    | | Loading Grails 2.4.4
ice_1    | | Configuring classpath
ice_1    | | Running pre-compiled script
ice_1    | | Error Script not found: #
dockerice_ice_1 exited with code 1

any ideas please?

what is ARG JAVA_OPTS?

I want to rebuild the dockerimage in my situation.
But I don't know the ARG JAVA_OPTS in Dockerfile
Can you tell me?

dockerice_ice_1 exited with code 0

Hi,

First of all great work on docker-ice!

I am trying to setup container however, when I ran docker-compose up I got dockerice_ice_1 exited with code 0 when I as looking more into the output I found the following error:

ice_1 | 2016-02-25 00:07:03,793 [localhost-startStop-1] INFO BootStrap - Starting ice... ice_1 | | Error com.amazonaws.services.s3.model.AmazonS3Exception: The request signature we calculated does not match the signature you provided. Check your key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: *********************), S3 Extended Request ID: 6rWB48bERymibD2hNItWcUck/xF+S1kW8+cxwHgyzeYIOFJlv15A5wRjEd0jF0R4ZK2mHSA6/Qw=

Is there a specific permission for account that is used in ice? if there is could you please advise on that?

Issues starting up.

I'm using @jimroth forked version of this ...

when doing docker-compose up I get following error.

In the ice.properties, what should ice.reader.localDir and ice.processor.localDir be set to?

ice_1 | | Error java.lang.ArrayIndexOutOfBoundsException: 0 ice_1 | | Error at com.netflix.ice.processor.ProcessorConfig.processBillingDataConfig(ProcessorConfig.java:394) ice_1 | | Error at com.netflix.ice.processor.ProcessorConfig.<init>(ProcessorConfig.java:148) ice_1 | | Error at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ice_1 | | Error at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ice_1 | | Error at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ice_1 | | Error at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ice_1 | | Error at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) ice_1 | | Error at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102) ice_1 | | Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) ice_1 | | Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) ice_1 | | Error at BootStrap$_closure1.doCall(BootStrap.groovy:183) ice_1 | | Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ice_1 | | Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ice_1 | | Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ice_1 | | Error at java.lang.reflect.Method.invoke(Method.java:498) ice_1 | | Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) ice_1 | | Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324) ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207) ice_1 | | Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110) ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1081) ice_1 | | Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110) ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016) ice_1 | | Error at groovy.lang.Closure.call(Closure.java:423) ice_1 | | Error at groovy.lang.Closure.call(Closure.java:417) ice_1 | | Error at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327) ice_1 | | Error at grails.util.Environment.executeForEnvironment(Environment.java:320) ice_1 | | Error at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296) ice_1 | | Error at org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:60) ice_1 | | Error at org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:78) ice_1 | | Error at org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.initWebApplicationContext(GrailsContextLoaderListener.java:110) ice_1 | | Error at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) ice_1 | | Error at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728) ice_1 | | Error at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162) ice_1 | | Error at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ice_1 | | Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) ice_1 | | Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399) ice_1 | | Error at java.util.concurrent.FutureTask.run(FutureTask.java:266) ice_1 | | Error at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ice_1 | | Error at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ice_1 | | Error at java.lang.Thread.run(Thread.java:748) ice_1 | | Error 2019-07-04 00:02:51,173 [localhost-startStop-1] ERROR BootStrap - Startup failed ice_1 | Message: 0 ice_1 | Line | Method ice_1 | ->> 394 | processBillingDataConfig in com.netflix.ice.processor.ProcessorConfig ice_1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ice_1 | | 148 | <init> in '' ice_1 | | 183 | doCall . . . . . . . . . . . . . in BootStrap$_closure1 ice_1 | | 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment ice_1 | | 320 | executeForEnvironment . . . . . in '' ice_1 | | 296 | executeForCurrentEnvironment in '' ice_1 | | 266 | run . . . . . . . . . . . . . . in java.util.concurrent.FutureTask ice_1 | | 1149 | runWorker in java.util.concurrent.ThreadPoolExecutor ice_1 | | 624 | run . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker ice_1 | ^ 748 | run in java.lang.Thread ice-docker_ice_1 exited with code 0

Ignoring files like #-aws-billing-detailed-line-items-with-resources-and-tags-year-month.csv.zip

Hi,

I don't understand why the application ignores the files with resources and tags and only process the files which are like "aws-billing-detailed-line-items-year-month.csv.zip".

The breakdown tab is not displayed in the ice reader although I gave the correct tag user:name
Is this because it couldnt process the files with tags and resources ? The billing file has the tag in the header as separate column .
Any suggestions would be helpful.

ice_1 | 2016-04-06 22:44:48,609 [com.netflix.ice.processor.BillingFileProcessor] INFO processor.BillingFileProcessor - ignoring file 522992507969-aws-billing-detailed-line-items-with-resources-and-tags-2014-12.csv.zip ice_1 | 2016-04-06 22:44:48,609 [com.netflix.ice.processor.BillingFileProcessor] INFO processor.BillingFileProcessor - ignoring file 522992507969-aws-billing-detailed-line-items-with-resources-and-tags-2015-01.csv.zip ice_1 | 2016-04-06 22:44:48,609 [com.netflix.ice.processor.BillingFileProcessor] INFO processor.BillingFileProcessor - ignoring file 522992507969-aws-billing-detailed-line-items-with-resources-and-tags-2015-02.csv.zip ice_1 | 2016-04-06 22:44:48,609 [com.netflix.ice.processor.BillingFileProcessor] INFO processor.BillingFileProcessor - ignoring file 522992507969-aws-billing-detailed-line-items-with-resources-and-tags-2015-03.csv.zip ice_1 | 2016-04-06 22:44:48,609 [com.netflix.ice.processor.BillingFileProcessor] INFO processor.BillingFileProcessor - ignoring file 522992507969-aws-billing-detailed-line-items-with-resources-and-tags-2015-04.csv.zip

Failed to read artifact descriptor for xalan:serializer:jar:2.7.1

after resolving other issues, i am getting the following error consistently:

ice-1.1.2/wrapper/springloaded-1.2.1.RELEASE.jar
| Loading Grails 2.4.4
| Configuring classpath
| Error Resolve error obtaining dependencies: Failed to read artifact descriptor for xalan:serializer:jar:2.7.1 (Use --stacktrace to see the full trace)
| Error Required Grails build dependencies were not found. This is normally due to internet connectivity issues (such as a misconfigured proxy) or missing repositories in grails-app/conf/BuildConfig.groovy. Please verify your configuration to continue.
ERROR: Service 'ice' failed to build: The command '/bin/sh -c mkdir /mnt/ice_processor /mnt/ice_reader && curl -fsSL https://github.com/Teevity/ice/archive/v1.1.2.tar.gz | tar zvx --strip-components=1 && grails ${JAVA_OPTS} wrapper && rm grails-app/i18n/messages.properties && sed -i -e '1i#!/bin/bash' grailsw' returned a non-zero code: 1

Here is my Dockerfile:

FROM openjdk:8u131-jdk-alpine
MAINTAINER Jon Brouse @jonbrouse

ENV http_proxy http://xx.xx.xx.com:80
ENV https_proxy http://xx.xx.xx:80
RUN export http_proxy=$HTTP_PROXY
RUN export https_proxy=$HTTPS_PROXY

ENV INSTALL_DIR /opt/ice
ENV HOME_DIR /root
ENV GRAILS_VERSION 2.4.4
ENV GRAILS_HOME ${HOME_DIR}/.grails/wrapper/${GRAILS_VERSION}/grails-${GRAILS_VERSION}
ENV PATH $PATH:${HOME_DIR}/.grails/wrapper/${GRAILS_VERSION}/grails-${GRAILS_VERSION}/bin/
ENV ICE_VERSION 1.1.2

ENV JAVA_OPTS="-Dhttps.proxyHost=https.proxyHost=http://xx.xx.xx -Dhttps.proxyPort=https.proxyPort=80"

ARG JAVA_OPTS
WORKDIR ${HOME_DIR}/.grails/wrapper/${GRAILS_VERSION}

###########################Install required software

RUN apk add --no-cache bash curl unzip &&
curl -O http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-${GRAILS_VERSION}.zip &&
unzip grails-${GRAILS_VERSION}.zip &&
rm -rf grails-${GRAILS_VERSION}.zip

WORKDIR ${INSTALL_DIR}

   #######Ice setup

RUN mkdir /mnt/ice_processor /mnt/ice_reader &&
#curl -fsSL https://github.com/Teevity/ice/archive/v${ICE_VERSION}.tar.gz | tar zx --strip-components=1 &&
curl -fsSL https://github.com/Teevity/ice/archive/v1.1.2.tar.gz | tar zvx --strip-components=1 &&
grails ${JAVA_OPTS} wrapper &&
rm grails-app/i18n/messages.properties &&
sed -i -e '1i#!/bin/bash' grailsw

EXPOSE 8080

ENTRYPOINT ["/opt/ice/grailsw"]

CMD []

Not working, nginx page error

I'm running the last docker-compose, on Ubuntu and MacOS, with Docker 17.12 and Compose 1.18, in both SO.

But when I access http://localhost/ice/dashboard/summary a Nginx page error happen.

screen shot 2018-01-17 at 22 31 27

I check the container output, and no errors happen.

Even when I execute a curl inside Ice container on 8080 port, does not respond.

how to run ice container on kubernetes

Hi Jonathon,

I use "docker-compose up" command to run both containers of nginx and ice with docker-compose.yml on this repo.
it works fine for me. I also can login to ICE web UI.
I'd like to try ice run on kubernetes...
I know there is a conversion tool for all things compose (namely Docker Compose) to container orchestrators
Kubernetes + Compose = Kompose
https://kubernetes.io/docs/tools/kompose/user-guide/
I installed kompose and used this command to convert "docker-compose.yml"
But I got error logs as below

`root@ubuntu:/home/peter/docker-ice# ll
total 64
drwxr-xr-x 7 root root 4096 Apr 16 01:44 ./
drwxr-xr-x 7 peter peter 4096 Apr 9 00:34 ../
-rw-r--r-- 1 root root 707 Apr 15 22:59 docker-compose.yml
-rw-r--r-- 1 root root 707 Apr 15 22:50 docker-compose.yml.bak
drwxr-xr-x 8 root root 4096 Mar 29 00:20 .git/
-rw-r--r-- 1 root root 45 Mar 29 00:20 .gitignore
drwxr-xr-x 3 root root 4096 Apr 16 01:33 ice/
drwxr-xr-x 2 root root 4096 Apr 15 19:50 init/
-rw-r--r-- 1 root root 11325 Mar 29 00:20 LICENSE
drwxr-xr-x 3 root root 4096 Mar 29 00:20 nginx/
-rw-r--r-- 1 root root 5570 Mar 29 00:20 README.md
drwxr-xr-x 2 root root 4096 Apr 15 19:51 .travis/
-rw-r--r-- 1 root root 31 Mar 29 00:20 .travis.yml
root@ubuntu:/home/peter/docker-ice#
root@ubuntu:/home/peter/docker-ice# cat docker-compose.yml
version: '3'
services:
ice:
build: ice
hostname: ice
image: jonbrouse/ice:latest
command: |
-Djava.net.preferIPv4Stack=true
-Djava.net.preferIPv4Addresses
-Duser.timezone=America/New_York
-Dice.s3AccessKeyId=AKIAIU*******************
-Dice.s3SecretKey=7ktgees**********************************************
run-app
volumes:
- ./ice/assets/ice.properties:/opt/ice/src/java/ice.properties
environment:
- GRAILS_OPTS=-server -Xmx8G -Xms4G -Dfile.encoding=UTF-8
nginx:
hostname: nginx
image: nginx:1.13.3-alpine
ports:
- "80:80"
links:
- ice:ice
volumes:
- ./nginx/assets/default.conf:/etc/nginx/conf.d/default.conf
root@ubuntu:/home/peter/docker-ice#
root@ubuntu:/home/peter/docker-ice# kompose up
WARN Volume mount on the host "/home/peter/docker-ice/ice/assets/ice.properties" isn't supported - ignoring path on the host
WARN Volume mount on the host "/home/peter/docker-ice/nginx/assets/default.conf" isn't supported - ignoring path on the host
INFO We are going to create Kubernetes Deployments, Services and PersistentVolumeClaims for your Dockerized application. If you need different kind of resources, use the 'kompose convert' and 'kubectl create -f' commands instead.

INFO Deploying application in "default" namespace
INFO Successfully created Service: ice
INFO Successfully created Service: nginx
INFO Successfully created Deployment: ice
INFO Successfully created PersistentVolumeClaim: ice-claim0 of size 100Mi. If your cluster has dynamic storage provisioning, you don't have to do anything. Otherwise you have to create PersistentVolume to make PVC work
INFO Successfully created Deployment: nginx
INFO Successfully created PersistentVolumeClaim: nginx-claim0 of size 100Mi. If your cluster has dynamic storage provisioning, you don't have to do anything. Otherwise you have to create PersistentVolume to make PVC work

Your application has been deployed to Kubernetes. You can run 'kubectl get deployment,svc,pods,pvc' for details.
root@ubuntu:/home/peter/docker-ice#`

root@ubuntu:/home/peter/docker-ice# kubectl get pods NAME READY STATUS RESTARTS AGE ice-5b49656ccd-xmnxd 1/1 Running 0 28s nginx-79bdf585db-gwrdf 0/1 RunContainerError 0 27s root@ubuntu:/home/peter/docker-ice#

| Loading Grails 2.4.4
| Configuring classpath
Apr 16, 2018 4:56:50 AM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
| Configuring classpath.
| Environment set to development
..................................................
2018-04-16 04:57:02,436 [localhost-startStop-1] INFO  core.StandardContext  - Unable to set the web application class loader property [clearReferencesHttpClientKeepAliveThread] to [true] as the property does not exist.
2018-04-16 04:57:02,444 [localhost-startStop-1] INFO  startup.ContextConfig  - No global web.xml found
2018-04-16 04:57:02,548 [localhost-startStop-1] INFO  [localhost].[/ice]  - No Spring WebApplicationInitializer types detected on classpath
2018-04-16 04:57:02,567 [localhost-startStop-1] INFO  [localhost].[/ice]  - Initializing Spring root WebApplicationContext
2018-04-16 04:57:06,797 [localhost-startStop-1] INFO  context.GrailsConfigUtils  - [GrailsContextLoader] Grails application loaded.
2018-04-16 04:57:06,821 [localhost-startStop-1] INFO  BootStrap  - Starting ice...
| Error java.lang.NullPointerException
| Error         at java.util.Hashtable.put(Hashtable.java:459)
| Error         at java.util.Properties.setProperty(Properties.java:166)
| Error         at java_util_Properties$setProperty$2.call(Unknown Source)
| Error         at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
| Error         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
| Error         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
| Error         at BootStrap$_closure1.doCall(BootStrap.groovy:140)
| 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```
(edited)
```| Error 2018-04-16 04:57:06,980 [localhost-startStop-1] ERROR BootStrap  - Startup failed
Message: null
    Line | Method
->>  459 | put                              in java.util.Hashtable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|    166 | setProperty                      in java.util.Properties
|    140 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
|    327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
|    320 | executeForEnvironment . . . . .  in     ''
|    296 | executeForCurrentEnvironment     in     ''
|    266 | run . . . . . . . . . . . . . .  in java.util.concurrent.FutureTask
|   1142 | runWorker                        in java.util.concurrent.ThreadPoolExecutor
|    617 | run . . . . . . . . . . . . . .  in java.util.concurrent.ThreadPoolExecutor$Worker
^    748 | run                              in java.lang.Thread
root@ubuntu:/home/peter/docker-ice#````

When I used kubectl to login ice pod and I found  seem no ice.properties inside, I suspect that probably the cause why I got this error.

How can I run ice container on kubernetes?  I'm appreciated if have any procedures or instructions which can reference ! 


NullPointerException reading ice.properties

2020-06-01 03:29:50,750 [localhost-startStop-1] INFO BootStrap - Read ice.properties ...
| Error java.lang.NullPointerException
| Error at java.util.Hashtable.put(Hashtable.java:460)
| Error at java.util.Properties.setProperty(Properties.java:166)
| Error at java_util_Properties$setProperty$1.call(Unknown Source)
| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
| Error at BootStrap$_closure1.doCall(BootStrap.groovy:108)
| 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 2020-06-01 03:29:51,161 [localhost-startStop-1] ERROR BootStrap - Startup failed
Message: null
Line | Method
->> 460 | put in java.util.Hashtable


| 166 | setProperty in java.util.Properties
| 108 | 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

I replaced the configmap-ice.yaml files with values for <> fields.
Any pointers will be helpful

Issue on CUR lineitem process, ERROR

all lineitems fail with following error.

ice_1 | | Error 2020-04-12 01:11:04,245 [pool-4-thread-1] ERROR processor.CostAndUsageReportProcessor - m4lov5dsh5xxxuylutvqja7jkaxf37zf7zddvdfqwpxvgnnf5a,2020-04-11T16:00:00Z/2020-04-11T17:00:00Z,,AWS,Anniversary,xxxxxxxxx,2020-04-01T00:00:00Z,2020-05-01T00:00:00Z,xxxxxxx,Usage,2020-04-11T16:00:00Z,2020-04-11T17:00:00Z,AmazonVPC,USW1-VpcEndpoint-Hours,VpcEndpoint,,arn:aws:ec2:us-west-1:xxxxxx:vpc-endpoint/vpce-09bf2exxx629a8d7,1.0000000000,,,USD,0.0110000000,0.0110000000,0.0110000000,0.0110000000,$0.011 per VPC Endpoint Hour,,Amazon Web Services, Inc.,Amazon Virtual Private Cloud,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,VPCE:VpcEndpoint,Hourly charge for VPC Endpoints,,,,,,,,,,US West (N. California),AWS Region,,,,,,,,,,,,,,VpcEndpoint,,,,,,,,,VpcEndpoint,,,,us-west-1,,,AmazonVPC,Amazon Virtual Private Cloud,F3WFJTYDKxxxx,,,,,,,,,,,,,USW1-VpcEndpoint-Hours,,,,,,,1634742410,USD,0.0110000000,0.0110000000,OnDemand,Hrs,,,,,,,,,14733057,,,,,,,,,,,,,,,,,,,,,,,,,,,,

ERROR BootStrap - Startup failed

I'm having errors below, not sure what to find:

ice_1 | | Error java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
ice_1 | | Error at java.util.LinkedList.checkElementIndex(LinkedList.java:555)
ice_1 | | Error at java.util.LinkedList.get(LinkedList.java:476)
ice_1 | | Error at com.netflix.ice.processor.ProcessorConfig.readBillingDataConfig(ProcessorConfig.java:565)
ice_1 | | Error at com.netflix.ice.processor.ProcessorConfig.processBillingDataConfig(ProcessorConfig.java:512)
ice_1 | | Error at com.netflix.ice.processor.ProcessorConfig.(ProcessorConfig.java:143)
ice_1 | | Error at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
ice_1 | | Error at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
ice_1 | | Error at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
ice_1 | | Error at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
ice_1 | | Error at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
ice_1 | | Error at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
ice_1 | | Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
ice_1 | | Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
ice_1 | | Error at BootStrap$_closure1.doCall(BootStrap.groovy:190)
ice_1 | | Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
ice_1 | | Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
ice_1 | | Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
ice_1 | | Error at java.lang.reflect.Method.invoke(Method.java:498)
ice_1 | | Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
ice_1 | | Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
ice_1 | | Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1081)
ice_1 | | Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
ice_1 | | Error at groovy.lang.Closure.call(Closure.java:423)
ice_1 | | Error at groovy.lang.Closure.call(Closure.java:417)
ice_1 | | Error at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
ice_1 | | Error at grails.util.Environment.executeForEnvironment(Environment.java:320)
ice_1 | | Error at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
ice_1 | | Error at org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:60)
ice_1 | | Error at org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:78)
ice_1 | | Error at org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.initWebApplicationContext(GrailsContextLoaderListener.java:110)
ice_1 | | Error at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
ice_1 | | Error at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
ice_1 | | Error at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
ice_1 | | Error at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
ice_1 | | Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
ice_1 | | Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
ice_1 | | Error at java.util.concurrent.FutureTask.run(FutureTask.java:266)
ice_1 | | Error at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
ice_1 | | Error at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
ice_1 | | Error at java.lang.Thread.run(Thread.java:748)
ice_1 | | Error 2020-07-19 20:11:32,576 [localhost-startStop-1] ERROR BootStrap - Startup failed
ice_1 | Message: Index: 0, Size: 0
ice_1 | Line | Method
ice_1 | ->> 555 | checkElementIndex in java.util.LinkedList
ice_1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1 | | 476 | get in ''
ice_1 | | 565 | readBillingDataConfig . . . . . in com.netflix.ice.processor.ProcessorConfig
ice_1 | | 512 | processBillingDataConfig in ''
ice_1 | | 143 | . . . . . . . . . . . . . in ''
ice_1 | | 190 | doCall in BootStrap$_closure1
ice_1 | | 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
ice_1 | | 320 | executeForEnvironment in ''
ice_1 | | 296 | executeForCurrentEnvironment . . in ''
ice_1 | | 266 | run in java.util.concurrent.FutureTask
ice_1 | | 1149 | runWorker . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor
ice_1 | | 624 | run in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1 | ^ 748 | run . . . . . . . . . . . . . . in java.lang.Thread

Docker image should return correct exit code, based on Java errors etc

Had a misconfigured IAM role, expected a non-zero exit code (running processor mode under Jenkins, which would detect and email on failure). Returned a zero exit code, ideally this should return non-zero on any Java errors.

Example:

| Error     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
| Error     at java.lang.Thread.run(Thread.java:745)
| Error 2015-09-09 00:43:41,425 [localhost-startStop-1] ERROR BootStrap  - Startup failed
Message: failed to poll reservation prices for You are not authorized to perform this operation. (Service: AmazonEC2; Status Code: 403; Error Code: UnauthorizedOperation; Request ID: ......)
    Line | Method
->>  110 | init                             in com.netflix.ice.basic.BasicReservationService
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|     95 | <init>                           in com.netflix.ice.processor.ProcessorConfig
|    186 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
|    327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
|    320 | executeForEnvironment . . . . .  in     ''
|    296 | executeForCurrentEnvironment     in     ''
|    262 | run . . . . . . . . . . . . . .  in java.util.concurrent.FutureTask
|   1145 | runWorker                        in java.util.concurrent.ThreadPoolExecutor
|    615 | run . . . . . . . . . . . . . .  in java.util.concurrent.ThreadPoolExecutor$Worker
^    745 | run                              in java.lang.Thread
[root@server ~]# echo $?
0

Started using docker run .... syntax.

Cant start web

Getting these errors:

ice_1 | 2018-04-17 15:55:58,917 [main] INFO http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
ice_1 | 2018-04-17 15:55:58,937 [main] INFO net.NioSelectorPool - Using a shared selector for servlet write/read
ice_1 | 2018-04-17 15:55:58,951 [main] INFO core.StandardService - Starting service Tomcat
ice_1 | 2018-04-17 15:55:58,951 [main] INFO core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.0.20
ice_1 | 2018-04-17 15:55:59,061 [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_1 | 2018-04-17 15:55:59,062 [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_1 | 2018-04-17 15:55:59,063 [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_1 | 2018-04-17 15:55:59,063 [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_1 | 2018-04-17 15:55:59,070 [localhost-startStop-1] INFO startup.ContextConfig - No global web.xml found
ice_1 | 2018-04-17 15:55:59,168 [localhost-startStop-1] INFO [localhost].[/ice] - No Spring WebApplicationInitializer types detected on classpath
ice_1 | 2018-04-17 15:55:59,190 [localhost-startStop-1] INFO [localhost].[/ice] - Initializing Spring root WebApplicationContext
ice_1 | 2018-04-17 15:56:03,007 [localhost-startStop-1] INFO context.GrailsConfigUtils - [GrailsContextLoader] Grails application loaded.
ice_1 | 2018-04-17 15:56:03,031 [localhost-startStop-1] INFO BootStrap - Starting ice...
ice_1 | 2018-04-17 15:56:04,365 [localhost-startStop-1] INFO common.AwsUtils - file not found in s3 /mnt/ice_processor/reservation_prices.threeyear.LIGHT
ice_1 | 2018-04-17 15:56:04,376 [localhost-startStop-1] INFO common.AwsUtils - file not found in s3 /mnt/ice_processor/reservation_prices.threeyear.MEDIUM
ice_1 | 2018-04-17 15:56:04,383 [localhost-startStop-1] INFO common.AwsUtils - file not found in s3 /mnt/ice_processor/reservation_prices.threeyear.HEAVY
ice_1 | 2018-04-17 15:56:04,391 [localhost-startStop-1] INFO common.AwsUtils - file not found in s3 /mnt/ice_processor/reservation_prices.threeyear.FIXED

Can you please advice?

Consider switching to jimroth/ice?

Hello,

Teevity has stalled in developing/supporting ice. Yesterday, they finally merged in a PR I created in 2017.. after I poked the ticket.

In the merge comment, they recommended I use a fork of their repo from jimroth, that is under heavy/active development.

That comment can be found here: Teevity/ice#263 (comment)

As a result, I'd recommend using jimroths version over teevity. https://github.com/jimroth/ice

Improvements

Could you can add to your code of "docker-compose.yml" template

-Duser.timezone=
I´m using gmt-3 to Brazil

I take some time to find this option, i think that can help some other peoples 👍

parseDateTime in org.joda.time.format.DateTimeFormatter

I'm having a problem when accessing Ice, none of the graphs come up any more. The docker logs only show this error at the time of access:

ice_1   | | Error 2016-05-10 13:31:46,196 [http-nio-8080-exec-5] ERROR errors.GrailsExceptionResolver  - IllegalArgumentException occurred when processing request: [POST] /ice/dashboard/getData
ice_1   | Invalid format: "". Stacktrace follows:
ice_1   | Message: Invalid format: ""
ice_1   |     Line | Method
ice_1   | ->>  945 | parseDateTime in org.joda.time.format.DateTimeFormatter
ice_1   | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1   | |    407 | doGetData     in com.netflix.ice.DashboardController
ice_1   | |    321 | doCall . . .  in com.netflix.ice.DashboardController$_closure11
ice_1   | |   1145 | runWorker     in java.util.concurrent.ThreadPoolExecutor
ice_1   | |    615 | run . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1   | ^    745 | run           in java.lang.Thread
ice_1   | 1462887106227

Any ideas? I didn't change anything about the config. This was just after I rebooted the host.

Unable to set the web application class loader property [clearReferencesStatic] to [false] as the property does not exist.

Hi Jonathan,
when i launch the docker-compose, it doesn't work (sorry, I'm very primary with java language).
Here, you can find the output:

$ /usr/local/bin/docker-compose -f docker-compose.yml up

Recreating dockerice_ice_1...
Recreating dockerice_nginx_1...
Attaching to dockerice_ice_1, dockerice_nginx_1
ice_1 | | Loading Grails 2.4.4
ice_1 | | Configuring classpath
ice_1 | Aug 11, 2015 3:20:18 PM java.util.prefs.FileSystemPreferences$1 run
ice_1 | INFO: Created user preferences directory.
ice_1 | | Configuring classpath.
ice_1 | | Environment set to development
ice_1 | | Environment set to development.
ice_1 | | Environment set to development..
ice_1 | | Environment set to development...
ice_1 | | Environment set to development....
ice_1 | | Environment set to development.....
ice_1 | | Packaging Grails application
ice_1 | | Installing zip tomcat-8.0.20.zip...
ice_1 | | Installing zip tomcat-8.0.20.zip....
ice_1 | | Installing zip tomcat-8.0.20.zip.....
ice_1 | | Installed plugin tomcat-8.0.20
ice_1 | | Installed plugin tomcat-8.0.20.
ice_1 | | Installed plugin tomcat-8.0.20..
ice_1 | | Installed plugin tomcat-8.0.20...
ice_1 | | Installed plugin tomcat-8.0.20....
ice_1 | | Installed plugin tomcat-8.0.20.....
ice_1 | | Compiling 10 source files
ice_1 |
ice_1 | | Compiling 10 source files.
ice_1 | | Compiling 10 source files..
ice_1 | | Compiling 10 source files
ice_1 |
ice_1 | | Compiling 10 source files.
ice_1 | | Compiling 10 source files..
ice_1 | | Compiling 10 source files...
ice_1 | | Compiling 10 source files....
ice_1 | | Compiling 10 source files.....
ice_1 | | Compiling 62 source files
ice_1 | Note: Some input files use or override a deprecated API.
ice_1 | Note: Recompile with -Xlint:deprecation for details.
ice_1 | Note: Some input files use unchecked or unsafe operations.
ice_1 | Note: Recompile with -Xlint:unchecked for details.
ice_1 | | Compiling 62 source files.
ice_1 | | Compiling 62 source files..
ice_1 | | Compiling 62 source files...
ice_1 | | Compiling 62 source files....
ice_1 | | Compiling 62 source files.....
ice_1 | | Running Grails application
ice_1 | 2015-08-11 15:20:33,636 [main] INFO http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
ice_1 | 2015-08-11 15:20:33,654 [main] INFO net.NioSelectorPool - Using a shared selector for servlet write/read
ice_1 | 2015-08-11 15:20:33,665 [main] INFO core.StandardService - Starting service Tomcat
ice_1 | 2015-08-11 15:20:33,665 [main] INFO core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.0.20
ice_1 | 2015-08-11 15:20:33,736 [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_1 | 2015-08-11 15:20:33,737 [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_1 | 2015-08-11 15:20:33,738 [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_1 | 2015-08-11 15:20:33,738 [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_1 | 2015-08-11 15:20:33,744 [localhost-startStop-1] INFO startup.ContextConfig - No global web.xml found
ice_1 | 2015-08-11 15:20:33,859 [localhost-startStop-1] INFO [localhost].[/ice] - No Spring WebApplicationInitializer types detected on classpath
ice_1 | 2015-08-11 15:20:33,877 [localhost-startStop-1] INFO [localhost].[/ice] - Initializing Spring root WebApplicationContext
ice_1 | 2015-08-11 15:20:37,735 [localhost-startStop-1] INFO context.GrailsConfigUtils - [GrailsContextLoader] Grails application loaded.
ice_1 | 2015-08-11 15:20:37,759 [localhost-startStop-1] INFO BootStrap - Starting ice...
ice_1 | 2015-08-11 15:20:38,191 [localhost-startStop-1] INFO http.AmazonHttpClient - Unable to execute HTTP request: -aws-billing-ice.s3.amazonaws.com
ice_1 | Message: -aws-billing-ice.s3.amazonaws.com
ice_1 | Line | Method
ice_1 | ->> 901 | lookupAllHostAddr in java.net.InetAddress$1
ice_1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1 | | 1295 | getAddressesFromNameService in java.net.InetAddress
ice_1 | | 1248 | getAllByName0 . . . . . . . . . in ''
ice_1 | | 1164 | getAllByName in ''
ice_1 | | 1098 | getAllByName . . . . . . . . . . in ''
ice_1 | | 45 | resolve in org.apache.http.impl.conn.SystemDefaultDnsResolver
ice_1 | | 278 | resolveHostname . . . . . . . . in org.apache.http.impl.conn.DefaultClientConnectionOperator
ice_1 | | 162 | openConnection in ''
ice_1 | | 294 | open . . . . . . . . . . . . . . in org.apache.http.impl.conn.ManagedClientConnectionImpl
ice_1 | | 641 | tryConnect in org.apache.http.impl.client.DefaultRequestDirector
ice_1 | | 480 | execute . . . . . . . . . . . . in ''
ice_1 | | 906 | execute in org.apache.http.impl.client.AbstractHttpClient
ice_1 | | 805 | execute . . . . . . . . . . . . in ''
ice_1 | | 685 | executeOneRequest in com.amazonaws.http.AmazonHttpClient
ice_1 | | 460 | executeHelper . . . . . . . . . in ''
ice_1 | | 295 | execute in ''
ice_1 | | 3710 | invoke . . . . . . . . . . . . . in com.amazonaws.services.s3.AmazonS3Client
ice_1 | | 1146 | getObject in ''
ice_1 | | 1018 | getObject . . . . . . . . . . . in ''
ice_1 | | 334 | download in com.netflix.ice.common.AwsUtils
ice_1 | | 329 | download . . . . . . . . . . . . in ''
ice_1 | | 317 | downloadFileIfNotExist in ''
ice_1 | | 101 | init . . . . . . . . . . . . . . in com.netflix.ice.basic.BasicReservationService
ice_1 | | 95 | in com.netflix.ice.processor.ProcessorConfig
ice_1 | | 186 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
ice_1 | | 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
ice_1 | | 320 | executeForEnvironment . . . . . in ''
ice_1 | | 296 | executeForCurrentEnvironment in ''
ice_1 | | 262 | run . . . . . . . . . . . . . . in java.util.concurrent.FutureTask
ice_1 | | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1 | | 615 | run . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1 | ^ 745 | run in java.lang.Thread
ice_1 | 2015-08-11 15:20:38,219 [localhost-startStop-1] INFO http.AmazonHttpClient - Unable to execute HTTP request: -aws-billing-ice.s3.amazonaws.com
ice_1 | Message: -aws-billing-ice.s3.amazonaws.com
ice_1 | Line | Method
ice_1 | ->> 1252 | getAllByName0 in java.net.InetAddress
ice_1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1 | | 1164 | getAllByName in ''
ice_1 | | 1098 | getAllByName . . . . . . . . . . in ''
ice_1 | | 45 | resolve in org.apache.http.impl.conn.SystemDefaultDnsResolver
ice_1 | | 278 | resolveHostname . . . . . . . . in org.apache.http.impl.conn.DefaultClientConnectionOperator
ice_1 | | 162 | openConnection in ''
ice_1 | | 294 | open . . . . . . . . . . . . . . in org.apache.http.impl.conn.ManagedClientConnectionImpl
ice_1 | | 641 | tryConnect in org.apache.http.impl.client.DefaultRequestDirector
ice_1 | | 480 | execute . . . . . . . . . . . . in ''
ice_1 | | 906 | execute in org.apache.http.impl.client.AbstractHttpClient
ice_1 | | 805 | execute . . . . . . . . . . . . in ''
ice_1 | | 685 | executeOneRequest in com.amazonaws.http.AmazonHttpClient
ice_1 | | 460 | executeHelper . . . . . . . . . in ''
ice_1 | | 295 | execute in ''
ice_1 | | 3710 | invoke . . . . . . . . . . . . . in com.amazonaws.services.s3.AmazonS3Client
ice_1 | | 1146 | getObject in ''
ice_1 | | 1018 | getObject . . . . . . . . . . . in ''
ice_1 | | 334 | download in com.netflix.ice.common.AwsUtils
ice_1 | | 329 | download . . . . . . . . . . . . in ''
ice_1 | | 317 | downloadFileIfNotExist in ''
ice_1 | | 101 | init . . . . . . . . . . . . . . in com.netflix.ice.basic.BasicReservationService
ice_1 | | 95 | in com.netflix.ice.processor.ProcessorConfig
ice_1 | | 186 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
ice_1 | | 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
ice_1 | | 320 | executeForEnvironment . . . . . in ''
ice_1 | | 296 | executeForCurrentEnvironment in ''
ice_1 | | 262 | run . . . . . . . . . . . . . . in java.util.concurrent.FutureTask
ice_1 | | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1 | | 615 | run . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1 | ^ 745 | run in java.lang.Thread
ice_1 | 2015-08-11 15:20:38,825 [localhost-startStop-1] INFO http.AmazonHttpClient - Unable to execute HTTP request: -aws-billing-ice.s3.amazonaws.com
ice_1 | Message: -aws-billing-ice.s3.amazonaws.com
ice_1 | Line | Method
ice_1 | ->> 1252 | getAllByName0 in java.net.InetAddress
ice_1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1 | | 1164 | getAllByName in ''
ice_1 | | 1098 | getAllByName . . . . . . . . . . in ''
ice_1 | | 45 | resolve in org.apache.http.impl.conn.SystemDefaultDnsResolver
ice_1 | | 278 | resolveHostname . . . . . . . . in org.apache.http.impl.conn.DefaultClientConnectionOperator
ice_1 | | 162 | openConnection in ''
ice_1 | | 294 | open . . . . . . . . . . . . . . in org.apache.http.impl.conn.ManagedClientConnectionImpl
ice_1 | | 641 | tryConnect in org.apache.http.impl.client.DefaultRequestDirector
ice_1 | | 480 | execute . . . . . . . . . . . . in ''
ice_1 | | 906 | execute in org.apache.http.impl.client.AbstractHttpClient
ice_1 | | 805 | execute . . . . . . . . . . . . in ''
ice_1 | | 685 | executeOneRequest in com.amazonaws.http.AmazonHttpClient
ice_1 | | 460 | executeHelper . . . . . . . . . in ''
ice_1 | | 295 | execute in ''
ice_1 | | 3710 | invoke . . . . . . . . . . . . . in com.amazonaws.services.s3.AmazonS3Client
ice_1 | | 1146 | getObject in ''
ice_1 | | 1018 | getObject . . . . . . . . . . . in ''
ice_1 | | 334 | download in com.netflix.ice.common.AwsUtils
ice_1 | | 329 | download . . . . . . . . . . . . in ''
ice_1 | | 317 | downloadFileIfNotExist in ''
ice_1 | | 101 | init . . . . . . . . . . . . . . in com.netflix.ice.basic.BasicReservationService
ice_1 | | 95 | in com.netflix.ice.processor.ProcessorConfig
ice_1 | | 186 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
ice_1 | | 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
ice_1 | | 320 | executeForEnvironment . . . . . in ''
ice_1 | | 296 | executeForCurrentEnvironment in ''
ice_1 | | 262 | run . . . . . . . . . . . . . . in java.util.concurrent.FutureTask
ice_1 | | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1 | | 615 | run . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1 | ^ 745 | run in java.lang.Thread
ice_1 | 2015-08-11 15:20:40,035 [localhost-startStop-1] INFO http.AmazonHttpClient - Unable to execute HTTP request: -aws-billing-ice.s3.amazonaws.com
ice_1 | Message: -aws-billing-ice.s3.amazonaws.com
ice_1 | Line | Method
ice_1 | ->> 1252 | getAllByName0 in java.net.InetAddress
ice_1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1 | | 1164 | getAllByName in ''
ice_1 | | 1098 | getAllByName . . . . . . . . . . in ''
ice_1 | | 45 | resolve in org.apache.http.impl.conn.SystemDefaultDnsResolver
ice_1 | | 278 | resolveHostname . . . . . . . . in org.apache.http.impl.conn.DefaultClientConnectionOperator
ice_1 | | 162 | openConnection in ''
ice_1 | | 294 | open . . . . . . . . . . . . . . in org.apache.http.impl.conn.ManagedClientConnectionImpl
ice_1 | | 641 | tryConnect in org.apache.http.impl.client.DefaultRequestDirector
ice_1 | | 480 | execute . . . . . . . . . . . . in ''
ice_1 | | 906 | execute in org.apache.http.impl.client.AbstractHttpClient
ice_1 | | 805 | execute . . . . . . . . . . . . in ''
ice_1 | | 685 | executeOneRequest in com.amazonaws.http.AmazonHttpClient
ice_1 | | 460 | executeHelper . . . . . . . . . in ''
ice_1 | | 295 | execute in ''
ice_1 | | 3710 | invoke . . . . . . . . . . . . . in com.amazonaws.services.s3.AmazonS3Client
ice_1 | | 1146 | getObject in ''
ice_1 | | 1018 | getObject . . . . . . . . . . . in ''
ice_1 | | 334 | download in com.netflix.ice.common.AwsUtils
ice_1 | | 329 | download . . . . . . . . . . . . in ''
ice_1 | | 317 | downloadFileIfNotExist in ''
ice_1 | | 101 | init . . . . . . . . . . . . . . in com.netflix.ice.basic.BasicReservationService
ice_1 | | 95 | in com.netflix.ice.processor.ProcessorConfig
ice_1 | | 186 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
ice_1 | | 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
ice_1 | | 320 | executeForEnvironment . . . . . in ''
ice_1 | | 296 | executeForCurrentEnvironment in ''
ice_1 | | 262 | run . . . . . . . . . . . . . . in java.util.concurrent.FutureTask
ice_1 | | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1 | | 615 | run . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1 | ^ 745 | run in java.lang.Thread
ice_1 | | Error com.amazonaws.AmazonClientException: Unable to execute HTTP request: -aws-billing-ice.s3.amazonaws.com
ice_1 | | Error at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:471)
ice_1 | | Error at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:295)
ice_1 | | Error at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3710)
ice_1 | | Error at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1146)
ice_1 | | Error at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1018)
ice_1 | | Error at com.netflix.ice.common.AwsUtils.download(AwsUtils.java:334)
ice_1 | | Error at com.netflix.ice.common.AwsUtils.download(AwsUtils.java:329)
ice_1 | | Error at com.netflix.ice.common.AwsUtils.downloadFileIfNotExist(AwsUtils.java:317)
ice_1 | | Error at com.netflix.ice.basic.BasicReservationService.init(BasicReservationService.java:101)
ice_1 | | Error at com.netflix.ice.processor.ProcessorConfig.(ProcessorConfig.java:95)
ice_1 | | Error at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
ice_1 | | Error at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
ice_1 | | Error at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
ice_1 | | Error at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
ice_1 | | Error at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
ice_1 | | Error at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
ice_1 | | Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
ice_1 | | Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
ice_1 | | Error at BootStrap$_closure1.doCall(BootStrap.groovy:186)
ice_1 | | Error at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
ice_1 | | Error at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
ice_1 | | Error at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
ice_1 | | Error at java.lang.reflect.Method.invoke(Method.java:606)
ice_1 | | Error at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
ice_1 | | Error at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
ice_1 | | Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1081)
ice_1 | | Error at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
ice_1 | | Error at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
ice_1 | | Error at groovy.lang.Closure.call(Closure.java:423)
ice_1 | | Error at groovy.lang.Closure.call(Closure.java:417)
ice_1 | | Error at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
ice_1 | | Error at grails.util.Environment.executeForEnvironment(Environment.java:320)
ice_1 | | Error at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
ice_1 | | Error at org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:60)
ice_1 | | Error at org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:78)
ice_1 | | Error at org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.initWebApplicationContext(GrailsContextLoaderListener.java:110)
ice_1 | | Error at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
ice_1 | | Error at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
ice_1 | | Error at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
ice_1 | | Error at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
ice_1 | | Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
ice_1 | | Error at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
ice_1 | | Error at java.util.concurrent.FutureTask.run(FutureTask.java:262)
ice_1 | | Error at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
ice_1 | | Error at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
ice_1 | | Error at java.lang.Thread.run(Thread.java:745)
ice_1 | | Error Caused by: java.net.UnknownHostException: -aws-billing-ice.s3.amazonaws.com
ice_1 | | Error at java.net.InetAddress.getAllByName0(InetAddress.java:1252)
ice_1 | | Error at java.net.InetAddress.getAllByName(InetAddress.java:1164)
ice_1 | | Error at java.net.InetAddress.getAllByName(InetAddress.java:1098)
ice_1 | | Error at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
ice_1 | | Error at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:278)
ice_1 | | Error at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162)
ice_1 | | Error at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
ice_1 | | Error at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:641)
ice_1 | | Error at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:480)
ice_1 | | Error at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
ice_1 | | Error at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
ice_1 | | Error at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:685)
ice_1 | | Error at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:460)
ice_1 | | Error at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:295)
ice_1 | | Error at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3710)
ice_1 | | Error at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1146)
ice_1 | | Error at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1018)
ice_1 | | Error at com.netflix.ice.common.AwsUtils.download(AwsUtils.java:334)
ice_1 | | Error at com.netflix.ice.common.AwsUtils.download(AwsUtils.java:329)
ice_1 | | Error at com.netflix.ice.common.AwsUtils.downloadFileIfNotExist(AwsUtils.java:317)
ice_1 | | Error at com.netflix.ice.basic.BasicReservationService.init(BasicReservationService.java:101)
ice_1 | | Error at com.netflix.ice.processor.ProcessorConfig.(ProcessorConfig.java:95)
ice_1 | | Error at BootStrap$_closure1.doCall(BootStrap.groovy:186)
ice_1 | | Error at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
ice_1 | | Error at grails.util.Environment.executeForEnvironment(Environment.java:320)
ice_1 | | Error at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
ice_1 | | Error ... 4 more
ice_1 | | Error 2015-08-11 15:20:40,057 [localhost-startStop-1] ERROR BootStrap - Startup failed
ice_1 | Message: Unable to execute HTTP request: -aws-billing-ice.s3.amazonaws.com
ice_1 | Line | Method
ice_1 | ->> 471 | executeHelper in com.amazonaws.http.AmazonHttpClient
ice_1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1 | | 295 | execute in ''
ice_1 | | 3710 | invoke . . . . . . . . . . . . . in com.amazonaws.services.s3.AmazonS3Client
ice_1 | | 1146 | getObject in ''
ice_1 | | 1018 | getObject . . . . . . . . . . . in ''
ice_1 | | 334 | download in com.netflix.ice.common.AwsUtils
ice_1 | | 329 | download . . . . . . . . . . . . in ''
ice_1 | | 317 | downloadFileIfNotExist in ''
ice_1 | | 101 | init . . . . . . . . . . . . . . in com.netflix.ice.basic.BasicReservationService
ice_1 | | 95 | in com.netflix.ice.processor.ProcessorConfig
ice_1 | | 186 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
ice_1 | | 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
ice_1 | | 320 | executeForEnvironment . . . . . in ''
ice_1 | | 296 | executeForCurrentEnvironment in ''
ice_1 | | 262 | run . . . . . . . . . . . . . . in java.util.concurrent.FutureTask
ice_1 | | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1 | | 615 | run . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1 | ^ 745 | run in java.lang.Thread
ice_1 |
ice_1 | Caused by UnknownHostException: -aws-billing-ice.s3.amazonaws.com
ice_1 | ->> 1252 | getAllByName0 in java.net.InetAddress
ice_1 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1 | | 1164 | getAllByName in ''
ice_1 | | 1098 | getAllByName . . . . . . . . . . in ''
ice_1 | | 45 | resolve in org.apache.http.impl.conn.SystemDefaultDnsResolver
ice_1 | | 278 | resolveHostname . . . . . . . . in org.apache.http.impl.conn.DefaultClientConnectionOperator
ice_1 | | 162 | openConnection in ''
ice_1 | | 294 | open . . . . . . . . . . . . . . in org.apache.http.impl.conn.ManagedClientConnectionImpl
ice_1 | | 641 | tryConnect in org.apache.http.impl.client.DefaultRequestDirector
ice_1 | | 480 | execute . . . . . . . . . . . . in ''
ice_1 | | 906 | execute in org.apache.http.impl.client.AbstractHttpClient
ice_1 | | 805 | execute . . . . . . . . . . . . in ''
ice_1 | | 685 | executeOneRequest in com.amazonaws.http.AmazonHttpClient
ice_1 | | 460 | executeHelper . . . . . . . . . in ''
ice_1 | | 295 | execute in ''
ice_1 | | 3710 | invoke . . . . . . . . . . . . . in com.amazonaws.services.s3.AmazonS3Client
ice_1 | | 1146 | getObject in ''
ice_1 | | 1018 | getObject . . . . . . . . . . . in ''
ice_1 | | 334 | download in com.netflix.ice.common.AwsUtils
ice_1 | | 329 | download . . . . . . . . . . . . in ''
ice_1 | | 317 | downloadFileIfNotExist in ''
ice_1 | | 101 | init . . . . . . . . . . . . . . in com.netflix.ice.basic.BasicReservationService
ice_1 | | 95 | in com.netflix.ice.processor.ProcessorConfig
ice_1 | | 186 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
ice_1 | | 327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
ice_1 | | 320 | executeForEnvironment . . . . . in ''
ice_1 | | 296 | executeForCurrentEnvironment in ''
ice_1 | | 262 | run . . . . . . . . . . . . . . in java.util.concurrent.FutureTask
ice_1 | | 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1 | | 615 | run . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1 | ^ 745 | run in java.lang.Thread
dockerice_ice_1 exited with code 0
Gracefully stopping... (press Ctrl+C again to force)
Stopping dockerice_nginx_1...

Do you know what's happend ?

My user can access to the s3 bucket using boto.

File not found in s3: lastProcessMillis

Hi,

Great project! Really interessted to get it up & running. After a successful docker up the frontend doesn't shows any data and in the log I see this warning permanently:

2020-03-08 16:45:37,851 [com.netflix.ice.reader.LastProcessedPoller] WARN reader.LastProcessedPoller - File not found in s3: lastProcessMillis_2020-03

I filled out all the needed values in the ice/assets/ice.properties file:

  • ice.billing_s3bucketname=
  • ice.billing_s3bucketregion=
  • ice.work_s3bucketname=
  • etc.

Do someone has a piece of advice?

Thanks

BootStrap - NPE error after `Reading tag.properties`

Using image jonbrouse/ice:latest from a month ago with the following ice.properties:

ice.processor=true
ice.reader=true
ice.reservationCapacityPoller=false
ice.reservationPeriod=threeyear
ice.reservationUtilization=MEDIUM
ice.highstockUrl=https://code.highcharts.com/stock/4.2.1/highstock.js
ice.urlPrefix=<hidden>
ice.fromEmail=<hidden>
ice.ondemandCostAlertThreshold=250
ice.ondemandCostAlertEmails=
ice.billing_s3bucketname=effilab-business
ice.billing_s3bucketregion=eu-west-1
ice.billing_s3bucketprefix=
ice.startmillis=1469916000000
ice.companyName=Effilab
ice.work_s3bucketname=effilab-ice
ice.work_s3bucketprefix=ice/
ice.processor.localDir=/mnt/ice_processor
ice.reader.localDir=/mnt/ice_reader
ice.monthlycachesize=12
ice.account.account1=<hidden>
ice.owneraccount.account1.role=ice
ice.owneraccount.account2.role=ice
ice.owneraccount.account5.role=ice
ice.owneraccount.account1.externalId=
ice.owneraccount.account2.externalId=
ice.owneraccount.account5.externalId=

I have a similar issue to #28

2018-08-06 17:01:31,199 [localhost-startStop-1] INFO  BootStrap  - Read ice.properties ...
2018-08-06 17:01:31,208 [localhost-startStop-1] INFO  BootStrap  - Reading tag.properties...
| Error java.lang.NullPointerException
| Error 	at java.util.Hashtable.put(Hashtable.java:459)
| Error 	at java.util.Properties.setProperty(Properties.java:166)
| Error 	at java_util_Properties$setProperty$1.call(Unknown Source)
| Error 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
| Error 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
| Error 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
| Error 	at BootStrap$_closure1.doCall(BootStrap.groovy:117)
| 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:1142)
| Error 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
| Error 	at java.lang.Thread.run(Thread.java:748)
| Error 2018-08-06 17:01:31,446 [localhost-startStop-1] ERROR BootStrap  - Startup failed

I can't find a way to debug this, my ice.properties didn't change, I just updated my IAM key/secret used in:

        args:
          - -Djava.net.preferIPv4Stack=true
          - -Djava.net.preferIPv4Addresses
          - -Duser.timezone=Europe/Paris
          - -Dice.s3AccessKeyId=<hidden>
          - -Dice.s3SecretKey=<hidden>
          - run-app
        env:
        - name: GRAILS_OPTS
          value: "-server -Xmx4g -Xms1g -Dfile.encoding=UTF-8"

Similar issue to #32. Nginx page error when trying to access UI

Hi,

I am having the same issue when running locally or on an EC2 instance. When trying to load the UI I get the message:

An error occurred.

Sorry, the page you are looking for is currently unavailable.
Please try again later.

If you are the system administrator of this resource then you should check the error log for details.

Faithfully yours, nginx.

The nginx container logs say:

xx.xxx.xxx.xxx - - [01/Jun/2018:17:36:25 +0000] "GET /ice/dashboard/summary HTTP/1.1" 504 537 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:61.0) Gecko/20100101 Firefox/61.0" "-"

2018/06/01 17:42:39 [error] 5#5: *1 upstream timed out (110: Operation timed out) while reading response header from upstream, client: xx.xxx.xxx.xxx, server: , request: "GET /ice/dashboard/summary HTTP/1.1", upstream: "http://xxx.xx.x.x:8080/ice/dashboard/summary", host: "ice.something.com"

But the ice container logs look fine and just repeat messages like:

2018-06-01 09:54:40,121 [localhost-startStop-1] INFO basic.BasicReservationService - Setting RI price for ap-south-1 HEAVY m5.12xlarge.windows 282304.0 10.742

I have already set the ice.billing_s3bucketregion=us-east-1

Any ideas? Thanks

docker-compose up failing

This is a brand new Ubuntu 14.04 on EC2, followed the guid and got

ice_1    | | Loading Grails 2.4.4
ice_1    | | Configuring classpath
ice_1    | | Downloading: joda-time/joda-time/maven-metadata.xml
ice_1    | | Downloading: joda-time/joda-time/maven-metadata.xml
ice_1    | | Downloading: joda-time/joda-time/2.9.4/joda-time-2.9.4.pom
ice_1    | | Downloading: joda-time/joda-time/2.9.4/joda-time-2.9.4.jar
ice_1    | | Running pre-compiled script
ice_1    | | Script 'Timezone' not found, did you mean:
ice_1    |    1) Console
ice_1    |    2) CreateIntegrationTest
ice_1    |    3) SetVersion
ice_1    |    4) Interactive
ice_1    |    5) CreateController
ice_1    | > Please make a selection or enter Q to quit: > Please make a selection or enter Q to quit: > Please make a selection or enter Q to quit: > Please make a selection or enter Q to quit: > Please make a selection or enter Q to quit: | Error Selection not found.
dockerice_ice_1 exited with code 1

Seems like Grails(?) pops up an interactive prompt which causes the container start to fail. Any ideas? Thanks!

Question about Using AWS S3 in region "cn-northwest-1"(China)

My S3 bucket is in AWS-CHINA, region is "cn-northwest-1", but I didn't find anything about this in the src, Is ice support china-region?

I'm started ice in kubernetes way.
Here is my configmap-ice.yaml

---
apiVersion: v1
kind: ConfigMap
metadata:
  name: ice
data:
  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=aws.shannonai
    ice.fromEmail=xxxxxxxxxxxxxxxxxxxxxxxx
    ice.ondemandCostAlertThreshold=250
    ice.s3SecretKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    ice.billing_s3bucketname=xxxxxxxxxxxx
    ice.billing_s3bucketregion=cn-northwest-1
    ice.billing_accessRoleName=xxxxxxxxxxxxxxxxx
    ice.startmillis=1364774400000
    ice.companyName=shannonai
    ice.work_s3bucketname=xxxxxxxxxxxxxxxxxx
    ice.work_s3bucketprefix=ice/
    ice.work_s3bucketregion=cn-northwest-1
    ice.processor.localDir=/mnt/ice_processor
    ice.reader.localDir=/mnt/ice_reader
    ice.monthlycachesize=12

Here is my deployment.yaml's env part

  - name: ice
          image: harbor.shannonai.com/test/ice:latest
          ports:
            - containerPort: 8080
          imagePullPolicy: IfNotPresent
          env: 
            - name: GRAILS_OPTS 
              value: "-server -Xmx2G -Xms1G -Dfile.encoding=UTF-8"
            - name: EC2_REGION
              value: cn-northwest-1
            - name: AWS_DEFAULT_REGION
              value: cn-northwest-1
          command:
            - /opt/ice/grailsw
            - -Djava.net.preferIPv4Stack=true
            - -Djava.net.preferIPv4Addresses
            - -Duser.timezone=Asia/Shanghai
            - -Dice.s3AccessKeyId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            - -Dice.s3SecretKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            - run-app

The error I met is

2019-10-15 18:17:32,210 [localhost-startStop-1] INFO  BootStrap  - Starting ice...
| Error com.amazonaws.services.s3.model.AmazonS3Exception: The authorization header is malformed; the authorization component "Credential=xxxxxxxxxxxxxx/20191015/us-east-1/s3/aws4_request" is malformed. (Service: Amazon S3; Status Code: 400; Error Code: AuthorizationHeaderMalformed; Request ID: 194A470802DB493B), S3 Extended Request ID: U0DPCCZy6ZswY91v4lav0jjMX7SEtAn6S+OHsCTMIU3Z7BGo9Q1mRNJF/eUk1NyPlm91vKRH0Ak=

It seems that ice is still connect to the default s3 region "us-east-1", where did I misconfig? Please help me to figure it out, thanks very much!

Awesome

It works, right out of the box !
Thanks !

ERROR BootStrap - Startup failed - Null Pointer Exception

Hi there,

I am having this issue constantly while trying to run this app. I had it running previously just fine but now it just wont. Using this repo

The error that keeps coming up is:

`2017-10-06 21:06:42,308 [localhost-startStop-1] INFO BootStrap - Starting ice...
| Error java.lang.NullPointerException
| Error at java.util.Hashtable.put(Hashtable.java:459)
| Error at java.util.Properties.setProperty(Properties.java:166)
| Error at java_util_Properties$setProperty$2.call(Unknown Source)
| Error at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
| Error at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
| Error at BootStrap$_closure1.doCall(BootStrap.groovy:148)
| 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 2017-10-06 21:06:42,400 [localhost-startStop-1] ERROR BootStrap - Startup failed
Message: null
Line | Method
->> 459 | put in java.util.Hashtable


| 166 | setProperty in java.util.Properties
| 148 | 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
`
Any help appreciated!

First Access

Hi, Jonathan!

I use AWS benstalk and everything in deploy was good. How can I access the application now ?

Thanks in advanced!

INFO Environment update completed successfully.
INFO New application version was deployed to running EC2 instances.
INFO Docker container ea2139345d9e is running aws_beanstalk/current-app.
INFO Successfully built aws_beanstalk/staging-app
INFO Successfully pulled jonbrouse/java:7
INFO Deploying new version to instance(s).

ICE access data in S3

I have -
Access Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Secret Key: yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
bucketname: arn:aws:s3:::unique_bucketname

All cost data goes to a combined billing report in S3. I have access to the s3 bucket containing the files.
based on the Access and Secret key.
Given the s3 bucket ARN, can ICE extract the data? Or it needs the account ID, or something else.

Is there any thing wrong with the tutorial?

Hi jonbrouse!
I just found out about this tools by chances and i just want to give it a try.
But when executing this command,
cp docker-compose-template.yml docker-compose.yml. It said: "cp: cannot stat ‘docker-compose-template.yml’: No such file or directory"
And when it comes to docker-compose.yml, i tried to create one file but it didn't work when executing.
It said:
ERROR: yaml.scanner.ScannerError: mapping values are not allowed here.
So could you clarify more about this tutorial?
I really appreciate it.

Setting java parameters

How can i set java parameters like Xms and XX:PermSize to avoid the OutOfMemory exception

I got stuck when starting container

Hi Jonbrouse!
So last time when i tested this ice docker using instance EC2 with 1GB ram, seems like it was out of memory.
So this time i tried using another server featuring CentOS 7.2, 8GB ram and 30GB Hard-disk (this was cloud computing, noit physical )
Then i followed the tutorial smoothly until issuing the command "docker-compose up".
This time the error was not about "memory" but something related to "connecting to upstream"
Can you take a look at it and tell me what was wrong? You can see my screenshot about it.
http://www.upsieutoc.com/images/2016/03/08/error.jpg

And one more question: ""After following these directions you should be able to connect to your server's IP address or FQDN over port 80 and access the Ice application"". But i checked the Dockerfile's content and saw just port 8080 exposed. Why was that?

AWS report format

Hi,

You re asking for format: -aws-billing-detailed-line-items--.csv.zip

From AWS documentation I can see that reports are stored like:
//20160101-20160131/<123456789>/-<1>.csv.

  1. The question is, how AWS can generate format you asking automatically?
  2. After finishing of reports generating I got 4 files:
    xyz-1.csv.zip
    xyz-2.csv.zip
    xyz-3.csv.zip
    xyz-Manifest.json
    What should I do with them?

AWS UnauthorizedOperation

Hi,

Been using Teevity and moved over to using a dockerized container. Currently I'm having an issue with any AWS calls it seems but having a hard time tracking down which one exactly.

Any chance anyone could help out here?

| Error 2020-01-07 21:45:30,727 [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: 14ad917d-6d91-4dd9-9bd8-d436503fa9d8)
     Line | Method
->>  1712 | handleErrorResponse              in com.amazonaws.http.AmazonHttpClient$RequestExecutor
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|    1367 | executeOneRequest                in     ''
|    1113 | executeHelper . . . . . . . . .  in     ''
|     770 | doExecute                        in     ''
|     744 | executeWithTimer . . . . . . . . in     ''
|     726 | execute                          in     ''
|     686 | access$500 . . . . . . . . . . . in     ''
|     668 | execute                          in com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl
|     532 | execute . . . . . . . . . . . .  in com.amazonaws.http.AmazonHttpClient
|     512 | execute                          in     ''
|   22420 | doInvoke . . . . . . . . . . . . in com.amazonaws.services.ec2.AmazonEC2Client
|   22387 | invoke                           in     ''
|   22376 | invoke . . . . . . . . . . . . . in     ''
|   11690 | executeDescribeRegions           in     ''
|   11661 | describeRegions . . . . . . . .  in     ''
|   11702 | describeRegions                  in     ''
|     296 | initZones . . . . . . . . . . .  in com.netflix.ice.processor.ProcessorConfig
|     119 | <init>                           in     ''
|     190 | 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```

Trouble during launch docker-compose - basic.BasicReservationService

Hi Team,

When i run "docker-compose up" using an AWS IAM access having full access i'm getting this error :

ice_1   | 2016-02-25 10:20:20,900 [localhost-startStop-1] INFO  BootStrap  - Starting ice...
ice_1   | 2016-02-25 10:20:25,374 [localhost-startStop-1] INFO  common.AwsUtils  - file not found in s3 /mnt/ice_processor/reservation_prices.threeyear.LIGHT
ice_1   | 2016-02-25 10:20:25,875 [localhost-startStop-1] INFO  common.AwsUtils  - file not found in s3 /mnt/ice_processor/reservation_prices.threeyear.MEDIUM
ice_1   | 2016-02-25 10:20:26,111 [localhost-startStop-1] INFO  common.AwsUtils  - file not found in s3 /mnt/ice_processor/reservation_prices.threeyear.HEAVY
ice_1   | 2016-02-25 10:20:26,649 [localhost-startStop-1] INFO  common.AwsUtils  - file not found in s3 /mnt/ice_processor/reservation_prices.threeyear.FIXED
ice_1   | | Error 2016-02-25 10:20:30,712 [localhost-startStop-1] ERROR basic.BasicReservationService  - No Zone for ap-southeast-2c
ice_1   | | Error 2016-02-25 10:20:30,726 [localhost-startStop-1] ERROR basic.BasicReservationService  - failed to poll reservation prices
ice_1   | Message: null
ice_1   |     Line | Method
ice_1   | ->>  177 | pollAPI                          in com.netflix.ice.basic.BasicReservationService
ice_1   | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1   | |    106 | init                             in     ''
ice_1   | |     95 | <init> . . . . . . . . . . . . . in com.netflix.ice.processor.ProcessorConfig
ice_1   | |    186 | doCall                           in BootStrap$_closure1
ice_1   | |    327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
ice_1   | |    320 | executeForEnvironment            in     ''
ice_1   | |    296 | executeForCurrentEnvironment . . in     ''
ice_1   | |    262 | run                              in java.util.concurrent.FutureTask
ice_1   | |   1145 | runWorker . . . . . . . . . . .  in java.util.concurrent.ThreadPoolExecutor
ice_1   | |    615 | run                              in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1   | ^    745 | run . . . . . . . . . . . . . .  in java.lang.Thread
ice_1   | | Error java.lang.RuntimeException: failed to poll reservation prices for null
ice_1   | | Error   at com.netflix.ice.basic.BasicReservationService.init(BasicReservationService.java:110)
ice_1   | | Error   at com.netflix.ice.processor.ProcessorConfig.<init>(ProcessorConfig.java:95)
ice_1   | | Error   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
ice_1   | | Error   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
ice_1   | | Error   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
ice_1   | | Error   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
ice_1   | | Error   at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
ice_1   | | Error   at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
ice_1   | | Error   at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
ice_1   | | Error   at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
ice_1   | | Error   at BootStrap$_closure1.doCall(BootStrap.groovy:186)
ice_1   | | Error   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
ice_1   | | Error   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
ice_1   | | Error   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
ice_1   | | Error   at java.lang.reflect.Method.invoke(Method.java:606)
ice_1   | | Error   at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
ice_1   | | Error   at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
ice_1   | | Error   at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
ice_1   | | Error   at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
ice_1   | | Error   at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
ice_1   | | Error   at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1081)
ice_1   | | Error   at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110)
ice_1   | | Error   at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
ice_1   | | Error   at groovy.lang.Closure.call(Closure.java:423)
ice_1   | | Error   at groovy.lang.Closure.call(Closure.java:417)
ice:
ice_1   | | Error   at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:327)
ice_1   | | Error   at grails.util.Environment.executeForEnvironment(Environment.java:320)
ice_1   | | Error   at grails.util.Environment.executeForCurrentEnvironment(Environment.java:296)
ice_1   | | Error   at org.codehaus.groovy.grails.commons.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:60)
ice_1   | | Error   at org.codehaus.groovy.grails.web.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:78)
ice_1   | | Error   at org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener.initWebApplicationContext(GrailsContextLoaderListener.java:110)
ice_1   | | Error   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
ice_1   | | Error   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
ice_1   | | Error   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
ice_1   | | Error   at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
ice_1   | | Error   at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
ice_1   | | Error   at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
ice:
ice_1   | | Error   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
ice_1   | | Error   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
ice_1   | | Error   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
ice_1   | | Error   at java.lang.Thread.run(Thread.java:745)
ice_1   | | Error 2016-02-25 10:20:30,793 [localhost-startStop-1] ERROR BootStrap  - Startup failed
ice_1   | Message: failed to poll reservation prices for null
ice_1   |     Line | Method
ice_1   | ->>  110 | init                             in com.netflix.ice.basic.BasicReservationService
ice_1   | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1   | |     95 | <init>                           in com.netflix.ice.processor.ProcessorConfig
ice_1   | |    186 | doCall . . . . . . . . . . . . . in BootStrap$_closure1
ice_1   | |    327 | evaluateEnvironmentSpecificBlock in grails.util.Environment
ice_1   | |    320 | executeForEnvironment . . . . .  in     ''
ice_1   | |    296 | executeForCurrentEnvironment     in     ''
ice_1   | |    262 | run . . . . . . . . . . . . . .  in java.util.concurrent.FutureTask
ice_1   | |   1145 | runWorker                        in java.util.concurrent.ThreadPoolExecutor
ice_1   | |    615 | run . . . . . . . . . . . . . .  in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1   | ^    745 | run                              in java.lang.Thread

Find bellow my config bellow :

ice.processor=true
ice.reader=true
ice.reservationCapacityPoller=false
ice.reservationPeriod=threeyear
ice.reservationUtilization=MEDIUM
ice.highstockUrl=http://code.highcharts.com/stock/highstock.js
ice.urlPrefix=
ice.fromEmail=
ice.ondemandCostAlertThreshold=250
ice.ondemandCostAlertEmails=
ice.billing_s3bucketname=billing-aws
ice.billing_s3bucketprefix=,
ice.startmillis=1364774400000
ice.companyName=Test
ice.work_s3bucketname=test-billing
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.account2.role=ice
ice.owneraccount.account5.role=ice
ice.owneraccount.account1.externalId=
ice.owneraccount.account2.externalId=
ice.owneraccount.account5.externalId=

Is it due the image from image: jonbrouse/ice:latest is too old meaning dont have all fix from Netflix/ice repo about Reservation ?

NoClassDefFoundError: com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder

Is this a problem with Ice or the Docker image? Any help would be appreciated

ice_1    | 2018-02-22 14:10:30,245 [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_1    | 2018-02-22 14:10:30,248 [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_1    | 2018-02-22 14:10:30,249 [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_1    | 2018-02-22 14:10:30,250 [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_1    | 2018-02-22 14:10:30,262 [localhost-startStop-1] INFO  startup.ContextConfig  - No global web.xml found
ice_1    | 2018-02-22 14:10:30,447 [localhost-startStop-1] INFO  [localhost].[/ice]  - No Spring WebApplicationInitializer types detected on classpath
ice_1    | 2018-02-22 14:10:30,510 [localhost-startStop-1] INFO  [localhost].[/ice]  - Initializing Spring root WebApplicationContext
ice_1    | | Error 2018-02-22 14:10:31,099 [localhost-startStop-1] ERROR context.ContextLoader  - Context initialization failed
ice_1    | Message: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder
ice_1    |     Line | Method
ice_1    | ->>  266 | run       in java.util.concurrent.FutureTask
ice_1    | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1    | |   1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1    | |    617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1    | ^    748 | run       in java.lang.Thread
ice_1    |
ice_1    | Caused by NoClassDefFoundError: com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder
ice_1    | ->>  266 | run       in java.util.concurrent.FutureTask
ice_1    | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1    | |   1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1    | |    617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1    | ^    748 | run       in java.lang.Thread
ice_1    |
ice_1    | Caused by ClassNotFoundException: com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder
ice_1    | ->>  175 | findClass in org.codehaus.groovy.tools.RootLoader
ice_1    | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1    | |    424 | loadClass in java.lang.ClassLoader
ice_1    | |    147 | loadClass in org.codehaus.groovy.tools.RootLoader
ice_1    | |    357 | loadClass in java.lang.ClassLoader
ice_1    | |    266 | run . . . in java.util.concurrent.FutureTask
ice_1    | |   1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1    | |    617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1    | ^    748 | run       in java.lang.Thread
ice_1    | | Error 2018-02-22 14:10:31,182 [localhost-startStop-1] ERROR context.GrailsContextLoaderListener  - Error initializing the application: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder
ice_1    | Message: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder
ice_1    |     Line | Method
ice_1    | ->>  266 | run       in java.util.concurrent.FutureTask
ice_1    | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1    | |   1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1    | |    617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1    | ^    748 | run       in java.lang.Thread
ice_1    |
ice_1    | Caused by NoClassDefFoundError: com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap$Builder
ice_1    | ->>  266 | run       in java.util.concurrent.FutureTask
ice_1    | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1    | |   1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1    | |    617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1    | ^    748 | run       in java.lang.Thread
ice_1    |
ice_1    | Caused by ClassNotFoundException: com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap$Builder
ice_1    | ->>  175 | findClass in org.codehaus.groovy.tools.RootLoader
ice_1    | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ice_1    | |    424 | loadClass in java.lang.ClassLoader
ice_1    | |    147 | loadClass in org.codehaus.groovy.tools.RootLoader
ice_1    | |    357 | loadClass in java.lang.ClassLoader
ice_1    | |    266 | run . . . in java.util.concurrent.FutureTask
ice_1    | |   1142 | runWorker in java.util.concurrent.ThreadPoolExecutor
ice_1    | |    617 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
ice_1    | ^    748 | run       in java.lang.Thread
dockerice_ice_1 exited with code 1

No Zone for ap-southeast-2c

Error 2016-03-10 23:00:15,619 [localhost-startStop-1] ERROR basic.BasicReservationService - No Zone for ap-southeast-2c

I see there is a workaround for this fix by adding the zone but I can't open the container to make the adjustment.

OutOfMemory Exception

I am trying to run ice, but continuously getting OutOfMemory Exception.

screen shot 2017-07-19 at 2 04 47 pm

I even tried setting JVM options in docker-compose file but still its not working.

screen shot 2017-07-19 at 2 10 27 pm

How can I resolve this error?

Region documentation

bucket is us-east-1, it gets ignored when building the S3 endpoint.
But as @Juberstine was pointing out, user can also just leave the region
property empty in this case.

I guess a comment in the example configuration file could make this clearer.

--
Nicolas Fonrose | Teevity | Founder
+33.6.61.35.43.31
https://teevity.com - Cloud Costs Analytics built on NetflixOSS
twitter - @nfonrose / @Teevity

On Thu, Sep 20, 2018 at 6:13 PM Jonathon Brouse [email protected]
wrote:

Closing, bug in ice.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#29 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACUpRLzVYZZOqkjcYXF3nclsxSErQZEks5uc76RgaJpZM4P8bFv
.

Originally posted by @nfonrose in #29 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.