[ Jan 28 05:19:30 Enabled. ] [ Jan 28 05:19:30 Rereading configuration. ] [ Jan 28 05:19:31 Rereading configuration. ] [ Jan 28 05:19:32 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::13 ++ 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::13 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::13]: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":"2024-01-28T05:19:33.216435231Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:33.221668256Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:33.221682386Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:33.332110332Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.904281544Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:59398"} {"msg":"region 9cff7765-5eac-40d0-b968-21feaafcef8d state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.962791768Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.968018764Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"uri":"/crucible/0/regions","method":"POST","req_id":"6acbfcfd-43cb-41e5-828c-37723e9eda8e","remote_addr":"[fd00:1122:3344:101::a]:59398","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":16852,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.984050535Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9cff7765-5eac-40d0-b968-21feaafcef8d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.993503153Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9cff7765-5eac-40d0-b968-21feaafcef8d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.993534334Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"9cff7765-5eac-40d0-b968-21feaafcef8d\"), 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/9cff7765-5eac-40d0-b968-21feaafcef8d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.08805035Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"region":"9cff7765-5eac-40d0-b968-21feaafcef8d","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.246823743Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"uri":"/crucible/0/regions","method":"POST","req_id":"9a37583e-de33-4ab9-a2a9-51e2c22d541a","remote_addr":"[fd00:1122:3344:101::a]:59398","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":76,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.723202932Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"region":"9cff7765-5eac-40d0-b968-21feaafcef8d","component":"worker"} {"msg":"region 9cff7765-5eac-40d0-b968-21feaafcef8d state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.723244533Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.723350414Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-9cff7765-5eac-40d0-b968-21feaafcef8d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.72379045Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-9cff7765-5eac-40d0-b968-21feaafcef8d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.732171205Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.771685801Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-9cff7765-5eac-40d0-b968-21feaafcef8d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.787622931Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/9cff7765-5eac-40d0-b968-21feaafcef8d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.788920017Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.798752721Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.798802011Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.798841572Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.828502954Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.847464132Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.890572993Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"uri":"/crucible/0/regions","method":"POST","req_id":"51f493a7-3629-4341-a863-16fba47e937c","remote_addr":"[fd00:1122:3344:101::a]:59398","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":69,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.874131539Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:54591"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.874289332Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"uri":"/crucible/0/regions/9cff7765-5eac-40d0-b968-21feaafcef8d","method":"GET","req_id":"7fa34a80-c913-44ad-a358-ede1a5046fa8","remote_addr":"[fd00:1122:3344:101::a]:54591","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":97,"response_code":"200"} {"msg":"path is \"/data/regions/9cff7765-5eac-40d0-b968-21feaafcef8d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.874567857Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9cff7765-5eac-40d0-b968-21feaafcef8d","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.885034904Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"datafile"} {"msg":"region 9cff7765-5eac-40d0-b968-21feaafcef8d state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.89425141Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.894432082Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.894481223Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"uri":"/crucible/0/regions/9cff7765-5eac-40d0-b968-21feaafcef8d","method":"DELETE","req_id":"b7f14334-7ded-4cdf-928f-884c25db28c7","remote_addr":"[fd00:1122:3344:101::a]:54591","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":19931,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.894648665Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"uri":"/crucible/0/regions/9cff7765-5eac-40d0-b968-21feaafcef8d","method":"GET","req_id":"7ed26d7d-2ec2-4e3d-9ea9-946e8c9c445f","remote_addr":"[fd00:1122:3344:101::a]:54591","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-9cff7765-5eac-40d0-b968-21feaafcef8d (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.895527506Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.906810727Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9cff7765-5eac-40d0-b968-21feaafcef8d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.917121827Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"region":"9cff7765-5eac-40d0-b968-21feaafcef8d","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.952979147Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"uri":"/crucible/0/regions/9cff7765-5eac-40d0-b968-21feaafcef8d","method":"GET","req_id":"134c0394-2de0-4b9a-8e85-7b7d985ced75","remote_addr":"[fd00:1122:3344:101::a]:54591","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":57,"response_code":"200"} {"msg":"region 9cff7765-5eac-40d0-b968-21feaafcef8d state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.981750888Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:11.125272429Z","hostname":"oxz_crucible_32554e42-09be-4108-89e8-0a6adda2ff25","pid":22373,"uri":"/crucible/0/regions/9cff7765-5eac-40d0-b968-21feaafcef8d","method":"GET","req_id":"866ff8c9-4c2b-434f-9bc5-83ed54dca356","remote_addr":"[fd00:1122:3344:101::a]:54591","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":47,"response_code":"200"}