Project

General

Profile

Feature #4426

Allow changing/setting of organisation and location in the "Provision Host" screen

Added by Michael Moll about 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When using orgs and locs, the way to set these values is to select a host on the "Discoverred Hosts" screen, then the Menu "Select Action" aapears and there org and loc can be set. It would be much nicer if this could be set in the "New Host" screen one get's dropped into after clicking "Provision"


Related issues

Related to Foreman - Bug #2033: Cannot assign a host to an orgClosed2012-12-11
Related to Discovery - Bug #8148: Allow editing taxonomy on Provision Host formNew2014-10-29
Related to Discovery - Feature #11457: Add taxonomy to discovery rulesClosed2015-08-24
Related to Discovery - Refactor #14035: Redesign discovered hostNew2016-03-03
Related to Discovery - Bug #15469: Editing an ordinary host gives undefined method `[]' for nil:NilClassClosed2016-06-20
Related to Discovery - Bug #15732: Unit test failure for the new modal formClosed2016-07-19
Related to Discovery - Bug #15735: Subnet is not selected with domainRejected2016-07-19
Related to Discovery - Feature #15777: Provision action on the detail of a discovered host should use modal formClosed2016-07-22
Related to Discovery - Bug #15793: Quick provisioning does not set build modeClosed2016-07-22
Is duplicate of Discovery - Bug #11564: Unable to Change location for Discovered Hosts in WebUIDuplicate2015-08-25
Is duplicate of Discovery - Bug #11605: Discovered hosts API does not allow setting Organization/LocationDuplicate2015-08-28

Associated revisions

Revision 2e08637f (diff)
Added by Shimon Shtein almost 3 years ago

Fixes #4426 - Add modal wizard to host creation

History

#1 Updated by Dominic Cleal about 4 years ago

  • Related to Bug #2033: Cannot assign a host to an org added

#2 Updated by Lukas Zapletal almost 4 years ago

  • Category set to Discovery plugin
  • Priority changed from Low to High

In 1.9 the workaround does not work anymore, there is no way of setting Org/Loc either manually or via rules. Bumping priority.

#3 Updated by Lukas Zapletal almost 4 years ago

  • Subject changed from Allow changing/setting of organisation and location in the "New Host" screen to Allow changing/setting of organisation and location in the "Provision Host" screen

For the record, this is because we use "Host/edit" action which turns off org/loc selectors. Existing hosts cannot change taxonomy.

#4 Updated by Lukas Zapletal almost 4 years ago

  • Bugzilla link set to 1245642

#5 Updated by Lukas Zapletal almost 4 years ago

  • Related to Bug #8148: Allow editing taxonomy on Provision Host form added

#6 Updated by Lukas Zapletal almost 4 years ago

#7 Updated by Lukas Zapletal over 3 years ago

WORKAROUND: Org/Loc of discovered hosts can be changed via mass actions - select one or more discovered hosts via checkboxes on the left, then click on Select Action -> Assign Organization.

#8 Updated by Lukas Zapletal over 3 years ago

  • Is duplicate of Bug #11564: Unable to Change location for Discovered Hosts in WebUI added

#9 Updated by The Foreman Bot over 3 years ago

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

#10 Updated by Lukas Zapletal over 3 years ago

  • Bugzilla link changed from 1245642 to 1257607

#11 Updated by Lukas Zapletal over 3 years ago

Implement API/CLI for this as well

#12 Updated by Lukas Zapletal over 3 years ago

  • Is duplicate of Bug #11605: Discovered hosts API does not allow setting Organization/Location added

#13 Updated by The Foreman Bot over 3 years ago

  • Assignee set to Lukas Zapletal

#14 Updated by Lukas Zapletal about 3 years ago

#15 Updated by Lukas Zapletal about 3 years ago

  • Status changed from Ready For Testing to New
  • Priority changed from High to Normal
  • Pull request deleted (https://github.com/theforeman/foreman_discovery/pull/211)

Instead of creating more and more hacks to recycle Edit Host form, we should do proper solution. Created #14035 for this.

#16 Updated by The Foreman Bot almost 3 years ago

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

#17 Updated by Shimon Shtein almost 3 years ago

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

#18 Updated by Lukas Zapletal almost 3 years ago

  • Related to Bug #15469: Editing an ordinary host gives undefined method `[]' for nil:NilClass added

#19 Updated by Lukas Zapletal almost 3 years ago

  • Related to Bug #15732: Unit test failure for the new modal form added

#20 Updated by Lukas Zapletal almost 3 years ago

  • Related to Bug #15735: Subnet is not selected with domain added

#21 Updated by Lukas Zapletal almost 3 years ago

  • Related to Feature #15777: Provision action on the detail of a discovered host should use modal form added

#22 Updated by Lukas Zapletal almost 3 years ago

  • Related to Bug #15793: Quick provisioning does not set build mode added

Also available in: Atom PDF