[ Nov 20 18:34:11 Enabled. ] [ Nov 20 18:34:11 Rereading configuration. ] [ Nov 20 18:34:12 Rereading configuration. ] [ Nov 20 18:34:13 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=oxControlService23 ++ 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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService23/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-20T18:34:14.650521975Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.653312047Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.653322472Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:34:14.761663293Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.166983299Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:46364"} {"msg":"region 6285b911-1480-4de9-89cb-79dce5a2a409 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.252363477Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.261922233Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.261966394Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"uri":"/crucible/0/regions","method":"POST","req_id":"efc5307e-da5e-4e89-930c-5bfb77af387d","remote_addr":"[fd00:1122:3344:101::b]:46364","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":28337,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/6285b911-1480-4de9-89cb-79dce5a2a409","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.274722572Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/6285b911-1480-4de9-89cb-79dce5a2a409","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.274754883Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6285b911-1480-4de9-89cb-79dce5a2a409\"), 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/6285b911-1480-4de9-89cb-79dce5a2a409\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.316149336Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"region":"6285b911-1480-4de9-89cb-79dce5a2a409","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.417259838Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"uri":"/crucible/0/regions","method":"POST","req_id":"4896630c-35f9-4727-ac9a-58180c348ab1","remote_addr":"[fd00:1122:3344:101::b]:46364","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-20T18:35:30.512075528Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"region":"6285b911-1480-4de9-89cb-79dce5a2a409","component":"worker"} {"msg":"region 6285b911-1480-4de9-89cb-79dce5a2a409 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.512118119Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.512293155Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6285b911-1480-4de9-89cb-79dce5a2a409","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.515869079Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6285b911-1480-4de9-89cb-79dce5a2a409","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.520219998Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.5353175Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6285b911-1480-4de9-89cb-79dce5a2a409","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.537948305Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6285b911-1480-4de9-89cb-79dce5a2a409","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.538705969Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.538777051Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.538819803Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.538858724Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.549413441Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:30.556135236Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.035875108Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"uri":"/crucible/0/regions","method":"POST","req_id":"bf67673c-a2c4-48f1-9431-a6ee342f6a9a","remote_addr":"[fd00:1122:3344:101::b]:46364","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":105,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.37135219Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:44015"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.434296011Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"uri":"/crucible/0/regions/6285b911-1480-4de9-89cb-79dce5a2a409","method":"GET","req_id":"1a519247-7ee8-414b-a00f-4cd6736c09d5","remote_addr":"[fd00:1122:3344:101::b]:44015","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":97,"response_code":"200"} {"msg":"path is \"/data/regions/6285b911-1480-4de9-89cb-79dce5a2a409\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.435043775Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/6285b911-1480-4de9-89cb-79dce5a2a409","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.446222082Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"datafile"} {"msg":"region 6285b911-1480-4de9-89cb-79dce5a2a409 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.4555239Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.455695205Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.455745607Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"uri":"/crucible/0/regions/6285b911-1480-4de9-89cb-79dce5a2a409","method":"DELETE","req_id":"465dc394-cd5e-4caa-b9ba-db29f59f78ae","remote_addr":"[fd00:1122:3344:101::b]:44015","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":20736,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.455921502Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"uri":"/crucible/0/regions/6285b911-1480-4de9-89cb-79dce5a2a409","method":"GET","req_id":"eec8bd46-d6f7-4063-bb2e-fdd8cbd81d26","remote_addr":"[fd00:1122:3344:101::b]:44015","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-6285b911-1480-4de9-89cb-79dce5a2a409 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.456833042Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.460646433Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/6285b911-1480-4de9-89cb-79dce5a2a409\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.47244717Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"region":"6285b911-1480-4de9-89cb-79dce5a2a409","component":"worker"} {"msg":"region 6285b911-1480-4de9-89cb-79dce5a2a409 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.521148347Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T18:35:31.528803702Z","hostname":"oxz_crucible_08919c66-60fb-446d-8dcb-42a558825836","pid":20258,"uri":"/crucible/0/regions/6285b911-1480-4de9-89cb-79dce5a2a409","method":"GET","req_id":"c6543392-16fd-4c34-9995-5d0e421994ad","remote_addr":"[fd00:1122:3344:101::b]:44015","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":65,"response_code":"200"}