sdc-createinstrumentation --clone not working #12

Closed
Licenser opened this Issue Apr 1, 2012 · 2 comments

Projects

None yet

2 participants

@Licenser
Licenser commented Apr 1, 2012

It seems that --clone isn't wokring, it does not pass the clone at all:

Schroedinger:~ licenser$ sdc-createinstrumentation --debug --clone 0
2012-04-01 01:09:20Z DEBUG: No ssh-agent identities found
2012-04-01 01:09:20Z DEBUG: Using private key from: /Users/licenser/.ssh/id_rsa
2012-04-01 01:09:20Z TRACE: RestClient: constructed { _log: [Function],
  url: 
   { protocol: 'http:',
     slashes: true,
     host: '172.16.0.4:80',
     port: '80',
     hostname: '172.16.0.4',
     href: 'http://172.16.0.4:80/',
     pathname: '/',
     path: '/' },
  proto: 
   { parsers: [Object],
     STATUS_CODES: [Object],
     IncomingMessage: [Object],
     OutgoingMessage: [Object],
     ServerResponse: [Object],
     Agent: [Object],
     globalAgent: [Object],
     ClientRequest: [Object],
     request: [Function],
     get: [Function],
     Server: [Object],
     createServer: [Function],
     _connectionListener: [Function: connectionListener],
     Client: [Object],
     createClient: [Function] },
  path: '/',
  headers: { Accept: 'application/json', 'x-api-version': '~6.5' },
  retryOptions: { retries: 3, minTimeout: 500 },
  retryCallback: [Function: checkFor500],
  contentType: 'application/json',
  noContentMD5: undefined }
2012-04-01 01:09:20Z TRACE: RestClient: _processArguments => { options: 
   { contentType: 'application/json',
     headers: 
      { 'x-api-version': '~6.5',
        Accept: 'application/json',
        Authorization: 'Signature keyId="/licenser/keys/id_rsa",algorithm="rsa-sha256" ZZbfEt3Nb8lxndqve3ZXY2U63H0YhjU5QIFJ304aPp3Vj5nrlMlfgHDok0dSJj65pvirpgn9IgL0yunOYP/+u+Bod0TAusYYePWotqoE2s1wSdT7CzG3xEY5oiHh9pqaRfLKQ6BBLVj4lrZckWbS1NrvGh+Pns11gyNAkPsoz48jjF2q0Rgizo0FdHHzdWoVksJrrjDEOREuIW5hJ8CRAUG6f6mcdiX9pnoZVG8+xVMZ0imBSwd6MXNwhs8MmN1mBBBw0SSnAkffJ/yRJ8E044o3b0844K9iP/7var8Q29WrR/iea/anAwVtPkDyMFEwESv3JbvKgn2D1srqBsT5Ug==',
        Date: 'Sun, 01 Apr 2012 01:09:20 GMT' },
     method: 'POST',
     path: '//licenser/analytics/instrumentations',
     host: '172.16.0.4',
     port: '80',
     body: {},
     expect: [ 200, 201 ] },
  callback: [Function] }
2012-04-01 01:09:20Z TRACE: RestClient(99cabdd, attempt=1): issuing request { contentType: 'application/json',
  headers: 
   { 'x-api-version': '~6.5',
     Accept: 'application/json',
     Authorization: 'Signature keyId="/licenser/keys/id_rsa",algorithm="rsa-sha256" ZZbfEt3Nb8lxndqve3ZXY2U63H0YhjU5QIFJ304aPp3Vj5nrlMlfgHDok0dSJj65pvirpgn9IgL0yunOYP/+u+Bod0TAusYYePWotqoE2s1wSdT7CzG3xEY5oiHh9pqaRfLKQ6BBLVj4lrZckWbS1NrvGh+Pns11gyNAkPsoz48jjF2q0Rgizo0FdHHzdWoVksJrrjDEOREuIW5hJ8CRAUG6f6mcdiX9pnoZVG8+xVMZ0imBSwd6MXNwhs8MmN1mBBBw0SSnAkffJ/yRJ8E044o3b0844K9iP/7var8Q29WrR/iea/anAwVtPkDyMFEwESv3JbvKgn2D1srqBsT5Ug==',
     Date: 'Sun, 01 Apr 2012 01:09:20 GMT',
     'content-type': 'application/json',
     'content-length': 2,
     'content-md5': 'mZFLkyvTelC5g8XnyQrpOw==' },
  method: 'POST',
  path: '/licenser/analytics/instrumentations',
  host: '172.16.0.4',
  port: '80',
  body: {},
  expect: [ 200, 201 ] }
2012-04-01 01:09:20Z TRACE: RestClient(99cabdd): POST /licenser/analytics/instrumentations => code=200, headers={ 'content-type': 'application/json',
  connection: 'keep-alive',
  'transfer-encoding': 'chunked' }
2012-04-01 01:09:20Z TRACE: RestClient(99cabdd): POST /licenser/analytics/instrumentations => body={}
2012-04-01 01:09:20Z TRACE: RestClient: POST /licenser/analytics/instrumentations: issuing callback
2012-04-01 01:09:20Z DEBUG: CloudAPI._post(/licenser/analytics/instrumentations) -> err=null, obj={}
@mcavage
mcavage commented Apr 5, 2012

Hi - thanks for the report! I'll take a look and get it patched up.

@mcavage
mcavage commented Apr 17, 2012

Merged from #14

@mcavage mcavage closed this Apr 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment