Project

General

Profile

Actions

Bug #3270

closed

Incorect handling of multiple interface with different subnets when editing host

Added by Daniel Gagnon about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Network
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Setup:
OS: Debian 7 64bit
Foreman: 1.3-stable upgraded from 1.2 through package
DB: Mysql

To reproduce:
- create two domains with a different subnet for each domain
- create a host with two interface, assigning a different subnet to each interface
- save host
- edit host and navigate to the network tab

Expected behavior:
- Second interface should have the subnet field populated with the subnet information
- Clicking save without modifying the network tab should save existing settings.

Actual behavior:
- Second interface has an empty subnet field.
- if you click on the subnet drop-down, it contains a single entry referring to the primary interface's subnet
- saving the host without modifying the network removes the subnet association and any templates referring to it will fail.

Current work-around to edit a host with multiple interface:
- Click domain and set it to empty
- Click domain and choose the correct domain
- Click subnet and choose the current domain
- save

Actions #1

Updated by Dominic Cleal about 11 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Dominic Cleal
  • Target version set to 1.3.1
Actions #2

Updated by Daniel Gagnon about 11 years ago

Proposed fix confirmed as working for me !

Actions #3

Updated by Dominic Cleal about 11 years ago

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

Updated by Greg Sutcliffe about 11 years ago

  • Translation missing: en.field_release set to 1
Actions #5

Updated by Daniel Gagnon about 9 years ago

I think this can be closed with the new interface editor

Actions

Also available in: Atom PDF