[ Feb 15 16:37:05 Enabled. ] [ Feb 15 16:37:05 Rereading configuration. ] [ Feb 15 16:37:08 Rereading configuration. ] [ Feb 15 16:37:10 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=oxControlService10 ++ 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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 + [[ oxControlService10 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService10 ipadm: Could not delete oxControlService10: Interface does not exist + true + ipadm create-if -t oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService10 + ipadm show-addr oxControlService10/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService10/ll + ipadm show-addr oxControlService10/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService10/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:37:11.386104251Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:37:11.390878437Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:37:11.390893967Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:37:11.965867495Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.570591992Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:64838"} {"msg":"region 60c4c3b2-cc2d-4771-a0a5-115b28dc22af state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.573629044Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.575960952Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.575985413Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"uri":"/crucible/0/regions","method":"POST","req_id":"e88fb4cc-8d80-4d73-b4c2-ce8bc6ea7791","remote_addr":"[fd00:1122:3344:101::a]:64838","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":4876,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.585751027Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.585778707Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"60c4c3b2-cc2d-4771-a0a5-115b28dc22af\"), 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/60c4c3b2-cc2d-4771-a0a5-115b28dc22af\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.644489073Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"region":"60c4c3b2-cc2d-4771-a0a5-115b28dc22af","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.816514109Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"uri":"/crucible/0/regions","method":"POST","req_id":"9e2e2f3e-74fb-4391-b895-c90f0783d0d2","remote_addr":"[fd00:1122:3344:101::a]:64838","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":87,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.938062806Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"region":"60c4c3b2-cc2d-4771-a0a5-115b28dc22af","component":"worker"} {"msg":"region 60c4c3b2-cc2d-4771-a0a5-115b28dc22af state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.938103128Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.938212132Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-60c4c3b2-cc2d-4771-a0a5-115b28dc22af","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.938716378Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-60c4c3b2-cc2d-4771-a0a5-115b28dc22af","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.945366908Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.953731252Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-60c4c3b2-cc2d-4771-a0a5-115b28dc22af","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.957677192Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.958221686Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.958277737Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.958316217Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.958353247Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.961920274Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:49.965974185Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:38:50.348311099Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"uri":"/crucible/0/regions","method":"POST","req_id":"2a563a53-2cdb-45f7-a01d-eaa969b75b24","remote_addr":"[fd00:1122:3344:101::a]:64838","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":76,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:12.949743956Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:55709"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:12.949853697Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"uri":"/crucible/0/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af","method":"GET","req_id":"25869334-02de-4113-8b4c-ea0198e21954","remote_addr":"[fd00:1122:3344:101::a]:55709","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":60,"response_code":"200"} {"msg":"path is \"/data/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:12.950010308Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:12.958579633Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"datafile"} {"msg":"snapshot is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af@691386a4-01c2-41b7-9527-f4760ea16e6c","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:12.966537923Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af\", \"691386a4-01c2-41b7-9527-f4760ea16e6c\"]","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:12.966570733Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"ZfsSnapshotInterface"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:12.97795601Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"uri":"/crucible/0/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af/snapshots/691386a4-01c2-41b7-9527-f4760ea16e6c","method":"GET","req_id":"36a08c2e-5b4e-4c63-8222-03c87cf34a7b","remote_addr":"[fd00:1122:3344:101::a]:55709","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":27961,"response_code":"200"} {"msg":"path is \"/data/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:12.980040076Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:12.987616123Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"datafile"} {"msg":"snapshot is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af@691386a4-01c2-41b7-9527-f4760ea16e6c","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:12.996037697Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af\", \"691386a4-01c2-41b7-9527-f4760ea16e6c\"]","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:12.996060868Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"ZfsSnapshotInterface"} {"msg":"requesting running snapshot 60c4c3b2-cc2d-4771-a0a5-115b28dc22af-691386a4-01c2-41b7-9527-f4760ea16e6c state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.004730874Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"datafile"} {"msg":"applying SMF actions for region 60c4c3b2-cc2d-4771-a0a5-115b28dc22af running snapshot 691386a4-01c2-41b7-9527-f4760ea16e6c (state Requested)...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.005329328Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.005349898Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"uri":"/crucible/0/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af/snapshots/691386a4-01c2-41b7-9527-f4760ea16e6c/run","method":"POST","req_id":"6a9c8faa-2103-466e-bd28-1fc95a797612","remote_addr":"[fd00:1122:3344:101::a]:55709","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":27238,"response_code":"200"} {"msg":"creating missing snapshot instance snapshot-60c4c3b2-cc2d-4771-a0a5-115b28dc22af-691386a4-01c2-41b7-9527-f4760ea16e6c","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.013868563Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:snapshot-60c4c3b2-cc2d-4771-a0a5-115b28dc22af-691386a4-01c2-41b7-9527-f4760ea16e6c","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.019488755Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:snapshot-60c4c3b2-cc2d-4771-a0a5-115b28dc22af-691386a4-01c2-41b7-9527-f4760ea16e6c","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.031628538Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/60c4c3b2-cc2d-4771-a0a5-115b28dc22af/.zfs/snapshot/691386a4-01c2-41b7-9527-f4760ea16e6c","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.03193692Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19001","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.03199151Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"ensure mode SCF_TYPE_ASTRING ro","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.032034641Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.032075091Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.032128562Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.037734874Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.04512941Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"worker"} {"msg":"region 60c4c3b2-cc2d-4771-a0a5-115b28dc22af running snapshot 691386a4-01c2-41b7-9527-f4760ea16e6c state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T16:44:13.045148921Z","hostname":"oxz_crucible_6195d47a-904b-47ed-a5fb-704028cf3dfc","pid":22336,"component":"datafile"}