Bug 1395302 - Error "private method `connection_options" on cloud subnet delete
Summary: Error "private method `connection_options" on cloud subnet delete
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Gilles Dubreuil
QA Contact: Aziza Karol
URL:
Whiteboard: ui:sdn
Depends On: 1382621
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-15 16:16 UTC by Satoe Imaishi
Modified: 2017-01-04 13:13 UTC (History)
10 users (show)

Fixed In Version: 5.7.0.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1382621
Environment:
Last Closed: 2017-01-04 13:13:47 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0012 0 normal SHIPPED_LIVE CFME 5.7.0 bug fixes and enhancement update 2017-01-04 17:50:36 UTC

Comment 3 Aziza Karol 2016-11-22 05:48:02 UTC
Not able to delete the subnet. 

The page just refreshes and "NotImplementedError (raw_delete_subnet must be implemented in a subclass)?" is thrown in production.log

version:
5.7.0.11-rc1.20161115160629_46cf4f1

production.log:
[----] I, [2016-11-22T00:49:02.721898 #11987:a634ac]  INFO -- :   Parameters: {"pressed"=>"cloud_subnet_delete", "id"=>"3"}
[----] I, [2016-11-22T00:49:02.819357 #11987:a634ac]  INFO -- : Completed 500 Internal Server Error in 97ms (ActiveRecord: 0.0ms)
[----] F, [2016-11-22T00:49:02.820337 #11987:a634ac] FATAL -- :   
[----] F, [2016-11-22T00:49:02.820431 #11987:a634ac] FATAL -- : NotImplementedError (raw_delete_subnet must be implemented in a subclass):
[----] F, [2016-11-22T00:49:02.820490 #11987:a634ac] FATAL -- :   
[----] F, [2016-11-22T00:49:02.820536 #11987:a634ac] FATAL -- : app/models/cloud_subnet.rb:81:in `raw_delete_subnet'
[----] F, [2016-11-22T00:49:02.820578 #11987:a634ac] FATAL -- : app/models/cloud_subnet.rb:73:in `delete_subnet'
[----] F, [2016-11-22T00:49:02.820618 #11987:a634ac] FATAL -- : app/controllers/cloud_subnet_controller.rb:257:in `block in process_cloud_subnets'
[----] F, [2016-11-22T00:49:02.820674 #11987:a634ac] FATAL -- : app/controllers/cloud_subnet_controller.rb:248:in `each'
[----] F, [2016-11-22T00:49:02.820722 #11987:a634ac] FATAL -- : app/controllers/cloud_subnet_controller.rb:248:in `process_cloud_subnets'
[----] F, [2016-11-22T00:49:02.820762 #11987:a634ac] FATAL -- : app/controllers/cloud_subnet_controller.rb:148:in `delete_subnets'
[----] F, [2016-11-22T00:49:02.820802 #11987:a634ac] FATAL -- : app/controllers/cloud_subnet_controller.rb:23:in `button'
[----] F, [2016-11-22T00:49:02.820842 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
[----] F, [2016-11-22T00:49:02.820881 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/abstract_controller/base.rb:188:in `process_action'
[----] F, [2016-11-22T00:49:02.820921 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
[----] F, [2016-11-22T00:49:02.820959 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
[----] F, [2016-11-22T00:49:02.820999 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:126:in `call'
[----] F, [2016-11-22T00:49:02.821042 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile'
[----] F, [2016-11-22T00:49:02.821082 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:455:in `call'
[----] F, [2016-11-22T00:49:02.821122 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__'
[----] F, [2016-11-22T00:49:02.821160 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks'
[----] F, [2016-11-22T00:49:02.821198 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
[----] F, [2016-11-22T00:49:02.821237 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
[----] F, [2016-11-22T00:49:02.821295 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action'
[----] F, [2016-11-22T00:49:02.821339 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
[----] F, [2016-11-22T00:49:02.821378 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `block in instrument'
[----] F, [2016-11-22T00:49:02.821416 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
[----] F, [2016-11-22T00:49:02.821455 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `instrument'
[----] F, [2016-11-22T00:49:02.821494 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
[----] F, [2016-11-22T00:49:02.821550 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action'
[----] F, [2016-11-22T00:49:02.821593 #11987:a634ac] FATAL -- : activerecord (5.0.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
[----] F, [2016-11-22T00:49:02.821632 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/abstract_controller/base.rb:126:in `process'
[----] F, [2016-11-22T00:49:02.821689 #11987:a634ac] FATAL -- : actionview (5.0.0.1) lib/action_view/rendering.rb:30:in `process'
[----] F, [2016-11-22T00:49:02.821731 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal.rb:190:in `dispatch'
[----] F, [2016-11-22T00:49:02.821770 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_controller/metal.rb:262:in `dispatch'
[----] F, [2016-11-22T00:49:02.821809 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
[----] F, [2016-11-22T00:49:02.821847 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'
[----] F, [2016-11-22T00:49:02.821885 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve'
[----] F, [2016-11-22T00:49:02.821923 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each'
[----] F, [2016-11-22T00:49:02.821961 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve'
[----] F, [2016-11-22T00:49:02.822001 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call'
[----] F, [2016-11-22T00:49:02.822040 #11987:a634ac] FATAL -- : secure_headers (3.0.3) lib/secure_headers/middleware.rb:10:in `call'
[----] F, [2016-11-22T00:49:02.822078 #11987:a634ac] FATAL -- : rack (2.0.1) lib/rack/etag.rb:25:in `call'
[----] F, [2016-11-22T00:49:02.822116 #11987:a634ac] FATAL -- : rack (2.0.1) lib/rack/conditional_get.rb:38:in `call'
[----] F, [2016-11-22T00:49:02.822154 #11987:a634ac] FATAL -- : rack (2.0.1) lib/rack/head.rb:12:in `call'
[----] F, [2016-11-22T00:49:02.822207 #11987:a634ac] FATAL -- : rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context'
[----] F, [2016-11-22T00:49:02.822247 #11987:a634ac] FATAL -- : rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
[----] F, [2016-11-22T00:49:02.822305 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call'
[----] F, [2016-11-22T00:49:02.822348 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call'
[----] F, [2016-11-22T00:49:02.822388 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
[----] F, [2016-11-22T00:49:02.822426 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks'
[----] F, [2016-11-22T00:49:02.822470 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks'
[----] F, [2016-11-22T00:49:02.822510 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
[----] F, [2016-11-22T00:49:02.822549 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
[----] F, [2016-11-22T00:49:02.822587 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call'
[----] F, [2016-11-22T00:49:02.822626 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
[----] F, [2016-11-22T00:49:02.822678 #11987:a634ac] FATAL -- : railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app'
[----] F, [2016-11-22T00:49:02.822726 #11987:a634ac] FATAL -- : railties (5.0.0.1) lib/rails/rack/logger.rb:26:in `call'
[----] F, [2016-11-22T00:49:02.822765 #11987:a634ac] FATAL -- : request_store (1.3.1) lib/request_store/middleware.rb:9:in `call'
[----] F, [2016-11-22T00:49:02.822813 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call'
[----] F, [2016-11-22T00:49:02.822855 #11987:a634ac] FATAL -- : rack (2.0.1) lib/rack/method_override.rb:22:in `call'
[----] F, [2016-11-22T00:49:02.822893 #11987:a634ac] FATAL -- : rack (2.0.1) lib/rack/runtime.rb:22:in `call'
[----] F, [2016-11-22T00:49:02.822932 #11987:a634ac] FATAL -- : activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
[----] F, [2016-11-22T00:49:02.822970 #11987:a634ac] FATAL -- : actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call'
[----] F, [2016-11-22T00:49:02.823014 #11987:a634ac] FATAL -- : rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
[----] F, [2016-11-22T00:49:02.823054 #11987:a634ac] FATAL -- : railties (5.0.0.1) lib/rails/engine.rb:522:in `call'
[----] F, [2016-11-22T00:49:02.823092 #11987:a634ac] FATAL -- : puma (3.3.0) lib/puma/configuration.rb:224:in `call'
[----] F, [2016-11-22T00:49:02.823130 #11987:a634ac] FATAL -- : puma (3.3.0) lib/puma/server.rb:561:in `handle_request'
[----] F, [2016-11-22T00:49:02.823170 #11987:a634ac] FATAL -- : puma (3.3.0) lib/puma/server.rb:406:in `process_client'
[----] F, [2016-11-22T00:49:02.823216 #11987:a634ac] FATAL -- : puma (3.3.0) lib/puma/server.rb:271:in `block in run'
[----] F, [2016-11-22T00:49:02.823282 #11987:a634ac] FATAL -- : puma (3.3.0) lib/puma/thread_pool.rb:111:in `block in spawn_thread'
[----] I, [2016-11-22T00:49:08.691920 #11972:be32b4]  INFO -- : Started GET "/ws/notifications" [WebSocket] for 127.0.0.1 at 2016-11-22 00:49:08 -0500
[----] I, [2016-11-22T00:49:08.692058 #11972:be32b4]  INFO -- : Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: WebSocket)
[----] I, [2016-11-22T00:49:08.698193 #11972:54bb40]  INFO -- : Registered connection (Z2lkOi8vdm1kYi9Vc2VyLzE)
[----] I, [2016-11-22T00:49:09.861714 #11972:840c74]  INFO -- : NotificationChannel is transmitting the subscription confirmation
[----] I, [2016-11-22T00:49:09.862261 #11972:840c74]  INFO -- : NotificationChannel is streaming from notifications_1

Comment 7 Aziza Karol 2016-11-24 07:01:23 UTC
Yes,you are right.This is happening while deleting azure,gce and ec2 subnets. Have logged  a separate issue and can be track in bz https://bugzilla.redhat.com/show_bug.cgi?id=1398099. 

Since the above issue is not observed while deleting the subnets, marking it as verified.However,while deleting the openstack subnet we are getting unexpected errors and this is tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1397469.

Version:
5.7.0.11-rc1.20161115160629_46cf4f1

Comment 9 errata-xmlrpc 2017-01-04 13:13:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0012.html


Note You need to log in before you can comment on or make changes to this bug.