[ Oct 26 11:47:47 Enabled. ] [ Oct 26 11:47:47 Rereading configuration. ] [ Oct 26 11:47:49 Rereading configuration. ] [ Oct 26 11:47: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=oxControlService18 ++ 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/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 + [[ oxControlService18 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService18 ipadm: Could not delete oxControlService18: Interface does not exist + true + ipadm create-if -t oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 + ipadm show-addr oxControlService18/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService18/ll + ipadm show-addr oxControlService18/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService18/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:50.193933294Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:50.197529918Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:50.197542619Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:50.286631592Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.638883371Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:35442"} {"msg":"region 0e9251a9-4f80-4ece-a6b2-165964ad2c11 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.702096963Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.703554885Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"uri":"/crucible/0/regions","method":"POST","req_id":"028f8dcd-c377-47fe-92af-ad9470a9655e","remote_addr":"[fd00:1122:3344:101::a]:35442","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":4159,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.703579695Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0e9251a9-4f80-4ece-a6b2-165964ad2c11","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.712425216Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0e9251a9-4f80-4ece-a6b2-165964ad2c11","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.712450256Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"0e9251a9-4f80-4ece-a6b2-165964ad2c11\"), 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/0e9251a9-4f80-4ece-a6b2-165964ad2c11\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.772240107Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"region":"0e9251a9-4f80-4ece-a6b2-165964ad2c11","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.926785105Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"region":"0e9251a9-4f80-4ece-a6b2-165964ad2c11","component":"worker"} {"msg":"region 0e9251a9-4f80-4ece-a6b2-165964ad2c11 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.926845286Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.926928237Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-0e9251a9-4f80-4ece-a6b2-165964ad2c11","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.927464685Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-0e9251a9-4f80-4ece-a6b2-165964ad2c11","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.930234906Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.94069051Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-0e9251a9-4f80-4ece-a6b2-165964ad2c11","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.943511152Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/0e9251a9-4f80-4ece-a6b2-165964ad2c11","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.944195282Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.944275443Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.944322853Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.944368664Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.948382253Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:40.956649155Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.066928141Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"uri":"/crucible/0/regions","method":"POST","req_id":"3308dc50-745e-471c-9135-0dd218b52a54","remote_addr":"[fd00:1122:3344:101::a]:35442","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.738959838Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:33259"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.770392391Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"uri":"/crucible/0/regions/0e9251a9-4f80-4ece-a6b2-165964ad2c11","method":"GET","req_id":"16750781-d312-43ba-8f99-cf70acd4d43d","remote_addr":"[fd00:1122:3344:101::a]:33259","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":113,"response_code":"200"} {"msg":"path is \"/data/regions/0e9251a9-4f80-4ece-a6b2-165964ad2c11\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.770705295Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0e9251a9-4f80-4ece-a6b2-165964ad2c11","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.783006977Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"datafile"} {"msg":"region 0e9251a9-4f80-4ece-a6b2-165964ad2c11 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.793084416Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.793250308Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.793304549Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"uri":"/crucible/0/regions/0e9251a9-4f80-4ece-a6b2-165964ad2c11","method":"DELETE","req_id":"5e3b550c-03fc-4e54-883f-5898d2ce5caf","remote_addr":"[fd00:1122:3344:101::a]:33259","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22631,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.79341494Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"uri":"/crucible/0/regions/0e9251a9-4f80-4ece-a6b2-165964ad2c11","method":"GET","req_id":"59437e11-21aa-46b8-aaba-0bb90a95c466","remote_addr":"[fd00:1122:3344:101::a]:33259","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-0e9251a9-4f80-4ece-a6b2-165964ad2c11 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.794469366Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.798881881Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/0e9251a9-4f80-4ece-a6b2-165964ad2c11\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.810298589Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"region":"0e9251a9-4f80-4ece-a6b2-165964ad2c11","component":"worker"} {"msg":"region 0e9251a9-4f80-4ece-a6b2-165964ad2c11 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.871916878Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:41.928184547Z","hostname":"oxz_crucible_1970534a-8b1b-40c1-b0da-c5b3330cb16e","pid":25728,"uri":"/crucible/0/regions/0e9251a9-4f80-4ece-a6b2-165964ad2c11","method":"GET","req_id":"ef91ea0c-6547-41f0-8e31-6051f71a0882","remote_addr":"[fd00:1122:3344:101::a]:33259","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":89,"response_code":"200"}