Skip to content

Instantly share code, notes, and snippets.

joyadmins-MacBook-Pro:cloudops-sdc-test-suite mohamed.khalfella$ ./run_tests.sh -a mohamed.khalfella -k '64:31:c3:98:ef:6f:3c:ef:bc:59:13:c8:24:4a:04:07' -T 'https://eu-ams-1.api.joyent.com'
Account: mohamed.khalfella
Key: 64:31:c3:98:ef:6f:3c:ef:bc:59:13:c8:24:4a:04:07
Triton URL: https://eu-ams-1.api.joyent.com
Docker URL: tcp://eu-ams-1.docker.joyent.com:2376
CMON URL: https://
Manta URL: https://us-west-a.manta.joyent.com/
joyadmins-MacBook-Pro:cloudops-sdc-test-suite mohamed.khalfella$ ./run_tests.sh -a mohamed.khalfella -k '64:31:c3:98:ef:6f:3c:ef:bc:59:13:c8:24:4a:04:07' -T 'https://us-east-1a.api.samsungcloud.io'
Account: mohamed.khalfella
Key: 64:31:c3:98:ef:6f:3c:ef:bc:59:13:c8:24:4a:04:07
Triton URL: https://us-east-1a.api.samsungcloud.io
Docker URL: tcp://us-east-1a.docker.samsungcloud.io:2376
CMON URL: https://cmon.us-east-1a.scloud.zone:9163
Manta URL: https://us-west-a.manta.joyent.com/
joyadmins-MacBook-Pro:cloudops-sdc-test-suite mohamed.khalfella$ ./run_tests.sh -a mohamed.khalfella -k '64:31:c3:98:ef:6f:3c:ef:bc:59:13:c8:24:4a:04:07' -T 'https://us-east-1.api.joyentcloud.com' -M 'https://us-east.manta.joyent.com' manta/*
Account: mohamed.khalfella
Key: 64:31:c3:98:ef:6f:3c:ef:bc:59:13:c8:24:4a:04:07
Triton URL: https://us-east-1.api.joyentcloud.com
Docker URL: tcp://us-east-1.docker.joyent.com:2376
CMON URL: https://
Manta URL: https://us-east.manta.joyent.com
joyadmins-MacBook-Pro:cloudops-sdc-test-suite mohamed.khalfella$ ./run_tests.sh -a mohamed.khalfella -k '64:31:c3:98:ef:6f:3c:ef:bc:59:13:c8:24:4a:04:07' -T 'https://us-east-1.api.joyentcloud.com' -M 'https://us-east.manta.joyent.com' manta/*
Account: mohamed.khalfella
Key: 64:31:c3:98:ef:6f:3c:ef:bc:59:13:c8:24:4a:04:07
Triton URL: https://us-east-1.api.joyentcloud.com
Docker URL: tcp://us-east-1.docker.joyent.com:2376
CMON URL: https://
Manta URL: https://us-east.manta.joyent.com
#!/bin/bash
#
# Shell script to create a user account; designed for
# use in the demo environments. You supply it with
# an account name, which is then used to pull a
# json file (with setup info) and a public key file.
#
# A password is generated and sed'd into the
# json file (so we don't commit a password into
# the repo); you can either capture it at
joyadmins-MacBook-Pro:cloudops-sdc-test-suite mohamed.khalfella$
joyadmins-MacBook-Pro:cloudops-sdc-test-suite mohamed.khalfella$ # this is a clean shell
joyadmins-MacBook-Pro:cloudops-sdc-test-suite mohamed.khalfella$ set
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.rRcGkU96y2/Render
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="57" [3]="1" [4]="release" [5]="x86_64-apple-darwin16")
joyadmins-MacBook-Pro:cloudops-sdc-test-suite mohamed.khalfella$ git log -1
commit a4863025023c846e466d54b4b2e7b4a50e275501
Author: Brian Bennett <brian.bennett@joyent.com>
Date: Thu Mar 16 16:55:51 2017 -0700
More strict sanitization of the environment to ensure tests are clean
joyadmins-MacBook-Pro:cloudops-sdc-test-suite mohamed.khalfella$
joyadmins-MacBook-Pro:cloudops-sdc-test-suite mohamed.khalfella$
joyadmins-MacBook-Pro:cloudops-sdc-test-suite mohamed.khalfella$ ./run_tests.sh -a mohamed.khalfella -k '64:31:c3:98:ef:6f:3c:ef:bc:59:13:c8:24:4a:04:07' -T 'https://demo4-cloudapi.sbox.joyent.us'
triton services: error (DEPTH_ZERO_SELF_SIGNED_CERT): self signed certificate
[root@headnode (coal-1) ~]# sdc-healthcheck
ZONE STATE AGENT STATUS
global running - online
assets running - online
sapi running - online
binder running - online
manatee running - online
moray running - online
This file has been truncated, but you can view the full file.
[ Mar 20 17:05:41 Enabled. ]
[ Mar 20 17:06:07 Executing start method ("/opt/smartdc/vmapi/build/node/bin/node --abort_on_uncaught_exception /opt/smartdc/vmapi/server.js &"). ]
[ Mar 20 17:06:07 Method "start" exited with status 0. ]
{"name":"vmapi","hostname":"452ef0bc-be2c-475a-8fc4-e63607a44058","pid":13850,"component":"wfapi","level":20,"msg":"Loading the WFAPI workflows...","time":"2017-03-20T17:06:09.306Z","v":0}
{"name":"moray","hostname":"452ef0bc-be2c-475a-8fc4-e63607a44058","pid":13850,"domain":"moray.coal-1.example.com","level":30,"attempt":0,"delay":10,"msg":"dns: resolve attempted","time":"2017-03-20T17:06:10.347Z","v":0}
{"name":"moray","hostname":"452ef0bc-be2c-475a-8fc4-e63607a44058","pid":13850,"domain":"moray.coal-1.example.com","level":40,"attempt":1,"delay":20,"msg":"dns: resolve attempted","time":"2017-03-20T17:06:14.368Z","v":0}
{"name":"moray","hostname":"452ef0bc-be2c-475a-8fc4-e63607a44058","pid":13850,"domain":"moray.coal-1.example.com","level":40,"attempt":2,"delay":40,"msg":"dns: r
mkmbpro:~ mohamed.khalfella$ mlogin --image=16.1
* created interactive job -- a0e6456e-f765-4ef4-dffe-e64460f136aa
* waiting for session... | established
mohamed.khalfella@manta # npm install -g git://github.com/joyent/manta-thoth.git#master
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
/opt/local/bin/thoth -> /opt/local/lib/node_modules/manta-thoth/bin/thoth
> dtrace-provider@0.8.1 install /opt/local/lib/node_modules/manta-thoth/node_modules/dtrace-provider
> node scripts/install.js