Re: [foreman-users] Re: Foreman, Puppet and Windows 2012 R2?

2016-06-23 Thread Marek Hulán
Hello I'm not a windows expert but I thought default ethernet name in Windows is "Local area connection" which is converted to "local_area_connection" by facter. We considered "_" as a vlan separator, since on Linux facter reports "eth0.0" as "eth0_1". The local area connection support was adde

Re: [foreman-users] How to configure Bonding interfaces using Foreman ver. 1.8.0‏

2016-07-28 Thread Marek Hulán
On Thursday 28 of July 2016 11:04:08 nilelinux . wrote: > Hi All, > > Please I have installed Foreman version 1.8.0 on CentOS 7.1. I > could provision CentOS to a HP blade server which has 6 NICs but I don't > know how to configure Bonding on these interfaces. I would like to use > Forman to con

Re: [foreman-users] How to configure Bonding interfaces using Foreman ver. 1.8.0‏

2016-08-04 Thread Marek Hulán
n advance, > Regards, > Mostafa > > On Thu, Jul 28, 2016 at 4:45 PM, Marek Hulán wrote: > > On Thursday 28 of July 2016 11:04:08 nilelinux . wrote: > > > Hi All, > > > > > > Please I have installed Foreman version 1.8.0 on CentOS 7.1. I > > &g

Re: [foreman-users] Re: Setting up chef client to use smart proxy of Foreman

2016-08-04 Thread Marek Hulán
On Wednesday 03 of August 2016 02:22:29 Abir wrote: > I don't think the Chef plugin can act as a proxy for the Chef server. I > don't believe that would be possible ( or very secure ). > > This diagram in the official manual will give you an > idea:https://theforeman.org/plugins/foreman_chef/0.3/c

Re: [foreman-users] Adding subnet details to Interface hash sent via orchestration 'create' event

2016-08-26 Thread Marek Hulán
Hello Sorry I'm not aware of that change. Since this sounds like something useful for everybody and you already got a patch, could you please create a redmine issue and send a pull request so we incorporate it? You can find information about the process at [1]. One potential benefit for you - y

[foreman-users] Does anyone let non-admin users manage roles?

2016-08-26 Thread Marek Hulán
Hello after some work that has been done on Roles and Organization/Locations recently we realized that we tend to support very complicated feature. We allow delegate role editing permissions to non-admin users. When Organizations and Locations are also enabled, users and filters can be scoped t

Re: [foreman-users] Foreman ENC and Facts

2016-09-07 Thread Marek Hulán
On Tuesday 06 of September 2016 20:41:13 Luke Tinker wrote: > Hi everyone, > > hopefully someone can point me in the right direction here > I started using foreman earlier this year, > > The short of what i want to achieve is have Foreman Host Name field > provided as a fact so puppet can use it

Re: [foreman-users] Cannot provision vnic correctly

2016-09-22 Thread Marek Hulán
Hello, the problem in this case is probably that we configure these interfaces during last step of provisioning (%post in case of kickstart, finish script in case of debian). If you need to use VLAN for the actual installation you should be able to achieve it by changing provisioning template,

Re: [foreman-users] Re: Cannot provision vnic correctly

2016-09-23 Thread Marek Hulán
Hello According to what I see, the --nameserver [1] is used from subnet of primary interface. I think the provisioning interface was meant only for PXE boot but the rest of the installation goes through primary interface including downloading the content. I'm still a bit confused about your se

Re: [foreman-users] Re: Cannot provision vnic correctly

2016-09-27 Thread Marek Hulán
On Monday 26 of September 2016 16:14:36 Lukas Zapletal wrote: > > According to what I see, the --nameserver [1] is used from subnet of > > primary interface. I think the provisioning interface was meant only for > > PXE boot but the rest of the installation goes through primary interface > > includ

Re: [foreman-users] Limited user for Foreman VMware plguin

2016-09-28 Thread Marek Hulán
Hello, if you don't want Foreman to delete the host, simply make it unmanaged before the deletion. Go to host edit form and click "Unmanage" button in top right corner. You can also disassociate the VM from Foreman host in compute resource detail page. If Foreman does not try to write to VMware

Re: [foreman-users] config_group fact missing?

2016-09-28 Thread Marek Hulán
Hello please see answers below in text On Wednesday 28 of September 2016 15:18:35 Chris Baldwin wrote: > Hi, > > I can't seem to use/find the config_group fact (for puppet) in 1.12 > anymore. Did I miss something? I saw the bug fix in 1.12.3 for sorting by > config_group and hostgroup, but that

Re: [foreman-users] Foreman ENC and Facts

2016-09-30 Thread Marek Hulán
Hello Luke based on output you sent you can tell which one is primary. I think you'd have to write some puppet function for finding it in that array. Also this [1] puppet module could be used for inspiration for how to parse ENC data. [1] https://github.com/treydock/puppet-foreman_networking H

Re: [foreman-users] Remote Execution - SSH User

2016-10-12 Thread Marek Hulán
Hello, you can change SSH user too by modifying the remote_execution_ssh_user parameter as mentioned at [1]. The granularity is per host/host group/subnet/domain/os/organization/location. Unfortunately it's impossible to configure it per job template (command) right now. The reason for this des

Re: [foreman-users] Re: unable to create bond or bridge with foreman 1.13

2016-11-01 Thread Marek Hulán
Hello, what you describe sounds as UI issue, the JS should redraw the form so one could specify attached devices etc. It seems easily reproducible and is probably caused by strong params change. Please send the issue number here. A workaround might be to use API for now. -- Marek On pondělí 3

Re: [foreman-users] Can you use Host Collection as a Smart Matcher

2016-11-04 Thread Marek Hulán
On úterý 1. listopadu 2016 20:21:01 CET Greg Payne wrote: > Hi All, > > I'd like to use host collection as an attribute in a smart matcher that's > applied to a specific smart class parameter override in puppet. > > Looking in a hosts YAML file i don't see host collection listed as one of > the p

[foreman-users] Multi organizations setups and conflicting puppet modules

2017-03-01 Thread Marek Hulán
Hello Foreman users, I wonder how people using multiple organizations in Foreman manage their puppet modules. Let's assume I have two organizations A and B and I want them to be isolated as much as possible. Since puppet environments can be scoped to organization, we can have separate environme

Re: [foreman-users] Re: Multi organizations setups and conflicting puppet modules

2017-03-05 Thread Marek Hulán
o > an existing environment. It has worked very well in clean test labs where > nothing pre-existing was setup. > > On Wednesday, March 1, 2017 at 9:56:23 AM UTC-5, Marek Hulán wrote: > > Hello Foreman users, > > > > I wonder how people using multiple organizations in Forem

Re: [foreman-users] Location Permissions issues

2017-07-31 Thread Marek Hulán
I think you're hitting [1], the fix is in review [2]. [1] http://projects.theforeman.org/issues/6150/ [2] https://github.com/theforeman/foreman/pull/4111 Hope this helps -- Marek On pondělí 24. července 2017 20:18:53 CEST Tim Rosine wrote: > I am having issues dealing with locations/organizatio

Re: [foreman-users] foreman + ansible integration not working properly + no facts+ not able to execute role in dashboard

2017-08-04 Thread Marek Hulán
Hello, for the facts upload I think I found the fix. You will need to modify the callback script, try applying this patch [1]. It seems that in some cases, there's no setup module, so we also check ansible_facts being present. [1] https://github.com/theforeman/foreman_ansible/pull/96/files Hop

Re: [foreman-users] Re: Foreman OpenSCAP problems

2017-08-27 Thread Marek Hulán
Hello, parameters should be automatically set when you in last step of the wizard assign the policy to the hostgroup. It should override puppet parameters on it. If you didn't assign any hostgroup to the policy, you'd need to do it manually. Hope this helps -- Marek On čtvrtek 24. srpna 2017

Re: [foreman-users] [event] UX proposals, provisioning wizards - 30th Aug (tomorrow) 2pm UK

2017-08-31 Thread Marek Hulán
On středa 30. srpna 2017 18:53:38 CEST Tom McKay wrote: > Provisioning flow looks great! > > I understand the idea of "wizard that then lands on existing host page" but > I'd not want to see that in production. If the wizard were using the API > instead of the host form, would the existing host pa

Re: [foreman-users] Help with Foreman's external authentication with FreeIPA. (Kerberos)

2017-09-11 Thread Marek Hulán
Hello, I think all you need to do is documented at https://theforeman.org/manuals/ 1.15/#5.7.1ConfigurationviaForemaninstaller, as long as the host is FreeIPA enrolled, you just create a service for it and run installer with --foreman- ipa-authentication=true You seem to be using old version of

Re: [foreman-users] multi NIC host report wrong IP

2016-06-13 Thread Marek Hulán
Hello, In recent Foreman versions, all interfaces are being imported into Foreman and you can choose what interface is primary. We no longer rely on "ip" fact since it's not reliable. So in Foreman 1.8+ you should be able too see all interfaces and their IPs in host detail page. If you're not

Re: [foreman-users] multi NIC host report wrong IP

2016-06-13 Thread Marek Hulán
P is getting changed to original > value(maybe It caused by fact?)... > anyway, It works fine. thanks for your help :) > > On Monday, June 13, 2016 at 5:27:42 PM UTC+9, Marek Hulán wrote: > > Hello, > > > > In recent Foreman versions, all interfaces are being imported int

Re: [foreman-users] Re: [Katello 2.1] New Domain Error - "Has already been taken"

2016-06-21 Thread Marek Hulán
Hello on host listing page click a checkbox next to host. A new select box will appear in right upper corner, select action "Assign organization" Hope this helps -- Marek On Monday 20 of June 2016 05:18:45 amysengsay.prestata...@si2m.fr wrote: > Hi Fernando, > > I got the same issue. > How do

Re: [foreman-users] "Pending installation" buidl status

2016-06-23 Thread Marek Hulán
Hello there seems to be some validation problem during the host saving so it does not save the status change. Maybe this PR [1] would help with the status update but the original cause is something different. When you go to the host and try to save it with just new comment, do you see some vali

[foreman-users] Displaying a time information in host, reports and facts tables

2017-09-20 Thread Marek Hulán
Hello everyone, I was working on date format unification recently and as part of that, it turned out we have different opinions on when to use relative form and when absolute one. Imagine a hosts table and its last report column. Today we display a relative time information, e.g. "1 month ago",

Re: [foreman-users] Templates

2017-09-26 Thread Marek Hulán
In fact anything that triggers foreman-rake db:seed changes the default template content (Foreman 1.14+). That can be run of foreman-installer, installing a plugin or manual trigger. These changes are not audited IIRC. If you need to adjust template that is shipped by default, it is a good idea

Re: [foreman-users] Re: Templates

2017-09-26 Thread Marek Hulán
Hello Ido, no it's not what locked means. When template is locked, it can't be edited by users. User need to unlock them first, which gives them a warning about the template content can be overridden. Hope that helps -- Marek On úterý 26. září 2017 16:08:03 CEST Ido Kaplan wrote: > Hi Marek,

Re: [foreman-users] Assign user groups to organizations?

2017-10-08 Thread Marek Hulán
On sobota 7. října 2017 3:08:45 CEST Charlie Baum wrote: > Trying to see if Foreman can handle a multi-tenancy model and I believe it > can or its close except I can't see/find where to associate a user group > with an organization. Under the organization menu, there is only Users, > not User Grou

Re: [foreman-users] Foreman 1.15.1 error rendering the Kickstart default template (subnet6 issue)

2017-10-09 Thread Marek Hulán
Hello, it looks like http://projects.theforeman.org/issues/14664 which was fixed in 1.13, subnet6 is among allowed attributes. The error message might be misleading, double check the host interfaces. You can debug the snippet using the preview button when editing the template. -- Marek On čtv

Re: [foreman-users] Foreman 1.15.1 error rendering the Kickstart default template (subnet6 issue)

2017-10-10 Thread Marek Hulán
at 4:01:16 AM UTC-5, Marek Hulán wrote: > > Hello, > > > > it looks like http://projects.theforeman.org/issues/14664 which was fixed > > in > > 1.13, subnet6 is among allowed attributes. The error message might be > > misleading, double check the host interf

Re: [foreman-users] Deleted host via api, how to re-add?

2017-10-20 Thread Marek Hulán
On čtvrtek 19. října 2017 20:12:43 CEST gav...@nvidia.com wrote: > Normally when I provision a server, when puppet runs the host is > automatically added to Foreman. I recently worked on a de-provision > process and tested uses the api to delete a host. Afterwards on a > re-provision of the host

Re: [foreman-users] rake aborted! foreman-rake db:seed

2017-10-20 Thread Marek Hulán
> > https://theforeman.org/manuals/1.15/index.html#Upgradewarnings > > This has to do with my issue? Yes, that's "the cause" but it's an issue of foreman_salt plugin that needs to be fixed. -- Marek On pátek 20. října 2017 16:34:24 CEST Sam Amara wrote: > Hi, > > I have just find this: > >

Re: [foreman-users] AD/LDAP group authentication?

2017-10-27 Thread Marek Hulán
On pátek 6. října 2017 22:27:46 CEST Charlie Baum wrote: > Pretty new to Foreman and standing up our first POC of the product. > > Can someone verify/shoot down a question I have? Does Foreman not support > AD group authentication? In other words, can you authenticate to the > Foreman UI without

Re: [foreman-users] Re: 1.16RC2 and AD LDAP

2017-11-07 Thread Marek Hulán
On úterý 7. listopadu 2017 17:16:19 CET mevans@gmail.com wrote: > Thanks for doing the legwork on this. I was pulling my hair out all morning > because I decided to tackle AD LDAP auth with our 1.16-RC2 deployment. > > Is there any way to fix this manually until RC3 is released? I tried adding

Re: [foreman-users] Foreman n00b having startup issues

2017-11-14 Thread Marek Hulán
Hello, I have no idea how the foreman was installed but chances are you are using rpm based installation. In that case, if you install foreman_memcache, make sure you install it into SCL. scl enable tfm bash gem list # if you don't see foreman_memcache there try following gem install foreman_me

Re: [foreman-users] Feedback wanted - migrate mailing lists to a forum?

2017-11-22 Thread Marek Hulán
Dne středa 22. listopadu 2017 11:59:16 CET, Greg Sutcliffe napsal(a): > Heya! > > Answers in-line, but I wanted to put a quick summary here for folks in a > hurry. Most, if not all, of these questions are *technical* in nature - > they are things we can alter, either by existing settings, or by >

Re: [foreman-users] limit host provisioning

2017-11-26 Thread Marek Hulán
Hello, if by limit you mean something like there can exist only 5 hosts in this hostgroup, there's nothing like that in core AFAIK. If you use some compute resource, chance is limits/quotas can be set there. If you don't need hard limits and you simply want prevent users from misusing resources