Bug 1776365 - Security group/rule create/delete triggers targeted refresh but doesn't update in UI
Summary: Security group/rule create/delete triggers targeted refresh but doesn't updat...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.10.12
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.12.0
Assignee: Marek Aufart
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1794549 1794551
TreeView+ depends on / blocked
 
Reported: 2019-11-25 14:30 UTC by Rahul Chincholkar
Modified: 2020-10-26 16:25 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1794549 1794551 (view as bug list)
Environment:
Last Closed: 2020-10-26 16:25:59 UTC
Category: Bug
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rahul Chincholkar 2019-11-25 14:30:46 UTC
Description of problem:
When a security group is created/edited/deleted in the OpenStack side, CloudForms detects the event
processes it but changes are not reflected in the CloudForms UI

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


How reproducible:
Always

Steps to Reproduce:
1. add openstack provider
2. create/delete a security group
3. add/remove rules in security group
3. Observe the network provider information in CloudForms UI till the next refresh

Actual results:
CFME UI does not show correct information for new security group and rules under security groups.

Expected results:
new security group and new rules should be visible in CloudForms UI
deleted security group and rules shouldn't be visible in the CloudForms UI

Additional info:

Comment 5 CFME Bot 2020-01-20 14:27:24 UTC
New commit detected on ManageIQ/manageiq-providers-openstack/master:

https://github.com/ManageIQ/manageiq-providers-openstack/commit/564486f60dd0e9f6ac93e3f6e7815fcfa7d21749
commit 564486f60dd0e9f6ac93e3f6e7815fcfa7d21749
Author:     Marek Aufart <maufart>
AuthorDate: Tue Dec  3 09:31:57 2019 -0500
Commit:     Marek Aufart <maufart>
CommitDate: Tue Dec  3 09:31:57 2019 -0500

    [WIP] Add SecurityGroupRules to Targeted refresh

    Adding Targeted refresh for OpenStack SecurityGroupRules objects modelled as FirewallRule.

    Neutron-originated Firewall rules are handled as a separate collection by refresh now and
    Targeted refresh can work with that.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1776365

 app/models/manageiq/providers/openstack/inventory/collector.rb | 1 +
 app/models/manageiq/providers/openstack/inventory/collector/network_manager.rb | 6 +
 app/models/manageiq/providers/openstack/inventory/collector/target_collection.rb | 8 +
 app/models/manageiq/providers/openstack/inventory/parser/network_manager.rb | 17 +-
 app/models/manageiq/providers/openstack/network_manager/event_target_parser.rb | 6 +-
 config/settings.yml | 5 +-
 6 files changed, 35 insertions(+), 8 deletions(-)

Comment 8 Satoe Imaishi 2020-03-05 15:23:58 UTC
Also requires: https://github.com/ManageIQ/manageiq-content/pull/612


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