Bug #14442
closed"Power on" raises error when entrypoint is not on container's $PATH - uninitialized constant Fog::Errors::Error::NotFound
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1323077
Description of problem: I created a container on registered atomic host using 'docker hub'. Container was created successfully. But when I click on 'power on' button, I got following error:
Error: Error - uninitialized constant Fog::Errors::Error::NotFound
No error in production.log:
2016-04-01 04:05:42 [app] [I] Started PUT "/containers/1/power" for 10.65.193.200 at 2016-04-01 04:05:42 -0400
2016-04-01 04:05:43 [app] [I] Processing by ContainersController#power as HTML
2016-04-01 04:05:43 [app] [I] Parameters: {"authenticity_token"=>"PWbuBmdIUUdTJRr9E/nEIW3loH1O6Xf8NGccK3kmsMg=", "id"=>"1"}
2016-04-01 04:05:43 [app] [D] Setting current user thread-local variable to admin
2016-04-01 04:05:43 [app] [D] Setting current organization thread-local variable to Default Organization
2016-04-01 04:05:43 [app] [D] Setting current location thread-local variable to none
2016-04-01 04:05:43 [app] [I] Redirected to https://cloud-qe-15.idmqe.lab.eng.bos.redhat.com/containers/1
2016-04-01 04:05:43 [app] [I] Completed 302 Found in 382ms (ActiveRecord: 12.9ms)
Version-Release number of selected component (if applicable):
sat6.2 beta snap6
How reproducible:
always
Steps to Reproduce:
1. create a container on atomic host
2. Power on the container
3.
Actual results:
Error: Error - uninitialized constant Fog::Errors::Error::NotFound
Expected results:
on clicking 'Power ON" container should be up and running and no error should be raised.
Additional info: