[ Oct 24 01:16:32 Enabled. ] [ Oct 24 01:16:32 Rereading configuration. ] [ Oct 24 01:16:38 Rereading configuration. ] [ Oct 24 01:16:40 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=oxControlService12 ++ 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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 + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService12/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.426122652Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.427346866Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.427356866Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.705459993Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.83384023Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:47353"} {"msg":"region 87645e9e-f22e-449a-8693-39f2badd257d state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.89842958Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.89895875Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"uri":"/crucible/0/regions","method":"POST","req_id":"b67c8b7d-beca-47e0-99ee-212bec9392c2","remote_addr":"[fd00:1122:3344:101::a]:47353","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":1389,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.900240785Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/87645e9e-f22e-449a-8693-39f2badd257d","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.909890815Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/87645e9e-f22e-449a-8693-39f2badd257d","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.909921156Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"87645e9e-f22e-449a-8693-39f2badd257d\"), 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/87645e9e-f22e-449a-8693-39f2badd257d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.975407553Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"region":"87645e9e-f22e-449a-8693-39f2badd257d","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.066771929Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"uri":"/crucible/0/regions","method":"POST","req_id":"6d7f77c0-e3ab-476d-9b7e-d571e9e03660","remote_addr":"[fd00:1122:3344:101::a]:47353","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":121,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.159666416Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"region":"87645e9e-f22e-449a-8693-39f2badd257d","component":"worker"} {"msg":"region 87645e9e-f22e-449a-8693-39f2badd257d state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.159700626Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.159817459Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-87645e9e-f22e-449a-8693-39f2badd257d","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.160375739Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-87645e9e-f22e-449a-8693-39f2badd257d","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.163771826Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.184856871Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-87645e9e-f22e-449a-8693-39f2badd257d","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.18989091Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/87645e9e-f22e-449a-8693-39f2badd257d","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.190574233Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.190654455Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.190702746Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.190746187Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.196942808Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.209051467Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.435750493Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"uri":"/crucible/0/regions","method":"POST","req_id":"a8679e66-1dad-4ab0-91cc-35b9e1dd0857","remote_addr":"[fd00:1122:3344:101::a]:47353","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.859161038Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:35427"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.859491625Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"uri":"/crucible/0/regions/87645e9e-f22e-449a-8693-39f2badd257d","method":"GET","req_id":"6951c5b5-2714-45ba-8261-6a61cb6e707c","remote_addr":"[fd00:1122:3344:101::a]:35427","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":292,"response_code":"200"} {"msg":"path is \"/data/regions/87645e9e-f22e-449a-8693-39f2badd257d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.859642637Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/87645e9e-f22e-449a-8693-39f2badd257d","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.871265096Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"datafile"} {"msg":"region 87645e9e-f22e-449a-8693-39f2badd257d state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.881769172Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.882064518Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.882092659Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"uri":"/crucible/0/regions/87645e9e-f22e-449a-8693-39f2badd257d","method":"DELETE","req_id":"fb2b2a93-a120-40bc-9761-a6b2ad7772fa","remote_addr":"[fd00:1122:3344:101::a]:35427","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22474,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.882259412Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"uri":"/crucible/0/regions/87645e9e-f22e-449a-8693-39f2badd257d","method":"GET","req_id":"3c16da45-3e8f-4ef4-9fe1-7f1c1ecb76f7","remote_addr":"[fd00:1122:3344:101::a]:35427","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-87645e9e-f22e-449a-8693-39f2badd257d (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.883221181Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.892513114Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/87645e9e-f22e-449a-8693-39f2badd257d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.904773755Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"region":"87645e9e-f22e-449a-8693-39f2badd257d","component":"worker"} {"msg":"region 87645e9e-f22e-449a-8693-39f2badd257d state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.959013331Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:11.031833453Z","hostname":"oxz_crucible_e8c4183d-eaa2-4b1d-beb6-61cca6329970","pid":24849,"uri":"/crucible/0/regions/87645e9e-f22e-449a-8693-39f2badd257d","method":"GET","req_id":"a9c46c40-0262-4786-8a8c-952a8e690eb9","remote_addr":"[fd00:1122:3344:101::a]:35427","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":116,"response_code":"200"}