mdxp / knife-backup

knife plugin to help backup and restore a chef server.
Apache License 2.0
110 stars 45 forks source link

Restore command fails with error : `json_create': undefined method `each' for nil:NilClass (NoMethodError) #56

Open aniruddhanavare opened 8 years ago

aniruddhanavare commented 8 years ago

I am trying to use knife backup-restore plugin. During restore operation, it is failing with error

json_create': undefined methodeach' for nil:NilClass (NoMethodError)

Here is the "knife backup restore" operation output with -VV option.

[root@sandbox-pilot ~]# docker exec chefserver.falcon.ibm.com knife backup restore -y -D /media/ibm/backup/my_backup -VV WARNING: This will overwrite existing data! === Restoring clients === Restoring clients from /media/ibm/backup/my_backup/clients/Pilot-test-2.falcon.ibm.com.json DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/clients DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:15Z DEBUG: X-OPS-CONTENT-HASH: h666Z/pjvyTr1tSOcLR0l6pHeTs= DEBUG: X-OPS-AUTHORIZATION-1: ltER8yy5rOAT9FuW87axsnG22x4x8Ub8X+sdoOa5m1UJ7nGw8kV2qYTxnf/T DEBUG: X-OPS-AUTHORIZATION-2: ymS+9i+zULjL7x+gmtJZKMTwojXZbuRAa8ek7VhF0oVi44XGMY36JUK02bhA DEBUG: X-OPS-AUTHORIZATION-3: BKVZNHtAznnELvyGKIJURMqpjG98v4aI4uGjHAx8ztta6eictTUTLr5JGLQS DEBUG: X-OPS-AUTHORIZATION-4: 6PyJzcU2LamgENX7qoYThXko+vad7FPNiCtRpWHPVRvkzt7+ooHO03viDv7t DEBUG: X-OPS-AUTHORIZATION-5: GU0UzX9lioU9DhrQb3q17Q/SUGjcHVtDfW01b3Rc2qPqGQS15cNgsDKnVBWx DEBUG: X-OPS-AUTHORIZATION-6: 5bmsPW8Py0G/7cO6NOP0OhlATDy2cnsoWgRyn1MkOQ== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 546 DEBUG: ---- End HTTP Request Header Data ---- DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:15 GMT DEBUG: content-type: application/json DEBUG: content-length: 35 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/clients/Pilot-test-2.falcon.ibm.com DEBUG: ---- End HTTP Status/Header Data ---- DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response INFO: HTTP Request Returned 409 Conflict: Client already exists Restoring clients from /media/ibm/backup/my_backup/clients/pilotcl2.falcon.ibm.com.json DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request WARNING: client[Pilot-test-2.falcon.ibm.com] already exists; skipping DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/clients DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:15Z DEBUG: X-OPS-CONTENT-HASH: CxxkvAem/S8LCKdynGpx/AEnIuY= DEBUG: X-OPS-AUTHORIZATION-1: qz/gp/+pqRP5KxnS2cDSY7hhHtQeaZrqgknDiWGtp1VdvowzxbMYMDSex8tu DEBUG: X-OPS-AUTHORIZATION-2: dQA6Dbtp1Ty31vaWE4DwfWCG0K9WB0a5hkdOo+lmtJDaPt8+cIGwVpfol+Ow DEBUG: X-OPS-AUTHORIZATION-3: Fu4ldQV3K6ixM2W6zodRqXGk4KiMleA4raNT5cNDLXTL41D0sokwoaXkUdJJ DEBUG: X-OPS-AUTHORIZATION-4: 4wpVP9h5FsSbBtPfvrfM46Zfj/YOYfaPV493atDC+75ElywSBNhu10D+XG9Q DEBUG: X-OPS-AUTHORIZATION-5: tU1jgTuhUGsKMl92FPhDD6akSrWpknmIf2e1R+Jg6QXNmJ0UFcjAe6XPULln DEBUG: X-OPS-AUTHORIZATION-6: e6IEwJjJEN5/Cu63Ms+NkrXqvIzzwtMP1rI3TlGOdg== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 542 DEBUG: ---- End HTTP Request Header Data ---- DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:15 GMT DEBUG: content-type: application/json DEBUG: content-length: 35 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/clients/pilotcl2.falcon.ibm.com DEBUG: ---- End HTTP Status/Header Data ---- DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response INFO: HTTP Request Returned 409 Conflict: Client already exists WARNING: client[pilotcl2.falcon.ibm.com] already exists; skipping Restoring clients from /media/ibm/backup/my_backup/clients/pilotcl1.falcon.ibm.com.json DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/clients DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:15Z DEBUG: X-OPS-CONTENT-HASH: fSNU5jOSoXnOerSU4w+z7GyzpLs= DEBUG: X-OPS-AUTHORIZATION-1: JDFI4Ft1yHRGgqzAg5rZzSsTSIQ7qieFcZ2aBP7bbXuzJI4kF1F27ogJSsrH DEBUG: X-OPS-AUTHORIZATION-2: q8kcXaJjx19p76frH+/qj80RSojdmZEcTfllHtw6g350dcJBfwfisCtdintB DEBUG: X-OPS-AUTHORIZATION-3: CuJYbE2dW70vf+ge357nNZcnAhLRSF7L1P4koRUm/qGI50laeTIUNrZfPx/A DEBUG: X-OPS-AUTHORIZATION-4: Pbl5Sy6wFGZRlHqzzDxlEfRNtzzUMHrM2C+E7gHa69JbLrCKnp07O+Gu823V DEBUG: X-OPS-AUTHORIZATION-5: VvINrb9ofdDOXA/1JQamqWP4iUpHwZLeS6hhvCWzKhUR6I8ZS8eXYYuZtZab DEBUG: X-OPS-AUTHORIZATION-6: WckTY6GeXZyMfVoLEv1XhPS0eVMxpVZz6Yk6zYyPQw== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 542 DEBUG: ---- End HTTP Request Header Data ---- DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:15 GMT DEBUG: content-type: application/json DEBUG: content-length: 35 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/clients/pilotcl1.falcon.ibm.com DEBUG: ---- End HTTP Status/Header Data ---- DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response INFO: HTTP Request Returned 409 Conflict: Client already exists Restoring clients from /media/ibm/backup/my_backup/clients/chef-webui.json WARNING: client[pilotcl1.falcon.ibm.com] already exists; skipping DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/clients DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:15Z DEBUG: X-OPS-CONTENT-HASH: cHSHZJcCSkw1/MAEiyVqzFK6WOM= DEBUG: X-OPS-AUTHORIZATION-1: zON/lNDwi2Oi5mZhnzokhGINUBLAlJ97Pke24eZ1RHMTn9ZgXR3ggaklcXeX DEBUG: X-OPS-AUTHORIZATION-2: S7FcjNuxohomdHe9rZEjp+LBGN2nZR4GM0Sn3aEbRlbEYPEac1OvNTJ44epB DEBUG: X-OPS-AUTHORIZATION-3: Ol8VGHimY8iRAoCfuN4BFN1iNaB8gqSzEyX8sy/gV6tZXkeHAAxIZRpgPMfT DEBUG: X-OPS-AUTHORIZATION-4: EEyIuTF9I82EdAkxhEz76feIELj7PYN7Ye1LHuXmzZdgY6Z8ZwYunD3K3YBx DEBUG: X-OPS-AUTHORIZATION-5: PwP5XMQ2EQ9nwKCrtUPUeq1nDmpj9bFhLdfrUBrpOwnqOFww2Lei8sEzYxt7 DEBUG: X-OPS-AUTHORIZATION-6: Fmdi1s1cd3svz/dlnxGAabXmE7AuNAvCM/oKbDGugw== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 528 DEBUG: ---- End HTTP Request Header Data ---- DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:15 GMT DEBUG: content-type: application/json DEBUG: content-length: 35 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/clients/chef-webui DEBUG: ---- End HTTP Status/Header Data ---- DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response INFO: HTTP Request Returned 409 Conflict: Client already exists Restoring clients from /media/ibm/backup/my_backup/clients/falW2k12r2x64.ammpilot.FALCON.release.ibm.com.json DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin WARNING: client[chef-webui] already exists; skipping DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/clients DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:15Z DEBUG: X-OPS-CONTENT-HASH: YOfhNinE2458Mp1sZOj4IfyTmVg= DEBUG: X-OPS-AUTHORIZATION-1: 1MA3mpmemAA/ClXbdn7ujnQQ+pEfKl/VS2FEp+uaMU2ERfu5lJB6ZPteaQxC DEBUG: X-OPS-AUTHORIZATION-2: 0uB1L3L2K8gfLPgqLWIm/P45Nq6/u4RWzgvr924o/e0jYZtyaOh9Pwmp4OfH DEBUG: X-OPS-AUTHORIZATION-3: SIghFO+5wz16ss0xb2+UW/oWaGSR6Vq+tXFM/5gGwWHFEwf2KB8itwwqcxJF DEBUG: X-OPS-AUTHORIZATION-4: hccQ9WqdYbRxTbbACRGLq8SfkB3Hu8NjHq9mIM9OETcgXaYomjp6RTKnOBJG DEBUG: X-OPS-AUTHORIZATION-5: zJiKKdgw1kFgduAYIbdYy5ARmnRBAhInu6918DzJbUvqUDumt+uWfYQE8kna DEBUG: X-OPS-AUTHORIZATION-6: C2Z/72Sfb7BMX+kqjvik8qADLkEVQR85ZC89cznpsw== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 564 DEBUG: ---- End HTTP Request Header Data ---- DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:16 GMT DEBUG: content-type: application/json DEBUG: content-length: 35 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/clients/falW2k12r2x64.ammpilot.FALCON.release.ibm.com DEBUG: ---- End HTTP Status/Header Data ---- DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response INFO: HTTP Request Returned 409 Conflict: Client already exists Restoring clients from /media/ibm/backup/my_backup/clients/falRhel6x64.ammpilot.FALCON.release.ibm.com.json WARNING: client[falW2k12r2x64.ammpilot.FALCON.release.ibm.com] already exists; skipping DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/clients DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:16Z DEBUG: X-OPS-CONTENT-HASH: TFS38qgJ3qypVPNg5p0cAHe/gU4= DEBUG: X-OPS-AUTHORIZATION-1: csY56t1OOfBSmqWizqp7DkZzl72kLUIc5rfbR4FHqkeKIkT5mPfUaBuuha4j DEBUG: X-OPS-AUTHORIZATION-2: P6PePunTQ9lyUvuEN8LPJri8GKi9PcRcngg+apSCvz4EjTm+iJlIMV52aoOO DEBUG: X-OPS-AUTHORIZATION-3: W9KuEeAD1bRlP6FG1/VDMyaTU4ddMH6EQscBO8FFWxOexp38EOzzDkiY+me+ DEBUG: X-OPS-AUTHORIZATION-4: PYoMzimB8waiZM5HR8ahZIHZOoHyTnlI40ItYCfvX+ZEc+X3fvD9RYTk/G9j DEBUG: X-OPS-AUTHORIZATION-5: B5gHgmLBkBeSyfRhFnd4QGNrpLE8RvrniABvplNzLDz36uEKI974SgoxuAQz DEBUG: X-OPS-AUTHORIZATION-6: xdU5Ocix9YYcMpBIh2BRZtX87i+vN8QvsVzVaE5VUQ== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 562 DEBUG: ---- End HTTP Request Header Data ---- DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:16 GMT DEBUG: content-type: application/json DEBUG: content-length: 35 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/clients/falRhel6x64.ammpilot.FALCON.release.ibm.com DEBUG: ---- End HTTP Status/Header Data ---- DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response INFO: HTTP Request Returned 409 Conflict: Client already exists Restoring clients from /media/ibm/backup/my_backup/clients/falRhel7x64.ammpilot.FALCON.release.ibm.com.json DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin WARNING: client[falRhel6x64.ammpilot.FALCON.release.ibm.com] already exists; skipping DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/clients DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:16Z DEBUG: X-OPS-CONTENT-HASH: tNa3oh2+UzWJlH2FDFfJ1vkRGeQ= DEBUG: X-OPS-AUTHORIZATION-1: WTm/jHWqQWIh94QS2QnsYxrc1tT2G3cZq6ndXrTe2lfDta5d+DaF5h7eKnnU DEBUG: X-OPS-AUTHORIZATION-2: MOAGSN+voqo5nHxz8sv0U/sVBdifN7Dzwqa6cmGWNoLZfP6M9jLGzsw+99at DEBUG: X-OPS-AUTHORIZATION-3: NBpudT6hezfTK3k9UjuiBzIbGCjcf4ew8ybXzfEi55THydeTAbYv5A6Ppru1 DEBUG: X-OPS-AUTHORIZATION-4: 6THd+iLrP8Sb3ASlZchbq66Afuf+omykgefkLmsb4dypT4YVo4m2BifTbDke DEBUG: X-OPS-AUTHORIZATION-5: cFj26jfmqUONSshibCUJ11SgfNgRvNFROeEiwNPnYVi0wiGIulYgV51HFTXT DEBUG: X-OPS-AUTHORIZATION-6: ofGBMm7WROVx4a+nmavglWOiJZgYqILrvd0LNHO8YQ== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 562 DEBUG: ---- End HTTP Request Header Data ---- DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:16 GMT DEBUG: content-type: application/json DEBUG: content-length: 35 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/clients/falRhel7x64.ammpilot.FALCON.release.ibm.com DEBUG: ---- End HTTP Status/Header Data ---- WARNING: client[falRhel7x64.ammpilot.FALCON.release.ibm.com] already exists; skipping DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response INFO: HTTP Request Returned 409 Conflict: Client already exists Restoring clients from /media/ibm/backup/my_backup/clients/falW2k8r2x64.ammpilot.FALCON.release.ibm.com.json DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/clients DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:16Z DEBUG: X-OPS-CONTENT-HASH: IGYeJNPalUxOhNH2XX0lfaw8Pmw= DEBUG: X-OPS-AUTHORIZATION-1: ZUiavFCVmOzXxiJY1OR+LPT1GQLqgq0hu1vZ9PTzanBLedlYolTRjiadalQh DEBUG: X-OPS-AUTHORIZATION-2: p6Nv/Vwp0+PaSsW9wuzmx7C0AERHDIJfJc+3W4J4aFKV1JZh1rcn5r0Bg858 DEBUG: X-OPS-AUTHORIZATION-3: /aGxx+Smh8Q/bBQq2MAvb5isIvLYLFM/S5JoVAlYynX2jkpp/rezvvDOCegt DEBUG: X-OPS-AUTHORIZATION-4: i6CQsQvPA62wIXNHtHP69Ahxh/aO5a/RRCrdHLyQGDcei2oatybReDeiXl8j DEBUG: X-OPS-AUTHORIZATION-5: MqfWtdRQqtzR6meBfK3WC1pDJOv6cIbsPOd+V2ucyGyyrFOJ3inJYfGjZkEJ DEBUG: X-OPS-AUTHORIZATION-6: kJggG8Dk0TovhYiQC6LE3hqCrJJoUQ9k7kYlsE4X8w== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 563 DEBUG: ---- End HTTP Request Header Data ---- DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:16 GMT DEBUG: content-type: application/json DEBUG: content-length: 35 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/clients/falW2k8r2x64.ammpilot.FALCON.release.ibm.com DEBUG: ---- End HTTP Status/Header Data ---- DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response INFO: HTTP Request Returned 409 Conflict: Client already exists Restoring clients from /media/ibm/backup/my_backup/clients/pilotcl4.falcon.ibm.com.json DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin WARNING: client[falW2k8r2x64.ammpilot.FALCON.release.ibm.com] already exists; skipping DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/clients DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:16Z DEBUG: X-OPS-CONTENT-HASH: QgajOmBkJkWE9gphaLxs26H09CI= DEBUG: X-OPS-AUTHORIZATION-1: JJDeTdeYZFeFejyKXzcB3bEChfU9yqlRfrZIeEqMHMM0ghvvNYM3y9rCVCuU DEBUG: X-OPS-AUTHORIZATION-2: if7tL9zg48SPLe15JrDZWtyNphgN26x4lu4XJqiblH+k2/XrhwOuLXLJsRUl DEBUG: X-OPS-AUTHORIZATION-3: folzByU7TqK6OQId4PvtEXF+U0qCgbO0Um3p67JukVlxsR13DTgUjkSyeoW9 DEBUG: X-OPS-AUTHORIZATION-4: Ie0hbBbmSAaVmvP5fvvwkumzhgoK7p1p9zCWLwgF+zWO+iu35HNvrxQ7LGl+ DEBUG: X-OPS-AUTHORIZATION-5: X4FyvBQR6A/w4iDpY9YhnyIfNObdO1ZS2BjJb7WX/L7nzjg/S4jhPJIdTW9+ DEBUG: X-OPS-AUTHORIZATION-6: mJKeFtm4wGsZh2F93n9IjukzbJBATVuuZgeDJ2wcPQ== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 542 DEBUG: ---- End HTTP Request Header Data ---- WARNING: client[pilotcl4.falcon.ibm.com] already exists; skipping DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:16 GMT DEBUG: content-type: application/json DEBUG: content-length: 35 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/clients/pilotcl4.falcon.ibm.com DEBUG: ---- End HTTP Status/Header Data ---- DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response INFO: HTTP Request Returned 409 Conflict: Client already exists Restoring clients from /media/ibm/backup/my_backup/clients/pilotcl3.falcon.ibm.com.json DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/clients DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:16Z DEBUG: X-OPS-CONTENT-HASH: A56FM9afuHdEAmGRgXEkjkv6suU= DEBUG: X-OPS-AUTHORIZATION-1: ytuMxN4excnSB7jBDSUJpff3rpHt/VZAHif4TfX8+OPhislj+NdI1jDpcy2Z DEBUG: X-OPS-AUTHORIZATION-2: z5/V/itQrCgQ4wtSI2ooZLSzS5zAxlYn/ngskftTRbTm7EP3pC9Hbs/+UZnd DEBUG: X-OPS-AUTHORIZATION-3: U4lAOvfBqp7ZgRx8FhubuPdaZL/MM8fh0/Dpc2TE67QkWjwC08GJ9iIUbrPt DEBUG: X-OPS-AUTHORIZATION-4: ly7gtd7DMbx3/tja8ChwCZ1o8Z+whRNHFajPvg6tIX0rg7/LLFEyEW+OpMTA DEBUG: X-OPS-AUTHORIZATION-5: fMk8DFNXt3qm4cNHYulwYtePgN0eVq8b8Z/GQlsRVTFkFdJ+g4eg6RWvfoQ7 DEBUG: X-OPS-AUTHORIZATION-6: P/GbAP59caqGv7AzyalV6+GkuQSMQ+VjxXRUqcx+9A== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 542 DEBUG: ---- End HTTP Request Header Data ---- DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:16 GMT DEBUG: content-type: application/json DEBUG: content-length: 35 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/clients/pilotcl3.falcon.ibm.com DEBUG: ---- End HTTP Status/Header Data ---- DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response WARNING: client[pilotcl3.falcon.ibm.com] already exists; skipping INFO: HTTP Request Returned 409 Conflict: Client already exists Restoring clients from /media/ibm/backup/my_backup/clients/chef-validator.json DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/clients DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:16Z DEBUG: X-OPS-CONTENT-HASH: qvHXzT71CAnm+A+X+oA9qWLG8uE= DEBUG: X-OPS-AUTHORIZATION-1: Swq3Y74+3sIQ6tdaKPXf/w0JnvxigXpHEg0dnzqWc70WejuHh+XH9ESJMfRi DEBUG: X-OPS-AUTHORIZATION-2: 6bGqoO+TjvJ+O36+5K2DURXjDfcdMSw8ccmc/scASPaEZfFyefc8stBq1nqz DEBUG: X-OPS-AUTHORIZATION-3: uGK9xgmsTCiYCZa42c7DWYTPpBCJOolTolrJH8LBZEFwdPLUoltsyEkwwZ9O DEBUG: X-OPS-AUTHORIZATION-4: dOV7qX0iUjZzZyB2teAMcw+JiFrbIvoyfBF/Y/LPD3LQx73b6QSVQnvwOh19 DEBUG: X-OPS-AUTHORIZATION-5: i0LY7LpDvpljNymxn9AzR+u1kSNruPPmsE4bvZnqsQng1SUwJVT07zoXHnsv DEBUG: X-OPS-AUTHORIZATION-6: fBvGP/b4GME0OGJ1yOBUeeVuSVAl7CTbWdnjK7Y5UA== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 532 DEBUG: ---- End HTTP Request Header Data ---- DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:16 GMT DEBUG: content-type: application/json DEBUG: content-length: 35 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/clients/chef-validator DEBUG: ---- End HTTP Status/Header Data ---- DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response WARNING: client[chef-validator] already exists; skipping INFO: HTTP Request Returned 409 Conflict: Client already exists === Restoring users === DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#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 admin DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request DEBUG: Initiating POST to https://chefserver.falcon.ibm.com:6443/users DEBUG: ---- HTTP Request Header Data: ---- DEBUG: Content-Type: application/json DEBUG: Accept: application/json DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 DEBUG: X-OPS-SIGN: algorithm=sha1;version=1.0; DEBUG: X-OPS-USERID: admin DEBUG: X-OPS-TIMESTAMP: 2016-06-16T11:10:16Z DEBUG: X-OPS-CONTENT-HASH: QkDu0j8zD17OFSeIAYHUSTWRgno= DEBUG: X-OPS-AUTHORIZATION-1: snG7UrIKIs2w62cR1dW6IghnlEAsapBuDYKFhYZMfCpFFnj7DPWFzSAEsoVX DEBUG: X-OPS-AUTHORIZATION-2: 0kwqHcvweXDDYcmo9iFglOCRdGP2Uh0pl0fbLGbvUUHzXi7TEF7IdYPSTbdd DEBUG: X-OPS-AUTHORIZATION-3: F95pRmBSoasQrzsEk0BLnuubFnRyYxs1+v7Y0cga1qZHq+Gdc/0E29FvAGo8 DEBUG: X-OPS-AUTHORIZATION-4: Kn5YAVqTluGQRCxmRhwfmZogcrC6yTwI8lXPAFGEoBOY0ZLm5J/DjjXs15vz DEBUG: X-OPS-AUTHORIZATION-5: BWfWtIN3UKf2DnvTEDm4+SoYVS0j/v4QC7uM4DDlHkhdCeyZz078zOdtXdJB DEBUG: X-OPS-AUTHORIZATION-6: OwDe7LlgxFqUUkzjhooVoyAMUSj/vdVz0EAvMQM9sQ== DEBUG: HOST: chefserver.falcon.ibm.com:6443 DEBUG: X-REMOTE-REQUEST-ID: 93922054-009b-4733-a14c-64d80f32d40b DEBUG: Content-Length: 527 DEBUG: ---- End HTTP Request Header Data ---- DEBUG: ---- HTTP Status and Header Data: ---- DEBUG: HTTP 1.1 409 Conflict DEBUG: server: nginx/1.4.4 DEBUG: date: Thu, 16 Jun 2016 11:10:17 GMT DEBUG: content-type: application/json DEBUG: content-length: 41 DEBUG: connection: close DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.4.1 DEBUG: location: http://chefserver.falcon.ibm.com:6443/users/admin DEBUG: ---- End HTTP Status/Header Data ---- DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response DEBUG: Content-Length validated correctly. 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: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONToModelOutput#handle_response DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response INFO: HTTP Request Returned 409 Conflict: User 'admin' already exists WARNING: user[admin] already exists; skipping === Restoring nodes === Restoring nodes from /media/ibm/backup/my_backup/nodes/Pilot-test-2.falcon.ibm.com.json /opt/chef/embedded/apps/chef/lib/chef/node.rb:464:in json_create': undefined methodeach' for nil:NilClass (NoMethodError) from /opt/chef/embedded/apps/chef/lib/chef/knife/core/object_loader.rb:94:in object_from_file' from /opt/chef/embedded/apps/chef/lib/chef/knife/core/object_loader.rb:44:inload_from' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/knife-backup-0.0.12/lib/chef/knife/backup_restore.rb:118:in block in restore_standard' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/knife-backup-0.0.12/lib/chef/knife/backup_restore.rb:116:ineach' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/knife-backup-0.0.12/lib/chef/knife/backup_restore.rb:116:in restore_standard' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/knife-backup-0.0.12/lib/chef/knife/backup_restore.rb:75:innodes' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/knife-backup-0.0.12/lib/chef/knife/backup_restore.rb:60:in block in run' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/knife-backup-0.0.12/lib/chef/knife/backup_restore.rb:60:ineach' from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/knife-backup-0.0.12/lib/chef/knife/backup_restore.rb:60:in run' from /opt/chef/embedded/apps/chef/lib/chef/knife.rb:493:inrun_with_pretty_exceptions' from /opt/chef/embedded/apps/chef/lib/chef/knife.rb:174:in run' from /opt/chef/embedded/apps/chef/lib/chef/application/knife.rb:139:inrun' from /opt/chef/embedded/apps/chef/bin/knife:25:in <top (required)>' from /usr/bin/knife:38:inload' from /usr/bin/knife:38:in `

'


Let me know if you need to have copy of the backup export whole directory.

knife plugin version : 0.0.12 chef server version : 11.18.12

aniruddhanavare commented 8 years ago

backupIssue.tar.gz

aniruddhanavare commented 8 years ago

I have added file during which issue has been occurred. Let me know if you need more things.