[ Dec 1 20:22:01 Enabled. ] [ Dec 1 20:22:01 Rereading configuration. ] [ Dec 1 20:22:03 Rereading configuration. ] [ Dec 1 20:22:06 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=oxControlService11 ++ 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::13 ++ 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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService11/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::13]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:06.995523722Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:06.99761899Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:06.997631351Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.159153995Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.909005027Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:54625"} {"msg":"region d8cbae51-b997-4e57-a354-6dd2561bb732 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.920773476Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.921709113Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"uri":"/crucible/0/regions","method":"POST","req_id":"22889537-9ccf-462a-bba6-14800401cbd7","remote_addr":"[fd00:1122:3344:101::b]:54625","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":4322,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.921739154Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d8cbae51-b997-4e57-a354-6dd2561bb732","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.930770042Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d8cbae51-b997-4e57-a354-6dd2561bb732","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.930798222Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"d8cbae51-b997-4e57-a354-6dd2561bb732\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/d8cbae51-b997-4e57-a354-6dd2561bb732\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.990217376Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"region":"d8cbae51-b997-4e57-a354-6dd2561bb732","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.091129862Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"uri":"/crucible/0/regions","method":"POST","req_id":"0e20ce49-23b7-4392-9e1b-c36848ec8c6e","remote_addr":"[fd00:1122:3344:101::b]:54625","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":62,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.193518355Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"region":"d8cbae51-b997-4e57-a354-6dd2561bb732","component":"worker"} {"msg":"region d8cbae51-b997-4e57-a354-6dd2561bb732 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.193550466Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.193677038Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-d8cbae51-b997-4e57-a354-6dd2561bb732","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.196082222Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-d8cbae51-b997-4e57-a354-6dd2561bb732","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.199858063Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.209247897Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-d8cbae51-b997-4e57-a354-6dd2561bb732","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.212510448Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/d8cbae51-b997-4e57-a354-6dd2561bb732","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.213210111Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.213289072Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.213333223Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.213375534Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.217905198Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.222996883Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.443284157Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"uri":"/crucible/0/regions","method":"POST","req_id":"bcc8e71a-e51a-48b7-bb2c-5a9e169c823a","remote_addr":"[fd00:1122:3344:101::b]:54625","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":514,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.682669452Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:50546"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.687529152Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"uri":"/crucible/0/regions/d8cbae51-b997-4e57-a354-6dd2561bb732","method":"GET","req_id":"af7db2af-2ecb-41d8-a643-b45723be63bb","remote_addr":"[fd00:1122:3344:101::b]:50546","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":4825,"response_code":"200"} {"msg":"path is \"/data/regions/d8cbae51-b997-4e57-a354-6dd2561bb732\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.688247055Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d8cbae51-b997-4e57-a354-6dd2561bb732","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.699588065Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"datafile"} {"msg":"region d8cbae51-b997-4e57-a354-6dd2561bb732 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.708550702Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.708762055Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.708799736Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"uri":"/crucible/0/regions/d8cbae51-b997-4e57-a354-6dd2561bb732","method":"DELETE","req_id":"688a7bd9-1779-4018-b019-84287fa5f224","remote_addr":"[fd00:1122:3344:101::b]:50546","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":21135,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.708965539Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"uri":"/crucible/0/regions/d8cbae51-b997-4e57-a354-6dd2561bb732","method":"GET","req_id":"480520ff-51a2-4144-a16e-a52b13b70063","remote_addr":"[fd00:1122:3344:101::b]:50546","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":28,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-d8cbae51-b997-4e57-a354-6dd2561bb732 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.709895296Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.718960354Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/d8cbae51-b997-4e57-a354-6dd2561bb732\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.729046211Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"region":"d8cbae51-b997-4e57-a354-6dd2561bb732","component":"worker"} {"msg":"region d8cbae51-b997-4e57-a354-6dd2561bb732 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.777286155Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.814294011Z","hostname":"oxz_crucible_611a2554-917d-4261-9cf1-9b759f4385a6","pid":21106,"uri":"/crucible/0/regions/d8cbae51-b997-4e57-a354-6dd2561bb732","method":"GET","req_id":"0033db3e-2270-4839-83c1-d27a99fecdb5","remote_addr":"[fd00:1122:3344:101::b]:50546","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":73,"response_code":"200"}