[ Nov 14 23:31:39 Enabled. ] [ Nov 14 23:31:39 Rereading configuration. ] [ Nov 14 23:31:41 Rereading configuration. ] [ Nov 14 23:31:43 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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::1a 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.59599787Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.600664813Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.600674843Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:45.030335112Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.836198659Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:63128"} {"msg":"region 34e3a13c-a6eb-44a9-a12d-55e5c08a10cd state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.87059735Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.873343341Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"uri":"/crucible/0/regions","method":"POST","req_id":"345bbf2b-d3b8-4b23-a78d-1f1d5872ff23","remote_addr":"[fd00:1122:3344:101::c]:63128","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":3004,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.874614695Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.883854711Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.883879348Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"34e3a13c-a6eb-44a9-a12d-55e5c08a10cd\"), 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/34e3a13c-a6eb-44a9-a12d-55e5c08a10cd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:46.938621404Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"region":"34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.062144109Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"uri":"/crucible/0/regions","method":"POST","req_id":"06596e77-9ad2-494a-805f-c738f72d4d84","remote_addr":"[fd00:1122:3344:101::c]:63128","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.117480939Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"region":"34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","component":"worker"} {"msg":"region 34e3a13c-a6eb-44a9-a12d-55e5c08a10cd state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.117507439Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.117652351Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.118162907Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.121208832Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.128368213Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.132709132Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.133460511Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.133533622Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.133576652Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.133614353Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.138479888Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.14741262Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:47.756690312Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"uri":"/crucible/0/regions","method":"POST","req_id":"fe760b2f-ebed-4a1a-b1c9-884bf0626f66","remote_addr":"[fd00:1122:3344:101::c]:63128","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.844854642Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:37302"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.910005851Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"uri":"/crucible/0/regions/34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","method":"GET","req_id":"2b10630a-4c7f-4e0b-afe7-ee8ed97f9521","remote_addr":"[fd00:1122:3344:101::c]:37302","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":2881,"response_code":"200"} {"msg":"path is \"/data/regions/34e3a13c-a6eb-44a9-a12d-55e5c08a10cd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.910212004Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.923922669Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"datafile"} {"msg":"region 34e3a13c-a6eb-44a9-a12d-55e5c08a10cd state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.934117285Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.935044316Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.935114076Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"uri":"/crucible/0/regions/34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","method":"DELETE","req_id":"bfe1b54c-0fef-4962-bf52-5fd18859d8cd","remote_addr":"[fd00:1122:3344:101::c]:37302","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":24926,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.935278318Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"uri":"/crucible/0/regions/34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","method":"GET","req_id":"27f684d1-59fa-4c0c-a1bc-b51ef5583be0","remote_addr":"[fd00:1122:3344:101::c]:37302","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-34e3a13c-a6eb-44a9-a12d-55e5c08a10cd (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.939075081Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.954414615Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/34e3a13c-a6eb-44a9-a12d-55e5c08a10cd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:40.967448173Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"region":"34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","component":"worker"} {"msg":"region 34e3a13c-a6eb-44a9-a12d-55e5c08a10cd state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:41.037137144Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:35:41.082000693Z","hostname":"oxz_crucible_2eebe89d-2085-4f42-b336-68c63b50002e","pid":21324,"uri":"/crucible/0/regions/34e3a13c-a6eb-44a9-a12d-55e5c08a10cd","method":"GET","req_id":"ff83b219-541e-4dc3-91f4-52a45f69c4cc","remote_addr":"[fd00:1122:3344:101::c]:37302","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":70,"response_code":"200"}