[ Feb 15 00:09:01 Enabled. ] [ Feb 15 00:09:01 Rereading configuration. ] [ Feb 15 00:09:05 Rereading configuration. ] [ Feb 15 00:09:07 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=oxControlService12 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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 + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService12/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:09:08.347996993Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:09:08.352356869Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:09:08.35236873Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:09:08.559131212Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.004956564Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:64302"} {"msg":"region 51b86717-556d-4ea0-a796-888782d8891a state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.015930903Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.016498175Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"uri":"/crucible/0/regions","method":"POST","req_id":"303d9937-2e4e-497a-b8de-5f279d84fd2c","remote_addr":"[fd00:1122:3344:101::b]:64302","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":6136,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.017044359Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/51b86717-556d-4ea0-a796-888782d8891a","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.027415878Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/51b86717-556d-4ea0-a796-888782d8891a","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.027445016Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"51b86717-556d-4ea0-a796-888782d8891a\"), 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/51b86717-556d-4ea0-a796-888782d8891a\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.080756225Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"region":"51b86717-556d-4ea0-a796-888782d8891a","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.219088502Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"region":"51b86717-556d-4ea0-a796-888782d8891a","component":"worker"} {"msg":"region 51b86717-556d-4ea0-a796-888782d8891a state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.219139443Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.219224694Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-51b86717-556d-4ea0-a796-888782d8891a","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.219651933Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-51b86717-556d-4ea0-a796-888782d8891a","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.223269195Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.230503719Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"uri":"/crucible/0/regions","method":"POST","req_id":"1d692e87-96e7-4683-a4e0-4fb7f4e2f3d0","remote_addr":"[fd00:1122:3344:101::b]:64302","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":66,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.241879611Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-51b86717-556d-4ea0-a796-888782d8891a","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.246995798Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/51b86717-556d-4ea0-a796-888782d8891a","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.247722942Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.247787297Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.247831042Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.247869123Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.254110509Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:10.261390379Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.223915236Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:47219"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.224035609Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"uri":"/crucible/0/regions/51b86717-556d-4ea0-a796-888782d8891a","method":"GET","req_id":"268c8a94-9e40-4c79-b940-e3aea5044f31","remote_addr":"[fd00:1122:3344:101::b]:47219","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"path is \"/data/regions/51b86717-556d-4ea0-a796-888782d8891a\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.224217692Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/51b86717-556d-4ea0-a796-888782d8891a","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.235100779Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"datafile"} {"msg":"region 51b86717-556d-4ea0-a796-888782d8891a state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.244336303Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.244483736Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.244541427Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"uri":"/crucible/0/regions/51b86717-556d-4ea0-a796-888782d8891a","method":"DELETE","req_id":"af69ea2c-1a17-4ada-ad00-2b53daf8453e","remote_addr":"[fd00:1122:3344:101::b]:47219","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":20346,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.244713251Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"uri":"/crucible/0/regions/51b86717-556d-4ea0-a796-888782d8891a","method":"GET","req_id":"d65e7672-d77a-4bde-8b3d-d87786473cd6","remote_addr":"[fd00:1122:3344:101::b]:47219","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-51b86717-556d-4ea0-a796-888782d8891a (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.245765112Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.250911594Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/51b86717-556d-4ea0-a796-888782d8891a\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.260628378Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"region":"51b86717-556d-4ea0-a796-888782d8891a","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.304118985Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"uri":"/crucible/0/regions/51b86717-556d-4ea0-a796-888782d8891a","method":"GET","req_id":"2afd0e79-cefc-43cd-a6ea-7a6900021288","remote_addr":"[fd00:1122:3344:101::b]:47219","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"region 51b86717-556d-4ea0-a796-888782d8891a state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.316047463Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T00:10:11.434325341Z","hostname":"oxz_crucible_b1234f77-5c34-4c96-bce0-c457facfb566","pid":22908,"uri":"/crucible/0/regions/51b86717-556d-4ea0-a796-888782d8891a","method":"GET","req_id":"932059e1-05a9-4cbf-87e3-478871d69444","remote_addr":"[fd00:1122:3344:101::b]:47219","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":19,"response_code":"200"}