[ Feb 2 03:19:30 Enabled. ] [ Feb 2 03:19:30 Rereading configuration. ] [ Feb 2 03:19:32 Rereading configuration. ] [ Feb 2 03:19:33 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=oxControlService12 ++ 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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 + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService12/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:19:34.444956221Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:19:34.450019844Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:19:34.450042994Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:19:34.553500694Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:22.669278268Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:46701"} {"msg":"region e6cb7fc0-1dcd-4e36-a166-9219314c9258 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:22.747082239Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:22.750176416Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"uri":"/crucible/0/regions","method":"POST","req_id":"a9672f03-8f59-4c8f-b183-90f6895adcd1","remote_addr":"[fd00:1122:3344:101::a]:46701","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":10362,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:22.754687294Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/e6cb7fc0-1dcd-4e36-a166-9219314c9258","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:22.76480798Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/e6cb7fc0-1dcd-4e36-a166-9219314c9258","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:22.76483682Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"e6cb7fc0-1dcd-4e36-a166-9219314c9258\"), 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/e6cb7fc0-1dcd-4e36-a166-9219314c9258\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:22.842982265Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"region":"e6cb7fc0-1dcd-4e36-a166-9219314c9258","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:22.943291228Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"uri":"/crucible/0/regions","method":"POST","req_id":"e9e146a3-1a8d-4c0d-ba6d-a5bc50a60c8e","remote_addr":"[fd00:1122:3344:101::a]:46701","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":596,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.212936511Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"region":"e6cb7fc0-1dcd-4e36-a166-9219314c9258","component":"worker"} {"msg":"region e6cb7fc0-1dcd-4e36-a166-9219314c9258 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.212979652Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.213082393Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-e6cb7fc0-1dcd-4e36-a166-9219314c9258","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.213501846Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-e6cb7fc0-1dcd-4e36-a166-9219314c9258","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.220919019Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.244409169Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-e6cb7fc0-1dcd-4e36-a166-9219314c9258","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.255306092Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/e6cb7fc0-1dcd-4e36-a166-9219314c9258","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.25634229Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.260225523Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.260275114Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.260313724Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.279308176Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.286189984Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:23.317726492Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"uri":"/crucible/0/regions","method":"POST","req_id":"898e0b48-4ac3-484a-96ab-f7dfccdc6f41","remote_addr":"[fd00:1122:3344:101::a]:46701","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":61,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.122279804Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:59416"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.122367585Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"uri":"/crucible/0/regions/e6cb7fc0-1dcd-4e36-a166-9219314c9258","method":"GET","req_id":"b3604cf6-ec8d-4d37-9779-ab31f725561b","remote_addr":"[fd00:1122:3344:101::a]:59416","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"path is \"/data/regions/e6cb7fc0-1dcd-4e36-a166-9219314c9258\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.122533976Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/e6cb7fc0-1dcd-4e36-a166-9219314c9258","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.131860835Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"datafile"} {"msg":"region e6cb7fc0-1dcd-4e36-a166-9219314c9258 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.140747251Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.140920592Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.140962353Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"uri":"/crucible/0/regions/e6cb7fc0-1dcd-4e36-a166-9219314c9258","method":"DELETE","req_id":"4cd89d9d-e735-4c17-a054-a8d8961ffa50","remote_addr":"[fd00:1122:3344:101::a]:59416","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":18468,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.141104504Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"uri":"/crucible/0/regions/e6cb7fc0-1dcd-4e36-a166-9219314c9258","method":"GET","req_id":"53ac656d-9071-4a50-8bad-c3454c999bab","remote_addr":"[fd00:1122:3344:101::a]:59416","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-e6cb7fc0-1dcd-4e36-a166-9219314c9258 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.142098613Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.150542034Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/e6cb7fc0-1dcd-4e36-a166-9219314c9258\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.160141906Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"region":"e6cb7fc0-1dcd-4e36-a166-9219314c9258","component":"worker"} {"msg":"region e6cb7fc0-1dcd-4e36-a166-9219314c9258 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.220362658Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-02T03:20:24.245444961Z","hostname":"oxz_crucible_dfd9d160-3ddd-48c2-900a-680b3a5739ea","pid":24708,"uri":"/crucible/0/regions/e6cb7fc0-1dcd-4e36-a166-9219314c9258","method":"GET","req_id":"e0329603-6e41-4a60-bdad-bf4bca035c8c","remote_addr":"[fd00:1122:3344:101::a]:59416","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":57,"response_code":"200"}