Project

General

Profile

Actions

Bug #12558

open

Host from child organization cannot be saved if hostgroup is defined for parent org only.

Added by Shimon Shtein about 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Organizations and Locations
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

1. Create organization org1
2. Create organization org1/org2
3. Create a subnet, and associate it to org1
4. Create a host in org1/org2 and set its primary interface to the subnet from [3].
Expected: host is saved
Actual: there is an error "Subnet is not defined for host's organization"

The problem comes from nic/base.rb #validate_host_organization, it checks for explicitly defined organizations only.

Actions

Also available in: Atom PDF