[ Dec 13 06:05:17 Enabled. ] [ Dec 13 06:05:17 Rereading configuration. ] [ Dec 13 06:05:19 Rereading configuration. ] [ Dec 13 06:05:22 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_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 + [[ 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::12 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_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-13T06:05:22.874073545Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:05:22.87874048Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:05:22.87875388Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:05:23.243799058Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.218454972Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:63255"} {"msg":"region 1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.282475013Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.282995112Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"uri":"/crucible/0/regions","method":"POST","req_id":"82f22a06-dc94-45ce-bf66-a07a12009d3b","remote_addr":"[fd00:1122:3344:101::b]:63255","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":2041,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.283663224Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.294811539Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.294840669Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc\"), 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/1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.35123477Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"region":"1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.51419647Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"region":"1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","component":"worker"} {"msg":"region 1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.514252641Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.514337623Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.514923513Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.51802438Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.527256369Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.530717482Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.531424715Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.531486156Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.531527717Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.531566378Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.536492378Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.540499051Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.621678596Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"uri":"/crucible/0/regions","method":"POST","req_id":"4409c336-d5ca-424b-a5bd-1c71a47ef1fa","remote_addr":"[fd00:1122:3344:101::b]:63255","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":69,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.125691293Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:55444"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.126271444Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"uri":"/crucible/0/regions/1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","method":"GET","req_id":"c845fbdb-52c1-48e2-9e7f-79bea552121c","remote_addr":"[fd00:1122:3344:101::b]:55444","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":560,"response_code":"200"} {"msg":"path is \"/data/regions/1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.126966986Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.136650734Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"datafile"} {"msg":"region 1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.145141759Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.145284432Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.145393338Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"uri":"/crucible/0/regions/1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","method":"DELETE","req_id":"a1278714-a661-40a2-ac58-a8d7d6ae52c4","remote_addr":"[fd00:1122:3344:101::b]:55444","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":19032,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.145561197Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"uri":"/crucible/0/regions/1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","method":"GET","req_id":"0a024b25-e586-4a30-a567-b616fa90019b","remote_addr":"[fd00:1122:3344:101::b]:55444","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":31,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.146577585Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.150483887Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.161112781Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"region":"1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","component":"worker"} {"msg":"region 1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.212602663Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.294599872Z","hostname":"oxz_crucible_5394614b-e3ad-4f67-9e5b-22270bf01884","pid":21228,"uri":"/crucible/0/regions/1fffa298-68a9-4db6-b0ba-5f76a4fc2dcc","method":"GET","req_id":"f06e30c8-c97a-4f4c-80c6-f9a706ce6f7d","remote_addr":"[fd00:1122:3344:101::b]:55444","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":87,"response_code":"200"}