Foreman-proxy MS DNS GSS - uninitialized constant Proxy::DNS::Nsupdate

Could you try adding this to the top of nsupdate_gss.rb?

require 'proxy/dns/nsupdate'

··· On 17/05/13 11:59, Daniel Obi wrote: > Greetings, > > we are using https://github.com/theforeman/smart-proxy/commit/7e72434 > foreman-proxy but during provisioning we get the error: > > > E, [2013-05-17T12:53:37.838548 #16508] ERROR -- : uninitialized constant > Proxy::DNS::Nsupdate > D, [2013-05-17T12:53:37.838776 #16508] DEBUG -- : > /usr/share/foreman-proxy/bin/../lib/proxy/dns/nsupdate_gss.rb:4


Dominic Cleal
Red Hat Engineering

Hi Dominic,

thanks, that fixed the problem!!

greetings

Daniel

··· Am Sonntag, 19. Mai 2013 11:20:42 UTC+2 schrieb Dominic Cleal: > > On 17/05/13 11:59, Daniel Obi wrote: > > Greetings, > > > > we are using https://github.com/theforeman/smart-proxy/commit/7e72434 > > foreman-proxy but during provisioning we get the error: > > > > > > E, [2013-05-17T12:53:37.838548 #16508] ERROR -- : uninitialized constant > > Proxy::DNS::Nsupdate > > D, [2013-05-17T12:53:37.838776 #16508] DEBUG -- : > > /usr/share/foreman-proxy/bin/../lib/proxy/dns/nsupdate_gss.rb:4 > > Could you try adding this to the top of nsupdate_gss.rb? > > require 'proxy/dns/nsupdate' > > -- > Dominic Cleal > Red Hat Engineering >

Great, thanks for reporting it. I've filed #2523 with the patch for 1.2.

I'd be interested in hearing how you get on with the GSS-TSIG support too!

··· -- Dominic Cleal Red Hat Engineering

On 21/05/13 07:52, Daniel Obi wrote:

Hi Dominic,

thanks, that fixed the problem!!

greetings

Daniel

Am Sonntag, 19. Mai 2013 11:20:42 UTC+2 schrieb Dominic Cleal:

On 17/05/13 11:59, Daniel Obi wrote:
> Greetings,
>
> we are using
https://github.com/theforeman/smart-proxy/commit/7e72434
<https://github.com/theforeman/smart-proxy/commit/7e72434>
> foreman-proxy but during provisioning we get the error:
>
>
> E, [2013-05-17T12:53:37.838548 #16508] ERROR -- : uninitialized
constant
> Proxy::DNS::Nsupdate
> D, [2013-05-17T12:53:37.838776 #16508] DEBUG -- :
> /usr/share/foreman-proxy/bin/../lib/proxy/dns/nsupdate_gss.rb:4

Could you try adding this to the top of nsupdate_gss.rb?

require 'proxy/dns/nsupdate'

-- 
Dominic Cleal
Red Hat Engineering


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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Dominic,

first tests were stable. created the keytab and configured the
settings.yml.

At the moment i'm building rpms with maven for your rkerberos and the
foreman-proxy with tsig support.
After that we'll try to setup a proxy in production.

by the way, at the moment we are running two dns proxy server, one for bind
and on for ms dns. When i turn on debug logging for the proxies, during
provisioning of a vm i can see the operation on both proxy logs even only
one is actually updating one dns server.

greetings

daniel

··· Am Dienstag, 21. Mai 2013 11:21:28 UTC+2 schrieb Dominic Cleal: > > Great, thanks for reporting it. I've filed #2523 with the patch for 1.2. > > I'd be interested in hearing how you get on with the GSS-TSIG support too! > > -- > Dominic Cleal > Red Hat Engineering > > On 21/05/13 07:52, Daniel Obi wrote: > > Hi Dominic, > > > > thanks, that fixed the problem!! > > > > greetings > > > > Daniel > > > > Am Sonntag, 19. Mai 2013 11:20:42 UTC+2 schrieb Dominic Cleal: > > > > On 17/05/13 11:59, Daniel Obi wrote: > > > Greetings, > > > > > > we are using > > https://github.com/theforeman/smart-proxy/commit/7e72434 > > > > > foreman-proxy but during provisioning we get the error: > > > > > > > > > E, [2013-05-17T12:53:37.838548 #16508] ERROR -- : uninitialized > > constant > > > Proxy::DNS::Nsupdate > > > D, [2013-05-17T12:53:37.838776 #16508] DEBUG -- : > > > /usr/share/foreman-proxy/bin/../lib/proxy/dns/nsupdate_gss.rb:4 > > > > Could you try adding this to the top of nsupdate_gss.rb? > > > > require 'proxy/dns/nsupdate' > > > > -- > > Dominic Cleal > > Red Hat Engineering > > > > -- > > 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 foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com. > > > Visit this group at http://groups.google.com/group/foreman-users?hl=en. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > >

> Hi Dominic,
>
> first tests were stable. created the keytab and configured the
> settings.yml.

Good to hear!

> At the moment i'm building rpms with maven for your rkerberos and the
> foreman-proxy with tsig support.
> After that we'll try to setup a proxy in production.

If it helps, I aim to be publishing 1.2.0-RC1 today which will include
EL6 x86_64 packages. Keep an eye out!

> by the way, at the moment we are running two dns proxy server, one for
> bind and on for ms dns. When i turn on debug logging for the proxies,
> during provisioning of a vm i can see the operation on both proxy logs
> even only one is actually updating one dns server.

DNS servers are used twice in Foreman - one is associated with the
domain for forward DNS and one associated with the subnet for reverse
DNS. Perhaps the subnet is managed by the MS DNS proxy and the domain
by the BIND proxy?

··· On 24/05/13 09:06, Daniel Obi wrote:


Dominic Cleal
Red Hat Engineering

Hi, Dominic,

yes the Subnet is managed by both DNS Servers. It was just for testing and
we thought it might have to do with it.

I will sync the RC Channel and try the new proxy. Will the proxy 1.2 work
with foreman 1.1? / We will see :slight_smile:

Thanks and greetings and keep up the very good work!!

Daniel

··· Am Freitag, 24. Mai 2013 10:13:27 UTC+2 schrieb Dominic Cleal: > > On 24/05/13 09:06, Daniel Obi wrote: > > Hi Dominic, > > > > first tests were stable. created the keytab and configured the > > settings.yml. > > Good to hear! > > > At the moment i'm building rpms with maven for your rkerberos and the > > foreman-proxy with tsig support. > > After that we'll try to setup a proxy in production. > > If it helps, I aim to be publishing 1.2.0-RC1 today which will include > EL6 x86_64 packages. Keep an eye out! > > > by the way, at the moment we are running two dns proxy server, one for > > bind and on for ms dns. When i turn on debug logging for the proxies, > > during provisioning of a vm i can see the operation on both proxy logs > > even only one is actually updating one dns server. > > DNS servers are used twice in Foreman - one is associated with the > domain for forward DNS and one associated with the subnet for reverse > DNS. Perhaps the subnet is managed by the MS DNS proxy and the domain > by the BIND proxy? > > -- > Dominic Cleal > Red Hat Engineering >