[ Nov 18 01:27:47 Enabled. ] [ Nov 18 01:27:47 Rereading configuration. ] [ Nov 18 01:27:48 Rereading configuration. ] [ Nov 18 01:27:49 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=oxControlService11 ++ 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::13 ++ 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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService11/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::13]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:27:50.1640725Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:27:50.169378398Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:27:50.169389138Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:27:50.32265722Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.577025352Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:60269"} {"msg":"region 98c996e5-63d7-4534-9d74-81314fdd7701 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.62442866Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.628204497Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.628232398Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"uri":"/crucible/0/regions","method":"POST","req_id":"38a64397-b7dd-4ae3-a693-0006f6bb0005","remote_addr":"[fd00:1122:3344:101::a]:60269","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":14783,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/98c996e5-63d7-4534-9d74-81314fdd7701","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.639787504Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/98c996e5-63d7-4534-9d74-81314fdd7701","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.639812814Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"98c996e5-63d7-4534-9d74-81314fdd7701\"), 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/98c996e5-63d7-4534-9d74-81314fdd7701\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.741217566Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"region":"98c996e5-63d7-4534-9d74-81314fdd7701","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.77421379Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"uri":"/crucible/0/regions","method":"POST","req_id":"226b8a47-dea9-4ad6-a06a-0f850b02b000","remote_addr":"[fd00:1122:3344:101::a]:60269","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":88,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.999349709Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"region":"98c996e5-63d7-4534-9d74-81314fdd7701","component":"worker"} {"msg":"region 98c996e5-63d7-4534-9d74-81314fdd7701 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.99938101Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.999496392Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-98c996e5-63d7-4534-9d74-81314fdd7701","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.002099496Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-98c996e5-63d7-4534-9d74-81314fdd7701","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.015211054Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.068211656Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-98c996e5-63d7-4534-9d74-81314fdd7701","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.081352615Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/98c996e5-63d7-4534-9d74-81314fdd7701","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.082214133Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.082327325Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.082387316Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.082436537Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.098692369Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.131303425Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.314717503Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"uri":"/crucible/0/regions","method":"POST","req_id":"bfdfcd33-6a05-4a63-a004-968ebd752faf","remote_addr":"[fd00:1122:3344:101::a]:60269","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.88683266Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:59848"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.887008714Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"uri":"/crucible/0/regions/98c996e5-63d7-4534-9d74-81314fdd7701","method":"GET","req_id":"ac9243a9-fd11-4b8d-ae35-f93102825ac5","remote_addr":"[fd00:1122:3344:101::a]:59848","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":100,"response_code":"200"} {"msg":"path is \"/data/regions/98c996e5-63d7-4534-9d74-81314fdd7701\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.88731326Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/98c996e5-63d7-4534-9d74-81314fdd7701","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.899947278Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"datafile"} {"msg":"region 98c996e5-63d7-4534-9d74-81314fdd7701 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.910454753Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.910592125Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.910650566Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"uri":"/crucible/0/regions/98c996e5-63d7-4534-9d74-81314fdd7701","method":"DELETE","req_id":"556832f6-1f39-4454-a5c9-d62344dee431","remote_addr":"[fd00:1122:3344:101::a]:59848","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":23365,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.910786559Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"uri":"/crucible/0/regions/98c996e5-63d7-4534-9d74-81314fdd7701","method":"GET","req_id":"71b9bba8-4745-47af-be1a-c8ad126409d2","remote_addr":"[fd00:1122:3344:101::a]:59848","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-98c996e5-63d7-4534-9d74-81314fdd7701 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.911834141Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.931453522Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/98c996e5-63d7-4534-9d74-81314fdd7701\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.942428346Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"region":"98c996e5-63d7-4534-9d74-81314fdd7701","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.999539442Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"uri":"/crucible/0/regions/98c996e5-63d7-4534-9d74-81314fdd7701","method":"GET","req_id":"34857ba5-1e1e-45a3-998a-e476cd04e968","remote_addr":"[fd00:1122:3344:101::a]:59848","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"region 98c996e5-63d7-4534-9d74-81314fdd7701 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:51.033914505Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:51.169222749Z","hostname":"oxz_crucible_a95535e2-a23d-4e1c-a3a4-ce6208cda7c5","pid":22019,"uri":"/crucible/0/regions/98c996e5-63d7-4534-9d74-81314fdd7701","method":"GET","req_id":"efd849cf-d80e-4f1a-9261-59d18d1f1dfe","remote_addr":"[fd00:1122:3344:101::a]:59848","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":32,"response_code":"200"}