apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.12k stars 1.11k forks source link

Backup offerings events are not present in this view #9465

Open kiranchavala opened 4 months ago

kiranchavala commented 4 months ago

ISSUE TYPE

Bug/UI

COMPONENT NAME

Component: UI, Events

CLOUDSTACK VERSION

Cloudstack version 4.19.1

SUMMARY

Events related to system vm's are not shown

Steps to reproduce the issue

  1. Have a cloudstack environment with Veeam integration

  2. Navigate to Service offerings > Backup offering > Import backup offering

Screenshot 2024-07-29 at 3 23 12 PM

  1. Navigate to the events tabs > No events are present

Screenshot 2024-07-24 at 4 47 51 PM

  1. The events are generated fine (UI >Events )

Screenshot 2024-07-24 at 4 48 06 PM

Actual Behaviour

The backup.import.offering event are not present in the view (backup offering > events)

Expected behaviour

The backup.import.offering event should be present in the view (backup offering > events)

rohityadavcloud commented 4 months ago

Were they logged earlier @kiranchavala ? Since backup offerings are related to the VM (and not backups themselves) it may not be an issue; same would be worth checking for vm and volume snapshots events.

weizhouapache commented 4 months ago

@kiranchavala @rohityadavcloud I am not sure if this is a bug

I checked the other service/disk/network/vpc offerings, they do not have any events for creation/import either.

kiranchavala commented 4 months ago

@rohityadavcloud the backup related events are logged fine, the only issue is with displaying them in the correct UI path

When a instance is assigned to a backup offering , the event is not present in the compute >Instance > events

Screenshot 2024-07-29 at 4 59 59 PM Screenshot 2024-07-29 at 5 05 31 PM

The only event that is logged in the compute >Instance > events is the "BACKUP.CREATE and BACKUP.RESTORE"

Screenshot 2024-07-29 at 5 06 04 PM Screenshot 2024-07-29 at 5 11 00 PM Screenshot 2024-07-30 at 10 44 47 AM

If we look at similar pages

service offering >compute offering > events are present in the view

Screenshot 2024-07-30 at 10 31 43 AM

I believe the BACKUP.IMPORT.OFFERING events should also be present in the Service offerings > Backup offering > event

The following events can also be present in the compute >Instance > events

BACKUP.OFFERING.ASSIGN BACKUP.OFFERING.REMOVE

BACKUP.SCHEDULE.CONFIGURE

weizhouapache commented 4 months ago

@kiranchavala I think the events you listed are for vms, not for backup offering. maybe we should not display the tab Events for service/disk/network/backup offerings.

rohityadavcloud commented 4 months ago

Agree, events tabs are misleading when not for the specific resource. In this case, the backup events for a VM primarily.