Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed massage emsrefresh completed successfully #22465

Closed

Conversation

galoiring
Copy link

@galoiring galoiring commented Apr 18, 2023

currently there's no dedicated success message for propagating success from autosde backend to miq_task.
we only get an EmsRefresh success msg like:

a93b3af1-f7cb-4a64-ad4d-3b5b87161e8c

After the changes we made it looks like this :
Screenshot 2023-04-18 at 15 43 35

@galoiring galoiring requested a review from agrare as a code owner April 18, 2023 12:44
@galoiring galoiring changed the title fixed massage emsrefresh completed successfully Fixed massage emsrefresh completed successfully Apr 18, 2023
@Fryguy Fryguy added the cleanup label Apr 20, 2023
@galoiring
Copy link
Author

@agrare so we can fix this here in the core repo

@miq-bot
Copy link
Member

miq-bot commented Apr 25, 2023

Checked commit Autosde@812487d with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint
1 file checked, 1 offense detected

app/models/ems_refresh.rb

Comment on lines -19 to +20
def self.queue_refresh_task(target, id = nil)
queue_refresh(target, id, :create_task => true)
def self.queue_refresh_task(targets, id = nil)
queue_refresh(targets, id, :create_task => true)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks unrelated

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it would be more accurate because it is a list of targets

@agrare
Copy link
Member

agrare commented Apr 26, 2023

@galoiring if you want to clean up how the targets are listed in the task message for the InventoryRefresh::Target/TargetCollection types that would be a good enhancement here

@galoiring
Copy link
Author

@galoiring if you want to clean up how the targets are listed in the task message for the InventoryRefresh::Target/TargetCollection types that would be a good enhancement here

it isn't something that was bother me (just plural instead of singular) but if it needed I would do that

@miq-bot miq-bot added the stale label Jul 31, 2023
@miq-bot
Copy link
Member

miq-bot commented Jul 31, 2023

This pull request has been automatically marked as stale because it has not been updated for at least 3 months.

If these changes are still valid, please remove the stale label, make any changes requested by reviewers (if any), and ensure that this issue is being looked at by the assigned/reviewer(s)

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

@miq-bot miq-bot closed this Nov 6, 2023
@miq-bot
Copy link
Member

miq-bot commented Nov 6, 2023

This pull request has been automatically closed because it has not been updated for at least 3 months.

Feel free to reopen this pull request if these changes are still valid.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

kbrock added a commit to kbrock/manageiq that referenced this pull request Nov 6, 2023
taken from:
- ManageIQ#22465
- ManageIQ/manageiq-providers-autosde#228

Instead of displaying target information, this now displays a user friendly message in the ui
@kbrock
Copy link
Member

kbrock commented Nov 6, 2023

alt: #22776

kbrock added a commit to kbrock/manageiq that referenced this pull request Nov 7, 2023
taken from:
- ManageIQ#22465
- ManageIQ/manageiq-providers-autosde#228

Instead of displaying target information, this now displays a quick user friendly summary
kbrock added a commit to kbrock/manageiq that referenced this pull request Nov 14, 2023
taken from:
- ManageIQ#22465
- ManageIQ/manageiq-providers-autosde#228

Instead of displaying target information, this now displays a quick user friendly summary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants