[ Nov 19 06:11:08 Enabled. ] [ Nov 19 06:11:08 Rereading configuration. ] [ Nov 19 06:11:10 Rereading configuration. ] [ Nov 19 06:11:11 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=oxControlService18 ++ 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 + [[ oxControlService18 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService18 ipadm: Could not delete oxControlService18: Interface does not exist + true + ipadm create-if -t oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 + ipadm show-addr oxControlService18/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService18/ll + ipadm show-addr oxControlService18/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService18/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":"2023-11-19T06:11:12.197004792Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:11:12.198097215Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:11:12.198110256Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:11:12.323134611Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.094918576Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:34064"} {"msg":"region 2b03f291-c35c-4850-94ab-03911ed18043 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.136885987Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.140353821Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.140376811Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"uri":"/crucible/0/regions","method":"POST","req_id":"3b83cd26-a4d5-4281-88f6-ae37b39028f0","remote_addr":"[fd00:1122:3344:101::a]:34064","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":14443,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/2b03f291-c35c-4850-94ab-03911ed18043","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.152170292Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/2b03f291-c35c-4850-94ab-03911ed18043","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.152202962Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"2b03f291-c35c-4850-94ab-03911ed18043\"), 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/2b03f291-c35c-4850-94ab-03911ed18043\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.310258059Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"region":"2b03f291-c35c-4850-94ab-03911ed18043","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.465855424Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"uri":"/crucible/0/regions","method":"POST","req_id":"b74c58b7-2a15-4bbe-829f-3f56e7885a6a","remote_addr":"[fd00:1122:3344:101::a]:34064","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.684956948Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"region":"2b03f291-c35c-4850-94ab-03911ed18043","component":"worker"} {"msg":"region 2b03f291-c35c-4850-94ab-03911ed18043 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.685003589Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.68508795Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-2b03f291-c35c-4850-94ab-03911ed18043","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.685485069Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-2b03f291-c35c-4850-94ab-03911ed18043","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.715545407Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.765963548Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-2b03f291-c35c-4850-94ab-03911ed18043","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.793915842Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/2b03f291-c35c-4850-94ab-03911ed18043","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.794600576Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.794673338Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.794734249Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.79477662Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.837397945Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.921860939Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.215347702Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"uri":"/crucible/0/regions","method":"POST","req_id":"c690b14f-af77-4d9b-81d8-a7b35546d090","remote_addr":"[fd00:1122:3344:101::a]:34064","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":69,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.934637969Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:57844"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.934766212Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"uri":"/crucible/0/regions/2b03f291-c35c-4850-94ab-03911ed18043","method":"GET","req_id":"312eed9a-1049-486c-8dc3-0e4d425b15c9","remote_addr":"[fd00:1122:3344:101::a]:57844","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":103,"response_code":"200"} {"msg":"path is \"/data/regions/2b03f291-c35c-4850-94ab-03911ed18043\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.934988967Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/2b03f291-c35c-4850-94ab-03911ed18043","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.945728415Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"datafile"} {"msg":"region 2b03f291-c35c-4850-94ab-03911ed18043 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.957103496Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.95725911Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.957312961Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"uri":"/crucible/0/regions/2b03f291-c35c-4850-94ab-03911ed18043","method":"DELETE","req_id":"6d372fb7-8a93-4764-aa99-b076b5f5e434","remote_addr":"[fd00:1122:3344:101::a]:57844","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":22365,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.957418503Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"uri":"/crucible/0/regions/2b03f291-c35c-4850-94ab-03911ed18043","method":"GET","req_id":"c10890cf-7489-424d-b549-c231e859cf51","remote_addr":"[fd00:1122:3344:101::a]:57844","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-2b03f291-c35c-4850-94ab-03911ed18043 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.958289832Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.975988008Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/2b03f291-c35c-4850-94ab-03911ed18043\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.988864211Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"region":"2b03f291-c35c-4850-94ab-03911ed18043","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:09.09148578Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"uri":"/crucible/0/regions/2b03f291-c35c-4850-94ab-03911ed18043","method":"GET","req_id":"0969d683-089a-407c-aefb-29a0a7d35770","remote_addr":"[fd00:1122:3344:101::a]:57844","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region 2b03f291-c35c-4850-94ab-03911ed18043 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:09.142959414Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:09.209011827Z","hostname":"oxz_crucible_fadd7932-2c90-43cc-aa79-5eff8a701280","pid":20558,"uri":"/crucible/0/regions/2b03f291-c35c-4850-94ab-03911ed18043","method":"GET","req_id":"c7209d36-9fd1-4cd2-ab58-122ee09eea88","remote_addr":"[fd00:1122:3344:101::a]:57844","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":22,"response_code":"200"}