Bug 1563796 - xClarity: Error while execute the second refresh cycle
Summary: xClarity: Error while execute the second refresh cycle
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Douglas Gabriel
QA Contact: Rodney H. Brown
URL:
Whiteboard:
Depends On:
Blocks: 1567278
TreeView+ depends on / blocked
 
Reported: 2018-04-04 17:44 UTC by Douglas Gabriel
Modified: 2019-02-11 14:06 UTC (History)
8 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1567278 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:06:18 UTC
Category: ---
Cloudforms Team: Lenovo
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Douglas Gabriel 2018-04-04 17:44:14 UTC
Description of problem:
When execute the refresh for the first time all Network Devices and Ports are saved successfully, but, from the second time onwards, some Network Devices are deleted and sometimes the ports are duplicated.

How reproducible:
Managing a physical server that has more than one Network Device

Steps to Reproduce:
1. Manage some LXCA with a physical server with more than one Network device
2. Perform the first refresh cycle
3. Inspect the guest_devices table in database and see that all data is saved successfully
4. Perform the refresh cycle again
5. Inspect the guest_devices table and see that only one Network Device (device_type = "ethernet") is associated to the physical server and probably the ports are now with the same name (it doesn't occur all the times)

Comment 2 Dave Johnson 2018-04-04 17:44:43 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 3 Douglas Gabriel 2018-04-04 17:46:50 UTC
https://github.com/ManageIQ/manageiq/pull/17249

Comment 4 Douglas Gabriel 2018-04-05 13:47:51 UTC
The bug fix was moved to this another PR: https://github.com/ManageIQ/manageiq-providers-lenovo/pull/148

Comment 6 Douglas Gabriel 2018-04-12 18:30:00 UTC
PR based on GAPRINDASHVILI code:

https://github.com/ManageIQ/manageiq-providers-lenovo/pull/155

Comment 9 Rodney H. Brown 2018-09-25 14:02:41 UTC
Verified with 5.10.0.16.20180919151347_a0c9e02


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