[ Nov 14 22:15:17 Enabled. ] [ Nov 14 22:15:17 Rereading configuration. ] [ Nov 14 22:15:18 Rereading configuration. ] [ Nov 14 22:15:19 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=oxControlService23 ++ 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::14 ++ 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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService23/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::14]: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-14T22:15:20.280978434Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.433913505Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.433934015Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.659129235Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.290428883Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:38677"} {"msg":"region 9db4c7ff-b1c7-4910-ac54-87328f6f9802 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.294456918Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.296149259Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.29617226Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"uri":"/crucible/0/regions","method":"POST","req_id":"15ff2fc5-0ac8-499f-86ca-1343d153c7e2","remote_addr":"[fd00:1122:3344:101::b]:38677","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":2312,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/9db4c7ff-b1c7-4910-ac54-87328f6f9802","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.306327448Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/9db4c7ff-b1c7-4910-ac54-87328f6f9802","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.306351828Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"9db4c7ff-b1c7-4910-ac54-87328f6f9802\"), 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/9db4c7ff-b1c7-4910-ac54-87328f6f9802\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.367973728Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"region":"9db4c7ff-b1c7-4910-ac54-87328f6f9802","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.524450185Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"uri":"/crucible/0/regions","method":"POST","req_id":"598d38c6-b86e-4553-97dc-ef365f63cbca","remote_addr":"[fd00:1122:3344:101::b]:38677","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.5441468Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"region":"9db4c7ff-b1c7-4910-ac54-87328f6f9802","component":"worker"} {"msg":"region 9db4c7ff-b1c7-4910-ac54-87328f6f9802 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.544174751Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.544314863Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-9db4c7ff-b1c7-4910-ac54-87328f6f9802","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.544907734Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-9db4c7ff-b1c7-4910-ac54-87328f6f9802","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.548262306Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.555528011Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-9db4c7ff-b1c7-4910-ac54-87328f6f9802","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.55869773Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/9db4c7ff-b1c7-4910-ac54-87328f6f9802","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.559402183Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.559476094Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.559518315Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.559556466Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.563867755Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:42.572183609Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.176948956Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"uri":"/crucible/0/regions","method":"POST","req_id":"f10486a0-2707-4a8b-870c-f5344e14d8c9","remote_addr":"[fd00:1122:3344:101::b]:38677","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":68,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.46292463Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:49176"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.525071441Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"uri":"/crucible/0/regions/9db4c7ff-b1c7-4910-ac54-87328f6f9802","method":"GET","req_id":"108c5469-77e3-4df5-af2c-fde9fc1083e5","remote_addr":"[fd00:1122:3344:101::b]:49176","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":126,"response_code":"200"} {"msg":"path is \"/data/regions/9db4c7ff-b1c7-4910-ac54-87328f6f9802\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.525350516Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/9db4c7ff-b1c7-4910-ac54-87328f6f9802","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.537360309Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"datafile"} {"msg":"region 9db4c7ff-b1c7-4910-ac54-87328f6f9802 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.547502996Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.547660549Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.54771968Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"uri":"/crucible/0/regions/9db4c7ff-b1c7-4910-ac54-87328f6f9802","method":"DELETE","req_id":"9416e634-642d-4388-8a95-98b68ba1dedf","remote_addr":"[fd00:1122:3344:101::b]:49176","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":22395,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.547856253Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"uri":"/crucible/0/regions/9db4c7ff-b1c7-4910-ac54-87328f6f9802","method":"GET","req_id":"6bdc3660-c31f-4330-9828-00007cebdc01","remote_addr":"[fd00:1122:3344:101::b]:49176","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-9db4c7ff-b1c7-4910-ac54-87328f6f9802 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.548966483Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.553573719Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/9db4c7ff-b1c7-4910-ac54-87328f6f9802\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.564246276Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"region":"9db4c7ff-b1c7-4910-ac54-87328f6f9802","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.621262222Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"uri":"/crucible/0/regions/9db4c7ff-b1c7-4910-ac54-87328f6f9802","method":"GET","req_id":"dfcfdfc8-2062-4eb3-ae25-11e210d0c55d","remote_addr":"[fd00:1122:3344:101::b]:49176","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region 9db4c7ff-b1c7-4910-ac54-87328f6f9802 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.626289725Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:43.784068646Z","hostname":"oxz_crucible_14314f22-8159-44be-828e-2e2dfe4caa4b","pid":25146,"uri":"/crucible/0/regions/9db4c7ff-b1c7-4910-ac54-87328f6f9802","method":"GET","req_id":"aeed7040-68e3-46cb-9feb-9ba05c9a84d0","remote_addr":"[fd00:1122:3344:101::b]:49176","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":29,"response_code":"200"}