[ Feb 2 02:33:15 Enabled. ] [ Feb 2 02:33:15 Rereading configuration. ] [ Feb 2 02:33:18 Rereading configuration. ] [ Feb 2 02:33:24 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=oxControlService21 ++ 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_f4b4dc87-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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService21/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_f4b4dc87-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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:33:25.064386849Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:33:25.068384247Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:33:25.068394267Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:33:25.35105671Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:08.956755307Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:49093"} {"msg":"region f2edd028-334a-4d75-85cc-afbde81225b7 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:08.990812945Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:08.99468457Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"uri":"/crucible/0/regions","method":"POST","req_id":"12fc59ba-2706-443b-98a6-bf6f9fffe6a3","remote_addr":"[fd00:1122:3344:101::a]:49093","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":13389,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.000624586Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f2edd028-334a-4d75-85cc-afbde81225b7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.009457943Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f2edd028-334a-4d75-85cc-afbde81225b7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.009484884Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"f2edd028-334a-4d75-85cc-afbde81225b7\"), 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/f2edd028-334a-4d75-85cc-afbde81225b7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.067910631Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"region":"f2edd028-334a-4d75-85cc-afbde81225b7","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.147044188Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"uri":"/crucible/0/regions","method":"POST","req_id":"3abce37e-4dc7-4db7-aeda-8ca0ae07c1bc","remote_addr":"[fd00:1122:3344:101::a]:49093","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":59,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.49476357Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"region":"f2edd028-334a-4d75-85cc-afbde81225b7","component":"worker"} {"msg":"region f2edd028-334a-4d75-85cc-afbde81225b7 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.494808271Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.494923423Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-f2edd028-334a-4d75-85cc-afbde81225b7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.495397995Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-f2edd028-334a-4d75-85cc-afbde81225b7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.502534481Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.518332839Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-f2edd028-334a-4d75-85cc-afbde81225b7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.524316897Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/f2edd028-334a-4d75-85cc-afbde81225b7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.525048364Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.529585166Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.529638207Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.529686569Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.544927413Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.55331468Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:09.554694124Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"uri":"/crucible/0/regions","method":"POST","req_id":"fb38a487-ba83-4098-9ee6-aac77a24f322","remote_addr":"[fd00:1122:3344:101::a]:49093","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":65,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.519222858Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:63466"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.520286494Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"uri":"/crucible/0/regions/f2edd028-334a-4d75-85cc-afbde81225b7","method":"GET","req_id":"fc8bf460-6460-431b-a751-21413744f374","remote_addr":"[fd00:1122:3344:101::a]:63466","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":1028,"response_code":"200"} {"msg":"path is \"/data/regions/f2edd028-334a-4d75-85cc-afbde81225b7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.520507809Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f2edd028-334a-4d75-85cc-afbde81225b7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.531776857Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"datafile"} {"msg":"region f2edd028-334a-4d75-85cc-afbde81225b7 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.540245445Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.540512501Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.540559553Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"uri":"/crucible/0/regions/f2edd028-334a-4d75-85cc-afbde81225b7","method":"DELETE","req_id":"eb8a0d39-7e9f-420e-80e5-9656fb11be59","remote_addr":"[fd00:1122:3344:101::a]:63466","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":20081,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.540703646Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"uri":"/crucible/0/regions/f2edd028-334a-4d75-85cc-afbde81225b7","method":"GET","req_id":"c9cca6bc-3356-4790-aa2f-031e5f591786","remote_addr":"[fd00:1122:3344:101::a]:63466","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-f2edd028-334a-4d75-85cc-afbde81225b7 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.541559977Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.547467563Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f2edd028-334a-4d75-85cc-afbde81225b7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.55632739Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"region":"f2edd028-334a-4d75-85cc-afbde81225b7","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.602010194Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"uri":"/crucible/0/regions/f2edd028-334a-4d75-85cc-afbde81225b7","method":"GET","req_id":"fb12ad56-daec-49b1-980d-605e975ebbb3","remote_addr":"[fd00:1122:3344:101::a]:63466","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":57,"response_code":"200"} {"msg":"region f2edd028-334a-4d75-85cc-afbde81225b7 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.606653748Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T02:40:40.66892937Z","hostname":"oxz_crucible_d45660a7-4dd2-4024-90f6-52d9a78db041","pid":22813,"uri":"/crucible/0/regions/f2edd028-334a-4d75-85cc-afbde81225b7","method":"GET","req_id":"b9df0eea-60a3-417a-b980-3f452248d12e","remote_addr":"[fd00:1122:3344:101::a]:63466","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":696,"response_code":"200"}