[ Dec 19 23:01:59 Enabled. ] [ Dec 19 23:01:59 Rereading configuration. ] [ Dec 19 23:02:02 Rereading configuration. ] [ Dec 19 23:02:08 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_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 + [[ 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::19 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_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":"2023-12-19T23:02:09.221062308Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:09.225152174Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:09.225167224Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:09.860125099Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.453839731Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:63201"} {"msg":"region d5d9c10f-9cc9-4157-9e6e-36c9cad95e40 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.530471561Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.531935771Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"uri":"/crucible/0/regions","method":"POST","req_id":"ee297db4-cea6-4290-ac4c-90898c706ac5","remote_addr":"[fd00:1122:3344:101::b]:63201","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":15545,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.531999152Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.542158842Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.542193043Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"d5d9c10f-9cc9-4157-9e6e-36c9cad95e40\"), 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/d5d9c10f-9cc9-4157-9e6e-36c9cad95e40\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.591986482Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"region":"d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.740329864Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"region":"d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","component":"worker"} {"msg":"region d5d9c10f-9cc9-4157-9e6e-36c9cad95e40 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.740382085Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.740453566Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.742861969Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.746209756Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.762331028Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.76529114Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.765879798Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.765945109Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.765988899Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.76602907Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.770219748Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.778763386Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.881959182Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"uri":"/crucible/0/regions","method":"POST","req_id":"b794cbfd-90cc-4e21-8dba-7760f2ac64ac","remote_addr":"[fd00:1122:3344:101::b]:63201","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.427355469Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:54266"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.427620492Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"uri":"/crucible/0/regions/d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","method":"GET","req_id":"b3de49ca-4c22-4f29-ae83-6ea2ff6d511e","remote_addr":"[fd00:1122:3344:101::b]:54266","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":244,"response_code":"200"} {"msg":"path is \"/data/regions/d5d9c10f-9cc9-4157-9e6e-36c9cad95e40\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.427840466Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.437594Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"datafile"} {"msg":"region d5d9c10f-9cc9-4157-9e6e-36c9cad95e40 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.447041791Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.447193943Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.447308455Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"uri":"/crucible/0/regions/d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","method":"DELETE","req_id":"424094cd-795c-4b5c-9f26-ac4a92ff9400","remote_addr":"[fd00:1122:3344:101::b]:54266","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":19503,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.447502218Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"uri":"/crucible/0/regions/d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","method":"GET","req_id":"483a8d6d-8d61-4d52-beb0-d7c8d0971eff","remote_addr":"[fd00:1122:3344:101::b]:54266","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-d5d9c10f-9cc9-4157-9e6e-36c9cad95e40 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.448361559Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.452193912Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d5d9c10f-9cc9-4157-9e6e-36c9cad95e40\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.462554676Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"region":"d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","component":"worker"} {"msg":"region d5d9c10f-9cc9-4157-9e6e-36c9cad95e40 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.516531273Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.528712941Z","hostname":"oxz_crucible_8ac3950d-a97f-436c-a7c4-6ec86cd2cdef","pid":24358,"uri":"/crucible/0/regions/d5d9c10f-9cc9-4157-9e6e-36c9cad95e40","method":"GET","req_id":"bceaca06-044c-4f63-bbcb-9825b838231a","remote_addr":"[fd00:1122:3344:101::b]:54266","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":766,"response_code":"200"}