[ Oct 5 07:23:28 Enabled. ] [ Oct 5 07:23:28 Rereading configuration. ] [ Oct 5 07:23:29 Rereading configuration. ] [ Oct 5 07:23:30 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_f4b4dc87-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 + [[ 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::13 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_f4b4dc87-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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:31.079990114Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:31.081296865Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:31.081310705Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:31.224686248Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.177711387Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:45243"} {"msg":"region f4525fa7-a825-42ce-95cd-5a76e11e0e3c state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.256217712Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.270927685Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"uri":"/crucible/0/regions","method":"POST","req_id":"4dfe3614-3504-4b3b-95a1-9e1f6a119dbc","remote_addr":"[fd00:1122:3344:101::c]:45243","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":26804,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.272089453Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f4525fa7-a825-42ce-95cd-5a76e11e0e3c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.282653581Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f4525fa7-a825-42ce-95cd-5a76e11e0e3c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.282681111Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"f4525fa7-a825-42ce-95cd-5a76e11e0e3c\"), 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/f4525fa7-a825-42ce-95cd-5a76e11e0e3c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.520071594Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"region":"f4525fa7-a825-42ce-95cd-5a76e11e0e3c","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.553828029Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"uri":"/crucible/0/regions","method":"POST","req_id":"e7f7e99d-6234-4f75-8bf8-1f6475e36610","remote_addr":"[fd00:1122:3344:101::c]:45243","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":93,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.810628599Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"region":"f4525fa7-a825-42ce-95cd-5a76e11e0e3c","component":"worker"} {"msg":"region f4525fa7-a825-42ce-95cd-5a76e11e0e3c state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.810665559Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.810768901Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-f4525fa7-a825-42ce-95cd-5a76e11e0e3c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.82206893Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-f4525fa7-a825-42ce-95cd-5a76e11e0e3c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.848953416Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.907299991Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-f4525fa7-a825-42ce-95cd-5a76e11e0e3c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.920441219Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/f4525fa7-a825-42ce-95cd-5a76e11e0e3c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.92113134Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.921214591Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.921262382Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.921304253Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.937283856Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.968561591Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.089341556Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"uri":"/crucible/0/regions","method":"POST","req_id":"c0ac4f30-3dc1-4ef2-ae30-5f01c23f9924","remote_addr":"[fd00:1122:3344:101::c]:45243","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.543738148Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:40384"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.54390063Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"uri":"/crucible/0/regions/f4525fa7-a825-42ce-95cd-5a76e11e0e3c","method":"GET","req_id":"72d2e8db-a9bd-4a90-93ef-ef57c551d0ce","remote_addr":"[fd00:1122:3344:101::c]:40384","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":107,"response_code":"200"} {"msg":"path is \"/data/regions/f4525fa7-a825-42ce-95cd-5a76e11e0e3c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.544170895Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f4525fa7-a825-42ce-95cd-5a76e11e0e3c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.556109074Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"datafile"} {"msg":"region f4525fa7-a825-42ce-95cd-5a76e11e0e3c state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.565882219Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.566047032Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.568409909Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"uri":"/crucible/0/regions/f4525fa7-a825-42ce-95cd-5a76e11e0e3c","method":"DELETE","req_id":"a9a430f6-952e-4f5f-b56b-96ce3634db6a","remote_addr":"[fd00:1122:3344:101::c]:40384","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":24178,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.568616032Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"uri":"/crucible/0/regions/f4525fa7-a825-42ce-95cd-5a76e11e0e3c","method":"GET","req_id":"7515d82f-90cc-4dfe-893c-02d8feeb8306","remote_addr":"[fd00:1122:3344:101::c]:40384","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":70,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-f4525fa7-a825-42ce-95cd-5a76e11e0e3c (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.577471933Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.59563224Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f4525fa7-a825-42ce-95cd-5a76e11e0e3c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.607717122Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"region":"f4525fa7-a825-42ce-95cd-5a76e11e0e3c","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.655330416Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"uri":"/crucible/0/regions/f4525fa7-a825-42ce-95cd-5a76e11e0e3c","method":"GET","req_id":"deee2aa3-f4e0-423e-9afc-69ec476d9676","remote_addr":"[fd00:1122:3344:101::c]:40384","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":87,"response_code":"200"} {"msg":"region f4525fa7-a825-42ce-95cd-5a76e11e0e3c state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.710985069Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.777129227Z","hostname":"oxz_crucible_ea9d452a-2a8d-4f4e-8ed2-0bda13b94a72","pid":19860,"uri":"/crucible/0/regions/f4525fa7-a825-42ce-95cd-5a76e11e0e3c","method":"GET","req_id":"d2d4fa1b-d361-431e-add2-9de95ed691ce","remote_addr":"[fd00:1122:3344:101::c]:40384","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":43,"response_code":"200"}