apache / apache/cloudstack

Management Server does not recognize a session as removed in some scenarios

Đang mở
#11,169 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
affects:4.19 affects:4.20 Severity:Minor type:bug
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

### Problem Description

In some scenarios, the Management Server does not recognize that a console session has been released. As a consequence of that, the `removed` column of the `cloud.console_session` table remains indefinitely marked as `NULL`.

### Versions

ACS versions 4.19 and 4.20

### The steps to reproduce the bug

- https://github.com/apache/cloudstack/pull/11016#pullrequestreview-2993780512 and https://github.com/apache/cloudstack/pull/11016#issuecomment-3052399701 describe two different situations in which this bug occur.

### What to do about it?

Normalize these scenarios, ensuring that the `removed` attribute of console sessions is corretly set to the datetime in which the sessions are released.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách đọc hai kịch bản được mô tả trong review và comment trên pull request #11016, sau đó truy vết cách Management Server ghi lại các sự kiện giải phóng console-session. Xác minh hành vi đối chiếu với bảng cloud.console_session và coi công việc là hoàn tất khi mỗi kịch bản được báo cáo đều đặt removed thành thời điểm giải phóng thay vì để là NULL.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
backend
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.