Docker: Issueshttps://projects.theforeman.org/https://projects.theforeman.org/favicon.ico?16970236342017-11-22T14:48:04ZForeman
Redmine Bug #21742 (Duplicate): Excessive amount of warnings in logs: NameError: wrong constant name Dock...https://projects.theforeman.org/issues/217422017-11-22T14:48:04ZLukas Zapletal
<p>I request backport into stable branch.</p> Bug #14442 (Duplicate): "Power on" raises error when entrypoint is not on container's $PATH - uni...https://projects.theforeman.org/issues/144422016-04-01T15:41:49ZDaniel Lobato Garciaelobatocs@gmail.com
<p>Cloned from <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1323077">https://bugzilla.redhat.com/show_bug.cgi?id=1323077</a> <br /> 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:</p>
<p>Error: Error - uninitialized constant Fog::Errors::Error::NotFound</p>
<p>No error in production.log:</p>
<p>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<br />2016-04-01 04:05:43 [app] [I] Processing by ContainersController#power as HTML<br />2016-04-01 04:05:43 [app] [I] Parameters: {"authenticity_token"=>"PWbuBmdIUUdTJRr9E/nEIW3loH1O6Xf8NGccK3kmsMg=", "id"=>"1"}<br />2016-04-01 04:05:43 [app] [D] Setting current user thread-local variable to admin<br />2016-04-01 04:05:43 [app] [D] Setting current organization thread-local variable to Default Organization<br />2016-04-01 04:05:43 [app] [D] Setting current location thread-local variable to none<br />2016-04-01 04:05:43 [app] [I] Redirected to <a class="external" href="https://cloud-qe-15.idmqe.lab.eng.bos.redhat.com/containers/1">https://cloud-qe-15.idmqe.lab.eng.bos.redhat.com/containers/1</a><br />2016-04-01 04:05:43 [app] [I] Completed 302 Found in 382ms (ActiveRecord: 12.9ms)</p>
<p>Version-Release number of selected component (if applicable):<br />sat6.2 beta snap6</p>
<p>How reproducible:<br />always</p>
<p>Steps to Reproduce:<br />1. create a container on atomic host<br />2. Power on the container<br />3.</p>
<p>Actual results:<br />Error: Error - uninitialized constant Fog::Errors::Error::NotFound</p>
<p>Expected results:<br />on clicking 'Power ON" container should be up and running and no error should be raised.</p>
<p>Additional info:</p> Bug #14039 (Duplicate): Containers can't be deleted via API or hammerhttps://projects.theforeman.org/issues/140392016-03-03T09:10:59ZBrad Buckinghambbuckingham@redhat.com
<p>Cloned from <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1266842">https://bugzilla.redhat.com/show_bug.cgi?id=1266842</a> <br /> Description of problem:<br />Containers can't be deleted via API or hammer</p>
<p>Version-Release number of selected component (if applicable):</p>
<p>How reproducible:<br />Every time</p>
<p>Steps to Reproduce:<br />1. Create container either via AOI, hammer or via WebUI<br />2. Try to delete container via API or hammer<br />3.</p>
<p>Actual results:<br />Container is still listed but turned into unmanaged mode</p>
<p>Expected results:<br />Container completely removed</p>
<p>Additional info:<br />Container can be deleted via WebUI without any problem. Even more - those unmanaged containers can be deleted via WebUI too.</p> Bug #13229 (Duplicate): katello tests fail unable to mass-assign docker_container_wizard_states_i...https://projects.theforeman.org/issues/132292016-01-14T13:40:45ZEric Helmsericdhelms@gmail.com
<pre>
Containers::StepsControllerTest#test_show_image_loads_katello:
ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attributes for DockerContainerWizardStates::Image: katello
/home/vagrant/katello/app/controllers/katello/concerns/containers/steps_controller_extensions.rb:13:in `set_form_with_katello'
app/controllers/concerns/application_shared.rb:13:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
/home/vagrant/katello/test/controllers/foreman/containers/steps_controller_test.rb:20:in `test_show_image_loads_katello'
</pre> Bug #11212 (Duplicate): Error creating communicating with Docker. json: cannot unmarshal string i...https://projects.theforeman.org/issues/112122015-07-24T17:10:37ZMatt Thomasnofx1510@gmail.com
<p>Installed Foreman, Docker and foreman-docker plugin from scratch on Ubuntu 14.04 using the recommended installation methods. When attempting to create a new container I receive the following error: "Error creating communicating with Docker. Check the Foreman logs: json: cannot unmarshal string into Go value of type int64"</p>
<p>Foreman Version: 1.8.2<br />Foreman-Docker Plugin: 1.3.1<br />Docker Version: 1.7.1<br />Docker Server API version: 1.19</p>
<p>Docker Daemon Log: ERRO<sup><a href="#fn4229">4229</a></sup> Handler for POST /containers/create returned error: json: cannot unmarshal string into Go value of type int64<br />ERRO<sup><a href="#fn4229">4229</a></sup> HTTP Error err=json: cannot unmarshal string into Go value of type int64 statusCode=500</p>
<p>Foreman production log: <br />2015-07-24 16:10:08 [I] Successfully decrypted field for ForemanDocker::Docker shipyard-docker<br />2015-07-24 16:10:08 [I] Successfully decrypted field for ForemanDocker::Docker shipyard-docker<br />2015-07-24 16:10:10 [I] Failed to save:<br />2015-07-24 16:10:10 [I] Rendered vendor/ruby/1.9.1/gems/foreman_docker-1.3.1/app/views/foreman_docker/common_parameters/_environment_variable.html.erb (0.7ms)<br />2015-07-24 16:10:10 [I] Rendered vendor/ruby/1.9.1/gems/foreman_docker-1.3.1/app/views/foreman_docker/common_parameters/_exposed_ports.erb (0.6ms)<br />2015-07-24 16:10:10 [I] Rendered vendor/ruby/1.9.1/gems/foreman_docker-1.3.1/app/views/foreman_docker/common_parameters/_dns.erb (0.5ms)<br />2015-07-24 16:10:10 [I] Rendered vendor/ruby/1.9.1/gems/foreman_docker-1.3.1/app/views/containers/steps/_form_buttons.html.erb (0.7ms)<br />2015-07-24 16:10:10 [I] Rendered vendor/ruby/1.9.1/gems/foreman_docker-1.3.1/app/views/containers/steps/_title.html.erb (11.6ms)<br />2015-07-24 16:10:10 [I] Rendered vendor/ruby/1.9.1/gems/foreman_docker-1.3.1/app/views/containers/steps/environment.html.erb within layouts/application (12.1ms)<br />2015-07-24 16:10:10 [I] Rendered home/_user_dropdown.html.erb (1.1ms)<br />2015-07-24 16:10:10 [I] Read fragment views/tabs_and_title_records-3 0.1ms<br />2015-07-24 16:10:10 [I] Rendered home/_topbar.html.erb (2.3ms)<br />2015-07-24 16:10:10 [I] Rendered layouts/base.html.erb (3.5ms)<br />2015-07-24 16:10:10 [I] Completed 200 OK in 1512.0ms (Views: 16.6ms | ActiveRecord: 7.3ms)</p> Bug #10196 (Duplicate): Change 'Virtual Machines' tab to 'Containers' for Docker type compute res...https://projects.theforeman.org/issues/101962015-04-17T16:23:19ZBryan Kearneybryan.kearney@gmail.com
<p>Cloned from <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1190253">https://bugzilla.redhat.com/show_bug.cgi?id=1190253</a> <br /> Description of problem:<br />Change 'Virtual Machines' tab to 'Containers' for Docker type compute resources</p>
<p>Version-Release number of selected component (if applicable):<br />Satellite-6.1.0-RHEL-6-20150205.0</p>
<p>How reproducible:<br />Always</p>
<p>Steps to Reproduce:<br />1. Create a docker compute resource<br />2. Navigate to Infrastructure -> Compute Resources -> Select the newly created docker compute resource -> 'Virtual Machines' tab.</p>
<p>Actual results:<br />'Virtual Machines' tab is seen</p>
<p>Expected results:<br />'Virtual Machines' should be renamed to 'Containers' to make it relevant with Docker terminologies.</p>
<p>Additional info:<br />screenshot attached</p> Bug #9627 (Duplicate): Getting a 500 message when trying to create a container in the APIhttps://projects.theforeman.org/issues/96272015-03-03T16:50:30ZDavid Davisdaviddavis@redhat.com
<p>It looks like the code is looking for repository_name and tag but the params only include an image ("repository_name:tag") option.</p> Bug #7868 (Duplicate): Allow more memory typeshttps://projects.theforeman.org/issues/78682014-10-09T07:00:13ZDaniel Lobato Garciaelobatocs@gmail.com
<p>Currently available memory goes from 256MB to 16GB. It would be good to query the Docker host and show available options. Including no limit (0 as per the Docker API).</p>