[foreman-users] Re: how to upgrade 1.12.1 to 1.12.2

2016-09-16 Thread Erik Hjelmås
thanks Michael, you are absolutely correct, I was under the impression that puppet (foreman-installer) would take care of upgrading as well, but not so (yes I should have rtfm more carefully), a simple apt-get update/upgrade did the upgrade and foreman-installer ran also successfully afterward

[foreman-users] Re: how to upgrade 1.12.1 to 1.12.2

2016-09-16 Thread Michael Hurn
Hi Erik, It looks like you may have gone too deep with Foreman. The manual gives us a very good guide. https://theforeman.org/manuals/1.12/index.html#3.6Upgrade In short on RedHat/CentOS systems stop foreman & proxy, run yum upgrade and restart Foreman. I have upgraded Foreman a few times. I th

Re: [foreman-users] Adding tftp / pxe target

2016-09-16 Thread 'Jason B. Nance' via Foreman users
It has become apparent to me that the bigger issue here is that the Yum repos I'm syncing for OEL from Oracle aren't kickstart trees, so they are missing files such as squashfs.img. My first thought after that realization was to just slap the missing files into /var/lib/pulp/..., but that felt

Re: [foreman-users] Re: The operating system value changes after first puppet run.

2016-09-16 Thread Andrew Schofield
Ok, for anybody who is curious. Doing a PUT to /provisioning_templates/:id with {"provisioning_template" : {"template_combinations_attributes" : [{"hostgroup_id" : "73"}, {"hostgroup_id" : "77"}, {"hostgroup_id" : "81"}, {"hostgroup_id" : "85"}]}} Seems to do this trick. On Thursday, Septembe

[foreman-users] Adding tftp / pxe target

2016-09-16 Thread 'Jason B. Nance' via Foreman users
Hello, After I installed and configured (all via the web UI) Katello 3.1 / Foreman 1.12 and synced CentOS 7 repositories it seems that all of the tftp/pxe stuff necessary to do pxe installs of CentOS was automagically setup for me. For example, /var/lib/tftpboot/boot contains: CentOS-7-x86

Re: [foreman-users] Troubles with calling /api/v2/discovered_hosts/:id/refresh_facts

2016-09-16 Thread 'Konstantin Orekhov' via Foreman users
> > > > $ curl -kSs -H "Content-Type: application/json" -H > > "Accept:application/json" -u admin:$PASSWORD > > https://localhost/api/v2/discovered_hosts/mac008cfaed69c8/refresh_facts > | > > jq '.' > > { > > "status": "404", > > "error": "Not Found" > > } > > This API call is not HTT

[foreman-users] how to upgrade 1.12.1 to 1.12.2

2016-09-16 Thread Erik Hjelmås
Hi, sorry but Im not able to figure out how to do this, I use the foreman-installer, and Ive tried foreman-installer --foreman-version=latest but foreman still says 1.12.1 (login page and ~foreman/VERSION) any help greatly appreciated, have a good weekend everyone, /Erik -- You received t

Re: [foreman-users] Re: Tip: Passing puppetlabs/firewall configuration through Foreman web interface

2016-09-16 Thread Joseph Cunningham
Dominic, that was it! The value I was using in foreman to override the smart class parameter was not properly formatted yaml (i was missing indents) Thank you! On Friday, September 16, 2016 at 2:15:51 AM UTC-7, Dominic Cleal wrote: > > On 15/09/16 23:57, Joseph Cunningham wrote: > > I know t

Re: [foreman-users] check foreman definitions into git?

2016-09-16 Thread Anurag
On Thu, Sep 15, 2016 at 10:43 PM, Thomas Cheng wrote: > Is there a project to check foreman configs -- system variables, operating > systems, networks, hosts, hostgroups, etc -- into git for version control? > sync back from git to foreman (write operation) is optional as that is kind > of danger

Re: [foreman-users] Ubuntu Desktop-Unattended installation

2016-09-16 Thread Akash Kaveti
Thank you Dominic, That worked. On Thursday, September 15, 2016 at 2:38:11 PM UTC+2, Dominic Cleal wrote: > > On 15/09/16 13:11, Akash Kaveti wrote: > > Hello, > > > > I am trying to install ubuntu desktop, but I have succeeded. I have > > tried different mirrors but I ended up with Ubuntu ser

Re: [foreman-users] Re: Tip: Passing puppetlabs/firewall configuration through Foreman web interface

2016-09-16 Thread Dominic Cleal
On 15/09/16 23:57, Joseph Cunningham wrote: > I know this is an old thread, but following this guide, I'm getting the > following error when attempting to run puppet agent -t on the client: > > Info: Retrieving pluginfacts > Info: Retrieving plugin > Info: Loading facts > Error: Could not retrieve

Re: [foreman-users] Cannot get "Run Puppet" to work in GUI

2016-09-16 Thread Dominic Cleal
On 15/09/16 16:41, Scott Mckeown wrote: > > I have read just about every doc I can find on how to get the "run > puppet" button to work in the web ui with no luck. > I am trying to use the mcollective provider. > > The foreman documentation section only shows a few lines in a couple of > files t

Re: [foreman-users] Re: Provisioning Setup, not working :(

2016-09-16 Thread Lukas Zapletal
> Still fighting with this. Anyone have any thoughts? Are we not suppose to > be able to provision more than one subnet or something? Please report a bug. https://github.com/theforeman/foreman_setup/issues Note this plugin won't help you setting up *additional* provisioning network, it can onl

Re: [foreman-users] Troubles with calling /api/v2/discovered_hosts/:id/refresh_facts

2016-09-16 Thread Lukas Zapletal
> I'm getting the following error when I try to refresh facts of the > discovered hosts through actual API: > > $ curl -kSs -H "Content-Type: application/json" -H > "Accept:application/json" -u admin:$PASSWORD > https://localhost/api/v2/discovered_hosts/mac008cfaed69c8/refresh_facts | > jq '.'

Re: [foreman-users] [Katello] Applicable vs Installable errata

2016-09-16 Thread Edgars M.
Hi 1. It shows as installable 2. Yes, published and promoted I filed a bug http://projects.theforeman.org/issues/16544 Edgars ceturtdiena, 2016. gada 15. septembris 15:30:39 UTC+2, Walden Raines rakstīja: > > Hey Edgars, > > Sorry for the delay in my response but I have two more questions. >