Bug #10195

Discovered host should not be rebooted when user gets validation error on edit host form

Added by Bryan Kearney over 2 years ago. Updated about 2 years ago.

Status:Closed
Priority:Normal
Assigned To:Lukas Zapletal
Category:Discovery plugin
Target version:Plugin 3.0.0
Difficulty:easy Pull request:https://github.com/theforeman/foreman_discovery/pull/188
Bugzilla link:1196658
Story points-
Velocity based estimate-

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1196658
Description of problem:
I discovered a host and and click on provision from webUI.. and I got some validation error on host form..

the discovered host rebooted even I got some validation error on host form.

Version-Release number of selected component (if applicable):
sat6.1 beta snap4
Satellite-6.1.0-RHEL-6-20150224.0

How reproducible:
always

Steps to Reproduce:
1. pxe boot a host
2. Go to hosts-> discovered_host
3. click on provision
4. and don't specify name so that UI raised some validation error

Actual results:
discovered host rebooted

Expected results:
discovered host shouldn't be rebooted

Additional info:

Associated revisions

Revision 442b3785
Added by Lukas Zapletal about 2 years ago

Fixes #10195 - discovered node is no longer rebooted on error

History

#1 Updated by Lukas Zapletal over 2 years ago

  • Category set to Discovery plugin
  • Target version set to Plugin 2.0.3
  • Difficulty set to easy

#2 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_discovery/pull/188 added

#3 Updated by Lukas Zapletal over 2 years ago

  • Target version changed from Plugin 2.0.3 to Plugin 3.0.0

#4 Updated by Anonymous about 2 years ago

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

Also available in: Atom PDF