Re: [foreman-users] How to blacklist certain interfaces from being imported

2017-10-13 Thread Lukas Zapletal
Hello,

every puppet or rhsm fact update will add all missing NICs but never
delete existings. You can turn off this behavior, it's a global
setting not sure how its named but it will prevent from any NIC to be
created by facts.

LZ

On Thu, Oct 12, 2017 at 1:32 PM, 'Christian Schulze-Wiehenbrauk' via
Foreman users  wrote:
> Hi,
>
> we run a foreman installation with katello to provision our openstack
> environment. Openstack has the side effect to create a vast amount of
> interfaces and bridges on the compute nodes, which then will be imported
> into foreman. I'm looking for a way to want to avoid this.
> I tried to configure this with foreman-rake.  This setting is now:
>
> foreman-rake -- config -k ignored_interface_identifiers
> ["lo","usb*","vnet*","macvtap*","_vdsmdummy_","veth*","docker*","br-*","tap*","qbr*","qvb*","qvo*","qr-*","qg-*","vlinuxbr*","vovsbr*","vxlan*","ovs-*"]
>
> This does not help unfortunately. So I would appreciate if someone could
> explain the workflow of how foreman creates the interfaces to me.
> What I mean, is that I don't understand under which circumstance foreman
> creates a new entry for an interfaces for a host in the database. Does this
> happen only if facts are imported, are only new facts considered or are
> older facts merged?
>
> Thanks
> Christian
>
>
>
> --
> 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 foreman-users+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.



-- 
Later,
  Lukas @lzap Zapletal

-- 
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 foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


[foreman-users] How to blacklist certain interfaces from being imported

2017-10-12 Thread 'Christian Schulze-Wiehenbrauk' via Foreman users
Hi,

we run a foreman installation with katello to provision our openstack 
environment. Openstack has the side effect to create a vast amount of 
interfaces and bridges on the compute nodes, which then will be imported 
into foreman. I'm looking for a way to want to avoid this.
I tried to configure this with foreman-rake.  This setting is now:

foreman-rake -- config -k ignored_interface_identifiers
["lo","usb*","vnet*","macvtap*","_vdsmdummy_","veth*","docker*","br-*","tap*","qbr*","qvb*","qvo*","qr-*","qg-*","vlinuxbr*","vovsbr*","vxlan*","ovs-*"]

This does not help unfortunately. So I would appreciate if someone could 
explain the workflow of how foreman creates the interfaces to me.
What I mean, is that I don't understand under which circumstance foreman 
creates a new entry for an interfaces for a host in the database. Does this 
happen only if facts are imported, are only new facts considered or are 
older facts merged?

Thanks
Christian



-- 
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 foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.