Project

General

Profile

Bug #14322

Looks like foreman-docker api routes are now at "/foreman_docker/..." instead of "/docker/..."

Added by David Davis over 6 years ago. Updated over 6 years ago.

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

Description

I think this may have been related to our move to Rails.

Associated revisions

Revision b8b23c15 (diff)
Added by David Davis over 6 years ago

Fixes #14322 - Fixing API route scope

Revision b8b23c15 (diff)
Added by David Davis over 6 years ago

Fixes #14322 - Fixing API route scope

History

#1 Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to David Davis
  • Pull request https://github.com/theforeman/foreman-docker/pull/145 added

#2 Updated by Partha Aji over 6 years ago

  • Bugzilla link set to 1320338

#3 Updated by David Davis over 6 years ago

Note should be, "I think this may have been related to our move to Rails 4."

#4 Updated by David Davis over 6 years ago

 | ActionController::RoutingError (No route matches [POST] "/docker/api/v2/containers"):
 |   actionpack (4.1.14.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
 |   actionpack (4.1.14.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
 |   railties (4.1.14.1) lib/rails/rack/logger.rb:38:in `call_app'
 |   railties (4.1.14.1) lib/rails/rack/logger.rb:22:in `call'
 |   quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
 |   actionpack (4.1.14.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
 |   rack (1.5.5) lib/rack/methodoverride.rb:21:in `call'
 |   rack (1.5.5) lib/rack/runtime.rb:17:in `call'
 |   activesupport (4.1.14.1) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
 |   rack (1.5.5) lib/rack/lock.rb:17:in `call'
 |   actionpack (4.1.14.1) lib/action_dispatch/middleware/static.rb:84:in `call'
 |   rack (1.5.5) lib/rack/sendfile.rb:112:in `call'
 |   railties (4.1.14.1) lib/rails/engine.rb:514:in `call'
 |   railties (4.1.14.1) lib/rails/application.rb:144:in `call'
 |   railties (4.1.14.1) lib/rails/railtie.rb:194:in `public_send'
 |   railties (4.1.14.1) lib/rails/railtie.rb:194:in `method_missing'
 |   rack (1.5.5) lib/rack/builder.rb:138:in `call'
 |   rack (1.5.5) lib/rack/urlmap.rb:65:in `block in call'
 |   rack (1.5.5) lib/rack/urlmap.rb:50:in `each'
 |   rack (1.5.5) lib/rack/urlmap.rb:50:in `call'
 |   rack (1.5.5) lib/rack/lock.rb:17:in `call'
 |   rack (1.5.5) lib/rack/content_length.rb:14:in `call'
 |   rack (1.5.5) lib/rack/handler/webrick.rb:60:in `service'
 |   /home/vagrant/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
 |   /home/vagrant/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
 |   /home/vagrant/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
 |   logging (2.0.0) lib/logging/diagnostic_context.rb:448:in `call'
 |   logging (2.0.0) lib/logging/diagnostic_context.rb:448:in `block in create_with_logging_context'

#5 Updated by David Davis over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF