Project

General

Profile

Actions

Bug #9275

closed

Navigating 'All containers' menu after creating a internal docker compute resource with unix:///var/run/docker.sock raises: 500 ISE

Added by Daniel Lobato Garcia over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1190059
Description of problem:
I created a internal docker compute resource by specifying "unix:///var/run/docker.sock" in the URl.

then I navigate to 'All containers' and UI raises error:

--
Oops, we're sorry but something went wrong
No such file or directory - connect(2) (Errno::ENOENT)
--

error in production.log: ==========================

Processing by ContainersController#index as HTML
String does not start with the prefix 'encrypted-', so ForemanDocker::Docker test was not decrypted
Rendered /opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.0.1/app/views/containers/_list.html.erb (429.6ms)
Rendered /opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.0.1/app/views/containers/index.html.erb within layouts/application (454.3ms)
Operation FAILED: No such file or directory - connect(2) (Errno::ENOENT)
Rendered common/500.html.erb within layouts/application (100.6ms)
Rendered layouts/base.html.erb (2.8ms)
Completed 500 Internal Server Error in 1567ms (Views: 483.2ms | ActiveRecord: 1.2ms)

firebug raises error: ======================
"NetworkError: 500 Internal Server Error - https://hp-ml370g5-01.rhts.eng.bos.redhat.com/containers"

Version-Release number of selected component (if applicable):
  • apr-util-ldap-1.3.9-3.el6_0.1.x86_64
  • candlepin-0.9.41-1.el6.noarch
  • candlepin-common-1.0.20-1.el6.noarch
  • candlepin-scl-1-5.el6_4.noarch
  • candlepin-scl-quartz-2.1.5-5.el6_4.noarch
  • candlepin-scl-rhino-1.7R3-1.el6_4.noarch
  • candlepin-scl-runtime-1-5.el6_4.noarch
  • candlepin-selinux-0.9.41-1.el6.noarch
  • candlepin-tomcat6-0.9.41-1.el6.noarch
  • elasticsearch-0.90.10-7.el6.noarch
  • foreman-1.7.2.3-1.el6_6sat.noarch
  • foreman-compute-1.7.2.3-1.el6_6sat.noarch
  • foreman-gce-1.7.2.3-1.el6_6sat.noarch
  • foreman-libvirt-1.7.2.3-1.el6_6sat.noarch
  • foreman-ovirt-1.7.2.3-1.el6_6sat.noarch
  • foreman-postgresql-1.7.2.3-1.el6_6sat.noarch
  • foreman-proxy-1.7.2.1-1.el6_6sat.noarch
  • foreman-selinux-1.7.2.8-1.el6_6sat.noarch
  • foreman-vmware-1.7.2.3-1.el6_6sat.noarch
  • katello-2.2.0.2-1.el6_6sat.noarch
  • katello-certs-tools-2.2.1-1.el6_6sat.noarch
  • katello-common-2.2.0.2-1.el6_6sat.noarch
  • katello-default-ca-1.0-1.noarch
  • katello-installer-2.2.0.3-1.el6_6sat.noarch
  • katello-installer-base-2.2.0.3-1.el6_6sat.noarch
  • katello-server-ca-1.0-1.noarch
  • openldap-2.4.39-8.el6.x86_64
  • openldap-devel-2.4.39-8.el6.x86_64
  • pulp-docker-plugins-0.2.1-0.2.beta.el6_6sat.noarch
  • pulp-katello-0.3-4.el6sat.noarch
  • pulp-nodes-common-2.5.0-0.7.beta.el6_6sat.noarch
  • pulp-nodes-parent-2.5.0-0.7.beta.el6_6sat.noarch
  • pulp-puppet-plugins-2.5.0-0.7.beta.el6sat.noarch
  • pulp-puppet-tools-2.5.0-0.7.beta.el6sat.noarch
  • pulp-rpm-plugins-2.5.0-0.7.beta.el6_6sat.noarch
  • pulp-selinux-2.5.0-0.7.beta.el6_6sat.noarch
  • pulp-server-2.5.0-0.7.beta.el6_6sat.noarch
  • python-ldap-2.3.10-1.el6.x86_64
  • ruby193-rubygem-ldap_fluff-0.3.2-1.el6_6sat.noarch
  • ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch
  • ruby193-rubygem-runcible-1.3.0-1.el6_6sat.noarch
  • rubygem-hammer_cli-0.1.4.3-1.el6_6sat.noarch
  • rubygem-hammer_cli_foreman-0.1.4.3-1.el6_6sat.noarch
  • rubygem-hammer_cli_foreman_bootdisk-0.1.2.4-1.el6_6sat.noarch
  • rubygem-hammer_cli_foreman_tasks-0.0.3.1-1.el6_6sat.noarch
  • rubygem-hammer_cli_gutterball-0.0.1.1-1.el6_6sat.noarch
  • rubygem-hammer_cli_import-0.10.6-1.el6sat.noarch
  • rubygem-hammer_cli_katello-0.0.7.1-1.el6_6sat.noarch

How reproducible:
always

Steps to Reproduce:
1. create a internal docker compute-resource with url:
"unix:///var/run/docker.sock" in the URl.
2. Go to containers --> 'All containers'

Actual results:
"NetworkError: 500 Internal Server Error - https://hp-ml370g5-01.rhts.eng.bos.redhat.com/containers"

Expected results:
I should be able to navigate 'All Containers'

Additional info:

Actions #1

Updated by Daniel Lobato Garcia over 9 years ago

  • Priority changed from High to Normal
Actions #2

Updated by Daniel Lobato Garcia over 9 years ago

  • Assignee deleted (Daniel Lobato Garcia)
Actions #3

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-docker/pull/83 added
  • Pull request deleted ()
Actions #4

Updated by Partha Aji over 9 years ago

  • Pull request https://github.com/theforeman/foreman-docker/pull/85 added
  • Pull request deleted (https://github.com/theforeman/foreman-docker/pull/83)
Actions #5

Updated by Partha Aji over 9 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF