[ Oct 24 21:38:36 Enabled. ] [ Oct 24 21:38:36 Rereading configuration. ] [ Oct 24 21:38:38 Rereading configuration. ] [ Oct 24 21:38:45 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::12 ++ 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::12 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::12]: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-10-24T21:38:45.775704315Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:45.779261911Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:45.779269401Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:46.381549001Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.469979379Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:40754"} {"msg":"region 6dfb5f44-b0f8-4c31-bc41-68e31804e145 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.532702483Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.533146993Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"uri":"/crucible/0/regions","method":"POST","req_id":"cf014755-c6e4-43e8-a2a3-a9c1c00aac6d","remote_addr":"[fd00:1122:3344:101::a]:40754","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":789,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.536374042Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfb5f44-b0f8-4c31-bc41-68e31804e145","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.545344944Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfb5f44-b0f8-4c31-bc41-68e31804e145","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.545376845Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6dfb5f44-b0f8-4c31-bc41-68e31804e145\"), 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/6dfb5f44-b0f8-4c31-bc41-68e31804e145\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.606055086Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"region":"6dfb5f44-b0f8-4c31-bc41-68e31804e145","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.746357713Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"uri":"/crucible/0/regions","method":"POST","req_id":"06aea61d-70c5-40ae-a8cd-ef44f94289a3","remote_addr":"[fd00:1122:3344:101::a]:40754","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.960761239Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"region":"6dfb5f44-b0f8-4c31-bc41-68e31804e145","component":"worker"} {"msg":"region 6dfb5f44-b0f8-4c31-bc41-68e31804e145 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.96079693Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.961050485Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6dfb5f44-b0f8-4c31-bc41-68e31804e145","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.966221296Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6dfb5f44-b0f8-4c31-bc41-68e31804e145","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.969803792Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.978363626Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6dfb5f44-b0f8-4c31-bc41-68e31804e145","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.981662307Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6dfb5f44-b0f8-4c31-bc41-68e31804e145","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.982382952Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.982458964Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.982503555Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.982538836Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.993121663Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.998289363Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.085411071Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"uri":"/crucible/0/regions","method":"POST","req_id":"42498a3c-a912-43e4-893a-8c043a7ce1da","remote_addr":"[fd00:1122:3344:101::a]:40754","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.782544585Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:46080"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.813796505Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"uri":"/crucible/0/regions/6dfb5f44-b0f8-4c31-bc41-68e31804e145","method":"GET","req_id":"6ba0eac0-2a28-4b58-8e22-7d25cadfbce8","remote_addr":"[fd00:1122:3344:101::a]:46080","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":126,"response_code":"200"} {"msg":"path is \"/data/regions/6dfb5f44-b0f8-4c31-bc41-68e31804e145\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.81402974Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfb5f44-b0f8-4c31-bc41-68e31804e145","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.826533308Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"datafile"} {"msg":"region 6dfb5f44-b0f8-4c31-bc41-68e31804e145 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.837972223Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.838249929Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.83832909Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"uri":"/crucible/0/regions/6dfb5f44-b0f8-4c31-bc41-68e31804e145","method":"DELETE","req_id":"62d83bd5-6b2f-44c6-b908-7baf4157abef","remote_addr":"[fd00:1122:3344:101::a]:46080","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":24340,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.839059846Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"uri":"/crucible/0/regions/6dfb5f44-b0f8-4c31-bc41-68e31804e145","method":"GET","req_id":"aea612f9-5292-401a-9823-cef787f11f54","remote_addr":"[fd00:1122:3344:101::a]:46080","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":33,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-6dfb5f44-b0f8-4c31-bc41-68e31804e145 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.839508716Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.844734408Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6dfb5f44-b0f8-4c31-bc41-68e31804e145\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.857238816Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"region":"6dfb5f44-b0f8-4c31-bc41-68e31804e145","component":"worker"} {"msg":"region 6dfb5f44-b0f8-4c31-bc41-68e31804e145 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.924264263Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.94561357Z","hostname":"oxz_crucible_9c679766-703b-4868-b75f-17d8e9624b4d","pid":22120,"uri":"/crucible/0/regions/6dfb5f44-b0f8-4c31-bc41-68e31804e145","method":"GET","req_id":"b29247c1-ec8d-432c-9f93-43b91770bbd8","remote_addr":"[fd00:1122:3344:101::a]:46080","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":88,"response_code":"200"}