Bug #8148

Allow editing taxonomy on Provision Host form

Added by Ori Rabin over 2 years ago. Updated about 1 month ago.

Status:New
Priority:Normal
Assigned To:-
Category:Discovery plugin
Target version:-
Difficulty: Pull request:
Bugzilla link:1231642
Story points-
Velocity based estimate-

Description

As reported on users mailing list:
https://groups.google.com/forum/#!topic/foreman-users/ipqYid64IM0
when context is on any location\organization choosing a hostgroup during provision of discovered host changes the organization\location to the first ones in the list
this happens even after assigning them from the 'Discovered hosts' page


Related issues

Related to Discovery - Feature #4426: Allow changing/setting of organisation and location in th... Closed 02/24/2014
Related to Discovery - Refactor #14035: Redesign discovered host New 03/03/2016
Related to Discovery - Bug #19648: Enforce taxonomy on Quick Provision form New 05/24/2017

History

#1 Updated by Ori Rabin about 2 years ago

This only happens when manually selecting the hg.
When using auto provision the org/loc are not changed.

#2 Updated by Bryan Kearney about 2 years ago

  • Bugzilla link set to 1231642

#3 Updated by Lukas Zapletal almost 2 years ago

  • Related to Feature #4426: Allow changing/setting of organisation and location in the "Provision Host" screen added

#4 Updated by Lukas Zapletal over 1 year ago

#5 Updated by Daniel Lobato Garcia 11 months ago

  • Category set to Discovery plugin
  • Target version set to Team Daniel backlog

#6 Updated by Lukas Zapletal about 1 month ago

  • Subject changed from Assigning a hostgroup to a discovered host during provision changes selected organization and location to Allow editing taxonomy on Provision Host form
  • Target version deleted (Team Daniel backlog)

First, no matter in what taxonomy discovered host is created, it always must fall into taxonomy of a hostgroup. If these are different, hostgroup must win.

Second, taxonomy is disabled when provisioning host, this is technical limitation we workaround in Foreman with new Quick Provision form until we solve it.

#7 Updated by Lukas Zapletal about 1 month ago

  • Related to Bug #19648: Enforce taxonomy on Quick Provision form added

#8 Updated by Lukas Zapletal about 1 month ago

It is not possible to enable taxonomy dropdowns on edit host form via JavaScript, when I do that, the old value is still being submitted. I need some JavaScript guru to take a look, it might be possible to enable these via new file edit.html.erb which we have in Discovery now.

Also available in: Atom PDF