[ Dec 5 05:08:17 Enabled. ] [ Dec 5 05:08:17 Rereading configuration. ] [ Dec 5 05:08:20 Rereading configuration. ] [ Dec 5 05:08:25 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=oxControlService21 ++ 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::17 ++ 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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService21/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::17]: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-12-05T05:08:26.324773117Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.332599414Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.332614624Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.497840885Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.013038985Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:40699"} {"msg":"region b7c7c70d-2a47-4500-89e7-af9056667fb6 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.09290697Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.095135517Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.098009813Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"uri":"/crucible/0/regions","method":"POST","req_id":"128c19b4-dad8-4ae5-98f3-25125bbdfa04","remote_addr":"[fd00:1122:3344:101::c]:40699","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":20431,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7c7c70d-2a47-4500-89e7-af9056667fb6","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.105150109Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7c7c70d-2a47-4500-89e7-af9056667fb6","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.10517354Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"b7c7c70d-2a47-4500-89e7-af9056667fb6\"), 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/b7c7c70d-2a47-4500-89e7-af9056667fb6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.154636702Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"region":"b7c7c70d-2a47-4500-89e7-af9056667fb6","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.253713119Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"uri":"/crucible/0/regions","method":"POST","req_id":"d367340e-84c5-4837-89fc-72173f46be39","remote_addr":"[fd00:1122:3344:101::c]:40699","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":865,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.36840399Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"region":"b7c7c70d-2a47-4500-89e7-af9056667fb6","component":"worker"} {"msg":"region b7c7c70d-2a47-4500-89e7-af9056667fb6 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.368445051Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.368546272Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-b7c7c70d-2a47-4500-89e7-af9056667fb6","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.37089812Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-b7c7c70d-2a47-4500-89e7-af9056667fb6","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.376197156Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.395251715Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-b7c7c70d-2a47-4500-89e7-af9056667fb6","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.39859971Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/b7c7c70d-2a47-4500-89e7-af9056667fb6","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.404976913Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.407019426Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.407095667Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.407156679Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.410901459Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.41770331Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.818718696Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"uri":"/crucible/0/regions","method":"POST","req_id":"7e60ac30-c999-4065-9887-af97622e1a9e","remote_addr":"[fd00:1122:3344:101::c]:40699","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":68,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.089332147Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:46786"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.090329213Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"uri":"/crucible/0/regions/b7c7c70d-2a47-4500-89e7-af9056667fb6","method":"GET","req_id":"9379c9d0-ce15-43d6-8cb8-1402a40375f1","remote_addr":"[fd00:1122:3344:101::c]:46786","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":965,"response_code":"200"} {"msg":"path is \"/data/regions/b7c7c70d-2a47-4500-89e7-af9056667fb6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.090555256Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7c7c70d-2a47-4500-89e7-af9056667fb6","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.099887608Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"datafile"} {"msg":"region b7c7c70d-2a47-4500-89e7-af9056667fb6 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.109592075Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.109745868Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.109800529Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"uri":"/crucible/0/regions/b7c7c70d-2a47-4500-89e7-af9056667fb6","method":"DELETE","req_id":"b62f55ed-02a3-4159-ba47-4676f39f0e39","remote_addr":"[fd00:1122:3344:101::c]:46786","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":19291,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.110025772Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"uri":"/crucible/0/regions/b7c7c70d-2a47-4500-89e7-af9056667fb6","method":"GET","req_id":"2e7d10f8-443c-4ed7-b48c-826138ae1a73","remote_addr":"[fd00:1122:3344:101::c]:46786","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":29,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-b7c7c70d-2a47-4500-89e7-af9056667fb6 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.111008258Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.115207026Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/b7c7c70d-2a47-4500-89e7-af9056667fb6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.124918654Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"region":"b7c7c70d-2a47-4500-89e7-af9056667fb6","component":"worker"} {"msg":"region b7c7c70d-2a47-4500-89e7-af9056667fb6 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.171870566Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.241434074Z","hostname":"oxz_crucible_81b30f58-91a1-4053-83db-a97199571ed1","pid":22213,"uri":"/crucible/0/regions/b7c7c70d-2a47-4500-89e7-af9056667fb6","method":"GET","req_id":"338713d9-7429-4dde-b2f8-238753d0abd6","remote_addr":"[fd00:1122:3344:101::c]:46786","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":1089,"response_code":"200"}