Omnibus chef server 11 on IPv6?


#1

I recently (finally) upgraded to Chef 11.0.8, installed from the omnibus RPM, on CentOS 6.4.

I can’t get nginx to listen on IPv6. After some troubleshooting, it seems to me that nginx is not compiled with IPv6 support - or am I missing something?

nginx -V should report --with-ipv6 but it does not:

/opt/chef-server/embedded/sbin/nginx -V

nginx version: nginx/1.2.3
built by gcc 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/opt/chef-server/embedded --with-http_ssl_module --with-debug --with-ld-opt=-L/opt/chef-server/embedded/lib --with-cc-opt=’-L/opt/chef-server/embedded/lib -I/opt/chef-server/embedded/include’

Is this intentional, or am I overlooking something?

Thanks!


#2

Pretty sure that this is the source with the details for where nginx
options are set during the build. It does not appear to be compiled with
IPv6 support if it has to be set explicitly.

-Pete

On Sat, Sep 28, 2013 at 11:28 PM, Kevin Keane Subscription <
subscription@kkeane.com> wrote:

**
I recently (finally) upgraded to Chef 11.0.8, installed from the omnibus
RPM, on CentOS 6.4.

I can’t get nginx to listen on IPv6. After some troubleshooting, it seems
to me that nginx is not compiled with IPv6 support - or am I missing
something?

nginx -V should report --with-ipv6 but it does not:

/opt/chef-server/embedded/sbin/nginx -V

nginx version: nginx/1.2.3
built by gcc 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/opt/chef-server/embedded
–with-http_ssl_module --with-debug
–with-ld-opt=-L/opt/chef-server/embedded/lib
–with-cc-opt=’-L/opt/chef-server/embedded/lib
-I/opt/chef-server/embedded/include’

Is this intentional, or am I overlooking something?

Thanks!


#3

petecheslock@gmail.com writes:

Pretty sure that this is the source with the details for where nginx
options are set during the build. It does not appear to be compiled with
IPv6 support if it has to be set explicitly.

https://github.com/opscode/omnibus-software/blob/master/config/software/nginx.rb

Yes, that’s where the build of nginx is configured for what ends up
getting packaged into the OS pkg that omnibus-chef-server produces.

On Sat, Sep 28, 2013 at 11:28 PM, Kevin Keane Subscription <

I can’t get nginx to listen on IPv6. After some troubleshooting, it seems
to me that nginx is not compiled with IPv6 support - or am I missing
something?

nginx -V should report --with-ipv6 but it does not:

/opt/chef-server/embedded/sbin/nginx -V

nginx version: nginx/1.2.3
built by gcc 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/opt/chef-server/embedded
–with-http_ssl_module --with-debug
–with-ld-opt=-L/opt/chef-server/embedded/lib
–with-cc-opt=’-L/opt/chef-server/embedded/lib
-I/opt/chef-server/embedded/include’

Is this intentional, or am I overlooking something?

Not intentional. I’ve created a ticket 1 to track this so that we
include that flag in the next release of the server packages.

  • seth


Seth Falcon | Development Lead | Opscode | @sfalcon


#4

Thank you! Turns out that it was already reported as CHEF-4576

-----Original message-----
From: Pete Cheslock petecheslock@gmail.com
Sent: Saturday 28th September 2013 20:36
To: chef@lists.opscode.com
Subject: [chef] Re: Omnibus chef server 11 on IPv6?

Pretty sure that this is the source with the details for where nginx options are set during the build. It does not appear to be compiled with IPv6 support if it has to be set explicitly.

-Pete

On Sat, Sep 28, 2013 at 11:28 PM, Kevin Keane Subscription <subscription@kkeane.com mailto:subscription@kkeane.com > wrote:

I recently (finally) upgraded to Chef 11.0.8, installed from the omnibus RPM, on CentOS 6.4.

I can’t get nginx to listen on IPv6. After some troubleshooting, it seems to me that nginx is not compiled with IPv6 support - or am I missing something?

nginx -V should report --with-ipv6 but it does not:

/opt/chef-server/embedded/sbin/nginx -V

nginx version: nginx/1.2.3
built by gcc 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/opt/chef-server/embedded --with-http_ssl_module --with-debug --with-ld-opt=-L/opt/chef-server/embedded/lib --with-cc-opt=’-L/opt/chef-server/embedded/lib -I/opt/chef-server/embedded/include’

Is this intentional, or am I overlooking something?

Thanks!