[ Nov 29 20:28:24 Enabled. ] [ Nov 29 20:28:24 Rereading configuration. ] [ Nov 29 20:28:27 Rereading configuration. ] [ Nov 29 20:28:29 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=oxControlService10 ++ 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 + [[ oxControlService10 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService10 ipadm: Could not delete oxControlService10: Interface does not exist + true + ipadm create-if -t oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService10 + ipadm show-addr oxControlService10/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService10/ll + ipadm show-addr oxControlService10/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService10/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-11-29T20:28:30.40361612Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:28:30.407981711Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:28:30.407993011Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:28:30.699035164Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:13.658404666Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:50262"} {"msg":"region bf25a7cb-8581-44e0-b6ba-36b06aa8f601 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:13.721835425Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:13.724309918Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"uri":"/crucible/0/regions","method":"POST","req_id":"59a951c7-92f0-48cd-931f-abd7a4e97168","remote_addr":"[fd00:1122:3344:101::a]:50262","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":4922,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:13.724362059Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bf25a7cb-8581-44e0-b6ba-36b06aa8f601","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:13.733930911Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bf25a7cb-8581-44e0-b6ba-36b06aa8f601","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:13.733950182Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"bf25a7cb-8581-44e0-b6ba-36b06aa8f601\"), 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/bf25a7cb-8581-44e0-b6ba-36b06aa8f601\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:13.7950056Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"region":"bf25a7cb-8581-44e0-b6ba-36b06aa8f601","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:13.887412614Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"uri":"/crucible/0/regions","method":"POST","req_id":"1ac0ea86-4e13-40ea-a1f6-cfbba0da3ca6","remote_addr":"[fd00:1122:3344:101::a]:50262","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":103,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.110633746Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"region":"bf25a7cb-8581-44e0-b6ba-36b06aa8f601","component":"worker"} {"msg":"region bf25a7cb-8581-44e0-b6ba-36b06aa8f601 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.110670487Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.110912553Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-bf25a7cb-8581-44e0-b6ba-36b06aa8f601","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.113483738Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-bf25a7cb-8581-44e0-b6ba-36b06aa8f601","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.11710775Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.126024136Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-bf25a7cb-8581-44e0-b6ba-36b06aa8f601","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.129338031Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/bf25a7cb-8581-44e0-b6ba-36b06aa8f601","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.1301209Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.130193452Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.130236563Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.130272934Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.136680817Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.141691644Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:14.495817736Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"uri":"/crucible/0/regions","method":"POST","req_id":"37092e24-9c36-42f9-8cac-152cb434ab6b","remote_addr":"[fd00:1122:3344:101::a]:50262","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-11-29T20:29:15.41967554Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:35046"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.419793733Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"uri":"/crucible/0/regions/bf25a7cb-8581-44e0-b6ba-36b06aa8f601","method":"GET","req_id":"c860c135-45c9-46f8-a2c2-685fe24d9996","remote_addr":"[fd00:1122:3344:101::a]:35046","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":94,"response_code":"200"} {"msg":"path is \"/data/regions/bf25a7cb-8581-44e0-b6ba-36b06aa8f601\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.419961817Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bf25a7cb-8581-44e0-b6ba-36b06aa8f601","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.42910918Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"datafile"} {"msg":"region bf25a7cb-8581-44e0-b6ba-36b06aa8f601 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.43898078Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.439182245Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.439248627Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"uri":"/crucible/0/regions/bf25a7cb-8581-44e0-b6ba-36b06aa8f601","method":"DELETE","req_id":"19d0652b-7297-4701-bd13-c07db466535c","remote_addr":"[fd00:1122:3344:101::a]:35046","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":19314,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.43938726Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"uri":"/crucible/0/regions/bf25a7cb-8581-44e0-b6ba-36b06aa8f601","method":"GET","req_id":"3cc96a47-a668-447b-a00e-8dc55423efe5","remote_addr":"[fd00:1122:3344:101::a]:35046","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-bf25a7cb-8581-44e0-b6ba-36b06aa8f601 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.440297523Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.44528684Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/bf25a7cb-8581-44e0-b6ba-36b06aa8f601\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.454988756Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"region":"bf25a7cb-8581-44e0-b6ba-36b06aa8f601","component":"worker"} {"msg":"region bf25a7cb-8581-44e0-b6ba-36b06aa8f601 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.514439474Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T20:29:15.519767639Z","hostname":"oxz_crucible_d439675e-0ddd-4713-a123-b78150e9f04e","pid":22158,"uri":"/crucible/0/regions/bf25a7cb-8581-44e0-b6ba-36b06aa8f601","method":"GET","req_id":"d817f2dd-36dc-4a9f-8edf-8da2b166bb48","remote_addr":"[fd00:1122:3344:101::a]:35046","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":84,"response_code":"200"}