[ Jan 16 00:47:54 Enabled. ] [ Jan 16 00:47:54 Rereading configuration. ] [ Jan 16 00:47:56 Rereading configuration. ] [ Jan 16 00:47:59 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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::1a 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]: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":"2024-01-16T00:48:00.158595406Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:48:00.161258409Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:48:00.161271337Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:48:00.638264833Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.080701746Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:55053"} {"msg":"region 13feffe5-6057-4f0f-8718-aef1ef8b5781 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.083945839Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.088656826Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"uri":"/crucible/0/regions","method":"POST","req_id":"eba6b82c-ac76-4f26-a060-59e4612772d0","remote_addr":"[fd00:1122:3344:101::a]:55053","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":7271,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.088683527Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.098391194Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.098417185Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"13feffe5-6057-4f0f-8718-aef1ef8b5781\"), 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/13feffe5-6057-4f0f-8718-aef1ef8b5781\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.153033084Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"region":"13feffe5-6057-4f0f-8718-aef1ef8b5781","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.383349072Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"uri":"/crucible/0/regions","method":"POST","req_id":"9c8f8b72-52c9-4f56-b46c-908dd6c5b2a5","remote_addr":"[fd00:1122:3344:101::a]:55053","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.481600401Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"region":"13feffe5-6057-4f0f-8718-aef1ef8b5781","component":"worker"} {"msg":"region 13feffe5-6057-4f0f-8718-aef1ef8b5781 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.481631981Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.481773352Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-13feffe5-6057-4f0f-8718-aef1ef8b5781","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.482260467Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-13feffe5-6057-4f0f-8718-aef1ef8b5781","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.485727092Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.49547017Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-13feffe5-6057-4f0f-8718-aef1ef8b5781","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.498624192Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.499397669Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.499507851Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.499553491Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.499591862Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.503283189Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.507587772Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:49:05.985039347Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"uri":"/crucible/0/regions","method":"POST","req_id":"514f203e-89fb-4562-bf7b-cfbf0ed6bb81","remote_addr":"[fd00:1122:3344:101::a]:55053","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":63,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.157565376Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:38869"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.157678877Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"uri":"/crucible/0/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781","method":"GET","req_id":"31e885d7-bd93-4bcf-8602-58b3f40befa3","remote_addr":"[fd00:1122:3344:101::a]:38869","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":62,"response_code":"200"} {"msg":"path is \"/data/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.162349404Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.172228214Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"datafile"} {"msg":"snapshot is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781@25678b68-406e-4fe0-842e-cd8ae4bb49f5","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.181384906Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781\", \"25678b68-406e-4fe0-842e-cd8ae4bb49f5\"]","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.181415336Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"ZfsSnapshotInterface"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.191447837Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"uri":"/crucible/0/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781/snapshots/25678b68-406e-4fe0-842e-cd8ae4bb49f5","method":"GET","req_id":"65dfab06-2944-4923-9e91-8a66328eb52e","remote_addr":"[fd00:1122:3344:101::a]:38869","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":29118,"response_code":"200"} {"msg":"path is \"/data/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.191670739Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.200210325Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"datafile"} {"msg":"snapshot is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781@25678b68-406e-4fe0-842e-cd8ae4bb49f5","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.208529929Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781\", \"25678b68-406e-4fe0-842e-cd8ae4bb49f5\"]","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.208562329Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"ZfsSnapshotInterface"} {"msg":"requesting running snapshot 13feffe5-6057-4f0f-8718-aef1ef8b5781-25678b68-406e-4fe0-842e-cd8ae4bb49f5 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.217899483Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"datafile"} {"msg":"applying SMF actions for region 13feffe5-6057-4f0f-8718-aef1ef8b5781 running snapshot 25678b68-406e-4fe0-842e-cd8ae4bb49f5 (state Requested)...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.218770062Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.218819992Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"uri":"/crucible/0/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781/snapshots/25678b68-406e-4fe0-842e-cd8ae4bb49f5/run","method":"POST","req_id":"8afa1aa4-651e-4350-8a89-1772db6d0a22","remote_addr":"[fd00:1122:3344:101::a]:38869","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":27171,"response_code":"200"} {"msg":"creating missing snapshot instance snapshot-13feffe5-6057-4f0f-8718-aef1ef8b5781-25678b68-406e-4fe0-842e-cd8ae4bb49f5","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.226692012Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:snapshot-13feffe5-6057-4f0f-8718-aef1ef8b5781-25678b68-406e-4fe0-842e-cd8ae4bb49f5","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.230728912Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:snapshot-13feffe5-6057-4f0f-8718-aef1ef8b5781-25678b68-406e-4fe0-842e-cd8ae4bb49f5","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.258587853Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/13feffe5-6057-4f0f-8718-aef1ef8b5781/.zfs/snapshot/25678b68-406e-4fe0-842e-cd8ae4bb49f5","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.258788005Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19001","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.258835075Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"ensure mode SCF_TYPE_ASTRING ro","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.258873055Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.258909046Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.258954366Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.265338201Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.273285551Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"worker"} {"msg":"region 13feffe5-6057-4f0f-8718-aef1ef8b5781 running snapshot 25678b68-406e-4fe0-842e-cd8ae4bb49f5 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:29.273307641Z","hostname":"oxz_crucible_0fcaa4ec-3e03-4d11-bb54-aeee89f7cf8a","pid":25597,"component":"datafile"}