[ Dec 6 01:45:29 Enabled. ] [ Dec 6 01:45:29 Rereading configuration. ] [ Dec 6 01:45:30 Rereading configuration. ] [ Dec 6 01:45:31 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_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 + [[ 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::1a 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_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":"2023-12-06T01:45:31.947946815Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:31.951730387Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:31.951747357Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:32.291618376Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.378436261Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:34942"} {"msg":"region 55033cef-a64d-4be5-b5f9-ab799ab5a4af state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.460436941Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.462780482Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"uri":"/crucible/0/regions","method":"POST","req_id":"b807190f-9552-4b58-b649-0700e87c02a0","remote_addr":"[fd00:1122:3344:101::a]:34942","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":18543,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.462803712Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.475498287Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.475527147Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"55033cef-a64d-4be5-b5f9-ab799ab5a4af\"), 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/55033cef-a64d-4be5-b5f9-ab799ab5a4af\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.538733452Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"region":"55033cef-a64d-4be5-b5f9-ab799ab5a4af","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.656298651Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"uri":"/crucible/0/regions","method":"POST","req_id":"aec74773-5733-4f20-ae67-ad6ab1f502c7","remote_addr":"[fd00:1122:3344:101::a]:34942","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":"2023-12-06T01:46:40.804097433Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"region":"55033cef-a64d-4be5-b5f9-ab799ab5a4af","component":"worker"} {"msg":"region 55033cef-a64d-4be5-b5f9-ab799ab5a4af state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.804143083Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.804266696Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-55033cef-a64d-4be5-b5f9-ab799ab5a4af","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.806991435Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-55033cef-a64d-4be5-b5f9-ab799ab5a4af","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.811772158Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.833066408Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-55033cef-a64d-4be5-b5f9-ab799ab5a4af","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.837192707Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.843181166Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.845297572Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.845350733Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.845391104Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.849485863Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.85536989Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:41.035494449Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"uri":"/crucible/0/regions","method":"POST","req_id":"e73de1a6-d01a-4686-abce-11f327fc4f4f","remote_addr":"[fd00:1122:3344:101::a]:34942","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":99,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.981775479Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:63245"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.982004724Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"uri":"/crucible/0/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af","method":"GET","req_id":"85d6b48b-78c7-443a-81d1-954ef6226060","remote_addr":"[fd00:1122:3344:101::a]:63245","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":198,"response_code":"200"} {"msg":"path is \"/data/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.982190648Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.992797267Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"datafile"} {"msg":"region 55033cef-a64d-4be5-b5f9-ab799ab5a4af state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:37.001502045Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:37.0017586Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:37.001805281Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"uri":"/crucible/0/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af","method":"DELETE","req_id":"c5f9ee93-304b-48e1-be88-8544c7e739fc","remote_addr":"[fd00:1122:3344:101::a]:63245","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":19679,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:37.001955294Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"uri":"/crucible/0/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af","method":"GET","req_id":"e72528d9-1646-4116-9054-ac076adca0e3","remote_addr":"[fd00:1122:3344:101::a]:63245","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":26,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-55033cef-a64d-4be5-b5f9-ab799ab5a4af (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:37.002819493Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:37.009763183Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:37.021017256Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"region":"55033cef-a64d-4be5-b5f9-ab799ab5a4af","component":"worker"} {"msg":"region 55033cef-a64d-4be5-b5f9-ab799ab5a4af state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:37.073656853Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:37.104312135Z","hostname":"oxz_crucible_c7385065-ab98-4fbd-bd59-6646f01e2559","pid":24415,"uri":"/crucible/0/regions/55033cef-a64d-4be5-b5f9-ab799ab5a4af","method":"GET","req_id":"8d7e4d3f-a3a7-430e-85eb-aac1a42b72e5","remote_addr":"[fd00:1122:3344:101::a]:63245","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":76,"response_code":"200"}