[ Jan 24 19:33:24 Enabled. ] [ Jan 24 19:33:24 Rereading configuration. ] [ Jan 24 19:33:30 Rereading configuration. ] [ Jan 24 19:33:36 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=oxControlService19 ++ 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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService19/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-01-24T19:33:37.117746659Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:33:37.120501687Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:33:37.120515358Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:33:37.360925738Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:54.847096135Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:38814"} {"msg":"region 532678e5-2aa5-436d-b310-518d13afd571 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:54.906278928Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:54.915511915Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"uri":"/crucible/0/regions","method":"POST","req_id":"22e0705c-22f8-43b3-8e5f-a31d92e6b9b1","remote_addr":"[fd00:1122:3344:101::a]:38814","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":25980,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:54.915548986Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/532678e5-2aa5-436d-b310-518d13afd571","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:54.925024028Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/532678e5-2aa5-436d-b310-518d13afd571","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:54.925051959Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"532678e5-2aa5-436d-b310-518d13afd571\"), 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/532678e5-2aa5-436d-b310-518d13afd571\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.0045944Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"region":"532678e5-2aa5-436d-b310-518d13afd571","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.261774363Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"uri":"/crucible/0/regions","method":"POST","req_id":"ff8167b9-d1ef-40df-87e7-2fa99d9dae89","remote_addr":"[fd00:1122:3344:101::a]:38814","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.432723581Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"region":"532678e5-2aa5-436d-b310-518d13afd571","component":"worker"} {"msg":"region 532678e5-2aa5-436d-b310-518d13afd571 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.432774542Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.432941176Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-532678e5-2aa5-436d-b310-518d13afd571","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.435766566Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-532678e5-2aa5-436d-b310-518d13afd571","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.445522924Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.46549625Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-532678e5-2aa5-436d-b310-518d13afd571","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.473307997Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/532678e5-2aa5-436d-b310-518d13afd571","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.473970271Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.47626535Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.476319552Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.476367733Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.496168755Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.501898827Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:39:55.530108899Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"uri":"/crucible/0/regions","method":"POST","req_id":"a7938b5d-b3e3-4d83-b05e-caf98fc5deb6","remote_addr":"[fd00:1122:3344:101::a]:38814","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":48,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:27.941638439Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:56005"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:27.941728241Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"uri":"/crucible/0/regions/532678e5-2aa5-436d-b310-518d13afd571","method":"GET","req_id":"c4a692f1-167b-485f-9173-211ec3d67a50","remote_addr":"[fd00:1122:3344:101::a]:56005","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"path is \"/data/regions/532678e5-2aa5-436d-b310-518d13afd571\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:27.941942125Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/532678e5-2aa5-436d-b310-518d13afd571","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:27.954763649Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"datafile"} {"msg":"region 532678e5-2aa5-436d-b310-518d13afd571 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:27.963216079Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:27.963397763Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:27.963453584Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"uri":"/crucible/0/regions/532678e5-2aa5-436d-b310-518d13afd571","method":"DELETE","req_id":"aba3cb19-41e4-40c3-bdc9-2c686c4dbf0b","remote_addr":"[fd00:1122:3344:101::a]:56005","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21533,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:27.963605588Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"uri":"/crucible/0/regions/532678e5-2aa5-436d-b310-518d13afd571","method":"GET","req_id":"9eaf5bef-a41d-43d4-934b-e0f65fbb7d54","remote_addr":"[fd00:1122:3344:101::a]:56005","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-532678e5-2aa5-436d-b310-518d13afd571 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:27.964399874Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:27.969729708Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/532678e5-2aa5-436d-b310-518d13afd571\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:27.979989147Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"region":"532678e5-2aa5-436d-b310-518d13afd571","component":"worker"} {"msg":"region 532678e5-2aa5-436d-b310-518d13afd571 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:28.037796091Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-24T19:40:28.039883065Z","hostname":"oxz_crucible_4d5607cc-e42d-4254-8313-4eb78e3db7b3","pid":22535,"uri":"/crucible/0/regions/532678e5-2aa5-436d-b310-518d13afd571","method":"GET","req_id":"8cb713f5-ebc8-4ee3-891b-23e8826cff8c","remote_addr":"[fd00:1122:3344:101::a]:56005","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":53,"response_code":"200"}