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

The mysql database is populated (tables are created, etc).  So the 
connection is fine.

[DEBUG 2016-12-12 21:30:49 main]  Foreman_smartproxy[foreman.mydomain.com](
provider=rest_v3): Making get request to 
https://foreman.mydomain.com/api/v2/smart_proxies?search=name=%22foreman.mydomain.com%22
 

[DEBUG 2016-12-12 21:30:55 main]  Foreman_smartproxy[foreman.mydomain.com](
provider=rest_v3): Received response 503 from request to 
https://foreman.mydomain.com/api/v2/smart_proxies?search=name=%22foreman.mydomain.com%22
 

[ERROR 2016-12-12 21:30:55 main]  /Stage[main]/Foreman_proxy::Register/
Foreman_smartproxy[foreman.mydomain.com]: Could not evaluate: Proxy foreman.
mydomain.com cannot be retrieved: unknown error (response 503) 
[ERROR 2016-12-12 21:30:55 main] /usr/share/foreman-installer/modules/
foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:7:in `proxy' 
[ERROR 2016-12-12 21:30:55 main] 
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in
 
`
[ERROR 2016-12-12 21:30:55 main] /usr/share/foreman-installer/modules/
foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in `id' 
[ERROR 2016-12-12 21:30:55 main] 
/usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in
 
`exists?'
[ERROR 2016-12-12 21:30:55 main] /usr/share/foreman-installer/modules/
foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in `exists?'


Any ideas?
It seems that I will have to install first with postgresql and then migrate.

I can attach the full log if necessary.

-rsd

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