[ Oct 25 07:31:05 Enabled. ] [ Oct 25 07:31:05 Rereading configuration. ] [ Oct 25 07:31:06 Rereading configuration. ] [ Oct 25 07:31:07 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=oxControlService20 ++ 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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 + [[ oxControlService20 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService20 ipadm: Could not delete oxControlService20: Interface does not exist + true + ipadm create-if -t oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 + ipadm show-addr oxControlService20/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService20/ll + ipadm show-addr oxControlService20/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService20/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:31:08.376712319Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:31:08.390024738Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:31:08.390035338Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:31:08.582805613Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.465719523Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:48054"} {"msg":"region 0e353560-d242-4729-aead-6d8577a32558 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.540693397Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.546124625Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"uri":"/crucible/0/regions","method":"POST","req_id":"e37a3a7f-b859-4e8b-b3b1-ed970bd0c2fa","remote_addr":"[fd00:1122:3344:101::c]:48054","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":13500,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.546152725Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0e353560-d242-4729-aead-6d8577a32558","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.556025052Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0e353560-d242-4729-aead-6d8577a32558","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.556054452Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"0e353560-d242-4729-aead-6d8577a32558\"), 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/0e353560-d242-4729-aead-6d8577a32558\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.612074216Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"region":"0e353560-d242-4729-aead-6d8577a32558","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.730693952Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"uri":"/crucible/0/regions","method":"POST","req_id":"e4059552-baca-4bc6-a5d1-199300e4007b","remote_addr":"[fd00:1122:3344:101::c]:48054","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":81,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.775565366Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"region":"0e353560-d242-4729-aead-6d8577a32558","component":"worker"} {"msg":"region 0e353560-d242-4729-aead-6d8577a32558 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.775592397Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.77575426Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-0e353560-d242-4729-aead-6d8577a32558","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.78024761Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-0e353560-d242-4729-aead-6d8577a32558","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.783143033Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.792296846Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-0e353560-d242-4729-aead-6d8577a32558","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.795563125Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/0e353560-d242-4729-aead-6d8577a32558","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.796297728Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.796374759Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.79641822Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.796455651Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.802394137Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.8136965Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:28.147690696Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"uri":"/crucible/0/regions","method":"POST","req_id":"96660967-a010-4cfa-8d43-f48970744863","remote_addr":"[fd00:1122:3344:101::c]:48054","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":93,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.275031859Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:45799"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.336922258Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"uri":"/crucible/0/regions/0e353560-d242-4729-aead-6d8577a32558","method":"GET","req_id":"313d6391-83df-47a1-be30-c25ea7c1af17","remote_addr":"[fd00:1122:3344:101::c]:45799","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":217,"response_code":"200"} {"msg":"path is \"/data/regions/0e353560-d242-4729-aead-6d8577a32558\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.337153553Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0e353560-d242-4729-aead-6d8577a32558","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.350121695Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"datafile"} {"msg":"region 0e353560-d242-4729-aead-6d8577a32558 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.361089562Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.361287565Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.361333036Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"uri":"/crucible/0/regions/0e353560-d242-4729-aead-6d8577a32558","method":"DELETE","req_id":"b6bb08cc-49c5-4b0f-86dc-50cab5e6b8b8","remote_addr":"[fd00:1122:3344:101::c]:45799","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":24225,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.361459628Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"uri":"/crucible/0/regions/0e353560-d242-4729-aead-6d8577a32558","method":"GET","req_id":"fbeb1407-cc3c-46d4-84e4-5d4a03f02da7","remote_addr":"[fd00:1122:3344:101::c]:45799","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-0e353560-d242-4729-aead-6d8577a32558 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.362411635Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.370965879Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0e353560-d242-4729-aead-6d8577a32558\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.383821259Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"region":"0e353560-d242-4729-aead-6d8577a32558","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.422027034Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"uri":"/crucible/0/regions/0e353560-d242-4729-aead-6d8577a32558","method":"GET","req_id":"64a69887-cedd-463c-9ff8-36730bb9c596","remote_addr":"[fd00:1122:3344:101::c]:45799","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"region 0e353560-d242-4729-aead-6d8577a32558 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.432927689Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.591721825Z","hostname":"oxz_crucible_364b5bc8-206e-419c-8274-3dcf5f310857","pid":22260,"uri":"/crucible/0/regions/0e353560-d242-4729-aead-6d8577a32558","method":"GET","req_id":"40fddadd-9c7d-408f-ac66-b89f300e24f0","remote_addr":"[fd00:1122:3344:101::c]:45799","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":30,"response_code":"200"}