docker-ice icon indicating copy to clipboard operation
docker-ice copied to clipboard

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

Open haroldwoo opened this issue 7 years ago • 1 comments

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

haroldwoo avatar Jun 01 '18 17:06 haroldwoo

Ok the issue here is related to this one https://github.com/Teevity/ice/issues/172

The processor is stuck in a loop of setting RI prices and doesn't finish.

2018-06-04 08:56:50,675 [localhost-startStop-1] INFO basic.BasicReservationService - Setting RI price for ap-south-1 HEAVY i2.2xlarge.others 9871.0 0.376 ...

Setting ice.reservationCapacityPoller doesnt seem to help

whether or not to start reservation capacity poller

ice.reservationCapacityPoller=false

haroldwoo avatar Jun 04 '18 16:06 haroldwoo