Project

General

Profile

Bug #9058

Changing organization/location when creating new host resets interfaces setup

Added by Tomáš Strachota over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Changing organization or location on the new hosts page clears interfaces that have been set up previously. This is very annoying especially when the user is returned back to the form after validation failure caused by missing org.

On the new host page:
- add some interfaces, other fields can remain blank
- save > validation fails
check the interfaces tab - your interfaces sould be there
- change host's organization or location
- check the interfaces tab again - your chages are gone, only blank primary interface is present

The problem is related to this patch:
https://github.com/theforeman/foreman/pull/1955


Related issues

Related to Foreman - Bug #8405: Resolve Templates button on Host#edit broken for multi-nic systemsClosed2014-11-14
Related to Foreman - Tracker #2409: NetworkingNew

Related to Foreman - Bug #11768: Switching organization or location fails with mass assignment security errorResolved2015-09-10
Related to Foreman - Bug #11767: Templates are not being resolved in the host formClosed2015-09-10

Associated revisions

Revision 56309d5d (diff)
Added by Tom Caspy almost 4 years ago

fixes #9058 - interfaces should not be affected when changing loc/org

History

#1 Updated by Tomáš Strachota over 4 years ago

  • Related to Bug #8405: Resolve Templates button on Host#edit broken for multi-nic systems added

#2 Updated by Tomáš Strachota over 4 years ago

#3 Updated by Daniel Lobato Garcia over 4 years ago

  • Priority changed from Normal to High

#4 Updated by Tom Caspy over 4 years ago

  • Assignee set to Tom Caspy

#5 Updated by The Foreman Bot over 4 years ago

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

#6 Updated by Tom Caspy almost 4 years ago

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

#7 Updated by Dominic Cleal almost 4 years ago

  • % Done changed from 100 to 0
  • Legacy Backlogs Release (now unused) set to 63

#8 Updated by Tomáš Strachota almost 4 years ago

  • Related to Bug #11768: Switching organization or location fails with mass assignment security error added

#9 Updated by Tomáš Strachota almost 4 years ago

  • Related to Bug #11767: Templates are not being resolved in the host form added

Also available in: Atom PDF