Last active
November 17, 2015 20:28
-
-
Save greg-1-anderson/3ca71937f65240af2f94 to your computer and use it in GitHub Desktop.
btool converge -s
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ btool converge -s | |
Converging on the command line is dangerous since it does not check if a converge is in progress in jenkins. Are you sure you don't want to run converge within jenkins? | |
Please confirm that you want to do this (yes/no). yes | |
Converging site 180788fb-b5ce-4dd3-9b9e-1cccdff62c20 environment dev | |
{"max_bindings": "", "run_list": ["recipe[endpoint::bindings]"], "binding_id": "3e13d6e5ab8d4c5db2f9f26c75432625"} | |
/tmp/1447792009.22_3e13d6e5ab8d4c5db2f9f26c75432625_bindings.json | |
Starting Chef Client, version 12.4.1 | |
Compiling Cookbooks... | |
Recipe: chef_handler::default | |
* remote_directory[/var/chef/handlers] action create | |
Recipe: <Dynamically Defined Resource> | |
* cookbook_file[/var/chef/handlers/README] action create (up to date) | |
(up to date) | |
[2015-11-17T20:26:53+00:00] WARN: chef_gem[ci_reporter] chef_gem compile_time installation is deprecated | |
[2015-11-17T20:26:53+00:00] WARN: chef_gem[ci_reporter] Please set `compile_time false` on the resource to use the new behavior. | |
[2015-11-17T20:26:53+00:00] WARN: chef_gem[ci_reporter] or set `compile_time true` on the resource if compile_time behavior is required. | |
Recipe: minitest-handler::default | |
* chef_gem[ci_reporter] action install (up to date) | |
[2015-11-17T20:26:53+00:00] WARN: chef_gem[minitest-chef-handler] chef_gem compile_time installation is deprecated | |
[2015-11-17T20:26:53+00:00] WARN: chef_gem[minitest-chef-handler] Please set `compile_time false` on the resource to use the new behavior. | |
[2015-11-17T20:26:53+00:00] WARN: chef_gem[minitest-chef-handler] or set `compile_time true` on the resource if compile_time behavior is required. | |
* chef_gem[minitest-chef-handler] action install (up to date) | |
[2015-11-17T20:26:54+00:00] WARN: chef_gem[chef-handler-profiler] chef_gem compile_time installation is deprecated | |
[2015-11-17T20:26:54+00:00] WARN: chef_gem[chef-handler-profiler] Please set `compile_time false` on the resource to use the new behavior. | |
[2015-11-17T20:26:54+00:00] WARN: chef_gem[chef-handler-profiler] or set `compile_time true` on the resource if compile_time behavior is required. | |
Recipe: profiler_handler::default | |
* chef_gem[chef-handler-profiler] action install (up to date) | |
[2015-11-17T20:26:55+00:00] WARN: chef_gem[systemd-journal] chef_gem compile_time installation is deprecated | |
[2015-11-17T20:26:55+00:00] WARN: chef_gem[systemd-journal] Please set `compile_time false` on the resource to use the new behavior. | |
[2015-11-17T20:26:55+00:00] WARN: chef_gem[systemd-journal] or set `compile_time true` on the resource if compile_time behavior is required. | |
Recipe: journald-handler::default | |
* chef_gem[systemd-journal] action install (up to date) | |
* cookbook_file[/var/chef/cache/chef-handler-journald.rb] action create (up to date) | |
* chef_handler[JournaldHandler] action enable | |
[2015-11-17T20:26:55+00:00] WARN: chef_gem[statsd-ruby] chef_gem compile_time installation is deprecated | |
[2015-11-17T20:26:55+00:00] WARN: chef_gem[statsd-ruby] Please set `compile_time false` on the resource to use the new behavior. | |
[2015-11-17T20:26:55+00:00] WARN: chef_gem[statsd-ruby] or set `compile_time true` on the resource if compile_time behavior is required. | |
Recipe: pantheon_binding_metrics_handler::default | |
* chef_gem[statsd-ruby] action install (up to date) | |
* cookbook_file[/var/chef/cache/pantheon_binding_metrics.rb] action create (up to date) | |
* chef_handler[PantheonBindingMetricsHandler] action enable | |
Digest::Digest is deprecated; use Digest | |
Converging 74 resources | |
Recipe: chef_handler::default | |
* remote_directory[/var/chef/handlers] action nothing (skipped due to action :nothing) | |
Recipe: minitest-handler::default | |
* chef_gem[ci_reporter] action install (up to date) | |
* chef_gem[minitest-chef-handler] action install (up to date) | |
* chef_handler[MiniTest::Chef::Handler] action enable | |
Recipe: profiler_handler::default | |
* chef_gem[chef-handler-profiler] action install (up to date) | |
* chef_handler[Chef::Handler::Profiler] action enable/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-handler-profiler-0.0.2/lib/chef/handler/chef_profiler.rb:12: warning: already initialized constant Chef::Handler::Profiler::VERSION | |
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-handler-profiler-0.0.2/lib/chef/handler/chef_profiler.rb:12: warning: previous definition of VERSION was here | |
Recipe: journald-handler::default | |
* chef_gem[systemd-journal] action install (up to date) | |
* cookbook_file[/var/chef/cache/chef-handler-journald.rb] action create (up to date) | |
* chef_handler[JournaldHandler] action nothing (skipped due to action :nothing) | |
Recipe: pantheon_binding_metrics_handler::default | |
* chef_gem[statsd-ruby] action install (up to date) | |
* cookbook_file[/var/chef/cache/pantheon_binding_metrics.rb] action create (up to date) | |
* chef_handler[PantheonBindingMetricsHandler] action nothing (skipped due to action :nothing) | |
Recipe: endpoint::bindings | |
* ruby_block[reset group list] action nothing (skipped due to action :nothing) | |
* user[3e13d6e5ab8d4c5db2f9f26c75432625] action create (up to date) | |
* ruby_block[update_3e13d6e5ab8d4c5db2f9f26c75432625_port] action run (skipped due to only_if) | |
* directory[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/certs] action create (up to date) | |
* directory[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/tmp] action create (up to date) | |
* directory[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/logs] action create (up to date) | |
* execute[chown-logs-to-support-group] action run | |
- execute chgrp -R support /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/logs | |
* execute[chmod-640-binding-logs] action run | |
- execute chmod g+r /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/logs/* | |
* directory[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625] action create (up to date) | |
* file[/etc/tmpfiles.d/binding-3e13d6e5ab8d4c5db2f9f26c75432625.conf] action create (up to date) | |
* ruby_block[create_or_refresh_certificate_3e13d6e5ab8d4c5db2f9f26c75432625] action create (skipped due to only_if) | |
* execute[3e13d6e5ab8d4c5db2f9f26c75432625_create_p12_crt] action run (up to date) | |
* directory[/etc/binding_logrotate.d] action create (up to date) | |
* template[/etc/binding_logrotate.d/binding_3e13d6e5ab8d4c5db2f9f26c75432625] action create (up to date) | |
Recipe: endpoint::_appserver_bindings | |
* directory[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/run] action create (up to date) | |
* directory[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/includes] action create (up to date) | |
* directory[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/.drush] action create (up to date) | |
* directory[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/stunnel] action create (up to date) | |
* ruby_block[update_3e13d6e5ab8d4c5db2f9f26c75432625_stunnel_metadata] action nothing (skipped due to action :nothing) | |
* endpoint_py_binding[3e13d6e5ab8d4c5db2f9f26c75432625] action converge (up to date) | |
* directory[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/cache] action create (up to date) | |
* execute[try_remount_3e13d6e5ab8d4c5db2f9f26c75432625] action nothing (skipped due to action :nothing) | |
* file[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/certs/binding.p12] action create (up to date) | |
* file[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/fusedav_version] action create (up to date) | |
* systemd_template[/etc/systemd/system/srv-bindings-3e13d6e5ab8d4c5db2f9f26c75432625-files.mount] action create (up to date) | |
* template[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/fusedav.conf] action create (up to date) | |
* systemd_template[/etc/systemd/system/srv-bindings-3e13d6e5ab8d4c5db2f9f26c75432625-files.automount] action create (up to date) | |
* service[srv-bindings-3e13d6e5ab8d4c5db2f9f26c75432625-files.mount] action nothing (skipped due to action :nothing) | |
* service[srv-bindings-3e13d6e5ab8d4c5db2f9f26c75432625-files.automount] action start (up to date) | |
* link[/etc/systemd/system/multi-user.target.wants/srv-bindings-3e13d6e5ab8d4c5db2f9f26c75432625-files.automount] action delete (up to date) | |
* link[/etc/systemd/system/containers.target.wants/srv-bindings-3e13d6e5ab8d4c5db2f9f26c75432625-files.automount] action create (up to date) | |
* execute[try-restart-nginx_3e13d6e5ab8d4c5db2f9f26c75432625.service] action nothing (skipped due to action :nothing) | |
* execute[try-restart-php_fpm_3e13d6e5ab8d4c5db2f9f26c75432625.service] action nothing (skipped due to action :nothing) | |
* link[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/php] action create (up to date) | |
* template[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/includes/prepend.php] action create (up to date) | |
* template[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/php-fpm.conf] action create (up to date) | |
* template[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/hhvm.conf] action create (skipped due to only_if) | |
* template[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/php.ini] action create (up to date) | |
* systemd_template[/etc/systemd/system/php_fpm_3e13d6e5ab8d4c5db2f9f26c75432625.service] action create (up to date) | |
* service[php_fpm_3e13d6e5ab8d4c5db2f9f26c75432625.service] action nothing (skipped due to action :nothing) | |
* template[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/mime.types] action create (up to date) | |
* template[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/nginx.conf] action create | |
- create new file /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/nginx.conf | |
- update content in file /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/nginx.conf from none to 49932f | |
--- /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/nginx.conf 2015-11-17 20:27:00.506931470 +0000 | |
+++ /tmp/chef-rendered-template20151117-28219-1nprn1b 2015-11-17 20:27:00.506931470 +0000 | |
@@ -1 +1,322 @@ | |
+worker_processes 2; | |
+error_log /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/logs/nginx-error.log; | |
+pid /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/run/nginx.pid; | |
+ | |
+events { | |
+ worker_connections 128; | |
+} | |
+ | |
+http { | |
+ include /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/mime.types; | |
+ default_type text/plain; | |
+ | |
+ client_body_temp_path /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/tmp 1 2; | |
+ proxy_temp_path /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/tmp 1 2; | |
+ fastcgi_temp_path /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/tmp 1 2; | |
+ uwsgi_temp_path /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/tmp 1 2; | |
+ scgi_temp_path /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/tmp 1 2; | |
+ | |
+ log_format time_combined '$remote_addr - $remote_user [$time_local] ' | |
+ '"$request" $status $body_bytes_sent ' | |
+ '"$http_referer" "$http_user_agent" $request_time ' | |
+ '"$http_x_forwarded_for"'; | |
+ access_log /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/logs/nginx-access.log time_combined buffer=2k; | |
+ | |
+ server_tokens off; | |
+ | |
+ aio off; | |
+ directio off; | |
+ sendfile off; | |
+ gzip on; | |
+ | |
+ # Use large enough buffers for Content Security Policy support. | |
+ fastcgi_buffers 16 16k; | |
+ fastcgi_buffer_size 32k; | |
+ | |
+ # On the nginx version we have on F20 (nginx/1.4.7), nginx sends a malformed HTTP | |
+ # response for 'Request-URI Too Large' | |
+ # http://mailman.nginx.org/pipermail/nginx/2012-July/034578.html | |
+ # | |
+ # This is bad because styx consideres this an error, and will mark the binding | |
+ # unhealthy. As a workaround, we are going to bump this buffer | |
+ # size to avoid hitting 'Request-URI Too Large' | |
+ # | |
+ large_client_header_buffers 4 32k; | |
+ | |
+ proxy_read_timeout 900s; | |
+ fastcgi_read_timeout 900s; | |
+ | |
+ auth_basic_user_file htpasswd; | |
+ | |
+ add_header X-Pantheon-Endpoint endpoint1; | |
+ | |
+ map $http_user_agent $auth_basic_realm { | |
+ default off; | |
+ Photon/1.0 "off"; | |
+ } | |
+ | |
+ server { | |
+ listen unix:/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/run/mysql-resurrection.sock; | |
+ location / { | |
+ proxy_intercept_errors on; | |
+ proxy_set_header X-Pantheon-Binding 1e85a0a1bee7400899432d08ec14bc26; | |
+ proxy_set_header X-Pantheon-Service-Type mysql; | |
+ proxy_set_header Host $host; | |
+ error_page 418 = @backtophp; | |
+ proxy_pass http://10.223.241.136:452; | |
+ } | |
+ | |
+ location @backtophp { | |
+ auth_basic $auth_basic_realm; | |
+ | |
+ fastcgi_pass unix:/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/run/php-fpm.sock; | |
+ fastcgi_index index.php; | |
+ fastcgi_param SCRIPT_FILENAME /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/code/$fastcgi_script_name; | |
+ include /srv/includes/fastcgi_params; | |
+ # Catch php-fpm timeout errors | |
+ error_page 504 /504.html; | |
+ } | |
+ } | |
+ | |
+ # We use $http_user_agent_https to determine if the request arrived at the platform | |
+ # as an http or an https request. Capture that here for use later. $client_scheme | |
+ # will be appropriately set to either http or https. | |
+ map $http_user_agent_https $client_scheme { | |
+ default $scheme; | |
+ ON https; | |
+ OFF http; | |
+ } | |
+ | |
+ server { | |
+ # separate ipv4 and ipv6 listeners to ensure ipv4 are not logged as ipv6 (http://forum.nginx.org/read.php?2,226955,226957#msg-226957) | |
+ listen [::]:10009 ipv6only=on ssl; | |
+ listen 10009 ssl; | |
+ | |
+ root /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/code/; | |
+ index index.php index.html index.htm; | |
+ port_in_redirect off; | |
+ | |
+ client_max_body_size 100M; | |
+ | |
+ gzip on; | |
+ gzip_proxied any; | |
+ gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/x-font-ttf font/opentype application/vnd.ms-fontobject image/svg+xml; | |
+ gzip_vary on; | |
+ gzip_http_version 1.0; | |
+ | |
+ ssl_certificate /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/certs/binding.crt; | |
+ ssl_certificate_key /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/certs/binding.key; | |
+ ssl_client_certificate /etc/pantheon/helios_and_internal.crt; | |
+ ssl_protocols TLSv1.2; | |
+ ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256; | |
+ ssl_prefer_server_ciphers on; | |
+ ssl_verify_client on; | |
+ ssl_session_timeout 12h; | |
+ ssl_session_cache shared:AppserverSSLCache:1m; | |
+ keepalive_timeout 70; | |
+ # Enable this if your want HSTS (recommended, but be careful) | |
+ # add_header Strict-Transport-Security max-age=15768000; | |
+ | |
+ error_page 495 496 497 =557 /styx_ssl_error.html; | |
+ | |
+ # Platform domains (assigned by Pantheon): ["dev-updatedbtest.onebox.pantheon.io"] | |
+ | |
+ location /nginx_status { | |
+ if ($http_x_access_key != '49973b0040f94273a9ee95943a891a22') { | |
+ return 403; | |
+ } | |
+ | |
+ stub_status on; | |
+ access_log off; | |
+ } | |
+ | |
+ location /fpm_status { | |
+ if ($http_x_access_key != '49973b0040f94273a9ee95943a891a22') { | |
+ return 403; | |
+ } | |
+ | |
+ fastcgi_pass unix:/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/run/php-fpm.sock; | |
+ fastcgi_index index.php; | |
+ fastcgi_param SCRIPT_FILENAME /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/code/$fastcgi_script_name; | |
+ include /srv/includes/fastcgi_params; | |
+ access_log off; | |
+ } | |
+ | |
+ location /fpm_ping { | |
+ fastcgi_pass unix:/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/run/php-fpm.sock; | |
+ fastcgi_index index.php; | |
+ fastcgi_param SCRIPT_FILENAME /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/code/$fastcgi_script_name; | |
+ include /srv/includes/fastcgi_params; | |
+ access_log off; | |
+ } | |
+ | |
+ location =/pantheon_healthcheck { | |
+ fastcgi_pass unix:/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/run/php-fpm.sock; | |
+ fastcgi_param SCRIPT_FILENAME /srv/includes/pantheon_healthcheck.php; | |
+ include /srv/includes/fastcgi_params; | |
+ | |
+ # Keep access log to prevent reaping. | |
+ # access_log off; | |
+ } | |
+ | |
+ location /nginx_ping { | |
+ return 204; | |
+ } | |
+ | |
+ # No reading git files | |
+ location ~ /\.git { | |
+ deny all; | |
+ } | |
+ # Original formula Drupal code protection as per .htaccess | |
+ location ~ \.(engine|inc|install|make|module|profile|po|sh|.*sql|theme|twig|tpl(\.php)?|xtmpl|yml)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$ { | |
+ return 403; | |
+ } | |
+ # Protect /private (for private code) | |
+ location ~ ^/private/ { | |
+ return 403; | |
+ } | |
+ # Protect /sites/default/files/private (for private files) | |
+ location ~ ^/sites/default/files/private/ { | |
+ return 403; | |
+ } | |
+ # Protect /sites/default/config (for staging configuration) | |
+ location ~ ^/sites/default/config/ { | |
+ return 403; | |
+ } | |
+ # Protect /sites/default/files/config (for active configuration) | |
+ location ~ ^/sites/default/files/config/ { | |
+ return 403; | |
+ } | |
+ | |
+ # Try site errors, then pantheon errors | |
+ location ~ ^/(504|403|502|php_in_valhalla|locked|maintenance|styx_ssl_error)\.html$ { | |
+ add_header Cache-Control max-age=5; | |
+ try_files $uri /error_pages/$uri; | |
+ } | |
+ | |
+ # Root for pantheon errors | |
+ location /error_pages/ { | |
+ add_header Cache-Control max-age=5; | |
+ root /srv; | |
+ } | |
+ | |
+ location ~ /sites/default/files/.*\.php$ { | |
+ error_page 403 /php_in_valhalla.html; | |
+ return 403; | |
+ } | |
+ | |
+ location ~ ^/robots.txt { | |
+ add_header Cache-Control max-age=86000; | |
+ root /srv/error_pages; | |
+ } | |
+ | |
+ # FuseDAV peer caching support. | |
+ location /fusedav-peer-cache/files/ { | |
+ alias /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/cache/files/; | |
+ access_log off; | |
+ } | |
+ | |
+ # Web fonts support. | |
+ location ~* \.(eot|ttf|woff|otf|svg)$ { | |
+ auth_basic $auth_basic_realm; | |
+ add_header Access-Control-Allow-Origin *; # Firefox needs this. | |
+ | |
+ try_files $uri $uri/ @cleanurl; | |
+ | |
+ | |
+ expires -1; | |
+ log_not_found off; | |
+ } | |
+ | |
+ # Support for .svgz | |
+ location ~* \.(svgz)$ { | |
+ auth_basic $auth_basic_realm; | |
+ | |
+ try_files $uri $uri/ @cleanurl; | |
+ | |
+ | |
+ | |
+ expires -1; | |
+ | |
+ add_header Content-encoding gzip; # So browsers will gunzip | |
+ | |
+ gzip off; # don't double-compress | |
+ } | |
+ | |
+ | |
+ # Set the expiration for assets to 1 day, except in dev. | |
+ # This could be done with an 'if' in the '/' location, but the | |
+ # http://wiki.nginx.org/IfIsEvil page is scary. | |
+ location ~ \.(js|JS|css|CSS|png|PNG|jpg|JPG|jpeg|JPEG|gif|GIF|ico|ICO|txt|TXT|xml)$ { | |
+ auth_basic $auth_basic_realm; | |
+ | |
+ try_files $uri $uri/ @cleanurl; | |
+ | |
+ | |
+ expires -1; | |
+ log_not_found off; | |
+ } | |
+ | |
+ location / { | |
+ auth_basic $auth_basic_realm; | |
+ try_files $uri $uri/ @cleanurl; | |
+ # Catch directory listing errors (i.e. no code) | |
+ error_page 403 /403.html; | |
+ error_page 301 =301 $client_scheme://$host$uri/$is_args$args; | |
+ } | |
+ | |
+ | |
+ | |
+ location @cleanurl { | |
+ rewrite ^/(.*)$ /index.php?q=$1 last; | |
+ } | |
+ | |
+ # These need to be listed from most specific to most general. | |
+ location ~ ^/simplesaml/ { | |
+ auth_basic $auth_basic_realm; | |
+ | |
+ | |
+ fastcgi_intercept_errors on; | |
+ fastcgi_pass unix:/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/run/php-fpm.sock; | |
+ fastcgi_index index.php; | |
+ include /srv/includes/fastcgi_params; | |
+ # Allow SimpleSamlPHP to work by settig PATH_INFO, etc | |
+ fastcgi_split_path_info ^(.+?\.php)(/.+)$; | |
+ fastcgi_param SCRIPT_FILENAME /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/code/$fastcgi_script_name; | |
+ # Catch php-fpm timeout errors | |
+ error_page 504 /504.html; | |
+ # Catch php-fpm connection errors | |
+ error_page 550 = @mysqlresurrector; # Potential internal "DB offline" status. | |
+ # Catch MySQL connection errors | |
+ error_page 503 = @mysqlresurrector; | |
+ } | |
+ location ~ \.php$ { | |
+ auth_basic $auth_basic_realm; | |
+ | |
+ try_files $uri $uri/ @cleanurl; | |
+ fastcgi_intercept_errors on; | |
+ fastcgi_pass unix:/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/run/php-fpm.sock; | |
+ fastcgi_index index.php; | |
+ include /srv/includes/fastcgi_params; | |
+ # Allow SimpleSamlPHP to work by settig PATH_INFO, etc | |
+ fastcgi_split_path_info ^(.+?\.php)(/.+)$; | |
+ fastcgi_param SCRIPT_FILENAME /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/code/$fastcgi_script_name; | |
+ # Catch php-fpm timeout errors | |
+ error_page 504 /504.html; | |
+ # Catch php-fpm connection errors | |
+ error_page 550 = @mysqlresurrector; # Potential internal "DB offline" status. | |
+ # Catch MySQL connection errors | |
+ error_page 503 = @mysqlresurrector; | |
+ } | |
+ | |
+ location @mysqlresurrector { | |
+ proxy_set_header Host $host; | |
+ proxy_pass http://unix:/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/run/mysql-resurrection.sock; | |
+ } | |
+ | |
+ location ~ /\.ht { | |
+ deny all; | |
+ } | |
+ } | |
+} | |
- change mode from '' to '0644' | |
- change owner from '' to 'root' | |
- change group from '' to '3e13d6e5ab8d4c5db2f9f26c75432625' | |
* systemd_template[/etc/systemd/system/nginx_3e13d6e5ab8d4c5db2f9f26c75432625.service] action create (up to date) | |
* systemd_template[/etc/systemd/system/nginx_3e13d6e5ab8d4c5db2f9f26c75432625.socket] action create (up to date) | |
* service[nginx_3e13d6e5ab8d4c5db2f9f26c75432625.service] action nothing (skipped due to action :nothing) | |
* service[nginx_3e13d6e5ab8d4c5db2f9f26c75432625.socket] action start (up to date) | |
* link[/etc/systemd/system/multi-user.target.wants/nginx_3e13d6e5ab8d4c5db2f9f26c75432625.socket] action delete (up to date) | |
* link[/etc/systemd/system/containers.target.wants/nginx_3e13d6e5ab8d4c5db2f9f26c75432625.socket] action create (up to date) | |
* template[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/htpasswd] action create (up to date) | |
* execute[filemount_symlink_valhalla_/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625] action run | |
- execute /opt/pantheon/hooklib/ensure_valhalla_symlink.py '3e13d6e5ab8d4c5db2f9f26c75432625' 'code/sites/default/files' | |
* link[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/drush] action create (up to date) | |
* link[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/.drush/php.ini] action create (up to date) | |
* template[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/drushrc.php] action create (up to date) | |
* template[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/.env] action create (up to date) | |
* systemd_template[/etc/systemd/system/pyinotify_3e13d6e5ab8d4c5db2f9f26c75432625.service] action create (up to date) | |
* service[start_pyinotify_service] action start (up to date) | |
* service[start_pyinotify_service] action enable (up to date) | |
Recipe: endpoint::_cleanup_tmpfiles | |
* file[/etc/tmpfiles.d/pantheon-appserver-tmpfiles.conf] action create (up to date) | |
Recipe: endpoint::bindings | |
* ruby_block[update_3e13d6e5ab8d4c5db2f9f26c75432625_metadata] action run | |
- execute the ruby block update_3e13d6e5ab8d4c5db2f9f26c75432625_metadata | |
* execute[remove_promote_for_3e13d6e5ab8d4c5db2f9f26c75432625] action run (skipped due to only_if) | |
* execute[remove_will_promote_for_3e13d6e5ab8d4c5db2f9f26c75432625] action run (skipped due to only_if) | |
* execute[remove_force_promote_for_3e13d6e5ab8d4c5db2f9f26c75432625] action run (skipped due to only_if) | |
* template[/srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/chef.stamp] action create | |
- update content in file /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/chef.stamp from a73578 to d5414b | |
--- /srv/bindings/3e13d6e5ab8d4c5db2f9f26c75432625/chef.stamp 2015-11-17 20:22:28.806698509 +0000 | |
+++ /tmp/chef-rendered-template20151117-28219-10xqicq 2015-11-17 20:27:05.382080919 +0000 | |
@@ -1,2 +1,2 @@ | |
-Last converged: 2015-11-17 20:22:20 +0000 | |
+Last converged: 2015-11-17 20:26:56 +0000 | |
Recipe: endpoint::_appserver_bindings | |
* execute[try-restart-nginx_3e13d6e5ab8d4c5db2f9f26c75432625.service] action run | |
- execute systemctl try-restart nginx_3e13d6e5ab8d4c5db2f9f26c75432625.service | |
Running handlers: | |
- JournaldHandler | |
- PantheonBindingMetricsHandler | |
Run options: --seed 18837 | |
# Running tests: | |
. | |
Finished tests in 0.013654s, 73.2374 tests/s, 73.2374 assertions/s. | |
1 tests, 1 assertions, 0 failures, 0 errors, 0 skips | |
- MiniTest::Chef::Handler | |
- Chef::Handler::Profiler | |
Running handlers complete | |
Chef Client finished, 11/70 resources updated in 14.95226678 seconds | |
All done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment