[ Oct 24 17:40:41 Enabled. ] [ Oct 24 17:40:41 Rereading configuration. ] [ Oct 24 17:40:42 Rereading configuration. ] [ Oct 24 17:40:43 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=oxControlService16 ++ 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::15 ++ 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 + [[ oxControlService16 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService16 ipadm: Could not delete oxControlService16: Interface does not exist + true + ipadm create-if -t oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 + ipadm show-addr oxControlService16/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService16/ll + ipadm show-addr oxControlService16/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService16/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::15]: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-24T17:40:44.312268577Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:40:44.374419888Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:40:44.374430698Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:40:44.603583309Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:45.78811774Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:63034"} {"msg":"region b7c754ce-83c5-4649-a32f-adf652d53c35 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:45.837769211Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:45.843321029Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"uri":"/crucible/0/regions","method":"POST","req_id":"2fa0c59e-25cc-4bb5-bfbe-f43382f2063b","remote_addr":"[fd00:1122:3344:101::c]:63034","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":18124,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:45.843355969Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7c754ce-83c5-4649-a32f-adf652d53c35","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:45.85591792Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7c754ce-83c5-4649-a32f-adf652d53c35","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:45.85595116Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"b7c754ce-83c5-4649-a32f-adf652d53c35\"), 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/b7c754ce-83c5-4649-a32f-adf652d53c35\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:45.901643882Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"region":"b7c754ce-83c5-4649-a32f-adf652d53c35","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.067721526Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"region":"b7c754ce-83c5-4649-a32f-adf652d53c35","component":"worker"} {"msg":"region b7c754ce-83c5-4649-a32f-adf652d53c35 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.067776307Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.067885499Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-b7c754ce-83c5-4649-a32f-adf652d53c35","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.072334007Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-b7c754ce-83c5-4649-a32f-adf652d53c35","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.075386291Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.087080506Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-b7c754ce-83c5-4649-a32f-adf652d53c35","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.090471985Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/b7c754ce-83c5-4649-a32f-adf652d53c35","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.091208598Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.091275489Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.09132254Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.091361611Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.096053603Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.109142053Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:41:46.113919677Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"uri":"/crucible/0/regions","method":"POST","req_id":"1ef25218-fe43-40f0-96b0-ddbcb4632ebd","remote_addr":"[fd00:1122:3344:101::c]:63034","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.116341175Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:45978"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.180255656Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"uri":"/crucible/0/regions/b7c754ce-83c5-4649-a32f-adf652d53c35","method":"GET","req_id":"e3811f1f-f6bf-4249-83b8-59d9e5a8945e","remote_addr":"[fd00:1122:3344:101::c]:45978","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":2497,"response_code":"200"} {"msg":"path is \"/data/regions/b7c754ce-83c5-4649-a32f-adf652d53c35\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.18045849Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7c754ce-83c5-4649-a32f-adf652d53c35","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.193110622Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"datafile"} {"msg":"region b7c754ce-83c5-4649-a32f-adf652d53c35 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.203071037Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.203614096Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.203676367Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"uri":"/crucible/0/regions/b7c754ce-83c5-4649-a32f-adf652d53c35","method":"DELETE","req_id":"639edd54-af04-4a68-bae2-aa7c9235fc44","remote_addr":"[fd00:1122:3344:101::c]:45978","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":23244,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.203801969Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"uri":"/crucible/0/regions/b7c754ce-83c5-4649-a32f-adf652d53c35","method":"GET","req_id":"4d12a441-269a-4bb7-9393-de034aa124a8","remote_addr":"[fd00:1122:3344:101::c]:45978","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-b7c754ce-83c5-4649-a32f-adf652d53c35 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.207188259Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.225752444Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7c754ce-83c5-4649-a32f-adf652d53c35\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.236480363Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"region":"b7c754ce-83c5-4649-a32f-adf652d53c35","component":"worker"} {"msg":"region b7c754ce-83c5-4649-a32f-adf652d53c35 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.316559038Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T17:44:41.351542762Z","hostname":"oxz_crucible_0b1052f8-1c6e-4e76-b7a8-38db75c986e0","pid":20230,"uri":"/crucible/0/regions/b7c754ce-83c5-4649-a32f-adf652d53c35","method":"GET","req_id":"62619ded-9bf3-4734-8bda-6e0fc32fd7e8","remote_addr":"[fd00:1122:3344:101::c]:45978","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":78,"response_code":"200"}