[ Jan 31 21:19:41 Enabled. ] [ Jan 31 21:19:41 Rereading configuration. ] [ Jan 31 21:19:43 Rereading configuration. ] [ Jan 31 21:19:46 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=oxControlService11 ++ 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService11/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:47.171716418Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:47.180963912Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:47.180976282Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:19:47.485252888Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.421288875Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:33126"} {"msg":"region c70727f7-40f3-427a-a4d6-317cc70cd4a4 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.542253731Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.555486197Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"uri":"/crucible/0/regions","method":"POST","req_id":"8032e601-090a-4b32-aff7-d0e7cb0ea5e6","remote_addr":"[fd00:1122:3344:101::a]:33126","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":56364,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.561145502Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c70727f7-40f3-427a-a4d6-317cc70cd4a4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.579062594Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c70727f7-40f3-427a-a4d6-317cc70cd4a4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.579093355Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"c70727f7-40f3-427a-a4d6-317cc70cd4a4\"), 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/c70727f7-40f3-427a-a4d6-317cc70cd4a4\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.706081857Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"region":"c70727f7-40f3-427a-a4d6-317cc70cd4a4","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:04.878400451Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"uri":"/crucible/0/regions","method":"POST","req_id":"a617b006-9543-4b07-ad97-bc961e76f0ed","remote_addr":"[fd00:1122:3344:101::a]:33126","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.277703653Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"uri":"/crucible/0/regions","method":"POST","req_id":"8e4e11c3-1c5a-4b38-b45e-a51cb0563c9a","remote_addr":"[fd00:1122:3344:101::a]:33126","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":52,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.414875497Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"region":"c70727f7-40f3-427a-a4d6-317cc70cd4a4","component":"worker"} {"msg":"region c70727f7-40f3-427a-a4d6-317cc70cd4a4 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.414902747Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.415045488Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-c70727f7-40f3-427a-a4d6-317cc70cd4a4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.415527762Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-c70727f7-40f3-427a-a4d6-317cc70cd4a4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.439541633Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.47423953Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-c70727f7-40f3-427a-a4d6-317cc70cd4a4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.486972431Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/c70727f7-40f3-427a-a4d6-317cc70cd4a4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.488132131Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.490639241Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.490689161Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.490729091Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.51563398Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:05.526257115Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:06.434887087Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"uri":"/crucible/0/regions","method":"POST","req_id":"41d91851-d3d7-4869-bf18-ba49cb99ac42","remote_addr":"[fd00:1122:3344:101::a]:33126","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.510350048Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:42039"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.510451399Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"uri":"/crucible/0/regions/c70727f7-40f3-427a-a4d6-317cc70cd4a4","method":"GET","req_id":"b8ca1167-9cd5-4aa0-a2ef-84e6e16e9aae","remote_addr":"[fd00:1122:3344:101::a]:42039","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"path is \"/data/regions/c70727f7-40f3-427a-a4d6-317cc70cd4a4\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.511253825Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c70727f7-40f3-427a-a4d6-317cc70cd4a4","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.522372534Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"datafile"} {"msg":"region c70727f7-40f3-427a-a4d6-317cc70cd4a4 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.531332116Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.531648038Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.531675648Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"uri":"/crucible/0/regions/c70727f7-40f3-427a-a4d6-317cc70cd4a4","method":"DELETE","req_id":"bb9bc0db-7929-4e85-b2ff-2454a8680562","remote_addr":"[fd00:1122:3344:101::a]:42039","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":21031,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.53185151Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"uri":"/crucible/0/regions/c70727f7-40f3-427a-a4d6-317cc70cd4a4","method":"GET","req_id":"b15fad6f-78d9-4687-bdaf-7b6db200213b","remote_addr":"[fd00:1122:3344:101::a]:42039","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-c70727f7-40f3-427a-a4d6-317cc70cd4a4 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.532847478Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.54194386Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c70727f7-40f3-427a-a4d6-317cc70cd4a4\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.551612487Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"region":"c70727f7-40f3-427a-a4d6-317cc70cd4a4","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.585159925Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"uri":"/crucible/0/regions/c70727f7-40f3-427a-a4d6-317cc70cd4a4","method":"GET","req_id":"368219a8-1adc-4b25-829e-55b76de38317","remote_addr":"[fd00:1122:3344:101::a]:42039","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":61,"response_code":"200"} {"msg":"region c70727f7-40f3-427a-a4d6-317cc70cd4a4 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.605810499Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-31T21:27:38.66992967Z","hostname":"oxz_crucible_0da92414-7fee-4c7c-98b4-5596856b4bd9","pid":22688,"uri":"/crucible/0/regions/c70727f7-40f3-427a-a4d6-317cc70cd4a4","method":"GET","req_id":"f9558e21-db91-4e40-bec7-0f17cff91636","remote_addr":"[fd00:1122:3344:101::a]:42039","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":539,"response_code":"200"}