Docker: Issueshttps://projects.theforeman.org/https://projects.theforeman.org/favicon.ico?16970236342017-08-24T13:37:07ZForeman
Redmine Bug #20733 (New): Create Docker container issueshttps://projects.theforeman.org/issues/207332017-08-24T13:37:07ZAnonymous
<p>Hey,</p>
I'm using Foreman v1.15.3, Katello 3.4.4 and Docker plugin v3.2.1.<br />When i'm trying to create a container i get the errors in production.log:
<ul>
<li>Content View</li>
</ul>
<blockquote>
<p>API v1 - Repository images request failed</p>
</blockquote>
<p>After setting Content View, Repo etc. and clicking 'Next step' the input is resetted, so it's not possible to create a container with Content View.</p>
<ul>
<li>Docker hub or external registry (which is Docker hub in my setup - <a class="external" href="https://registry.hub.docker.com">https://registry.hub.docker.com</a>)</li>
</ul>
<blockquote>
<p>API v1 - Search failed</p>
</blockquote>
<p>Although the searching for container fails searching for tags does not.<br />If i ignore the failed search and go to the next step creation of the container succeed.</p> Bug #19492 (New): incompatible character encodings: UTF-8 and ASCII-8BIThttps://projects.theforeman.org/issues/194922017-05-09T09:57:19ZAndreas Pfaffenederapfaffeneder@pfaffeneder.org
<p>When accessing the details for a container, I get the error message:</p>
<pre><code>Oops, we're sorry but something went wrong incompatible character encodings: UTF-8 and ASCII-8BIT</code></pre>
<p>A debug has been uploaded: <a class="external" href="http://debugs.theforeman.org/foreman-debug-XXaPO.tar.xz">http://debugs.theforeman.org/foreman-debug-XXaPO.tar.xz</a></p>
<p>Affected is container 5 (Docker Registry).</p> Bug #18505 (New): Foreman Docker Plugin disk usagehttps://projects.theforeman.org/issues/185052017-02-14T13:33:49ZAjeesh Kannanajeeshbkannan@gmail.com
<p>I have installed docker plugin and I would like to check the each vms disk usage. But I can see only,</p>
<p>IP Address <br />CPU<br />UUID <br />Memory <br />Command <br />Exposed ports <br />Running on</p>
<p>How can I check the disk usage ?</p> Bug #14244 (Closed): Add in translation changes which were missed in earlier pull requesthttps://projects.theforeman.org/issues/142442016-03-16T16:25:33ZBryan Kearneybryan.kearney@gmail.com
<p>Some of the changes in</p>
<p><a class="external" href="https://github.com/theforeman/foreman-docker/pull/116/">https://github.com/theforeman/foreman-docker/pull/116/</a></p>
<p>were missed in</p>
<p><a class="external" href="https://github.com/theforeman/foreman-docker/pull/124">https://github.com/theforeman/foreman-docker/pull/124</a></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 #13391 (Closed): Update the zanata mapping filehttps://projects.theforeman.org/issues/133912016-01-26T14:31:24ZBryan Kearneybryan.kearney@gmail.com
<p>Update the zanata mapping file to point to translate.zanata.org</p> Bug #12608 (New): undefined method `cpu_shares' https://projects.theforeman.org/issues/126082015-11-25T23:23:55ZAndy Gomezandy@andygomez.org
<p>Description of problem:<br />When creating new container the container is started though the below message is displayed.</p>
<p>Version release number:<br />Foreman 1.7.5-1 <br />ruby-foreman-docker 1.4.1</p>
<p>Steps to reproduce:<br />Foreman UI Containers > New Container > Compute Resource (Select docker host) Click Next > Image (type ubuntu, tag 14.04, click next) > Configuration (type a name, set command to /bin/bash leave entrypoint blank/default) > Environment (tick run or not) Hit submit</p>
<p>Actual results:</p>
<p>Popup notification in green "successfully updated <container_name>" <br />with below error</p>
<p>undefined method `cpu_shares' for #<Fog::Compute::Fogdocker::Server:0x0000000b1887c8><br />NoMethodError<br />undefined method `cpu_shares' for #<Fog::Compute::Fogdocker::Server:0x0000000b174b60><br />app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'<br />lib/middleware/catch_json_parse_errors.rb:9:in `call'</p> Bug #12116 (New): `hammer compute-resource create -h` do not mention Dockerhttps://projects.theforeman.org/issues/121162015-10-08T16:59:43ZBryan Kearneybryan.kearney@gmail.com
<p>Cloned from <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1190790">https://bugzilla.redhat.com/show_bug.cgi?id=1190790</a> <br /> Description of problem:<br />`hammer compute-resource create -h` do not mention Docker. E.g. help text for "--url" says "URL for Libvirt, RHEV, and Openstack". Also in webUI when creating Docker compute resource I see fields "Username", "Password" (I do not know what are these for, but `hammer compute-resource create -h` do not mention Docker in the help text) and "Email" (again, I do not see what is this for, but in hammer I do not see a way how to supply this).</p>
<p>Version-Release number of selected component (if applicable):<br />Satellite-6.1.0-RHEL-7-20150205.0-Satellite-x86_64</p>
<p>How reproducible:<br />always</p>
<p>Steps to Reproduce:<br />1. # hammer compute-resource create -h | grep -i Docker</p>
Actual results:
<ol>
<li>hammer -u admin -p changeme compute-resource create -h<br />Usage:<br /> hammer compute-resource create [OPTIONS]</li>
</ol>
<p>Options:<br /> --description DESCRIPTION <br /> --location-ids LOCATION_IDS REPLACE locations with given ids<br /> Comma separated list of values.<br /> --locations LOCATION_NAMES Comma separated list of values.<br /> --name NAME <br /> --organization-ids ORGANIZATION_IDS REPLACE organizations with given ids.<br /> Comma separated list of values.<br /> --organizations ORGANIZATION_NAMES Comma separated list of values.<br /> --password PASSWORD Password for RHEV, EC2, Vmware, Openstack. Secret key for EC2<br /> --provider PROVIDER Providers include <br /> --region REGION for EC2 only<br /> --server SERVER for Vmware<br /> --set-console-password SET_CONSOLE_PASSWORD for Libvirt and Vmware only<br /> One of true/false, yes/no, 1/0.<br /> --tenant TENANT for Openstack only<br /> --url URL URL for Libvirt, RHEV, and Openstack<br /> --user USER Username for RHEV, EC2, Vmware, Openstack. Access Key for EC2.<br /> --uuid UUID for RHEV, Vmware Datacenter<br /> -h, --help print help</p>
<p>Expected results:<br />I would expect Docker is mentioned at least in description of "--url" option. If it makes sense, should be there for "--user" and "--password" and maybe "--email" should be added.</p> Bug #11984 (Closed): Add foreman-docker to transifex in order to be trasnlatedhttps://projects.theforeman.org/issues/119842015-09-28T15:00:38ZBryan Kearneybryan.kearney@gmail.com
<p>Please review the code and then extract the PO and POT files into transifex.</p> Bug #11073 (New): Creating docker repo UI does not require all necessary fieldshttps://projects.theforeman.org/issues/110732015-07-09T13:26:59ZBryan Kearneybryan.kearney@gmail.com
<p>Cloned from <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1214446">https://bugzilla.redhat.com/show_bug.cgi?id=1214446</a> <br /> Content -> Products -> New Product -> Create New Repository</p>
<p>2 fields are presented when you select a 'docker' registry type. URL & Upstream Repository Name. If you put in a value for URL, but no value for the name, you get an error in grey text:</p>
<p>"cannot be blank. Either provide all or no sync information."</p>
<p>This should be correctly formatted and highlighted in red.</p> Bug #10417 (Closed): Container States from the model are not extracted for translationshttps://projects.theforeman.org/issues/104172015-05-07T14:34:26ZBryan Kearneybryan.kearney@gmail.com
<p>Cloned from <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1219602">https://bugzilla.redhat.com/show_bug.cgi?id=1219602</a> <br /> When doing translations, the makefile is not extracting the model names. Thefore, the states end up being no translated.</p> Bug #10416 (Closed): Docker Plugin is not picking up Translationshttps://projects.theforeman.org/issues/104162015-05-07T14:30:13ZBryan Kearneybryan.kearney@gmail.com
<p>Cloned from <a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=1219599">https://bugzilla.redhat.com/show_bug.cgi?id=1219599</a> <br /> There are certain translations which are not picked up by the docker plugin. They appear to be translated, but are showing up in english when the users account preference is set to German.</p>
<p>Examples Inlucde:</p>
<p>Menu Item:<br />Containers <br />Containers -> All containers<br />Containers -> New container</p>
<p>Error code:</p>
<p>You need a Docker compute resource in order to create containers. Please add a new one and try again.</p> Bug #9033 (Closed): Errors encountered when using new container wizard are not being shown to the...https://projects.theforeman.org/issues/90332015-01-19T10:57:22ZAnonymousBug #9004 (Closed): New Container wizard doesn't correctly move between persisted stateshttps://projects.theforeman.org/issues/90042015-01-16T11:06:16ZAnonymousBug #5934 (Closed): Cant create docker based hostshttps://projects.theforeman.org/issues/59342014-05-26T18:47:53ZAlejandro Falconalejandrocfalcon@gmail.com
<p>I installed docker plugin from <a class="external" href="https://github.com/theforeman/foreman-docker">https://github.com/theforeman/foreman-docker</a> and connected foreman to the docker server via sock file but when I create a new host after submitting I get the same new host screen without any errors. Checking the logs I see there is an issue with the IP for the host and there is no way to add an interface with IP for the new host in the network tab.</p>
<p>This is what the logs show:<br />Failed to save: IP address is invalid</p>