[ Dec 7 08:22:29 Enabled. ] [ Dec 7 08:22:29 Rereading configuration. ] [ Dec 7 08:22:30 Rereading configuration. ] [ Dec 7 08:22: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=oxControlService10 ++ 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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 + [[ oxControlService10 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService10 ipadm: Could not delete oxControlService10: Interface does not exist + true + ipadm create-if -t oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService10 + ipadm show-addr oxControlService10/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService10/ll + ipadm show-addr oxControlService10/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService10/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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:22:33.957238034Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:22:33.961090273Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:22:33.961103663Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:22:34.128949122Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.14966758Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:39908"} {"msg":"region 508fb493-696d-4542-b035-3345ccf4cb1b state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.216991551Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.218085674Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"uri":"/crucible/0/regions","method":"POST","req_id":"92b4aa4b-a5f0-4eb9-84da-1e6b0c4cfd68","remote_addr":"[fd00:1122:3344:101::a]:39908","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":2617,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.218162686Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/508fb493-696d-4542-b035-3345ccf4cb1b","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.227158909Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/508fb493-696d-4542-b035-3345ccf4cb1b","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.227192569Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"508fb493-696d-4542-b035-3345ccf4cb1b\"), 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/508fb493-696d-4542-b035-3345ccf4cb1b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.305965224Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"region":"508fb493-696d-4542-b035-3345ccf4cb1b","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.412653267Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"uri":"/crucible/0/regions","method":"POST","req_id":"dfbf55e7-860a-4de4-972d-a83c4210da41","remote_addr":"[fd00:1122:3344:101::a]:39908","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":661,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.632590118Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"region":"508fb493-696d-4542-b035-3345ccf4cb1b","component":"worker"} {"msg":"region 508fb493-696d-4542-b035-3345ccf4cb1b state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.632628058Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.633009146Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-508fb493-696d-4542-b035-3345ccf4cb1b","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.633440845Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-508fb493-696d-4542-b035-3345ccf4cb1b","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.638899866Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.649921961Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-508fb493-696d-4542-b035-3345ccf4cb1b","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.653528444Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/508fb493-696d-4542-b035-3345ccf4cb1b","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.660260301Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.660336413Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.660383364Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.660421175Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.664649891Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.669308116Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:23:35.781332738Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"uri":"/crucible/0/regions","method":"POST","req_id":"44e28777-a399-4a87-b623-e9923018bc7c","remote_addr":"[fd00:1122:3344:101::a]:39908","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":70,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.253962451Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:63522"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.257085154Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"uri":"/crucible/0/regions/508fb493-696d-4542-b035-3345ccf4cb1b","method":"GET","req_id":"d1ee3eaf-0896-4e3c-bcee-7e18325ca6a6","remote_addr":"[fd00:1122:3344:101::a]:63522","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":3089,"response_code":"200"} {"msg":"path is \"/data/regions/508fb493-696d-4542-b035-3345ccf4cb1b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.257331519Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/508fb493-696d-4542-b035-3345ccf4cb1b","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.267548807Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"datafile"} {"msg":"region 508fb493-696d-4542-b035-3345ccf4cb1b state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.275585191Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.275777955Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.275837046Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"uri":"/crucible/0/regions/508fb493-696d-4542-b035-3345ccf4cb1b","method":"DELETE","req_id":"8aea3ee7-e411-4b0b-bb09-1e628f157a2c","remote_addr":"[fd00:1122:3344:101::a]:63522","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":18583,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.275990309Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"uri":"/crucible/0/regions/508fb493-696d-4542-b035-3345ccf4cb1b","method":"GET","req_id":"3fe68a2f-ea0b-4a4f-a0ad-c6eca9b1a720","remote_addr":"[fd00:1122:3344:101::a]:63522","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-508fb493-696d-4542-b035-3345ccf4cb1b (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.277044411Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.286490173Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/508fb493-696d-4542-b035-3345ccf4cb1b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.297051858Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"region":"508fb493-696d-4542-b035-3345ccf4cb1b","component":"worker"} {"msg":"region 508fb493-696d-4542-b035-3345ccf4cb1b state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.347437735Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T08:26:32.410113801Z","hostname":"oxz_crucible_8d099513-dfdb-416c-9b0f-eccc61968f8c","pid":21634,"uri":"/crucible/0/regions/508fb493-696d-4542-b035-3345ccf4cb1b","method":"GET","req_id":"f844b9e8-0718-485a-b52f-d318e85f6224","remote_addr":"[fd00:1122:3344:101::a]:63522","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":664,"response_code":"200"}