Docker: Issueshttps://projects.theforeman.org/https://projects.theforeman.org/favicon.ico?16970236342014-10-31T13:22:46ZForeman
Redmine Bug #8236 (Closed): 1.6 compatibliityhttps://projects.theforeman.org/issues/82362014-10-31T13:22:46ZDaniel Lobato Garciaelobatocs@gmail.com
<p>A few minor issues are holding foreman_docker off when it comes to compatibility with 1.6:</p>
<p>These are just - find_resource, will_paginate_with_info</p> Bug #8124 (Closed): Command and entrypoint text field improvementshttps://projects.theforeman.org/issues/81242014-10-27T14:54:45ZDaniel Lobato Garciaelobatocs@gmail.com
<p>Users should not need to separate commands with commas, for instance "/bin/ping, github.com", the split can be done on spaces instead.<br />Similarly, entrypoint is not currently being passed to the API so containers have to be created with a CMD but without an entrypoint.</p> Bug #8123 (Closed): Autocomplete is really slowhttps://projects.theforeman.org/issues/81232014-10-27T13:57:10ZDaniel Lobato Garciaelobatocs@gmail.com
<p>Faster alternatives, maybe checking whether it exists or not, before a faster Docker API comes up are welcome.</p> Bug #8100 (Closed): Asset precompilation split between foreman_docker & foreman_docker_enginehttps://projects.theforeman.org/issues/81002014-10-24T11:33:31ZDominic Clealdominic@cleal.org
<p>Asset precompilation is split over two directories at the moment as the engine name isn't redefined to "foreman_docker".</p>
<pre>
16:31 $ rake plugin:assets:precompile[foreman_docker] 16:31 $ ll ../foreman-docker/public/assets/*
../foreman-docker/public/assets/foreman_docker:
total 32
-rw-rw-r--. 1 dcleal dcleal 867 Oct 24 14:39 image_step-07895f03f97d6ccc96764ec538d5a120.js
-rw-rw-r--. 1 dcleal dcleal 366 Oct 24 14:39 image_step-07895f03f97d6ccc96764ec538d5a120.js.gz
-rw-rw-r--. 1 dcleal dcleal 867 Oct 24 14:39 image_step.js
-rw-rw-r--. 1 dcleal dcleal 366 Oct 24 14:39 image_step.js.gz
-rw-rw-r--. 1 dcleal dcleal 3159 Oct 24 14:39 terminal-22dce90f9325ffeae30af2c7b47e183d.css
-rw-rw-r--. 1 dcleal dcleal 567 Oct 24 14:39 terminal-22dce90f9325ffeae30af2c7b47e183d.css.gz
-rw-rw-r--. 1 dcleal dcleal 3159 Oct 24 14:39 terminal.css
-rw-rw-r--. 1 dcleal dcleal 567 Oct 24 14:39 terminal.css.gz
../foreman-docker/public/assets/foreman_docker_engine:
total 4
-rw-rw-r--. 1 dcleal dcleal 380 Oct 24 16:31 manifest.yml
</pre> Refactor #8031 (Closed): image and tag attributes of container model must be initialized in speci...https://projects.theforeman.org/issues/80312014-10-22T10:53:18ZAnonymousBug #8004 (Closed): Managed container deletion deletes Foreman objecthttps://projects.theforeman.org/issues/80042014-10-21T01:36:05ZDaniel Lobato Garciaelobatocs@gmail.com
<p>Currently it's only deleting the docker container but not the object Container in Foreman.</p> Bug #8003 (Closed): Wizard redirects to container view on completionhttps://projects.theforeman.org/issues/80032014-10-21T01:33:27ZDaniel Lobato Garciaelobatocs@gmail.com
<p>Currently it is redirecting to the dashboard. It's more appropriate to show the newly created container.</p> Bug #7998 (Rejected): Bad foreign key on docker_tags image relationship causes destroy to failhttps://projects.theforeman.org/issues/79982014-10-20T14:00:50ZDaniel Lobato Garciaelobatocs@gmail.com
<p>Trying to call tag.destroy fails with the following error:</p>
<p>ActiveRecord::StatementInvalid: Mysql2::Error: Cannot delete or update a parent row: a foreign key constraint fails (`foreman`.`containers`, CONSTRAINT `containers_docker_tag_id_fk` FOREIGN KEY (`docker_tag_id`) REFERENCES `docker_tags` (`id`)): DELETE FROM `docker_tags` WHERE `docker_tags`.`id` = 6</p> Bug #7997 (Closed): Bad foreign key on docker_image tags relationship causes destroy to failhttps://projects.theforeman.org/issues/79972014-10-20T13:40:58ZDavid Davisdaviddavis@redhat.com
<p>Trying to call image.destroy fails with the following error:</p>
<pre>
DockerImageTest#test_0001_destroy docker image with tags:
ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column docker_tags.docker_tag_id does not exist
LINE 1: SELECT "docker_tags".* FROM "docker_tags" WHERE "docker_tag...
^
: SELECT "docker_tags".* FROM "docker_tags" WHERE "docker_tags"."docker_tag_id" = 7
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:1163:in `async_exec'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:1163:in `exec_no_cache'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:660:in `block in exec_query'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activesupport-3.2.18/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:659:in `exec_query'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:1262:in `select'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/querying.rb:38:in `block in find_by_sql'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/explain.rb:41:in `logging_query_plan'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/querying.rb:37:in `find_by_sql'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/relation.rb:171:in `exec_queries'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/relation.rb:160:in `block in to_a'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/explain.rb:41:in `logging_query_plan'
/home/dadavis/.rvm/gems/ruby-1.9.3-p545@foreman/gems/activerecord-3.2.18/lib/active_record/relation.rb:159:in `to_a'
</pre> Feature #7986 (Closed): Save container UUID and show managed containershttps://projects.theforeman.org/issues/79862014-10-19T20:31:00ZDaniel Lobato Garciaelobatocs@gmail.com
<p>Containers index should show whether the container is just in docker or being managed by foreman</p> Feature #7977 (Closed): Set up rubocop for foreman-dockerhttps://projects.theforeman.org/issues/79772014-10-16T13:56:18ZDavid Davisdaviddavis@redhat.comBug #7967 (Closed): Show processes running in containerhttps://projects.theforeman.org/issues/79672014-10-15T19:48:26ZDaniel Lobato Garciaelobatocs@gmail.com
<p>docker top CONTAINERNAME_OR_UUID does it, we should show it for managed and unmanaged containers</p> Bug #7960 (Closed): Console logs supporthttps://projects.theforeman.org/issues/79602014-10-15T14:05:41ZDaniel Lobato Garciaelobatocs@gmail.com
<p>Docker containers with attached stdout should display the logs on the screen like we do for other compute resources.</p> Bug #7948 (Closed): Order by name containers indexhttps://projects.theforeman.org/issues/79482014-10-15T07:27:55ZDaniel Lobato Garciaelobatocs@gmail.com
<p>Containers are difficult to find without a search box currently, first step could be to order the index by name.</p> Bug #7924 (Closed): Jenkins should run foreman:docker testshttps://projects.theforeman.org/issues/79242014-10-13T11:33:05ZDaniel Lobato Garciaelobatocs@gmail.com
<p>To do so the test Rake task needs to be chained to jenkins:unit</p>