Project

General

Profile

Actions

Bug #13818

closed

Hostgroup appear on all the locations when they are not assign to this one

Added by Mario Gamboa about 8 years ago. Updated about 7 years ago.

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

Description

I have this issue i got 2 location and i got 2 hostgroup

my hostgroups as follow

1.-Internal Network
2.- Amazon Network

The internal network is assign to the location internal and the amazon network is assign to the location aws but when i choice Configure-> hostgroups on mycompany@aws on foreman i got also the hostgroup of internal network this one must be no appear because is assign to the internal location this is happen after upgrade foreman from 1.9.3 to 1.10.1 also testing on 1.10.1 fresh install same issue.


Files

amazon.log amazon.log 351 KB Mario Gamboa, 02/27/2016 06:15 PM
Actions #1

Updated by Ivan Necas about 8 years ago

  • Project changed from Foreman Remote Execution to Foreman
  • Category set to Organizations and Locations
Actions #2

Updated by Dominic Cleal about 8 years ago

  • Status changed from New to Need more information

I can't reproduce this on nightlies, perhaps you can go through carefully and confirm that all host groups are assigned to only one location.

The output from the API might be useful to demonstrate, combined with SQL debug output when viewing the host groups list (http://theforeman.org/manuals/1.10/index.html#7.2Debugging).

From the API, a GET to /api/hostgroups/6 (or whatever the IDs are) and also for the locations at /api/locations/6 etc would show the associations.

Actions #3

Updated by Mario Gamboa about 8 years ago

uploaded the log with debug mode when try to make the operation and create the host in amazon but is no any security group

Actions #4

Updated by Dominic Cleal about 8 years ago

I don't see any request to GET /hostgroups which would be the "Configure > Host groups" UI page. Also missing the API debug requested.

Actions #5

Updated by Anonymous about 7 years ago

  • Status changed from Need more information to Rejected

no reaction, closing

Actions

Also available in: Atom PDF