Couple questions, is this expected behavior?

So I've noticed that Foreman seems to be a bit picky about the organization 
when it comes to subnets, specifically subnet6 in my case. When I attempt 
to use a subnet that is within the organizational tree (higher tier) I 
expect that it will be allowed for any other org under it. However if it's 
not specifically set for the organization building the host I get the 
following error.

2017-11-07 15:59:41 3dc15ff2 [app] [I] Failed to save: Subnet is not defined 
for host's organization., Subnet6 is not defined for host's organization.

For example the organization is this.

-Foo
 --Management
  ---Secretary
 --Engineers
  ---Technical
  ---Software

Such that Management is under Foo (foo/management)... etc 
foo/engineers/technical, foo/engineers/software etc.

When I attempt to build a host as org "foo/engineers/technical" it won't 
build if it only has organization of "foo". I expected it would because 
"foo" includes everything below it. However to get it to work I had to set 
the organization to "foo/engineers/technical" to get it to work.


The other thing I noticed was when building a host in with host group the 
virtual settings were slightly wonky.

Say you have a host groups setup like this.

Common
-Generic
--STTLPOP
--DLLPOP
-Mail
--STTLPOP
--DLLPOP

So that you're working with hostgroups that are nested like 
"Common/Generic/STTLPOP" and "Common/Mail/DLLPOP".

If I set the "compute profile option" for a node below "Common" such as 
"DLLPOP" or "STTLPOP" to "inherit" when building you'd have to select the 
cluster/guest os/resource pool and many other virtual machine settings. If 
you do not use inherit and set to "Small" it will work normally.

I was expecting since all pops/DCs would have a compute profile "small" 
that it would be selected from the right compute resource.



-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to