[ Dec 1 20:22:01 Enabled. ] [ Dec 1 20:22:01 Rereading configuration. ] [ Dec 1 20:22:04 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=oxControlService16 ++ 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::12 ++ 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 + [[ oxControlService16 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService16 ipadm: Could not delete oxControlService16: Interface does not exist + true + ipadm create-if -t oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 + ipadm show-addr oxControlService16/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService16/ll + ipadm show-addr oxControlService16/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService16/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::12]: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-12-01T20:22:07.517103159Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.521411818Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.521430239Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.660444566Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.848671796Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:65486"} {"msg":"region 3f8b77aa-e82b-417c-b83e-97a087a61906 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.911648606Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.912503469Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.912523242Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"uri":"/crucible/0/regions","method":"POST","req_id":"f9fa236b-c9b5-4a7a-ad2b-88590bd88db9","remote_addr":"[fd00:1122:3344:101::b]:65486","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":2159,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/3f8b77aa-e82b-417c-b83e-97a087a61906","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.92313475Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/3f8b77aa-e82b-417c-b83e-97a087a61906","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.923159Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"3f8b77aa-e82b-417c-b83e-97a087a61906\"), 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/3f8b77aa-e82b-417c-b83e-97a087a61906\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:06.972756572Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"region":"3f8b77aa-e82b-417c-b83e-97a087a61906","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.176510309Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"region":"3f8b77aa-e82b-417c-b83e-97a087a61906","component":"worker"} {"msg":"region 3f8b77aa-e82b-417c-b83e-97a087a61906 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.17654277Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.176659921Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-3f8b77aa-e82b-417c-b83e-97a087a61906","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.17710281Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-3f8b77aa-e82b-417c-b83e-97a087a61906","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.180478032Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.188350029Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-3f8b77aa-e82b-417c-b83e-97a087a61906","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.191987137Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/3f8b77aa-e82b-417c-b83e-97a087a61906","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.192536247Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.192615798Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.192657939Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.1926969Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.196981929Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.202072174Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:07.25836047Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"uri":"/crucible/0/regions","method":"POST","req_id":"c9600c3d-227e-46dd-8049-a197d52655e8","remote_addr":"[fd00:1122:3344:101::b]:65486","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.858590332Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:57762"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.860948106Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"uri":"/crucible/0/regions/3f8b77aa-e82b-417c-b83e-97a087a61906","method":"GET","req_id":"fe0b0c09-6751-419d-bf76-f3e0851833e4","remote_addr":"[fd00:1122:3344:101::b]:57762","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":2322,"response_code":"200"} {"msg":"path is \"/data/regions/3f8b77aa-e82b-417c-b83e-97a087a61906\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.861281582Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/3f8b77aa-e82b-417c-b83e-97a087a61906","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.873153302Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"datafile"} {"msg":"region 3f8b77aa-e82b-417c-b83e-97a087a61906 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.881620589Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.88218792Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.882239971Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"uri":"/crucible/0/regions/3f8b77aa-e82b-417c-b83e-97a087a61906","method":"DELETE","req_id":"3ffa41b9-ef8d-4346-8081-d30bdf8771f3","remote_addr":"[fd00:1122:3344:101::b]:57762","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":21105,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.882975434Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"uri":"/crucible/0/regions/3f8b77aa-e82b-417c-b83e-97a087a61906","method":"GET","req_id":"0424ff89-5249-4ade-afbe-7cea07ba685e","remote_addr":"[fd00:1122:3344:101::b]:57762","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":601,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-3f8b77aa-e82b-417c-b83e-97a087a61906 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.883448753Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.891547325Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/3f8b77aa-e82b-417c-b83e-97a087a61906\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.902823512Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"region":"3f8b77aa-e82b-417c-b83e-97a087a61906","component":"worker"} {"msg":"region 3f8b77aa-e82b-417c-b83e-97a087a61906 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.947212165Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:25:57.970363454Z","hostname":"oxz_crucible_e57cf3df-bd68-4b6a-959d-456e679e6729","pid":21427,"uri":"/crucible/0/regions/3f8b77aa-e82b-417c-b83e-97a087a61906","method":"GET","req_id":"7015141b-8b0a-4921-b806-9e2fa88753fc","remote_addr":"[fd00:1122:3344:101::b]:57762","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":87,"response_code":"200"}