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

Event state is incorrect when Maintenance mode is Enabled/Cancelled on a Primary storage #8495

Open
kiranchavala opened this issue Jan 11, 2024 · 0 comments · May be fixed by #9056
Open

Event state is incorrect when Maintenance mode is Enabled/Cancelled on a Primary storage #8495

kiranchavala opened this issue Jan 11, 2024 · 0 comments · May be fixed by #9056

Comments

@kiranchavala
Copy link
Contributor

ISSUE TYPE

Bug

COMPONENT NAME

Component: API/ UI

CLOUDSTACK VERSION

Cloudstack version 4.18,

SUMMARY

Event is incorrectly displayed when Maintenance mode is Enabled/Cancelled on a Primary storage

Steps to reproduce the issue

  1. Navigate to Infrastructure > Primary storage

  2. Select a primary storage and enable maintenance mode

  3. The event generated for maintenance is in Scheduled state

  4. Cancel the maintenance mode on the primary storage

  5. The event generated for maintenance is in Scheduled state

enable-maintainence mode

eventmainteance

eventmaintainece2

*************************** 213. row ***************************
           id: 213
         uuid: 7816d935-2586-45d1-b98b-53e3bccc31fe
         type: MAINT.PREPARE.PS
        state: Scheduled
  description: preparing storage pool: 1 for maintenance
      user_id: 2
   account_id: 2
    domain_id: 1
  resource_id: 1
resource_type: StoragePool
      created: 2024-01-11 05:17:55
        level: INFO
     start_id: 0
   parameters: NULL
     archived: 0
      display: 1


*************************** 214. row ***************************
           id: 214
         uuid: 63683a5d-dda2-44d2-aa25-86b03f8a1de0
         type: MAINT.CANCEL.PS
        state: Scheduled
  description: canceling maintenance for primary storage pool: 1
      user_id: 2
   account_id: 2
    domain_id: 1
  resource_id: 1
resource_type: StoragePool
      created: 2024-01-11 05:24:11
        level: INFO
     start_id: 0
   parameters: NULL
     archived: 0
      display: 1

Expected behavior

The state of the event should be completed

@DaanHoogland DaanHoogland added this to the 4.20.0.0 milestone Jan 23, 2024
shwstppr added a commit to shapeblue/cloudstack that referenced this issue May 8, 2024
Fixes apache#8495

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr shwstppr linked a pull request May 8, 2024 that will close this issue
13 tasks
@sureshanaparti sureshanaparti modified the milestones: 4.20.0.0, 4.19.1.0 May 8, 2024
@vishesh92 vishesh92 linked a pull request May 9, 2024 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

3 participants