Project

General

Profile

FAQ » History » Version 54

Lukas Zapletal, 07/23/2013 12:18 PM
adding how to get a console

1 13 Ohad Levy
{{toc}}
2 1 Ohad Levy
3 51 Kal Aeolian
h1. Common Issues
4 51 Kal Aeolian
5 51 Kal Aeolian
h2. I can't login with the 'admin' account and 'rake permissions:reset' gives me an error.
6 51 Kal Aeolian
7 52 Kal Aeolian
Your account was created without an FQDN email address. Login to your SQL server and run "update users set mail='admin@example.com' where login='admin';"
8 51 Kal Aeolian
9 53 Kal Aeolian
h2. I'm getting a 400 from my foreman-proxy when trying to:
10 53 Kal Aeolian
11 53 Kal Aeolian
h3. Allocate DHCP addresses.
12 53 Kal Aeolian
13 53 Kal Aeolian
Make sure both dhcpd.conf and the dhcp leases file are both readable by your foreman-proxy user.
14 53 Kal Aeolian
15 53 Kal Aeolian
h3. Run Puppet CA
16 53 Kal Aeolian
17 53 Kal Aeolian
Puppet needs special sudo permissions. Pay close attention to the manual at this section - http://theforeman.org/manuals/1.2/index.html#4.3.2SmartProxySettings - specifically, "Puppet Certificate Authority Section".
18 53 Kal Aeolian
19 51 Kal Aeolian
h1. Other FAQ
20 51 Kal Aeolian
21 46 Greg Sutcliffe
h2. Does Foreman support Puppet 3?
22 46 Greg Sutcliffe
23 47 Dominic Cleal
Support for Puppet 3 has been added in Foreman 1.1 (proxy and web UI).  The [[PuppetThreeWorkarounds]] page has additional details.
24 46 Greg Sutcliffe
25 48 Ken Barber
h2. How does Foreman work with PuppetDB?
26 48 Ken Barber
27 48 Ken Barber
Foreman does not use PuppetDB, nor does PuppetDB use Foreman. While they can both be used at the same time if you wish, there is no integration between these two tools.
28 48 Ken Barber
29 48 Ken Barber
In the past Foreman used to use the ActiveRecord based Storeconfigs setup, to access facts but this is now deprecated (see [[Puppet Facts]] for the correct way to configure this now).
30 48 Ken Barber
31 48 Ken Barber
Reports can now be stored in PuppetDB (since version 1.1.0) but Foreman uses its own report storage to present reports to you, and will not use the reports stored in PuppetDB.
32 48 Ken Barber
33 50 Ohad Levy
If you wish to use an alternative to PuppetDB exported resources, you can utilize foreman search API - see "This Blog Entry":http://blog.theforeman.org/2012/01/getting-foreman-search-results-into.html
34 48 Ken Barber
35 44 Romain Vrignaud
h2. I'm not using Storeconfigs, how can I still use Foreman?
36 1 Ohad Levy
37 17 Ohad Levy
See [[Puppet Facts]]
38 1 Ohad Levy
39 42 Romain Vrignaud
h2. I'm using Storeconfigs, how can I populate various settings in Foreman that are required for hands free (unattended) installations?
40 1 Ohad Levy
41 1 Ohad Levy
See [[Puppet Facts]]
42 42 Romain Vrignaud
43 22 Ohad Levy
h2. I don't want to use Foreman for unattended installations can I disable it?
44 1 Ohad Levy
45 46 Greg Sutcliffe
see [[Unattended_installations#Deactivation]]
46 37 Romain Vrignaud
47 42 Romain Vrignaud
h2. How can I migrate from an other External Node Classifier to Foreman ?
48 18 Ohad Levy
49 18 Ohad Levy
see [[External Nodes#Import-your-external-node-setup-from-an-older-external-node-setup]]
50 1 Ohad Levy
51 42 Romain Vrignaud
h2. How do I configure my database ?
52 35 Romain Vrignaud
53 1 Ohad Levy
see [[Database configuration]]
54 44 Romain Vrignaud
55 44 Romain Vrignaud
h2. Can I switch from SQLite to MySQL and keep my data ?
56 44 Romain Vrignaud
57 44 Romain Vrignaud
see [[Database_configuration]]
58 20 Ohad Levy
59 54 Lukas Zapletal
h2. How do I start a Rails Console?
60 54 Lukas Zapletal
61 54 Lukas Zapletal
Use
62 54 Lukas Zapletal
63 54 Lukas Zapletal
    cd /usr/share/foreman
64 54 Lukas Zapletal
    rails console
65 54 Lukas Zapletal
66 54 Lukas Zapletal
or if you use RHEL6
67 54 Lukas Zapletal
68 54 Lukas Zapletal
    scl enable ruby193 "rails console"
69 54 Lukas Zapletal
70 54 Lukas Zapletal
Warning: Make a backup of your data if you are going to commit any data changes via console.
71 54 Lukas Zapletal
72 42 Romain Vrignaud
h2. What about other operating systems?
73 5 Ohad Levy
74 40 Romain Vrignaud
see [[Other_operating_system]]
75 14 Ohad Levy
76 42 Romain Vrignaud
h2. Will Foreman manage non OpenSource services (e.g. DNS/DHCP etc) ?
77 14 Ohad Levy
78 36 Romain Vrignaud
Yes! we understand that many enterprises relay on non opensource infrastrucutre as well. We support MS DNS and DHCP services
79 14 Ohad Levy
If you have any additional requirements, please enter a feature request.
80 14 Ohad Levy
81 42 Romain Vrignaud
h2. Whats planned for the next major release?
82 1 Ohad Levy
83 34 Romain Vrignaud
See the "roadmap":http://theforeman.org/projects/foreman/roadmap
84 14 Ohad Levy
85 34 Romain Vrignaud
If you want additional features, please open a new feature request "here":http://theforeman.org/projects/foreman/issues/new !
86 45 Romain Vrignaud
87 45 Romain Vrignaud
h2. I want to contribute, how can I do ?
88 45 Romain Vrignaud
89 45 Romain Vrignaud
see [[Contribute]]