Bug 1383162

Summary: Error: "private method `connection_options' called for" on edit could subnets
Product: Red Hat CloudForms Management Engine Reporter: Aziza Karol <akarol>
Component: UI - OPSAssignee: Gilles Dubreuil <gdubreui>
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: akarol, cpelland, gdubreui, hkataria, jhardy, mpovolny, nansari, obarenbo, simaishi, tzumainn
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:network
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1386767 (view as bug list) Environment:
Last Closed: 2017-06-12 16:38:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1386767    

Description Aziza Karol 2016-10-10 05:20:17 UTC
Created attachment 1208706 [details]
error

Description of problem:


Version-Release number of selected component (if applicable):
5.7.0.4

How reproducible:
100%

Steps to Reproduce:
1.Navigate to networks->subnets->select and edit any subnet
2.
3.

Actual results:
Unable to update Subnet "test_shared_subnet": private method `connection_options' called for #<Class:0x00000014037bb8> displayed in UI. see attached screenshot

Expected results:
Edit should be successful

Additional info:

Comment 5 Harpreet Kataria 2016-10-12 15:37:21 UTC
Ladas,

Sending this your way, it seems like it displays flash message when trying to save Cloud subnet record. See attached screenshot of screen after save button is pressed on Edit Cloud subnet screen.

Thanks,
~Harpreet

Comment 6 Gilles Dubreuil 2016-10-12 23:54:02 UTC
Fix has been pushed upstream and is referenced in external tracker link.

Comment 7 Gilles Dubreuil 2016-10-12 23:57:41 UTC
Sorry external tracker link is only for Issues not Pull Requests:

Here is the PR:
https://github.com/ManageIQ/manageiq/pull/11894/files

Comment 8 CFME Bot 2016-10-19 03:12:16 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/e6d1ecd7d90accf7d42c5d695160fffcca4c2593

commit e6d1ecd7d90accf7d42c5d695160fffcca4c2593
Author:     Greg Blomquist <blomquisg>
AuthorDate: Mon Oct 17 10:50:12 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Tue Oct 18 22:06:29 2016 -0500

    Merge pull request #11894 from gildub/private-scope
    
    Fix connection update - Openstack network manager
    (cherry picked from commit eb9060af310f3a163a9cf5197ab62699b778d7a0)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1383162

 .../manageiq/providers/openstack/network_manager/cloud_network.rb     | 2 ++
 .../manageiq/providers/openstack/network_manager/cloud_subnet.rb      | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

Comment 9 Satoe Imaishi 2016-10-19 13:06:12 UTC
Can this BZ move to POST?

Comment 10 Tzu-Mainn Chen 2016-10-19 13:09:36 UTC
Oh, yep!

Comment 12 Gilles Dubreuil 2016-10-20 10:40:33 UTC
In post already!

Comment 13 Gilles Dubreuil 2016-11-15 06:09:33 UTC
This has been already back ported to CF Engine 5.7.0 (Euwe branch): git commit #45e6303

Comment 18 Niyaz Akhtar Ansari 2017-03-20 11:19:31 UTC
Able to Edit/Update cloud Subnets.
Verified in Version 5.8.0.4