Created
December 2, 2016 07:55
-
-
Save marzzz21/572064d1ff477b46e27140ebcef0125f to your computer and use it in GitHub Desktop.
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
> knife vault update private_keys mirror_git_key -S "role:my_role_name" -A "admin1, admin2" -VV | |
INFO: Using configuration from /home/user/.chef/knife.rb | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request | |
DEBUG: Signing the request as user | |
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request | |
DEBUG: Initiating GET to https://chef-server/organizations/my_org/data/private_keys/mirror_git_key_keys | |
DEBUG: ---- HTTP Request Header Data: ---- | |
DEBUG: Accept: application/json | |
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | |
DEBUG: X-Ops-Server-API-Version: 1 | |
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1; | |
DEBUG: X-OPS-USERID: mihael_keehl | |
DEBUG: X-OPS-TIMESTAMP: 2016-12-02T07:51:52Z | |
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk= | |
DEBUG: X-OPS-AUTHORIZATION-1: k95taEPoWE0J8Z60fhnyBwdeSn/AdmM5jAjqBSfJ5y2kqoOWZkY+4BObE3HW | |
DEBUG: X-OPS-AUTHORIZATION-2: jeiGCUuvpaHtLQ518eGo5W9IPyInoYmGg0FSDV4x7VXDlurs52wQhkalHC1r | |
DEBUG: X-OPS-AUTHORIZATION-3: fPixbhvKJwkJlySaIkrejJheEo0bG9h0ZeMjKSyPeQIneMgK8DqScT1se87X | |
DEBUG: X-OPS-AUTHORIZATION-4: 13rEPxQWKMz9i8E9tsYa65JHZ6RYalWrfOdr2P6KR9cygW6YUHBaEZmeZjsN | |
DEBUG: X-OPS-AUTHORIZATION-5: YGpCK/WeCZkzMcFP03S1fvBToefcyq6NlvQtrfy8gKWS5L5X9+6gdDtq4/7S | |
DEBUG: X-OPS-AUTHORIZATION-6: ULl0zYbQMQ2xOKEm+IAcsK1Qp+XtxR58asTcDo1/rw== | |
DEBUG: HOST: chef-server.rise.net.ph:443 | |
DEBUG: X-REMOTE-REQUEST-ID: ff1011e8-98e2-4a4f-85c9-88d0e31c7ce6 | |
DEBUG: ---- End HTTP Request Header Data ---- | |
DEBUG: ---- HTTP Status and Header Data: ---- | |
DEBUG: HTTP 1.1 200 OK | |
DEBUG: server: openresty/1.11.2.1 | |
DEBUG: date: Fri, 02 Dec 2016 07:41:10 GMT | |
DEBUG: content-type: application/json | |
DEBUG: transfer-encoding: chunked | |
DEBUG: connection: close | |
DEBUG: x-ops-server-api-version: {"min_version":"0","max_version":"1","request_version":"1","response_version":"1"} | |
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=12.11.0+20161110174030 | |
DEBUG: content-encoding: gzip | |
DEBUG: ---- End HTTP Status/Header Data ---- | |
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response | |
DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads. | |
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response | |
DEBUG: Decompressing gzip response | |
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request | |
DEBUG: Signing the request as mihael_keehl | |
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request | |
DEBUG: Initiating GET to https://chef-server/organizations/my_org/data/private_keys/mirror_git_key | |
DEBUG: ---- HTTP Request Header Data: ---- | |
DEBUG: Accept: application/json | |
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | |
DEBUG: X-Ops-Server-API-Version: 1 | |
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1; | |
DEBUG: X-OPS-USERID: mihael_keehl | |
DEBUG: X-OPS-TIMESTAMP: 2016-12-02T07:51:52Z | |
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk= | |
DEBUG: X-OPS-AUTHORIZATION-1: YzvICfyzbfDYOO8JAwLCRoD0fH/opL4Ro/9BUtOnXO3SewPZdBaCsyG+m4DS | |
DEBUG: X-OPS-AUTHORIZATION-2: tJlbjDi46/ArEurIRMGDcm7aMdYCIT9z6iqrsyKLfmaX7ZRgRygo9MHGHafU | |
DEBUG: X-OPS-AUTHORIZATION-3: LQ+mFbCwb1AkB6LKmAGm9eg75iv9Yow2DPeAeHV49qd/hxm9gefBYyfq1dOK | |
DEBUG: X-OPS-AUTHORIZATION-4: 46MvcJWW0VgXM+c3CdyQjDvdQZe9LXWrJROBUxz84b+H8jEFC+Z8rDBpEYlR | |
DEBUG: X-OPS-AUTHORIZATION-5: SAVA6s1UyWbYyMbDfat+4pjuiXMkjX/6+wvWFmjNL5aVsdBKR1bX6HD2Dgch | |
DEBUG: X-OPS-AUTHORIZATION-6: kBF4uuqF8pzFBJjUNl7XyN097Y6aX9YQvIK0ajjghg== | |
DEBUG: HOST: chef-server.rise.net.ph:443 | |
DEBUG: X-REMOTE-REQUEST-ID: ff1011e8-98e2-4a4f-85c9-88d0e31c7ce6 | |
DEBUG: ---- End HTTP Request Header Data ---- | |
DEBUG: ---- HTTP Status and Header Data: ---- | |
DEBUG: HTTP 1.1 200 OK | |
DEBUG: server: openresty/1.11.2.1 | |
DEBUG: date: Fri, 02 Dec 2016 07:41:10 GMT | |
DEBUG: content-type: application/json | |
DEBUG: transfer-encoding: chunked | |
DEBUG: connection: close | |
DEBUG: x-ops-server-api-version: {"min_version":"0","max_version":"1","request_version":"1","response_version":"1"} | |
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=12.11.0+20161110174030 | |
DEBUG: content-encoding: gzip | |
DEBUG: ---- End HTTP Status/Header Data ---- | |
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response | |
DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads. | |
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response | |
DEBUG: Decompressing gzip response | |
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request | |
DEBUG: Signing the request as mihael_keehl | |
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request | |
DEBUG: Initiating GET to https://chef-server/organizations/my_org/search/node?q=role:my_role_name&sort=X_CHEF_id_CHEF_X%20asc&start=0 | |
DEBUG: ---- HTTP Request Header Data: ---- | |
DEBUG: Accept: application/json | |
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | |
DEBUG: X-Ops-Server-API-Version: 1 | |
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1; | |
DEBUG: X-OPS-USERID: mihael_keehl | |
DEBUG: X-OPS-TIMESTAMP: 2016-12-02T07:51:52Z | |
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk= | |
DEBUG: X-OPS-AUTHORIZATION-1: YZNP513GOOZyx7ltMkD+YdZkeK1gkEnxNz9jZZjjmE7QjBxDF2+oDFetG+PO | |
DEBUG: X-OPS-AUTHORIZATION-2: as0g7+t3dXOGvZXkrwQMUdZ9UFbMPyDb4EzkHHYDO6bYBOREkj6WGU43QMuW | |
DEBUG: X-OPS-AUTHORIZATION-3: 9MY10ZoB5B9sMQ8RI1Ya8zLt18xhHSwmjvBw+g0UyWQmNyRnJcIBal3ojrl1 | |
DEBUG: X-OPS-AUTHORIZATION-4: sIdv9EI1Ff9/yJUxDaolsoAhdoBk7Qd6bS9yU5LCByRmZSTePFAa5iK/7i6B | |
DEBUG: X-OPS-AUTHORIZATION-5: e6iDCt80ImQ2wlgBDe+44wT6ADRMddtlDQT+CoE0HcQQbE4GTBh4ACrI9fN4 | |
DEBUG: X-OPS-AUTHORIZATION-6: drKV35mWH3urL1hC0qTA1wtDHoy/azDpXC7Yk2Fe+A== | |
DEBUG: HOST: chef-server:443 | |
DEBUG: X-REMOTE-REQUEST-ID: ff1011e8-98e2-4a4f-85c9-88d0e31c7ce6 | |
DEBUG: ---- End HTTP Request Header Data ---- | |
DEBUG: ---- HTTP Status and Header Data: ---- | |
DEBUG: HTTP 1.1 200 OK | |
DEBUG: server: openresty/1.11.2.1 | |
DEBUG: date: Fri, 02 Dec 2016 07:41:10 GMT | |
DEBUG: content-type: application/json | |
DEBUG: transfer-encoding: chunked | |
DEBUG: connection: close | |
DEBUG: x-ops-server-api-version: {"min_version":"0","max_version":"1","request_version":"1","response_version":"1"} | |
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=12.11.0+20161110174030 | |
DEBUG: content-encoding: gzip | |
DEBUG: ---- End HTTP Status/Header Data ---- | |
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response | |
DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads. | |
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response | |
DEBUG: Decompressing gzip response | |
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_request | |
DEBUG: Signing the request as mihael_keehl | |
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request | |
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request | |
DEBUG: Initiating GET to https://chef-server.rise.net.ph/organizations/rise/clients/cebu-mirror-fileserver | |
DEBUG: ---- HTTP Request Header Data: ---- | |
DEBUG: Accept: application/json | |
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | |
DEBUG: X-Ops-Server-API-Version: 0 | |
DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.1; | |
DEBUG: X-OPS-USERID: mihael_keehl | |
DEBUG: X-OPS-TIMESTAMP: 2016-12-02T07:51:52Z | |
DEBUG: X-OPS-CONTENT-HASH: 2jmj7l5rSw0yVb/vlWAYkK/YBwk= | |
DEBUG: X-OPS-AUTHORIZATION-1: AgIFfoMTEQJ0xFmFEcpUsMNCAlYtljopT7PmNv2RAGixV7OkgwTTXJJB7p6B | |
DEBUG: X-OPS-AUTHORIZATION-2: ebktZ/WkiX6fJINGUsXGADgWjTw2gV8XlOjSQut0yIoeK4nN/7I9qenOzwr+ | |
DEBUG: X-OPS-AUTHORIZATION-3: EaOzpJa8aOLvDdmF5gn9j1juCF5NNZA7M0tQLak2F543XpXeutgtdl5ujAKN | |
DEBUG: X-OPS-AUTHORIZATION-4: wvEIFDSaaZuTI/FZQmbZ9V2ZUctCy577vGtvq44YNiIqECqeKZgw/5a9POjK | |
DEBUG: X-OPS-AUTHORIZATION-5: Vg+oabGSH5ZngBLQVBMrYIizVLgkJEjjJD9Kk1brGdFyq9sb3krOZiGdXTKA | |
DEBUG: X-OPS-AUTHORIZATION-6: jAQBKxFtBHjWMmKgztg8e2fD33z4xAGcTblrMOpB6A== | |
DEBUG: HOST: chef-server.rise.net.ph:443 | |
DEBUG: X-REMOTE-REQUEST-ID: ff1011e8-98e2-4a4f-85c9-88d0e31c7ce6 | |
DEBUG: ---- End HTTP Request Header Data ---- | |
DEBUG: ---- HTTP Status and Header Data: ---- | |
DEBUG: HTTP 1.1 200 OK | |
DEBUG: server: openresty/1.11.2.1 | |
DEBUG: date: Fri, 02 Dec 2016 07:41:11 GMT | |
DEBUG: content-type: application/json | |
DEBUG: transfer-encoding: chunked | |
DEBUG: connection: close | |
DEBUG: x-ops-server-api-version: {"min_version":"0","max_version":"1","request_version":"0","response_version":"0"} | |
DEBUG: x-ops-api-info: flavor=cs;version=12.0.0;oc_erchef=12.11.0+20161110174030 | |
DEBUG: content-encoding: gzip | |
DEBUG: ---- End HTTP Status/Header Data ---- | |
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response | |
DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads. | |
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::Authenticator#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response | |
DEBUG: Decompressing gzip response | |
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response | |
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response | |
/opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-vault-2.9.0/lib/chef-vault/item_keys.rb:46:in `add': undefined method `include?' for nil:NilClass (NoMethodError) | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-vault-2.9.0/lib/chef-vault/item.rb:474:in `add_client' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-vault-2.9.0/lib/chef-vault/item.rb:89:in `block in clients' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.15.19/lib/chef/search/query.rb:91:in `block in search' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.15.19/lib/chef/search/query.rb:91:in `each' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.15.19/lib/chef/search/query.rb:91:in `search' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-vault-2.9.0/lib/chef-vault/item.rb:83:in `clients' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-vault-2.9.0/lib/chef/knife/vault_update.rb:75:in `run' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.15.19/lib/chef/knife.rb:429:in `block in run_with_pretty_exceptions' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.15.19/lib/chef/local_mode.rb:44:in `with_server_connectivity' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.15.19/lib/chef/knife.rb:428:in `run_with_pretty_exceptions' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.15.19/lib/chef/knife.rb:219:in `run' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.15.19/lib/chef/application/knife.rb:156:in `run' | |
from /opt/chefdk/embedded/lib/ruby/gems/2.3.0/gems/chef-12.15.19/bin/knife:25:in `<top (required)>' | |
from /usr/bin/knife:57:in `load' | |
from /usr/bin/knife:57:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment