[ Feb 15 05:58:36 Enabled. ] [ Feb 15 05:58:36 Rereading configuration. ] [ Feb 15 05:58:40 Rereading configuration. ] [ Feb 15 05:58:42 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=oxControlService20 ++ 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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 + [[ oxControlService20 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService20 ipadm: Could not delete oxControlService20: Interface does not exist + true + ipadm create-if -t oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 + ipadm show-addr oxControlService20/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService20/ll + ipadm show-addr oxControlService20/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService20/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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:58:43.43633126Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:58:43.440424644Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:58:43.440437135Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:58:43.792627683Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.390750644Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:59230"} {"msg":"region 4b3e3539-136e-4fcd-8953-2c44d261017e state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.460857187Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.461141887Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"uri":"/crucible/0/regions","method":"POST","req_id":"cdf18e4b-91f4-419a-b9d6-8a55b4b62188","remote_addr":"[fd00:1122:3344:101::a]:59230","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":5021,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.461648603Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4b3e3539-136e-4fcd-8953-2c44d261017e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.470529135Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4b3e3539-136e-4fcd-8953-2c44d261017e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.470554296Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"4b3e3539-136e-4fcd-8953-2c44d261017e\"), 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/4b3e3539-136e-4fcd-8953-2c44d261017e\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.520726184Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"region":"4b3e3539-136e-4fcd-8953-2c44d261017e","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.641310005Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"region":"4b3e3539-136e-4fcd-8953-2c44d261017e","component":"worker"} {"msg":"region 4b3e3539-136e-4fcd-8953-2c44d261017e state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.641352526Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.64146514Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-4b3e3539-136e-4fcd-8953-2c44d261017e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.641891644Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-4b3e3539-136e-4fcd-8953-2c44d261017e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.646494145Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.654603102Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-4b3e3539-136e-4fcd-8953-2c44d261017e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.658096866Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4b3e3539-136e-4fcd-8953-2c44d261017e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.658804009Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.658868852Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.658921513Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.658953754Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.662591074Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.667726642Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:38.705027978Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"uri":"/crucible/0/regions","method":"POST","req_id":"f23365b2-7dbd-41db-be9b-1c015b512c25","remote_addr":"[fd00:1122:3344:101::a]:59230","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":62,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.157666326Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:45033"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.157760739Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"uri":"/crucible/0/regions/4b3e3539-136e-4fcd-8953-2c44d261017e","method":"GET","req_id":"84f2a961-ccc7-40c4-be89-38208a1b57cf","remote_addr":"[fd00:1122:3344:101::a]:45033","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"path is \"/data/regions/4b3e3539-136e-4fcd-8953-2c44d261017e\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.157898094Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4b3e3539-136e-4fcd-8953-2c44d261017e","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.166569548Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"datafile"} {"msg":"region 4b3e3539-136e-4fcd-8953-2c44d261017e state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.174668185Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.17482547Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.174897422Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"uri":"/crucible/0/regions/4b3e3539-136e-4fcd-8953-2c44d261017e","method":"DELETE","req_id":"c031fe76-272c-433b-b896-0985cb552567","remote_addr":"[fd00:1122:3344:101::a]:45033","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":17027,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.175045467Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"uri":"/crucible/0/regions/4b3e3539-136e-4fcd-8953-2c44d261017e","method":"GET","req_id":"9959b36f-c39c-4c79-855a-429fb98dcf84","remote_addr":"[fd00:1122:3344:101::a]:45033","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-4b3e3539-136e-4fcd-8953-2c44d261017e (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.175877914Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.179675139Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/4b3e3539-136e-4fcd-8953-2c44d261017e\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.188197319Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"region":"4b3e3539-136e-4fcd-8953-2c44d261017e","component":"worker"} {"msg":"region 4b3e3539-136e-4fcd-8953-2c44d261017e state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.23845589Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T05:59:39.256000546Z","hostname":"oxz_crucible_98f9db1c-1595-4f22-a928-321363864abe","pid":23097,"uri":"/crucible/0/regions/4b3e3539-136e-4fcd-8953-2c44d261017e","method":"GET","req_id":"9fd4d129-c03d-4187-b178-2f9754e9beb7","remote_addr":"[fd00:1122:3344:101::a]:45033","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":681,"response_code":"200"}