[ Nov 6 23:51:29 Enabled. ] [ Nov 6 23:51:29 Rereading configuration. ] [ Nov 6 23:51:30 Rereading configuration. ] [ Nov 6 23:51:33 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=oxControlService15 ++ 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ oxControlService15 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService15 ipadm: Could not delete oxControlService15: Interface does not exist + true + ipadm create-if -t oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService15 + ipadm show-addr oxControlService15/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService15/ll + ipadm show-addr oxControlService15/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService15/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:33.772393858Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:33.776621289Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:33.776629899Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:33.94419281Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.058122943Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:42423"} {"msg":"region a904c7a5-8392-4367-8f8c-406aff2752a4 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.125937929Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.131898425Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.131954306Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"uri":"/crucible/0/regions","method":"POST","req_id":"70f42c8b-c28b-47fe-b7ce-9ffbafb2a429","remote_addr":"[fd00:1122:3344:101::b]:42423","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":10242,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a904c7a5-8392-4367-8f8c-406aff2752a4","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.143294589Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a904c7a5-8392-4367-8f8c-406aff2752a4","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.143321089Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"a904c7a5-8392-4367-8f8c-406aff2752a4\"), 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/a904c7a5-8392-4367-8f8c-406aff2752a4\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.212664047Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"region":"a904c7a5-8392-4367-8f8c-406aff2752a4","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.293267537Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"uri":"/crucible/0/regions","method":"POST","req_id":"27308fcb-f993-4c3f-8dbd-bd8b5d5872d0","remote_addr":"[fd00:1122:3344:101::b]:42423","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":96,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.475319306Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"region":"a904c7a5-8392-4367-8f8c-406aff2752a4","component":"worker"} {"msg":"region a904c7a5-8392-4367-8f8c-406aff2752a4 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.475348166Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.47561251Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-a904c7a5-8392-4367-8f8c-406aff2752a4","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.480021614Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-a904c7a5-8392-4367-8f8c-406aff2752a4","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.483509814Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.493847803Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-a904c7a5-8392-4367-8f8c-406aff2752a4","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.496700904Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/a904c7a5-8392-4367-8f8c-406aff2752a4","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.497403844Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.497482695Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.497528625Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.497565156Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.503228438Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.51378043Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:22.574490043Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"uri":"/crucible/0/regions","method":"POST","req_id":"4a6533f6-8613-4281-b99c-77f39ca8cafa","remote_addr":"[fd00:1122:3344:101::b]:42423","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.48343787Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:39128"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.483762695Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"uri":"/crucible/0/regions/a904c7a5-8392-4367-8f8c-406aff2752a4","method":"GET","req_id":"f62d6251-48f5-487c-a7de-5b5a88c19051","remote_addr":"[fd00:1122:3344:101::b]:39128","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":137,"response_code":"200"} {"msg":"path is \"/data/regions/a904c7a5-8392-4367-8f8c-406aff2752a4\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.484030589Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a904c7a5-8392-4367-8f8c-406aff2752a4","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.496700321Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"datafile"} {"msg":"region a904c7a5-8392-4367-8f8c-406aff2752a4 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.507763511Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.507947543Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.508008704Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"uri":"/crucible/0/regions/a904c7a5-8392-4367-8f8c-406aff2752a4","method":"DELETE","req_id":"a46c2f64-e6f8-4a07-9024-71c4784248af","remote_addr":"[fd00:1122:3344:101::b]:39128","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":24017,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.508934317Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"uri":"/crucible/0/regions/a904c7a5-8392-4367-8f8c-406aff2752a4","method":"GET","req_id":"48cbf1ee-c98b-498f-a903-befefa098be6","remote_addr":"[fd00:1122:3344:101::b]:39128","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":26,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-a904c7a5-8392-4367-8f8c-406aff2752a4 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.509037469Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.513577184Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/a904c7a5-8392-4367-8f8c-406aff2752a4\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.525027149Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"region":"a904c7a5-8392-4367-8f8c-406aff2752a4","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.605805601Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"uri":"/crucible/0/regions/a904c7a5-8392-4367-8f8c-406aff2752a4","method":"GET","req_id":"dcf2c924-1b29-440f-861d-314795e213ec","remote_addr":"[fd00:1122:3344:101::b]:39128","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region a904c7a5-8392-4367-8f8c-406aff2752a4 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.616593676Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:23.730584346Z","hostname":"oxz_crucible_ce084777-80a7-4f13-83b8-ecfd86bfff2d","pid":22442,"uri":"/crucible/0/regions/a904c7a5-8392-4367-8f8c-406aff2752a4","method":"GET","req_id":"837e9399-7ee0-400f-b53d-f01b9de7767d","remote_addr":"[fd00:1122:3344:101::b]:39128","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":68,"response_code":"200"}