Project

General

Profile

Actions

Bug #12340

closed

Resend button should refresh the status screen correctly

Added by Sachin Ghai over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Fixed in Releases:
Found in Releases:

Description

I'm not sure what is expected in this case.. but when I selected 'Resend' from discovery status screen, console refreshes and status changed from 'Success' to 'N/A (use Status to update). I believe 'Resend' tries to re-register the host with server ?

And when I selected 'Status' button to update the status then again nothing happens. In any case, when we are mentioning "(use Status to update)" then status should be updated to 'Success' as per my understanding.


Files

resend.png View resend.png 23.7 KB Sachin Ghai, 10/28/2015 06:33 AM

Related issues 1 (0 open1 closed)

Related to Discovery - Tracker #10294: PXEless discovery featureClosedLukas Zapletal04/28/2015

Actions
Actions #1

Updated by Sachin Ghai over 8 years ago

Actions #2

Updated by Lukas Zapletal over 8 years ago

  • Subject changed from On selecting 'Resend' button from Discovery status screen for a PXE based discovered host, change the Status to N/A to Resend button should refresh the status screen correctly

This is a little bit ackward, but Resend button only sends notification to discovery-register service to send facts. We need to wait for it to complete and after few seconds you need to refresh the screen. For technical reasons, I can't refresh the screen, therefore user must do this via Refresh button.

I might try to find a better way of IPC - maybe waiting for the result file. Let's see.

Also note that in PXE-less the Resend button does not even work (error), I disabled it for PXE-less in this patch: #12322. Nicer error will appear there.

Actions #3

Updated by Lukas Zapletal over 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman-discovery-image/pull/43 added
Actions #4

Updated by The Foreman Bot over 8 years ago

  • Pull request https://github.com/theforeman/foreman-discovery-image/pull/45 added
Actions #5

Updated by Anonymous over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF