Skip to content

Instantly share code, notes, and snippets.

View bdha's full-sized avatar
☂️
ಠ_ಠ

Bryan Horstmann-Allen bdha

☂️
ಠ_ಠ
View GitHub Profile
[root@headnode (nyc-1) ~]# zpool status -v
pool: zones
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zones ONLINE 0 0 0
c3t5000CCA0153E92E9d0 ONLINE 0 0 0
logs
{
"v": "1",
"creator_uuid": "00000000-0000-0000-0000-000000000000",
"uuid": "4166453a-9408-11e5-9b45-f73b5f117b18",
"name": "omnios",
"version": "r151016",
"description": "OmniOS",
"state": "active",
"public": true,
"disabled": false,
[20150625-02:47:45]::[root@lx-test]:[~]# /native/usr/sbin/dtrace -n 'syscall:::entry /execname == "snapboard"/ { @num[probefunc] = count(); }'
dtrace: description 'syscall:::entry ' matched 233 probes
^C
lwp_continue 2
lwp_create 2
mprotect 2
processor_bind 2
schedctl 2
yield 2
[root@gp1 (us-east-1) ~]# vmadm list | grep damson
7913a1eb-91c1-6f60-9c28-c1e7449fb4b1 LX 2048 running damson0.dev
b8a1392c-9b92-ca47-a433-cd3928ba7e56 LX 2048 running damson1.dev
f79b1c8f-75e7-4c12-9e0e-daceb8b99d9b LX 2048 running damson2.dev
# uname -a
SunOS damson0.dev.helium.systems 5.11 joyent_20150430T051511Z i86pc i386 i86pc
# zonename
7913a1eb-91c1-6f60-9c28-c1e7449fb4b1
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/opt/local/bin/ruby200 extconf.rb
creating Makefile
Compiling v8 for x64
Using python 2.7.9
Using compiler: /opt/local/bin/c++ (GCC version 2.11)
Unable to find a compiler officially supported by v8.
It is recommended to use GCC v4.4 or higher
../src/checks.cc:110:3: fatal error: opening dependency file /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/.deps//var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/checks.o.d.raw: No such file or directory
### 13.3.1
# pkgin avail | grep vim-[0-9]
vim-7.3.1140 Vim editor (vi clone) without GUI
### 14.4.1
[root@41400479-e649-6ff6-ae10-f6733401d38b ~]# pkgin avail | grep vim-[0-9]
vim-7.4.430;Vim editor (vi clone) without GUI
Recipe: build-essential::_smartos
* smartos_package[autoconf] action install
================================================================================
Error executing action `install` on resource 'smartos_package[autoconf]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '3'
[root@gp3 ~]# vmadm update 2f5a2302-6ca2-4f82-bade-34afdd8487ec <<EOF
> {"set_tags": {"hello": "world"}}
> EOF
Successfully updated VM 2f5a2302-6ca2-4f82-bade-34afdd8487ec
[root@gp3 ~]# vmadm get 2f5a2302-6ca2-4f82-bade-34afdd8487ec | json -aH tags
{
"hello": "world"
}
@bdha
bdha / 0.txt
Last active August 29, 2015 14:20
ResourceNotFoundError: Workflow with uuid 'workflow-check' does not exist
[2015-05-08T13:59:12.286Z] INFO: workflow-api/20171 on 89f64f42-3878-426a-987b-19f142af6b53: (req_id=67bf9be0-f58a-11e4-a6ea-5fcf7a54b72f)
evt: {
"ph": "b",
"name": "getworkflowsuuid010"
}
[2015-05-08T13:59:12.289Z] ERROR: workflow-api/wf-moray-backend/20171 on 89f64f42-3878-426a-987b-19f142af6b53: getWorkflow Error
ObjectNotFoundError: wf_workflows::workflow-check does not exist
at EventEmitter.<anonymous> (/opt/smartdc/moray/lib/objects/get.js:71:16)
[root@headnode (moya) ~]# sdcadm update --all -y
Finding candidate update images for 23 services (binder, papi, mahi, dhcpd, redis, ufds, adminui, cloudapi, sdc, ca, sapi, manatee, moray, amon, vmapi, napi, manta, imgapi, workflow, cnapi, amonredis, fwapi, assets).
Note: There are no "manta" instances. Only the service configuration will be updated.
This update will make the following changes:
download 23 images (1192 MiB):
image d6f341e4-ef02-11e4-8be7-2f79005449b8 (redis@release-20150430-20150430T063105Z-g0d6e5b9)
image c7565f0e-ef03-11e4-ab3b-d7ca277eb670 (sapi@release-20150430-20150430T063118Z-g983d6be)
image 43b44950-ef02-11e4-bcce-53d3affcacaa (amonredis@release-20150430-20150430T062628Z-g4bbca77)
image d95cb044-eeff-11e4-b61f-87a8efe4eebf (ufds@release-20150430-20150430T060525Z-g9d089af)