Project

General

Profile

Actions

Bug #22560

open

Error while creating centos container on docker compute resource

Added by Nikhil Kathole over 6 years ago. Updated over 5 years ago.

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

Description

while creating centos container on docker compute resource, once clicked on submit, it gives traceback as wrong number of arguments (given 1, expected 0)

15:16:33 rails.1   | ::1 - - [12/Feb/2018:15:16:30 UTC] "GET /image_search/2/search_repository?registry=hub&search=centos&registr
y_id= HTTP/1.1" 304 0
15:16:33 rails.1   | https://192.168.121.86/wizard_states/5/steps/image -> /image_search/2/search_repository?registry=hub&search=
centos&registry_id=
15:16:34 rails.1   | 2018-02-12T15:16:34 6c34a511 [notifications] [D] Cache Hit: notification, reading cache for notification-4
15:16:34 rails.1   | ::1 - - [12/Feb/2018:15:16:34 UTC] "GET /notification_recipients HTTP/1.1" 304 0
15:16:34 rails.1   | https://192.168.121.86/wizard_states/5/steps/image -> /notification_recipients
15:16:39 rails.1   | ::1 - - [12/Feb/2018:15:16:35 UTC] "GET /image_search/2/search_repository?registry=hub&search=centos&registr
y_id= HTTP/1.1" 200 1785
15:16:39 rails.1   | https://192.168.121.86/wizard_states/5/steps/image -> /image_search/2/search_repository?registry=hub&search=
centos&registry_id=
15:16:39 rails.1   | ::1 - - [12/Feb/2018:15:16:35 UTC] "GET /image_search/2/search_repository?registry=hub&search=centos%3A&regi
stry_id=&tags=true HTTP/1.1" 304 0
15:16:39 rails.1   | https://192.168.121.86/wizard_states/5/steps/image -> /image_search/2/search_repository?registry=hub&search=
centos%3A&registry_id=&tags=true
15:16:44 rails.1   | ::1 - - [12/Feb/2018:15:16:41 UTC] "GET /image_search/2/search_repository?registry=hub&search=centos%3Alates
t&registry_id=&tags=true HTTP/1.1" 200 37
15:16:44 rails.1   | https://192.168.121.86/wizard_states/5/steps/image -> /image_search/2/search_repository?registry=hub&search=
centos%3Alatest&registry_id=&tags=true
15:16:44 rails.1   | 2018-02-12T15:16:44 6d43b01a [notifications] [D] Cache Hit: notification, reading cache for notification-4
15:16:44 rails.1   | ::1 - - [12/Feb/2018:15:16:44 UTC] "GET /notification_recipients HTTP/1.1" 304 0
15:16:44 rails.1   | https://192.168.121.86/wizard_states/5/steps/image -> /notification_recipients
15:16:49 rails.1   | ::1 - - [12/Feb/2018:15:16:46 UTC] "POST /wizard_states/5/steps/image HTTP/1.1" 302 124
15:16:49 rails.1   | https://192.168.121.86/wizard_states/5/steps/image -> /wizard_states/5/steps/image
15:16:49 rails.1   | ::1 - - [12/Feb/2018:15:16:49 UTC] "GET /wizard_states/5/steps/configuration HTTP/1.1" 200 33747
15:16:49 rails.1   | https://192.168.121.86/wizard_states/5/steps/image -> /wizard_states/5/steps/configuration
15:16:50 rails.1   | 2018-02-12T15:16:50 b3fb5998 [notifications] [D] Cache Hit: notification, reading cache for notification-4
15:16:50 rails.1   | ::1 - - [12/Feb/2018:15:16:50 UTC] "GET /notification_recipients HTTP/1.1" 304 0
15:16:50 rails.1   | https://192.168.121.86/wizard_states/5/steps/configuration -> /notification_recipients
15:16:52 rails.1   | ::1 - - [12/Feb/2018:15:16:52 UTC] "POST /wizard_states/5/steps/configuration HTTP/1.1" 302 122
15:16:52 rails.1   | https://192.168.121.86/wizard_states/5/steps/configuration -> /wizard_states/5/steps/configuration
15:16:53 rails.1   | ::1 - - [12/Feb/2018:15:16:52 UTC] "GET /wizard_states/5/steps/environment HTTP/1.1" 200 38926
15:16:53 rails.1   | https://192.168.121.86/wizard_states/5/steps/configuration -> /wizard_states/5/steps/environment
15:16:54 rails.1   | 2018-02-12T15:16:54 014bef84 [notifications] [D] Cache Hit: notification, reading cache for notification-4
15:16:54 rails.1   | ::1 - - [12/Feb/2018:15:16:54 UTC] "GET /notification_recipients HTTP/1.1" 304 0
15:16:54 rails.1   | https://192.168.121.86/wizard_states/5/steps/environment -> /notification_recipients
15:17:04 rails.1   | 2018-02-12T15:17:04 8ff7fe79 [notifications] [D] Cache Hit: notification, reading cache for notification-4
15:17:04 rails.1   | ::1 - - [12/Feb/2018:15:17:04 UTC] "GET /notification_recipients HTTP/1.1" 304 0
15:17:04 rails.1   | https://192.168.121.86/wizard_states/5/steps/environment -> /notification_recipients
15:17:14 rails.1   | 2018-02-12T15:17:14 11dbaccd [app] [F]
15:17:14 rails.1   | 2018-02-12T15:17:14 11dbaccd [app] [F] ArgumentError (wrong number of arguments (given 1, expected 0)):
15:17:14 rails.1   | 2018-02-12T15:17:14 11dbaccd [app] [F]
15:17:14 rails.1   | 2018-02-12T15:17:14 11dbaccd [app] [F] foreman_docker (4.0.0) app/models/service/containers.rb:77:in `destroy_wizard_state'
15:17:14 rails.1   |  | foreman_docker (4.0.0) app/models/service/containers.rb:12:in `block in start_container!'
15:17:14 rails.1   |  | foreman_docker (4.0.0) app/models/service/containers.rb:8:in `start_container!'
15:17:14 rails.1   |  | foreman_docker (4.0.0) app/controllers/containers/steps_controller.rb:76:in `create_container'
15:17:14 rails.1   |  | foreman_docker (4.0.0) app/controllers/containers/steps_controller.rb:22:in `update'
15:17:14 rails.1   |  | app/controllers/concerns/application_shared.rb:15:in `set_timezone'
15:17:14 rails.1   |  | app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
15:17:14 rails.1   |  | app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
15:17:14 rails.1   |  | lib/middleware/catch_json_parse_errors.rb:8:in `call'
15:17:14 rails.1   |  | lib/middleware/session_safe_logging.rb:17:in `call'
15:17:14 rails.1   |  | lib/middleware/tagged_logging.rb:18:in `call'
15:17:14 rails.1   |  | /home/vagrant/katello/lib/katello/prevent_json_parsing.rb:12:in `call'
15:17:14 rails.1   | 2018-02-12T15:17:14 86d820b9 [notifications] [D] Cache Hit: notification, reading cache for notification-4
15:17:14 rails.1   | ::1 - - [12/Feb/2018:15:17:14 UTC] "GET /notification_recipients HTTP/1.1" 304 0
15:17:14 rails.1   | https://192.168.121.86/wizard_states/5/steps/environment -> /notification_recipients
15:17:14 rails.1   | ::1 - - [12/Feb/2018:15:16:58 UTC] "POST /wizard_states/5/steps/environment HTTP/1.1" 500 117023
15:17:14 rails.1   | https://192.168.121.86/wizard_states/5/steps/environment -> /wizard_states/5/steps/environment


Files

Screenshot from 2018-02-12 20-51-59.png View Screenshot from 2018-02-12 20-51-59.png 86.3 KB screenshot after clicking submit Nikhil Kathole, 02/12/2018 03:23 PM
Actions

Also available in: Atom PDF