Bug 1794551 - 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 ERRATA
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.11.8
Assignee: Andrey
QA Contact: Jad Haj Yahya
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On: 1776365
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-23 19:49 UTC by Satoe Imaishi
Modified: 2023-12-15 17:13 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1776365
Environment:
Last Closed: 2020-09-30 14:01:06 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:
pm-rhel: cfme-5.11.z+


Attachments (Terms of Use)

Comment 3 CFME Bot 2020-02-21 17:47:49 UTC
New commit detected on ManageIQ/manageiq-providers-openstack/ivanchuk:

https://github.com/ManageIQ/manageiq-providers-openstack/commit/a1c4dc63d2c23b491c6d7c9853fe94ecaf0f0a8d
commit a1c4dc63d2c23b491c6d7c9853fe94ecaf0f0a8d
Author:     Marek Aufart <maufart>
AuthorDate: Tue Dec  3 14:31:57 2019 +0000
Commit:     Marek Aufart <maufart>
CommitDate: Tue Dec  3 14:31:57 2019 +0000

    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=1794551

 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 | 15 +-
 config/settings.yml | 5 +-
 6 files changed, 44 insertions(+), 8 deletions(-)

Comment 4 Jad Haj Yahya 2020-03-05 15:05:30 UTC
missing 5.11 backport of https://github.com/ManageIQ/manageiq-content/pull/612 so refresh is not triggered for sec.grp.rules

Comment 5 Satoe Imaishi 2020-03-05 15:26:14 UTC
That PR got off of my radar since it wasn't listed in the BZ and separate PRs got created for hammer/ivanchuk... will pick up in the next build.

Comment 6 CFME Bot 2020-03-20 17:35:48 UTC
New commit detected on ManageIQ/manageiq-content/ivanchuk:

https://github.com/ManageIQ/manageiq-content/commit/046d07a1734f77d19d3bfa894b78ac795908f313
commit 046d07a1734f77d19d3bfa894b78ac795908f313
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu Dec  5 18:07:40 2019 +0000
Commit:     Greg McCullough <gmccullo>
CommitDate: Thu Dec  5 18:07:40 2019 +0000

    Merge pull request #612 from aufi/add_osp_security_group_rules

    Add OpenStack SecurityGroupRule Events

    (cherry picked from commit affc119b2e9e7b66a81fbcb77a81e8a2be2d03c1)

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

 content/automate/ManageIQ/System/Event/EmsEvent/OpenStack.class/security_group_rule.create.end.yaml | 12 +
 content/automate/ManageIQ/System/Event/EmsEvent/OpenStack.class/security_group_rule.delete.end.yaml | 12 +
 content/automate/ManageIQ/System/Event/EmsEvent/OpenStack.class/security_group_rule.update.end.yaml | 12 +
 3 files changed, 36 insertions(+)

Comment 7 Jad Haj Yahya 2020-04-16 12:17:49 UTC
Still don't see created sec group in UI

Comment 9 Jad Haj Yahya 2020-04-23 08:44:45 UTC
I reproduced the BZ on another setup, you can take a look here:
https://10.8.198.226/

Comment 10 Jad Haj Yahya 2020-04-23 15:54:20 UTC
Created a sec group and a rule under it
the sec group appeared but rule not

Comment 12 Andrey 2020-06-09 13:50:02 UTC
I was able to create sec_group and rule under it.
I tried it in a few CF Containers - hammer-9, hammer-10 hammer-11 and hammer-latest, OSP16
All created security groups and rules were present in CF UI. Deleted groups and rules also weren't visible.

Jad could you confirm that the issue still appears on 5.10?

Comment 14 dmetzger 2020-08-18 18:40:15 UTC
Niyaz can you try OSP16.1 to verify Andrey's finding in comment #12? 

Andrey, is this a targeted refresh issue specific to OSP13 (well pre-16.1)?

Comment 23 ikanias 2020-09-14 11:55:56 UTC
Verified on CFME version 5.11.8. Adding security group/deleting security group/ruled is reflected in UI.

Comment 28 errata-xmlrpc 2020-09-30 14:01:06 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 (Moderate: CloudForms 5.0.8 security, bug fix and enhancement update), 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://access.redhat.com/errata/RHSA-2020:4134

Comment 30 Red Hat Bugzilla 2023-09-15 01:29:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


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