[ Oct 26 11:47:47 Enabled. ] [ Oct 26 11:47:47 Rereading configuration. ] [ Oct 26 11:47:48 Rereading configuration. ] [ Oct 26 11:47:49 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=oxControlService11 ++ 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::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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService11/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::1a]: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":"2023-10-26T11:47:50.169090239Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:50.17251169Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:50.17252058Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:50.259990579Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.162964101Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:58345"} {"msg":"region 63a26c0c-32ca-40c2-af79-9cdae78bd796 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.239857145Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.245381216Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.245412837Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"uri":"/crucible/0/regions","method":"POST","req_id":"8fe8ccff-53bf-415a-bc57-fd944b3b91aa","remote_addr":"[fd00:1122:3344:101::a]:58345","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":13941,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/63a26c0c-32ca-40c2-af79-9cdae78bd796","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.255219991Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/63a26c0c-32ca-40c2-af79-9cdae78bd796","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.255252602Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"63a26c0c-32ca-40c2-af79-9cdae78bd796\"), 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/63a26c0c-32ca-40c2-af79-9cdae78bd796\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.30869733Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"region":"63a26c0c-32ca-40c2-af79-9cdae78bd796","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.481457047Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"region":"63a26c0c-32ca-40c2-af79-9cdae78bd796","component":"worker"} {"msg":"region 63a26c0c-32ca-40c2-af79-9cdae78bd796 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.481498647Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.481590249Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-63a26c0c-32ca-40c2-af79-9cdae78bd796","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.484075805Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-63a26c0c-32ca-40c2-af79-9cdae78bd796","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.487822341Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.498431102Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-63a26c0c-32ca-40c2-af79-9cdae78bd796","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.50136903Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/63a26c0c-32ca-40c2-af79-9cdae78bd796","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.501949079Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.50201983Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.50206224Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.502102481Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.506065039Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.507992698Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"uri":"/crucible/0/regions","method":"POST","req_id":"8afcf823-83e0-4fa0-b152-4a19cc1bb559","remote_addr":"[fd00:1122:3344:101::a]:58345","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.513959996Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.281158553Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:60993"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.312441374Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"uri":"/crucible/0/regions/63a26c0c-32ca-40c2-af79-9cdae78bd796","method":"GET","req_id":"7eafe51a-4b99-423b-bf61-12ee4614bf23","remote_addr":"[fd00:1122:3344:101::a]:60993","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":113,"response_code":"200"} {"msg":"path is \"/data/regions/63a26c0c-32ca-40c2-af79-9cdae78bd796\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.312685658Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/63a26c0c-32ca-40c2-af79-9cdae78bd796","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.325552968Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"datafile"} {"msg":"region 63a26c0c-32ca-40c2-af79-9cdae78bd796 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.337406002Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.337583505Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.337641816Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"uri":"/crucible/0/regions/63a26c0c-32ca-40c2-af79-9cdae78bd796","method":"DELETE","req_id":"cd6d9135-0d35-4ab1-8d6c-f2aeb1353c27","remote_addr":"[fd00:1122:3344:101::a]:60993","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":24981,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.337799608Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"uri":"/crucible/0/regions/63a26c0c-32ca-40c2-af79-9cdae78bd796","method":"GET","req_id":"ef8ed0a1-f8f8-4022-91af-7ab3346e75f1","remote_addr":"[fd00:1122:3344:101::a]:60993","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-63a26c0c-32ca-40c2-af79-9cdae78bd796 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.338747232Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.355432698Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/63a26c0c-32ca-40c2-af79-9cdae78bd796\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.367520236Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"region":"63a26c0c-32ca-40c2-af79-9cdae78bd796","component":"worker"} {"msg":"region 63a26c0c-32ca-40c2-af79-9cdae78bd796 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.43082686Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.482553272Z","hostname":"oxz_crucible_47d6b7d2-c305-4d94-b7a2-9f038a234333","pid":25713,"uri":"/crucible/0/regions/63a26c0c-32ca-40c2-af79-9cdae78bd796","method":"GET","req_id":"b3a43ce7-934e-42c7-8583-3bfe1838e6da","remote_addr":"[fd00:1122:3344:101::a]:60993","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":66,"response_code":"200"}