[ Nov 21 21:33:39 Enabled. ] [ Nov 21 21:33:39 Rereading configuration. ] [ Nov 21 21:33:40 Rereading configuration. ] [ Nov 21 21:33:42 Executing start method ("/opt/oxide/lib/svc/manifest/crucible/agent.sh"). ] + . /lib/svc/share/smf_include.sh ++ SMF_EXIT_OK=0 ++ SMF_EXIT_NODAEMON=94 ++ SMF_EXIT_ERR_FATAL=95 ++ SMF_EXIT_ERR_CONFIG=96 ++ SMF_EXIT_MON_DEGRADE=97 ++ SMF_EXIT_MON_OFFLINE=98 ++ SMF_EXIT_ERR_NOSMF=99 ++ SMF_EXIT_ERR_PERM=100 ++ svcprop -c -p config/datalink svc:/oxide/crucible/agent:default + DATALINK=oxControlService14 ++ svcprop -c -p config/gateway svc:/oxide/crucible/agent:default + GATEWAY=fd00:1122:3344:101::1 ++ svcprop -c -p config/dataset svc:/oxide/crucible/agent:default + DATASET=oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::17 ++ svcprop -c -p config/listen_port svc:/oxide/crucible/agent:default + LISTEN_PORT=32345 ++ svcprop -c -p config/portbase svc:/oxide/crucible/agent:default + PORTBASE=19000 ++ svcprop -c -p config/downstairs_prefix svc:/oxide/crucible/agent:default + DOWNSTAIRS_PREFIX=downstairs ++ svcprop -c -p config/snapshot_prefix svc:/oxide/crucible/agent:default + SNAPSHOT_PREFIX=snapshot + [[ oxControlService14 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService14 ipadm: Could not delete oxControlService14: Interface does not exist + true + ipadm create-if -t oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 + ipadm show-addr oxControlService14/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService14/ll + ipadm show-addr oxControlService14/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService14/omicron6 + route get -inet6 default -inet6 fd00:1122:3344:101::1 default: not in table + route add -inet6 default -inet6 fd00:1122:3344:101::1 add net default: gateway fd00:1122:3344:101::1 + args=('-D' '/opt/oxide/crucible/bin/crucible-downstairs' '--dataset' "$DATASET" '-l' "[$LISTEN_ADDR]:$LISTEN_PORT" '-P' "$PORTBASE" '-p' "$DOWNSTAIRS_PREFIX" '-s' "$SNAPSHOT_PREFIX") + exec /opt/oxide/crucible/bin/crucible-agent run -D /opt/oxide/crucible/bin/crucible-downstairs --dataset oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:33:42.811016027Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:33:42.814966931Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:33:42.814978851Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:33:42.976481311Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.458414134Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:63779"} {"msg":"region 8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.534688201Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.540173088Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.540246518Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"uri":"/crucible/0/regions","method":"POST","req_id":"45ab02e9-52c4-4124-8d0a-f6c6bf5253dc","remote_addr":"[fd00:1122:3344:101::a]:63779","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":16180,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.550934319Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.550963989Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.608736639Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"region":"8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.874711106Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"uri":"/crucible/0/regions","method":"POST","req_id":"c7b828b3-7e97-4ba5-834f-b64504eb5e07","remote_addr":"[fd00:1122:3344:101::a]:63779","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.938330316Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"region":"8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","component":"worker"} {"msg":"region 8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.938353116Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.938632289Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.94121483Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.944927032Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.955642743Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.961582693Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.962208218Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.962294449Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.96234051Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.96237557Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.967290001Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:36.97657018Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:37.486571198Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"uri":"/crucible/0/regions","method":"POST","req_id":"7d0aca1d-5298-4cb3-bfc3-680ecfc65e0e","remote_addr":"[fd00:1122:3344:101::a]:63779","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":118,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.117904876Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:56678"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.148543026Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"uri":"/crucible/0/regions/8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","method":"GET","req_id":"2a18b64f-be34-4c8c-97e6-292672908982","remote_addr":"[fd00:1122:3344:101::a]:56678","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":174,"response_code":"200"} {"msg":"path is \"/data/regions/8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.148921269Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.161491416Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"datafile"} {"msg":"region 8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.170793775Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.170990286Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.171056807Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"uri":"/crucible/0/regions/8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","method":"DELETE","req_id":"43360b05-cd7f-41ca-b76c-f39bdbcc331c","remote_addr":"[fd00:1122:3344:101::a]:56678","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":22228,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.171179538Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"uri":"/crucible/0/regions/8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","method":"GET","req_id":"474bc3b6-f9f1-45dc-801b-30e767ec3baa","remote_addr":"[fd00:1122:3344:101::a]:56678","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.172265387Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.179951002Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.192229837Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"region":"8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","component":"worker"} {"msg":"region 8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.23744921Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:37:34.255691385Z","hostname":"oxz_crucible_4072532c-470a-4db5-9de2-6e96fc2c1fa3","pid":21166,"uri":"/crucible/0/regions/8a0dd3b2-315f-4b19-a62b-95f1c3e3adbe","method":"GET","req_id":"9e94cccd-6e80-4da3-9c36-1102ead01657","remote_addr":"[fd00:1122:3344:101::a]:56678","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":71,"response_code":"200"}