Bug 2179721

Summary: message should be display correct when create virt-who configuration
Product: Red Hat Satellite Reporter: yanpliu <yanpliu>
Component: Virt-who Configure PluginAssignee: Sayan Das <saydas>
Status: CLOSED ERRATA QA Contact: yanpliu <yanpliu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: chrobert, lufu, pcreech, saydas
Target Milestone: 6.14.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman_virt_who_configure-0.5.14-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:19:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description yanpliu 2023-03-20 03:41:10 UTC
Description of problem:
message should be display correct when create virt-who configuration
message "#<ForemanVirtWhoConfigure::Config:0x00007fe4ed2f5b78>." should not display.

Success alert:Success
Successfully created #<ForemanVirtWhoConfigure::Config:0x00007fe4ed2f5b78>.
Version-Release number of selected component (if applicable):

Satellite6.13.0 snapshot 15
katello-4.7.0-1.el8sat.noarch
rubygem-foreman_virt_who_configure-0.5.13-1.el8sat.noarch
rubygem-hammer_cli_foreman_virt_who_configure-0.0.9-2.el8sat.noarch

How reproducible:
100%

Steps to Reproduce:
1.Create a virt-who config by UI
2. When the virt-who config created successfully. it display the following message
Success alert:Success
Successfully created #<ForemanVirtWhoConfigure::Config:0x00007fe4ed2f5b78>.
Version-Release number of selected component (if applicable):

It should not display the message "#<ForemanVirtWhoConfigure::Config:0x00007fe4ed2f5b78>".

Actual results:
create virt-who config successfully, it display the Unreadable message "#<ForemanVirtWhoConfigure::Config:0x00007fe4ed2f5b78>".

Expected results:
it should display the message like this 
"ui_ahv_central virt-who Configuration has been successfully created."


Additional info:

Comment 1 Sayan Das 2023-05-09 11:20:58 UTC
Created:

Bug #36372: Display the config name correctly while creating, updating or deleting a virt-who config successfully. - virt-who configure - Foreman
https://projects.theforeman.org/issues/36372

Fixes #36372 - Show correct config name during create\update\delete by sayan3296 · Pull Request #162 · theforeman/foreman_virt_who_configure
https://github.com/theforeman/foreman_virt_who_configure/pull/162

Comment 2 yanpliu 2023-06-08 06:17:24 UTC
Verification on Satellite6.14 snapshot 3.0
katello-4.9.0-0.1.rc2.el8sat.noarch
rubygem-foreman_virt_who_configure-0.5.14-1.el8sat.noarch
rubygem-hammer_cli_foreman_virt_who_configure-0.0.9-2.el8sat.noarch

This issue has been fixed.

1.Create a virt-who config by UI
2. When the virt-who config created successfully. It display the message "Success alert:Successfully created ui_ahv."

Comment 3 yanpliu 2023-06-20 00:38:44 UTC
Verification on Satellite6.14 snapshot 4.0
katello-4.9.0-0.1.rc2.el8sat.noarch
rubygem-foreman_virt_who_configure-0.5.14-1.el8sat.noarch
rubygem-hammer_cli_foreman_virt_who_configure-0.0.9-2.el8sat.noarch
This issue has been fixed.

1.Create a virt-who config by UI
2. When the virt-who config created successfully. It display the message "Success alert:Successfully created ui_ahv."

Comment 6 errata-xmlrpc 2023-11-08 14:19:02 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 (Important: Satellite 6.14 security and bug fix 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-2023:6818