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

Progress bar always be running in Server Power Operations page, Refresh doesn't work #122

Open
awan119 opened this issue Jul 8, 2024 · 3 comments

Comments

@awan119
Copy link

awan119 commented Jul 8, 2024

Describe the bug
Because of development, I removed TpmPolicy related function and vue code in these page.
After removing all related part, progress bar is always running in these page. Refresh doesn't work either in these page.
The other problem is after shutdown server power, this page could not show "off" with Refresh button

To Reproduce
Issue 1

  1. Go to 'Server Power Operations' page
  2. Progress bar is always running

Issue 2

  1. Go to "Server Power Operations" page
  2. Click Orderly Shutdown server option
  3. Check server is already down
  4. Go back page, progress bar is still running
  5. Click "Refresh" button, progress bar runs again from beginning and keep showing
  6. Check "Server status", it doesn't change to "off"
  7. Click F5 to reload the page
  8. "Server status" and it shows "off" after clicking F5 to reloading page.
  9. Progess bar is still running

Expected behavior

  1. Progress bar should not appear all time
  2. Click Refresh button should update "server status" in this page

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows10
  • Browser&version : Edge v126、google chrome v126

Additional context
Below is src\views\Operations\ServerPowerOperations\BootSettings.vue. I have modified this for Server Power Operations page.
Server_Power_Operations_page.txt

Thank you in advance.

@huyle-anh
Copy link

I'm not sure if you're already using the new source code? For me, I do not see this issue. My system, I saw that the progress bar was turned off after completion action in case 1,2 you said.
Screenshot 2024-07-09 at 10 27 32

@awan119
Copy link
Author

awan119 commented Jul 9, 2024

@huyle-anh Hi,

Thank you for reply.
I will try the new code to check again.

If this won't bother you, could you remove "TPM required policy" block behind "□Enable one time boot" in the lower left corner?
I am wondering if your works well after removing TPM part, this problem must be caused by code version.

@awan119
Copy link
Author

awan119 commented Jul 15, 2024

@huyle-anh Hi,

I solve the problem by taking back the removed code. (TPM part code)
Also the lastest code is merged.

But does your "Refresh" button on the right upper side corner work on this page?

When server power is down, my "Refresh" button in this page never work. (Other page works fine.)

The corresponding Redfish node has changed to off, but Refresh button couldn't update the page. The page updates only after pressing F5 keyboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants