[ Oct 5 07:23:28 Enabled. ] [ Oct 5 07:23:28 Rereading configuration. ] [ Oct 5 07:23:29 Rereading configuration. ] [ Oct 5 07:23:30 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_14b4dc87-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 + [[ 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::12 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_14b4dc87-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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:31.521647584Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:31.526174496Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:31.526186986Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:31.66145896Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.277999974Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:58774"} {"msg":"region ba0872da-9859-41be-938e-6a783621af29 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.35851739Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.372558822Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"uri":"/crucible/0/regions","method":"POST","req_id":"4c50bda2-5888-41e2-8ed3-97a7fd579356","remote_addr":"[fd00:1122:3344:101::c]:58774","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":28393,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.375127993Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ba0872da-9859-41be-938e-6a783621af29","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.384767336Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ba0872da-9859-41be-938e-6a783621af29","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.384794507Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"ba0872da-9859-41be-938e-6a783621af29\"), 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/ba0872da-9859-41be-938e-6a783621af29\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.45690869Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"region":"ba0872da-9859-41be-938e-6a783621af29","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.733126207Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"region":"ba0872da-9859-41be-938e-6a783621af29","component":"worker"} {"msg":"region ba0872da-9859-41be-938e-6a783621af29 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.733178918Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.733251519Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-ba0872da-9859-41be-938e-6a783621af29","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.744324845Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.749972474Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"uri":"/crucible/0/regions","method":"POST","req_id":"aafd14c2-f0cc-4104-b71c-45482c9247ee","remote_addr":"[fd00:1122:3344:101::c]:58774","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-ba0872da-9859-41be-938e-6a783621af29","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.756892844Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.781092788Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-ba0872da-9859-41be-938e-6a783621af29","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.787828184Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/ba0872da-9859-41be-938e-6a783621af29","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.788519545Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.788594516Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.788637677Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.788676848Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.799202385Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:26.815748546Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.915791873Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:46151"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.949719911Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"uri":"/crucible/0/regions/ba0872da-9859-41be-938e-6a783621af29","method":"GET","req_id":"3729742a-6efc-4748-9766-9b8e3572fa1f","remote_addr":"[fd00:1122:3344:101::c]:46151","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":2671,"response_code":"200"} {"msg":"path is \"/data/regions/ba0872da-9859-41be-938e-6a783621af29\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.949848253Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ba0872da-9859-41be-938e-6a783621af29","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.96289378Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"datafile"} {"msg":"region ba0872da-9859-41be-938e-6a783621af29 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.97300831Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.973175852Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.973224673Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"uri":"/crucible/0/regions/ba0872da-9859-41be-938e-6a783621af29","method":"DELETE","req_id":"3458a799-69ba-4881-a0ed-ac881734e95f","remote_addr":"[fd00:1122:3344:101::c]:46151","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":23409,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.976076318Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"uri":"/crucible/0/regions/ba0872da-9859-41be-938e-6a783621af29","method":"GET","req_id":"e7cd1189-d748-4abc-8631-5a6503464683","remote_addr":"[fd00:1122:3344:101::c]:46151","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":509,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-ba0872da-9859-41be-938e-6a783621af29 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.986600525Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:17.994946968Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ba0872da-9859-41be-938e-6a783621af29\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:18.006549501Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"region":"ba0872da-9859-41be-938e-6a783621af29","component":"worker"} {"msg":"region ba0872da-9859-41be-938e-6a783621af29 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:18.069641261Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:27:18.08282049Z","hostname":"oxz_crucible_3ab1b07c-3dc4-4993-9f75-d5d120ea5116","pid":20114,"uri":"/crucible/0/regions/ba0872da-9859-41be-938e-6a783621af29","method":"GET","req_id":"9a6cb4ae-fc6f-4817-8b17-6a76d1efeee6","remote_addr":"[fd00:1122:3344:101::c]:46151","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":71,"response_code":"200"}