Bug #3270
closedIncorect handling of multiple interface with different subnets when editing host
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
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
Updated by Daniel Gagnon about 11 years ago
Proposed fix confirmed as working for me !
Updated by Dominic Cleal about 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 2899ab7ed1c86193e3ebc764eb2ec88858c767f6.
Updated by Greg Sutcliffe about 11 years ago
- Translation missing: en.field_release set to 1
Updated by Daniel Gagnon about 9 years ago
I think this can be closed with the new interface editor