What is the output of /usr/bin/sysinfo on that machine?

On Jan 23, 2018, at 7:47 AM, Chad M Stewart <[email protected]> wrote:

> 
> Fresh install of SmartOS.  Another instance that is older and running 2017… 
> can import just fine.  Doesn’t matter what image I try to import, they all 
> fail.  NTP is running and working.  I’m hoping someone has seen this before 
> or can point me in the right direction.  Output below.
> 
> 
> # uname -a
> SunOS articulate 5.11 joyent_20180118T013028Z i86pc i386 i86pc
> 
> 
> # imgadm -v import  62aaa296-f143-11e7-bd81-9be1bda071f7
> {"name":"imgadm","req_id":"c7308c04-e127-4b78-ad6c-f9085ecc820f","hostname":"articulate","pid":4103,"level":20,"opts":{"verbose":true},"args":["import","62aaa296-f143-11e7-bd81-9be1bda071f7"],"cli":true,"msg":"cli
>  
> init","time":"2018-01-23T14:43:32.790Z","src":{"file":"/usr/img/lib/cli.js","line":392,"func":"init"},"v":0}
> {"name":"imgadm","req_id":"c7308c04-e127-4b78-ad6c-f9085ecc820f","hostname":"articulate","pid":4103,"level":10,"path":"/var/imgadm/imgadm.conf","msg":"read
>  config 
> file","time":"2018-01-23T14:43:32.795Z","src":{"file":"/usr/img/lib/configuration.js","line":84},"v":0}
> {"name":"imgadm","req_id":"c7308c04-e127-4b78-ad6c-f9085ecc820f","hostname":"articulate","pid":4103,"level":10,"currVer":"3.0.0","highestUpVer":"3.0.0","msg":"upgrade
>  not 
> necessary","time":"2018-01-23T14:43:32.797Z","src":{"file":"/usr/img/lib/upgrade.js","line":302,"func":"upgradeIfNecessary"},"v":0}
> {"name":"imgadm","req_id":"c7308c04-e127-4b78-ad6c-f9085ecc820f","hostname":"articulate","pid":4103,"level":10,"sourcesInfo":[{"type":"imgapi","url":"https://images.joyent.com"}],"msg":"init:
>  add 
> sources","time":"2018-01-23T14:43:32.797Z","src":{"file":"/usr/img/lib/imgadm.js","line":437,"func":"addSources"},"v":0}
> {"name":"imgadm","req_id":"c7308c04-e127-4b78-ad6c-f9085ecc820f","hostname":"articulate","pid":4103,"level":10,"config":{"dockerImportSkipUuids":true,"upgradedToVer":"3.0.0"},"msg":"tool
>  
> initialized","time":"2018-01-23T14:43:32.800Z","src":{"file":"/usr/img/lib/imgadm.js","line":4209},"v":0}
> {"name":"imgadm","req_id":"c7308c04-e127-4b78-ad6c-f9085ecc820f","hostname":"articulate","pid":4103,"level":30,"uuid":"62aaa296-f143-11e7-bd81-9be1bda071f7","arg":"62aaa296-f143-11e7-bd81-9be1bda071f7","msg":"image-id
>  
> validated","time":"2018-01-23T14:43:32.802Z","src":{"file":"/usr/img/lib/cli.js","line":1339,"func":"validateArg"},"v":0}
> {"name":"imgadm","req_id":"c7308c04-e127-4b78-ad6c-f9085ecc820f","hostname":"articulate","pid":4103,"component":"source","source":{"type":"imgapi"},"level":10,"client_req":{"method":"GET","url":"/images/62aaa296-f143-11e7-bd81-9be1bda071f7","address":"images.joyent.com","port":null,"headers":{"accept":"application/json","user-agent":"imgadm/3.7.4
>  (node/0.10.26; OpenSSL/1.0.2n)","accept-version":"~2","date":"Tue, 23 Jan 
> 2018 14:43:32 GMT"}},"msg":"request 
> sent","time":"2018-01-23T14:43:32.913Z","src":{"file":"/usr/img/node_modules/restify/lib/clients/http_client.js","line":251,"func":"rawRequest"},"v":0}
> {"name":"imgadm","req_id":"c7308c04-e127-4b78-ad6c-f9085ecc820f","hostname":"articulate","pid":4103,"component":"source","source":{"type":"imgapi"},"level":10,"client_res":{"statusCode":200,"headers":{"etag":"55e74819c871359dc348f7ce9fcb36dd0697caff","content-type":"application/json","content-length":"961","date":"Tue,
>  23 Jan 2018 14:43:33 GMT","server":"Joyent Public Images 
> Repo","x-request-id":"a685aa58-936e-4cb3-85b1-99d19d7818f9","x-response-time":"2","x-server-name":"imgapi-imagesjo0-98cf10d4"}},"msg":"Response
>  
> received","time":"2018-01-23T14:43:33.478Z","src":{"file":"/usr/img/node_modules/restify/lib/clients/http_client.js","line":155,"func":"onResponse"},"v":0}
> {"name":"imgadm","req_id":"c7308c04-e127-4b78-ad6c-f9085ecc820f","hostname":"articulate","pid":4103,"component":"source","source":{"type":"imgapi"},"level":10,"msg":"body
>  received:\n{\n  \"v\": 2,\n  \"uuid\": 
> \"62aaa296-f143-11e7-bd81-9be1bda071f7\",\n  \"owner\": 
> \"00000000-0000-0000-0000-000000000000\",\n  \"name\": \"minimal-64-lts\",\n  
> \"version\": \"17.4.0\",\n  \"state\": \"active\",\n  \"disabled\": false,\n  
> \"public\": true,\n  \"published_at\": \"2018-01-04T11:35:37Z\",\n  \"type\": 
> \"zone-dataset\",\n  \"os\": \"smartos\",\n  \"files\": [\n    {\n      
> \"sha1\": \"1560e852464661e736fca05673b48ad6eea0f9c9\",\n      \"size\": 
> 57705995,\n      \"compression\": \"gzip\"\n    }\n  ],\n  \"description\": 
> \"A 64-bit SmartOS image with just bootstrap packages installed. Ideal for 
> users who want the smallest possible image upon which to build.\",\n  
> \"homepage\": \"https://docs.joyent.com/images/smartos/minimal\",\n  \"urn\": 
> \"sdc:sdc:minimal-64-lts:17.4.0\",\n  \"requirements\": {\n    
> \"min_platform\": {\n      \"7.0\": \"20141030T081701Z\"\n    },\n    
> \"networks\": [\n      {\n        \"name\": \"net0\",\n        
> \"description\": \"public\"\n      }\n    ]\n  },\n  \"tags\": {\n    
> \"role\": \"os\",\n    \"group\": \"minimal-64-lts\"\n  
> }\n}","time":"2018-01-23T14:43:33.480Z","src":{"file":"/usr/img/node_modules/restify/lib/clients/string_client.js","line":138,"func":"done"},"v":0}
> {"name":"imgadm","req_id":"c7308c04-e127-4b78-ad6c-f9085ecc820f","hostname":"articulate","pid":4103,"level":30,"importInfo":{"uuid":"62aaa296-f143-11e7-bd81-9be1bda071f7","manifest":{"v":2,"uuid":"62aaa296-f143-11e7-bd81-9be1bda071f7","owner":"00000000-0000-0000-0000-000000000000","name":"minimal-64-lts","version":"17.4.0","state":"active","disabled":false,"public":true,"published_at":"2018-01-04T11:35:37Z","type":"zone-dataset","os":"smartos","files":[{"sha1":"1560e852464661e736fca05673b48ad6eea0f9c9","size":57705995,"compression":"gzip"}],"description":"A
>  64-bit SmartOS image with just bootstrap packages installed. Ideal for users 
> who want the smallest possible image upon which to 
> build.","homepage":"https://docs.joyent.com/images/smartos/minimal","urn":"sdc:sdc:minimal-64-lts:17.4.0","requirements":{"min_platform":{"7.0":"20141030T081701Z"},"networks":[{"name":"net0","description":"public"}]},"tags":{"role":"os","group":"minimal-64-lts"}},"source":{"type":"imgapi","url":"https://images.joyent.com"}},"arg":"62aaa296-f143-11e7-bd81-9be1bda071f7","msg":"found
>  source for 
> import","time":"2018-01-23T14:43:33.481Z","src":{"file":"/usr/img/lib/cli.js","line":1389},"v":0}
> Importing 62aaa296-f143-11e7-bd81-9be1bda071f7 ([email protected]) from 
> "https://images.joyent.com";
> Uncaught SyntaxError: Unexpected token 
> 
> FROM
> /usr/img/lib/imgadm.js:110:32
> ChildProcess.exithandler (child_process.js:635:7)
> ChildProcess.EventEmitter.emit (events.js:98:17)
> maybeClose (child_process.js:743:16)
> Socket.<anonymous> (child_process.js:956:11)
> Socket.EventEmitter.emit (events.js:95:17)
> Pipe.close (net.js:468:12)
> Abort (core dumped)
> 
> 
> 
> I can use curl to talk with the server
> 
> # curl -kv https://images.joyent.com/
> *   Trying 165.225.156.123...
> * TCP_NODELAY set
> * Failed to set TCP_KEEPALIVE on fd 4
> * Connected to images.joyent.com (165.225.156.123) port 443 (#0)
> * ALPN, offering http/1.1
> * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
> * error setting certificate verify locations, continuing anyway:
> *   CAfile: /etc/ssl/certs/ca-certificates.crt
> CApath: none
> * TLSv1.2 (OUT), TLS header, Certificate Status (22):
> * TLSv1.2 (OUT), TLS handshake, Client hello (1):
> * TLSv1.2 (IN), TLS handshake, Server hello (2):
> * TLSv1.2 (IN), TLS handshake, Certificate (11):
> * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
> * TLSv1.2 (IN), TLS handshake, Server finished (14):
> * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
> * TLSv1.2 (OUT), TLS change cipher, Client hello (1):
> * TLSv1.2 (OUT), TLS handshake, Finished (20):
> * TLSv1.2 (IN), TLS change cipher, Client hello (1):
> * TLSv1.2 (IN), TLS handshake, Finished (20):
> * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
> * ALPN, server did not agree to a protocol
> * Server certificate:
> *  subject: CN=*.joyent.com
> *  start date: May 10 00:00:00 2017 GMT
> *  expire date: Jun  9 23:59:59 2018 GMT
> *  issuer: C=US; O=GeoTrust Inc.; CN=RapidSSL SHA256 CA
> *  SSL certificate verify result: unable to get local issuer certificate 
> (20), continuing anyway.
>> GET / HTTP/1.1
>> Host: images.joyent.com
>> User-Agent: curl/7.51.0
>> Accept: */*
>> 
> < HTTP/1.1 301 Moved Permanently
> < Content-Length: 0
> < Date: Tue, 23 Jan 2018 14:50:50 GMT
> < Date: Tue, 23 Jan 2018 14:50:50 GMT
> < Location: /docs/
> < Server: Joyent Public Images Repo
> < x-request-id: 6badf0ad-90b9-4311-b142-42354ab179ef
> < x-response-time: 0
> < x-server-name: imgapi-imagesjo0-98cf10d4
>  <
>   Curl_http_done: called premature == 0
>   Connection #0 to host images.joyent.com left intact
> 
> Regards,
> Chad
> 


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to