Smart proxy ignore settings changes

Hi,
i installed the smart_proxy_dns_route53
after that changed /etc/foreman-proxy/settings.d/dns.yml to the following
values

[root@foreman settings.d]# cat dns.yml

··· --- # DNS management :enabled: true :use_provider: dns_route53 :dns_ttl: 60

also created a file called dns_route53.yml with the key and secret

when i’m restarting the proxy i see he takes the default values

[root@foreman config]# service foreman-proxy restart
Redirecting to /bin/systemctl restart foreman-proxy.service
I, [2015-08-23T09:26:52.505817 #31423] INFO – : ‘pulpnode’ module is
disabled.
I, [2015-08-23T09:26:52.506452 #31423] INFO – : ‘foreman_proxy’ settings
were initialized with default values: :enabled: true
I, [2015-08-23T09:26:52.508469 #31423] INFO – : ‘facts’ module is
disabled.
I, [2015-08-23T09:26:52.508789 #31423] INFO – : ‘dns’ settings were
initialized with default values: :dns_provider: nsupdate
I, [2015-08-23T09:26:52.510814 #31423] INFO – : ‘templates’ module is
disabled.
I, [2015-08-23T09:26:52.513092 #31423] INFO – : ‘dhcp’ module is disabled.
I, [2015-08-23T09:26:52.813941 #31423] INFO – : ‘puppet’ settings were
initialized with default values: :puppet_provider: puppetrun, :puppetdir:
/etc/puppet, :salt_puppetrun_cmd: puppet.run, :use_cache: true
I, [2015-08-23T09:26:52.816140 #31423] INFO – : ‘bmc’ module is disabled.
I, [2015-08-23T09:26:52.816493 #31423] INFO – : ‘realm’ module is
disabled.

someone had that issue before? even with different dns provider?
how did you solved it?

Thanks,
Eliran

Which version of foreman-proxy do you have installed? DNS providers
added in plugins are only going to be supported from 1.10, so you'll
need to use a version from our nightly repos until that release is out
in a few months.

··· On 23/08/15 10:32, Eliran Shlomo wrote: > Hi, > i installed the smart_proxy_dns_route53 > after that changed /etc/foreman-proxy/settings.d/dns.yml to the > following values > > [root@foreman settings.d]# cat dns.yml > --- > # DNS management > :enabled: true > :use_provider: dns_route53 > :dns_ttl: 60 > > also created a file called dns_route53.yml with the key and secret > > when i'm restarting the proxy i see he takes the default values > > [root@foreman config]# service foreman-proxy restart > Redirecting to /bin/systemctl restart foreman-proxy.service > I, [2015-08-23T09:26:52.505817 #31423] INFO -- : 'pulpnode' module is > disabled. > I, [2015-08-23T09:26:52.506452 #31423] INFO -- : 'foreman_proxy' > settings were initialized with default values: :enabled: true > I, [2015-08-23T09:26:52.508469 #31423] INFO -- : 'facts' module is > disabled. > I, [2015-08-23T09:26:52.508789 #31423] INFO -- : 'dns' settings were > initialized with default values: :dns_provider: nsupdate


Dominic Cleal
Red Hat Engineering

> someone had that issue before? even with different dns provider?
> how did you solved it?

When installed from our packages (at least on Red Hats), proxy reads
from /usr/share/foreman-proxy/config directory where we have symlinks
into /etc. Also, check the contents of settings.yaml file where the path
for settings.d dir is defined.

··· -- Later, Lukas #lzap Zapletal