Добавление новой ноды в Chef Server
( ! ) Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /var/www/reverse.org.ua/default/wp-content/plugins/wp-syntax/wp-syntax.php on line 383 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0000 | 369008 | {main}( ) | .../index.php:0 |
2 | 0.0001 | 369368 | require( '/var/www/reverse.org.ua/default/wp-blog-header.php ) | .../index.php:17 |
3 | 0.0319 | 7070136 | require_once( '/var/www/reverse.org.ua/default/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 0.0322 | 7122960 | include( '/var/www/reverse.org.ua/default/wp-content/themes/monochrome/index.php ) | .../template-loader.php:106 |
5 | 0.0409 | 7670280 | the_content( $more_link_text = 'Read more', $strip_teaser = ??? ) | .../index.php:14 |
6 | 0.0409 | 7670312 | apply_filters( $hook_name = 'the_content', $value = '<pre lang="bash">knife bootstrap {{address}} --ssh-user {{user}} --ssh-password \'{{password}}\' --sudo --use-sudo-password --node-name node1</pre>\r\n\r\nFrom your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node\'s external address, {{user}} with your username, and {{password}} with your password. \r\n\r\nУдаленный запуск chef-client\r\n<pre lang="bash">\r\nknife ssh \'name:mynode\' \'sudo chef-client\'\r\n</pre>' ) | .../post-template.php:256 |
7 | 0.0409 | 7670720 | WP_Hook->apply_filters( $value = '<pre lang="bash">knife bootstrap {{address}} --ssh-user {{user}} --ssh-password \'{{password}}\' --sudo --use-sudo-password --node-name node1</pre>\r\n\r\nFrom your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node\'s external address, {{user}} with your username, and {{password}} with your password. \r\n\r\nУдаленный запуск chef-client\r\n<pre lang="bash">\r\nknife ssh \'name:mynode\' \'sudo chef-client\'\r\n</pre>', $args = [0 => '<pre lang="bash">knife bootstrap {{address}} --ssh-user {{user}} --ssh-password \'{{password}}\' --sudo --use-sudo-password --node-name node1</pre>\r\n\r\nFrom your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node\'s external address, {{user}} with your username, and {{password}} with your password. \r\n\r\nУдаленный запуск chef-client\r\n<pre lang="bash">\r\nknife ssh \'name:mynode\' \'sudo chef-client\'\r\n</pre>'] ) | .../plugin.php:205 |
8 | 0.0409 | 7671848 | WP_Syntax::beforeFilter( $content = '<pre lang="bash">knife bootstrap {{address}} --ssh-user {{user}} --ssh-password \'{{password}}\' --sudo --use-sudo-password --node-name node1</pre>\r\n\r\nFrom your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node\'s external address, {{user}} with your username, and {{password}} with your password. \r\n\r\nУдаленный запуск chef-client\r\n<pre lang="bash">\r\nknife ssh \'name:mynode\' \'sudo chef-client\'\r\n</pre>' ) | .../class-wp-hook.php:324 |
9 | 0.0409 | 7671848 | preg_replace_callback( $pattern = '/\\s*<pre(?:lang=["\']([\\w-]+)["\']|line=["\'](\\d*)["\']|escaped=["\'](true|false)?["\']|highlight=["\']((?:\\d+[,-])*\\d+)["\']|src=["\']([^"\']+)["\']|\\s)+>(.*)<\\/pre>\\s*/siU', $callback = [0 => 'WP_Syntax', 1 => 'substituteToken'], $subject = '<pre lang="bash">knife bootstrap {{address}} --ssh-user {{user}} --ssh-password \'{{password}}\' --sudo --use-sudo-password --node-name node1</pre>\r\n\r\nFrom your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node\'s external address, {{user}} with your username, and {{password}} with your password. \r\n\r\nУдаленный запуск chef-client\r\n<pre lang="bash">\r\nknife ssh \'name:mynode\' \'sudo chef-client\'\r\n</pre>' ) | .../wp-syntax.php:383 |
( ! ) Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /var/www/reverse.org.ua/default/wp-content/plugins/wp-syntax/wp-syntax.php on line 383 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0000 | 369008 | {main}( ) | .../index.php:0 |
2 | 0.0001 | 369368 | require( '/var/www/reverse.org.ua/default/wp-blog-header.php ) | .../index.php:17 |
3 | 0.0319 | 7070136 | require_once( '/var/www/reverse.org.ua/default/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 0.0322 | 7122960 | include( '/var/www/reverse.org.ua/default/wp-content/themes/monochrome/index.php ) | .../template-loader.php:106 |
5 | 0.0409 | 7670280 | the_content( $more_link_text = 'Read more', $strip_teaser = ??? ) | .../index.php:14 |
6 | 0.0409 | 7670312 | apply_filters( $hook_name = 'the_content', $value = '<pre lang="bash">knife bootstrap {{address}} --ssh-user {{user}} --ssh-password \'{{password}}\' --sudo --use-sudo-password --node-name node1</pre>\r\n\r\nFrom your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node\'s external address, {{user}} with your username, and {{password}} with your password. \r\n\r\nУдаленный запуск chef-client\r\n<pre lang="bash">\r\nknife ssh \'name:mynode\' \'sudo chef-client\'\r\n</pre>' ) | .../post-template.php:256 |
7 | 0.0409 | 7670720 | WP_Hook->apply_filters( $value = '<pre lang="bash">knife bootstrap {{address}} --ssh-user {{user}} --ssh-password \'{{password}}\' --sudo --use-sudo-password --node-name node1</pre>\r\n\r\nFrom your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node\'s external address, {{user}} with your username, and {{password}} with your password. \r\n\r\nУдаленный запуск chef-client\r\n<pre lang="bash">\r\nknife ssh \'name:mynode\' \'sudo chef-client\'\r\n</pre>', $args = [0 => '<pre lang="bash">knife bootstrap {{address}} --ssh-user {{user}} --ssh-password \'{{password}}\' --sudo --use-sudo-password --node-name node1</pre>\r\n\r\nFrom your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node\'s external address, {{user}} with your username, and {{password}} with your password. \r\n\r\nУдаленный запуск chef-client\r\n<pre lang="bash">\r\nknife ssh \'name:mynode\' \'sudo chef-client\'\r\n</pre>'] ) | .../plugin.php:205 |
8 | 0.0409 | 7671848 | WP_Syntax::beforeFilter( $content = '<pre lang="bash">knife bootstrap {{address}} --ssh-user {{user}} --ssh-password \'{{password}}\' --sudo --use-sudo-password --node-name node1</pre>\r\n\r\nFrom your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node\'s external address, {{user}} with your username, and {{password}} with your password. \r\n\r\nУдаленный запуск chef-client\r\n<pre lang="bash">\r\nknife ssh \'name:mynode\' \'sudo chef-client\'\r\n</pre>' ) | .../class-wp-hook.php:324 |
9 | 0.0409 | 7671848 | preg_replace_callback( $pattern = '/\\s*<pre(?:lang=["\']([\\w-]+)["\']|line=["\'](\\d*)["\']|escaped=["\'](true|false)?["\']|highlight=["\']((?:\\d+[,-])*\\d+)["\']|src=["\']([^"\']+)["\']|\\s)+>(.*)<\\/pre>\\s*/siU', $callback = [0 => 'WP_Syntax', 1 => 'substituteToken'], $subject = '<pre lang="bash">knife bootstrap {{address}} --ssh-user {{user}} --ssh-password \'{{password}}\' --sudo --use-sudo-password --node-name node1</pre>\r\n\r\nFrom your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node\'s external address, {{user}} with your username, and {{password}} with your password. \r\n\r\nУдаленный запуск chef-client\r\n<pre lang="bash">\r\nknife ssh \'name:mynode\' \'sudo chef-client\'\r\n</pre>' ) | .../wp-syntax.php:383 |
knife bootstrap {{address}} --ssh-user {{user}} --ssh-password '{{password}}' --sudo --use-sudo-password --node-name node1 |
From your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node’s external address, {{user}} with your username, and {{password}} with your password.
Удаленный запуск chef-client
knife ssh 'name:mynode' 'sudo chef-client' |