[ Feb 2 03:19:30 Enabled. ] [ Feb 2 03:19:30 Rereading configuration. ] [ Feb 2 03:19:31 Rereading configuration. ] [ Feb 2 03: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=oxControlService22 ++ 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService22/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:19:32.884830453Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:19:32.891818983Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:19:32.891834543Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:19:33.014849179Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.013619056Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:54332"} {"msg":"region 0295ed86-a904-4f5b-a389-80a8dcc64c59 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.050025716Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.053137753Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"uri":"/crucible/0/regions","method":"POST","req_id":"20c66fbe-ad7b-49ca-9cff-05a6527d1721","remote_addr":"[fd00:1122:3344:101::a]:54332","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":16200,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.058006044Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/0295ed86-a904-4f5b-a389-80a8dcc64c59","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.067885358Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/0295ed86-a904-4f5b-a389-80a8dcc64c59","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.067915458Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"0295ed86-a904-4f5b-a389-80a8dcc64c59\"), 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/0295ed86-a904-4f5b-a389-80a8dcc64c59\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.121260072Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"region":"0295ed86-a904-4f5b-a389-80a8dcc64c59","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.239032673Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"uri":"/crucible/0/regions","method":"POST","req_id":"bac8458c-e86e-4754-8ad6-ad182d93802f","remote_addr":"[fd00:1122:3344:101::a]:54332","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":638,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.468703266Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"region":"0295ed86-a904-4f5b-a389-80a8dcc64c59","component":"worker"} {"msg":"region 0295ed86-a904-4f5b-a389-80a8dcc64c59 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.468750007Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.468883188Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-0295ed86-a904-4f5b-a389-80a8dcc64c59","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.469311401Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-0295ed86-a904-4f5b-a389-80a8dcc64c59","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.473950132Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.488354123Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-0295ed86-a904-4f5b-a389-80a8dcc64c59","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.490902385Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/0295ed86-a904-4f5b-a389-80a8dcc64c59","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.49145624Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.493947051Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.494005541Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.494052282Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.502162671Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.506572568Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:24.507348155Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"uri":"/crucible/0/regions","method":"POST","req_id":"0c3d052b-3c20-40e3-a049-8d8c2d46fe5c","remote_addr":"[fd00:1122:3344:101::a]:54332","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.300391508Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:48734"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.300528029Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"uri":"/crucible/0/regions/0295ed86-a904-4f5b-a389-80a8dcc64c59","method":"GET","req_id":"6aa0ad01-c4c5-4950-8be1-cf0b752de16b","remote_addr":"[fd00:1122:3344:101::a]:48734","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"path is \"/data/regions/0295ed86-a904-4f5b-a389-80a8dcc64c59\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.301390886Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/0295ed86-a904-4f5b-a389-80a8dcc64c59","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.330254902Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"datafile"} {"msg":"region 0295ed86-a904-4f5b-a389-80a8dcc64c59 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.339829233Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.340078065Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.340137836Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"uri":"/crucible/0/regions/0295ed86-a904-4f5b-a389-80a8dcc64c59","method":"DELETE","req_id":"d8e1fa34-8475-4945-8986-6be0ec79c4e4","remote_addr":"[fd00:1122:3344:101::a]:48734","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":39454,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.340305937Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"uri":"/crucible/0/regions/0295ed86-a904-4f5b-a389-80a8dcc64c59","method":"GET","req_id":"27ff97f1-a179-4933-911a-bf04f3752897","remote_addr":"[fd00:1122:3344:101::a]:48734","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":19,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-0295ed86-a904-4f5b-a389-80a8dcc64c59 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.341274066Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.369680237Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/0295ed86-a904-4f5b-a389-80a8dcc64c59\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.380268397Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"region":"0295ed86-a904-4f5b-a389-80a8dcc64c59","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.435774419Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"uri":"/crucible/0/regions/0295ed86-a904-4f5b-a389-80a8dcc64c59","method":"GET","req_id":"f0144e5c-e4b7-41d6-ae32-e8e58024617f","remote_addr":"[fd00:1122:3344:101::a]:48734","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":106,"response_code":"200"} {"msg":"region 0295ed86-a904-4f5b-a389-80a8dcc64c59 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.450350603Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:26:56.603063641Z","hostname":"oxz_crucible_bede069f-b11e-4218-a83f-355a288a17ce","pid":23796,"uri":"/crucible/0/regions/0295ed86-a904-4f5b-a389-80a8dcc64c59","method":"GET","req_id":"7bb861eb-1c1b-486d-96af-9ead02f0ee96","remote_addr":"[fd00:1122:3344:101::a]:48734","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":30,"response_code":"200"}