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
mgr/dashboard: Add support for blinking enclosure LEDs #31851
Conversation
97f4f34
to
749c21a
Compare
|
Thanks a lot and I really like it. Could we instead of showing a percentage in the task list have a clock counter that decreases down to zero? Once you've triggered the command, the percentage is kinda relative |
The current task implementation (backend and frontend) does not support that. I suggest to open a tracker issue to do this in a follow up action. I think @Devp00l can say more about this as he's the developer who has implemented it. |
Ok, sounds good to me. I'll open a new tracker issue for that |
e276273
to
9623a94
Compare
ac2a1bb
to
2faa53d
Compare
|
cc @pcuzner |
68b3c08
to
9b035f3
Compare
|
jenkins test make check |
1 similar comment
|
jenkins test make check |
|
jenkins test make check arm64 |
src/pybind/mgr/dashboard/frontend/src/app/shared/api/orchestrator.service.ts
Outdated
Show resolved
Hide resolved
Create the issue: https://tracker.ceph.com/issues/43223. |
|
jenkins test dashboard backend |
ba0f121
to
fb20d0f
Compare
|
ceph dashboard backend tests failure -> https://tracker.ceph.com/issues/43227 |
|
jenkins test dashboard backend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make check failed due to mgr-dashboard-frontend-unittests errors
src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.ts(12,1): error TS6133: 'NotificationType' is declared but its value is never read.
src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.ts(66,13): error TS6138: Property 'notificationService' is declared but its value is never read.```
fb20d0f
to
126fac5
Compare
|
jenkins test dashboard |
|
jenkins test make check arm64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested this locally using the test orchestrator together with the dummy data provided by #32182 - LGTM!
src/pybind/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of the on-wait-off logic, a connection to backend will be held until the LED is off.
Maybe we can move the logic into orchestrator or use task manager (which causes redundant tasks displayed) for a improvement in the future?
126fac5
to
227166a
Compare
This is caused by using the |
|
Will revert back to using Dashboard Task implementation instead of using |
Fixes: https://tracker.ceph.com/issues/42609 Signed-off-by: Volker Theile <vtheile@suse.com>
227166a
to
4c43214
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was not able to test it, but code lgtm.
|
jenkins test dashboard |
1 similar comment
|
jenkins test dashboard |
|
jenkins test dashboard backend |
Fixes: https://tracker.ceph.com/issues/42609
Signed-off-by: Volker Theile vtheile@suse.com
Testing
You can easily test this PR by using the
test_orchestrator. Check out #31757 how to use it.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard backendjenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox