On 12/12/16 23:38, Raul Dias wrote:
> Hello,
> 
> The world of foreman/puppet is new to me. 
> 
> I am trying to install Foreman in a Debian Jessie with MySQL support
> from the beginning.
> This fails.
> 
> The install is in a LXC (2.0).
> 
> If I do a plain foreman-installer (with the default PostgreSQL), it
> works fine.  So, there must be some issue regarding the MySQL support in
> the installer anyhow (1.13).
> 
> foreman-installer--foreman-db-type=mysql \
> --foreman-db-manage=false \
> --foreman-db-host=mysql \
> --foreman-db-database=foreman \
> --foreman-db-username=foreman \
> --foreman-db-password=mypassword

Note that these options are different to the default in that they assume
a pre-existing database.

> The mysql database is populated (tables are created, etc).  So the
> connection is fine.
> 
>     |
>     [DEBUG
>     2016-12-1221:30:49main] 
> Foreman_smartproxy[foreman.mydomain.com](provider=rest_v3):Makinggetrequest
>     to
>     
> https://foreman.mydomain.com/api/v2/smart_proxies?search=name=%22foreman.mydomain.com%22
> 
>     |
>     |
>     [DEBUG
>     2016-12-1221:30:55main] 
> Foreman_smartproxy[foreman.mydomain.com](provider=rest_v3):Receivedresponse
>     503fromrequest to
>     
> https://foreman.mydomain.com/api/v2/smart_proxies?search=name=%22foreman.mydomain.com%22

Can you view the web page at https://foreman.mydomain.com? What error
message does it show? If none, also check/pastebin logs under
/var/log/apache2.

The error here indicates the installer received an error when connecting
to the running Foreman instance it tried to install. A 503 indicates
it's temporarily unavailable for some reason.

-- 
Dominic Cleal
[email protected]

-- 
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