[ Oct 25 07:31:06 Enabled. ] [ Oct 25 07:31:06 Rereading configuration. ] [ Oct 25 07:31:07 Rereading configuration. ] [ Oct 25 07:31:09 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=oxControlService17 ++ 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::18 ++ 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 + [[ oxControlService17 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService17 ipadm: Could not delete oxControlService17: Interface does not exist + true + ipadm create-if -t oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17 + ipadm show-addr oxControlService17/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService17/ll + ipadm show-addr oxControlService17/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService17/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::18]: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-10-25T07:31:09.848150722Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:31:09.852556561Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:31:09.852571232Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:31:09.982447906Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:23.907238353Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:63574"} {"msg":"region d125b63d-ffa5-4d22-9b0e-56c8d480be99 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:23.945632863Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:23.94609743Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"uri":"/crucible/0/regions","method":"POST","req_id":"c021f24c-e11c-4ec8-9429-cc94de08342e","remote_addr":"[fd00:1122:3344:101::c]:63574","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":5041,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:23.948632427Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:23.957940514Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:23.957966175Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"d125b63d-ffa5-4d22-9b0e-56c8d480be99\"), 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/d125b63d-ffa5-4d22-9b0e-56c8d480be99\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.000159773Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"region":"d125b63d-ffa5-4d22-9b0e-56c8d480be99","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.119133005Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"uri":"/crucible/0/regions","method":"POST","req_id":"d0a68650-fcd4-4599-86b0-52661c4d75cb","remote_addr":"[fd00:1122:3344:101::c]:63574","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":97,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.22038416Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"region":"d125b63d-ffa5-4d22-9b0e-56c8d480be99","component":"worker"} {"msg":"region d125b63d-ffa5-4d22-9b0e-56c8d480be99 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.22041469Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.220515872Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-d125b63d-ffa5-4d22-9b0e-56c8d480be99","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.221020741Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-d125b63d-ffa5-4d22-9b0e-56c8d480be99","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.225214476Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.235236946Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-d125b63d-ffa5-4d22-9b0e-56c8d480be99","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.238030826Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.238742229Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.23881443Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.238857201Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.238894942Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.248032976Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.25219089Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:24.733965075Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"uri":"/crucible/0/regions","method":"POST","req_id":"180d6ef8-a7f5-4f5b-8056-4375b48b09ea","remote_addr":"[fd00:1122:3344:101::c]:63574","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.054662452Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:50099"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.085745609Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"uri":"/crucible/0/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99","method":"GET","req_id":"68e9f303-8618-4562-bf26-3f5ceb3cd71c","remote_addr":"[fd00:1122:3344:101::c]:50099","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":100,"response_code":"200"} {"msg":"path is \"/data/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.085995193Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.096748606Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"datafile"} {"msg":"region d125b63d-ffa5-4d22-9b0e-56c8d480be99 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.106123744Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.106277887Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.106345458Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"uri":"/crucible/0/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99","method":"DELETE","req_id":"dcbce494-9290-44d7-b00e-2fa0f566ab79","remote_addr":"[fd00:1122:3344:101::c]:50099","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":20376,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.106522371Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"uri":"/crucible/0/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99","method":"GET","req_id":"9c3e6306-1349-4476-b332-70c4c587a297","remote_addr":"[fd00:1122:3344:101::c]:50099","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-d125b63d-ffa5-4d22-9b0e-56c8d480be99 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.107333036Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.111279107Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.122223873Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"region":"d125b63d-ffa5-4d22-9b0e-56c8d480be99","component":"worker"} {"msg":"region d125b63d-ffa5-4d22-9b0e-56c8d480be99 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.174448248Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:25.179603371Z","hostname":"oxz_crucible_5281082d-454d-4578-8a40-9685f2bc250c","pid":23041,"uri":"/crucible/0/regions/d125b63d-ffa5-4d22-9b0e-56c8d480be99","method":"GET","req_id":"d65b626f-5bb2-4215-a18b-9d5908a8bf20","remote_addr":"[fd00:1122:3344:101::c]:50099","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":60,"response_code":"200"}