[ Oct 26 23:28:04 Enabled. ] [ Oct 26 23:28:04 Rereading configuration. ] [ Oct 26 23:28:08 Rereading configuration. ] [ Oct 26 23:28:15 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=oxControlService19 ++ 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService19/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:28:16.367251125Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:28:16.372311126Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:28:16.372320406Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:28:16.668299286Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.683382386Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:63305"} {"msg":"region 0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.715199073Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.719602052Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.719666283Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"uri":"/crucible/0/regions","method":"POST","req_id":"fc983461-1eca-48ac-9f62-0c1c59f5199b","remote_addr":"[fd00:1122:3344:101::a]:63305","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":4877,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.730109082Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.730142243Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 16, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.783271967Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"region":"0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:20.866191999Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"uri":"/crucible/0/regions","method":"POST","req_id":"b80342a6-e8f4-4a52-acea-b1a3af118e27","remote_addr":"[fd00:1122:3344:101::a]:63305","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.057833998Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"region":"0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","component":"worker"} {"msg":"region 0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.057871319Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.057979901Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.058455841Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.061639565Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.069335209Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.071787158Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.072501772Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.072577004Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.072620395Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.072659046Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.081622325Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.085969082Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.169579128Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"uri":"/crucible/0/regions","method":"POST","req_id":"f1932c6d-d425-4a16-bf3a-4a76b1f31fec","remote_addr":"[fd00:1122:3344:101::a]:63305","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":65,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.716535205Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:65270"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.747383453Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"uri":"/crucible/0/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","method":"GET","req_id":"e96bae27-4e66-4677-9a68-9f97dad71992","remote_addr":"[fd00:1122:3344:101::a]:65270","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":88,"response_code":"200"} {"msg":"path is \"/data/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.747569707Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.758137729Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"datafile"} {"msg":"region 0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.768560177Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.768732111Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.768794622Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"uri":"/crucible/0/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","method":"DELETE","req_id":"61870ad1-aa9f-4b85-b77a-65100075da93","remote_addr":"[fd00:1122:3344:101::a]:65270","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":21251,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.768948595Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"uri":"/crucible/0/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","method":"GET","req_id":"0b64abd2-3d4d-4fa7-8649-24d50d54a0e3","remote_addr":"[fd00:1122:3344:101::a]:65270","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.769834113Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.773755352Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.785120949Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"region":"0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","component":"worker"} {"msg":"region 0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.84502437Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T23:29:21.852274195Z","hostname":"oxz_crucible_628c8410-c718-457b-b2cb-43b2aba9c7ef","pid":21792,"uri":"/crucible/0/regions/0544f6bf-e57d-4cb2-9d6c-ba2c6c52591e","method":"GET","req_id":"96ffb20b-bf1c-4ab0-90c9-98322ec1e386","remote_addr":"[fd00:1122:3344:101::a]:65270","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":92,"response_code":"200"}