[ Oct 24 21:38:37 Enabled. ] [ Oct 24 21:38:37 Rereading configuration. ] [ Oct 24 21:38:42 Rereading configuration. ] [ Oct 24 21:38:49 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=oxControlService13 ++ 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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 + [[ oxControlService13 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService13 ipadm: Could not delete oxControlService13: Interface does not exist + true + ipadm create-if -t oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 + ipadm show-addr oxControlService13/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService13/ll + ipadm show-addr oxControlService13/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService13/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:49.626313387Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:49.629750021Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:49.629759531Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:49.773583714Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.220385063Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:48237"} {"msg":"region b66456ff-561e-4dc2-bc8e-985e8be400b0 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.231054251Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.234971445Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"uri":"/crucible/0/regions","method":"POST","req_id":"3de5426b-d32a-4b4b-b41d-961037fe42cb","remote_addr":"[fd00:1122:3344:101::a]:48237","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":6182,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.235034057Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b66456ff-561e-4dc2-bc8e-985e8be400b0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.244901028Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b66456ff-561e-4dc2-bc8e-985e8be400b0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.244937069Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"b66456ff-561e-4dc2-bc8e-985e8be400b0\"), 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/b66456ff-561e-4dc2-bc8e-985e8be400b0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.308177795Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"region":"b66456ff-561e-4dc2-bc8e-985e8be400b0","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.557288375Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"uri":"/crucible/0/regions","method":"POST","req_id":"f3be69ed-1e8f-46df-81bd-b3036fbd0daa","remote_addr":"[fd00:1122:3344:101::a]:48237","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.581251499Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"region":"b66456ff-561e-4dc2-bc8e-985e8be400b0","component":"worker"} {"msg":"region b66456ff-561e-4dc2-bc8e-985e8be400b0 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.581280829Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.581531565Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-b66456ff-561e-4dc2-bc8e-985e8be400b0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.581977674Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-b66456ff-561e-4dc2-bc8e-985e8be400b0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.586209645Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.596468775Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-b66456ff-561e-4dc2-bc8e-985e8be400b0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.600285716Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/b66456ff-561e-4dc2-bc8e-985e8be400b0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.600970861Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.601051103Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.601097744Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.601134755Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.606234154Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.615172586Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:32.130561834Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"uri":"/crucible/0/regions","method":"POST","req_id":"2907b7f9-4d25-43c0-b693-5439862126e7","remote_addr":"[fd00:1122:3344:101::a]:48237","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.058973179Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:39007"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.059253145Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"uri":"/crucible/0/regions/b66456ff-561e-4dc2-bc8e-985e8be400b0","method":"GET","req_id":"ea0851f6-62fc-4fe2-a512-3b26e95a3679","remote_addr":"[fd00:1122:3344:101::a]:39007","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":222,"response_code":"200"} {"msg":"path is \"/data/regions/b66456ff-561e-4dc2-bc8e-985e8be400b0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.059655334Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b66456ff-561e-4dc2-bc8e-985e8be400b0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.071714602Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"datafile"} {"msg":"region b66456ff-561e-4dc2-bc8e-985e8be400b0 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.081794329Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.082005063Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.082085675Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"uri":"/crucible/0/regions/b66456ff-561e-4dc2-bc8e-985e8be400b0","method":"DELETE","req_id":"528c7bb7-10cd-45b1-b211-c7ae39265249","remote_addr":"[fd00:1122:3344:101::a]:39007","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":22482,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.082262849Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"uri":"/crucible/0/regions/b66456ff-561e-4dc2-bc8e-985e8be400b0","method":"GET","req_id":"18d7a5dd-d16a-4387-8114-0715bc9964be","remote_addr":"[fd00:1122:3344:101::a]:39007","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-b66456ff-561e-4dc2-bc8e-985e8be400b0 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.083332831Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.091915875Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/b66456ff-561e-4dc2-bc8e-985e8be400b0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.103839241Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"region":"b66456ff-561e-4dc2-bc8e-985e8be400b0","component":"worker"} {"msg":"region b66456ff-561e-4dc2-bc8e-985e8be400b0 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.157014871Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.221526234Z","hostname":"oxz_crucible_f5b3f475-73df-41ac-89e5-76edfb56834d","pid":22874,"uri":"/crucible/0/regions/b66456ff-561e-4dc2-bc8e-985e8be400b0","method":"GET","req_id":"292b093c-02e1-4e59-8744-76d8c08a0f81","remote_addr":"[fd00:1122:3344:101::a]:39007","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":99,"response_code":"200"}