[ Nov 29 19:47:28 Enabled. ] [ Nov 29 19:47:28 Rereading configuration. ] [ Nov 29 19:47:30 Rereading configuration. ] [ Nov 29 19:47:31 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=oxControlService22 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService22/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-29T19:47:31.82242574Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.825992623Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.826001213Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.919157657Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:24.976516035Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:40839"} {"msg":"region f3700382-42a3-400d-86d0-ba8bc5211958 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.02397275Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.027325969Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.027362289Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"uri":"/crucible/0/regions","method":"POST","req_id":"cfaa49aa-8e8c-4b81-86d9-bf51c07a1c4c","remote_addr":"[fd00:1122:3344:101::b]:40839","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":18115,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/f3700382-42a3-400d-86d0-ba8bc5211958","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.039955794Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/f3700382-42a3-400d-86d0-ba8bc5211958","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.039985724Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"f3700382-42a3-400d-86d0-ba8bc5211958\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 16, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/f3700382-42a3-400d-86d0-ba8bc5211958\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.111549682Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"region":"f3700382-42a3-400d-86d0-ba8bc5211958","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.321102091Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"uri":"/crucible/0/regions","method":"POST","req_id":"705b0c37-219a-4b03-b8c6-e55036550886","remote_addr":"[fd00:1122:3344:101::b]:40839","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.347613419Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"region":"f3700382-42a3-400d-86d0-ba8bc5211958","component":"worker"} {"msg":"region f3700382-42a3-400d-86d0-ba8bc5211958 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.34764467Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.347764641Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-f3700382-42a3-400d-86d0-ba8bc5211958","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.350215477Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-f3700382-42a3-400d-86d0-ba8bc5211958","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.36060615Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.388645725Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-f3700382-42a3-400d-86d0-ba8bc5211958","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.404927339Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/f3700382-42a3-400d-86d0-ba8bc5211958","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.405940773Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.406048775Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.406116486Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.406156237Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.424505475Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.444716851Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.022629124Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"uri":"/crucible/0/regions","method":"POST","req_id":"7165e0ad-7943-4032-a39c-23f83cb42f85","remote_addr":"[fd00:1122:3344:101::b]:40839","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":81,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.781554158Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:43550"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.78171697Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"uri":"/crucible/0/regions/f3700382-42a3-400d-86d0-ba8bc5211958","method":"GET","req_id":"60e729c4-9ef5-42ea-a38f-3f1181c89430","remote_addr":"[fd00:1122:3344:101::b]:43550","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":110,"response_code":"200"} {"msg":"path is \"/data/regions/f3700382-42a3-400d-86d0-ba8bc5211958\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.781922763Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/f3700382-42a3-400d-86d0-ba8bc5211958","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.791148469Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"datafile"} {"msg":"region f3700382-42a3-400d-86d0-ba8bc5211958 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.799651703Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.799790085Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.799854466Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"uri":"/crucible/0/regions/f3700382-42a3-400d-86d0-ba8bc5211958","method":"DELETE","req_id":"af4e1232-328d-4c99-ac2f-eef3ad58be24","remote_addr":"[fd00:1122:3344:101::b]:43550","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":17965,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.800015308Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"uri":"/crucible/0/regions/f3700382-42a3-400d-86d0-ba8bc5211958","method":"GET","req_id":"b132a2f2-fb5f-4469-9b51-a10bd7717cc3","remote_addr":"[fd00:1122:3344:101::b]:43550","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-f3700382-42a3-400d-86d0-ba8bc5211958 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.800973282Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.809727741Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/f3700382-42a3-400d-86d0-ba8bc5211958\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.819736567Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"region":"f3700382-42a3-400d-86d0-ba8bc5211958","component":"worker"} {"msg":"region f3700382-42a3-400d-86d0-ba8bc5211958 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.882859712Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.905469703Z","hostname":"oxz_crucible_858614ea-636d-48a1-818d-6025cfe1a887","pid":24560,"uri":"/crucible/0/regions/f3700382-42a3-400d-86d0-ba8bc5211958","method":"GET","req_id":"0168aa76-bf5b-4990-bb7c-ca4a2070650c","remote_addr":"[fd00:1122:3344:101::b]:43550","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":108,"response_code":"200"}