[ Feb 15 22:28:34 Enabled. ] [ Feb 15 22:28:34 Rereading configuration. ] [ Feb 15 22:28:37 Rereading configuration. ] [ Feb 15 22:28:39 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=oxControlService22 ++ 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService22/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:28:40.31217818Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:28:40.316504602Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:28:40.316517962Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:28:40.979367134Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.309149213Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:54091"} {"msg":"region 45d3d3c3-d69a-492d-9f00-df045bafded7 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.370949999Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.373333899Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"uri":"/crucible/0/regions","method":"POST","req_id":"c4a8b75d-a567-4a07-b432-d4144ab4d06d","remote_addr":"[fd00:1122:3344:101::c]:54091","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":5576,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.373905362Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/45d3d3c3-d69a-492d-9f00-df045bafded7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.383648088Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/45d3d3c3-d69a-492d-9f00-df045bafded7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.383669488Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"45d3d3c3-d69a-492d-9f00-df045bafded7\"), 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/45d3d3c3-d69a-492d-9f00-df045bafded7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.440539081Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"region":"45d3d3c3-d69a-492d-9f00-df045bafded7","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.572427299Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"region":"45d3d3c3-d69a-492d-9f00-df045bafded7","component":"worker"} {"msg":"region 45d3d3c3-d69a-492d-9f00-df045bafded7 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.572477349Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.572566311Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-45d3d3c3-d69a-492d-9f00-df045bafded7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.57298491Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-45d3d3c3-d69a-492d-9f00-df045bafded7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.577625388Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.586480456Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-45d3d3c3-d69a-492d-9f00-df045bafded7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.590108672Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/45d3d3c3-d69a-492d-9f00-df045bafded7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.590913669Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.590995491Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.591052402Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.591106663Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.594888493Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.604054197Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.674844264Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"uri":"/crucible/0/regions","method":"POST","req_id":"e2b6a62f-7f4d-4e3c-93fa-fd574d43e3df","remote_addr":"[fd00:1122:3344:101::c]:54091","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":630,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.302003291Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:38273"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.302098224Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"uri":"/crucible/0/regions/45d3d3c3-d69a-492d-9f00-df045bafded7","method":"GET","req_id":"e99a2613-d720-44af-acbb-7a444e411234","remote_addr":"[fd00:1122:3344:101::c]:38273","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":60,"response_code":"200"} {"msg":"path is \"/data/regions/45d3d3c3-d69a-492d-9f00-df045bafded7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.302229796Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/45d3d3c3-d69a-492d-9f00-df045bafded7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.311312248Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"datafile"} {"msg":"region 45d3d3c3-d69a-492d-9f00-df045bafded7 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.318551281Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.318776726Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.318862398Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"uri":"/crucible/0/regions/45d3d3c3-d69a-492d-9f00-df045bafded7","method":"DELETE","req_id":"4426ed1a-b919-4d87-b6cd-fbc5682bb7b8","remote_addr":"[fd00:1122:3344:101::c]:38273","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":16646,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.319117403Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"uri":"/crucible/0/regions/45d3d3c3-d69a-492d-9f00-df045bafded7","method":"GET","req_id":"0b8a4f24-c91b-42e2-8500-9bb8d2fbbb0f","remote_addr":"[fd00:1122:3344:101::c]:38273","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":41,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-45d3d3c3-d69a-492d-9f00-df045bafded7 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.319860359Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.32414173Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/45d3d3c3-d69a-492d-9f00-df045bafded7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.333572499Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"region":"45d3d3c3-d69a-492d-9f00-df045bafded7","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.381482602Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"uri":"/crucible/0/regions/45d3d3c3-d69a-492d-9f00-df045bafded7","method":"GET","req_id":"32792945-66a2-4411-bd61-c1008ff17192","remote_addr":"[fd00:1122:3344:101::c]:38273","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":62,"response_code":"200"} {"msg":"region 45d3d3c3-d69a-492d-9f00-df045bafded7 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.386799874Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.505757939Z","hostname":"oxz_crucible_f6ff2391-d3ec-43ac-a718-94fdef529fd9","pid":21868,"uri":"/crucible/0/regions/45d3d3c3-d69a-492d-9f00-df045bafded7","method":"GET","req_id":"a5eede79-2911-46be-9597-e7d8318afa07","remote_addr":"[fd00:1122:3344:101::c]:38273","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":38,"response_code":"200"}