[ Nov 20 07:51:56 Enabled. ] [ Nov 20 07:51:56 Rereading configuration. ] [ Nov 20 07:51:57 Rereading configuration. ] [ Nov 20 07:51:58 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":"2023-11-20T07:51:59.164491384Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:51:59.166097996Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:51:59.166106026Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:51:59.263423119Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.268415389Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:58082"} {"msg":"region 55c1f2db-a195-4b53-a72d-b98be0a62107 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.287252745Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.292765323Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.292801113Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"uri":"/crucible/0/regions","method":"POST","req_id":"67ba0938-fa6d-4184-8034-ae5b355e0a25","remote_addr":"[fd00:1122:3344:101::c]:58082","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":11736,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55c1f2db-a195-4b53-a72d-b98be0a62107","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.304317737Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55c1f2db-a195-4b53-a72d-b98be0a62107","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.304347968Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"55c1f2db-a195-4b53-a72d-b98be0a62107\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 16, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/55c1f2db-a195-4b53-a72d-b98be0a62107\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.346854025Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"region":"55c1f2db-a195-4b53-a72d-b98be0a62107","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.526250637Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"uri":"/crucible/0/regions","method":"POST","req_id":"767ee173-9e89-4605-8853-abb339aa5a59","remote_addr":"[fd00:1122:3344:101::c]:58082","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.530592771Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"region":"55c1f2db-a195-4b53-a72d-b98be0a62107","component":"worker"} {"msg":"region 55c1f2db-a195-4b53-a72d-b98be0a62107 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.530609592Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.530758335Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-55c1f2db-a195-4b53-a72d-b98be0a62107","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.533453387Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-55c1f2db-a195-4b53-a72d-b98be0a62107","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.536559017Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.549930428Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-55c1f2db-a195-4b53-a72d-b98be0a62107","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.552852654Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/55c1f2db-a195-4b53-a72d-b98be0a62107","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.553556858Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.55363071Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.55367547Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.553716081Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.557922013Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.563137745Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.217631472Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"uri":"/crucible/0/regions","method":"POST","req_id":"6a67cf81-ae6a-4bd1-91a0-c9da5cfa5919","remote_addr":"[fd00:1122:3344:101::c]:58082","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":"2023-11-20T07:53:06.542574167Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:52280"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.542810091Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"uri":"/crucible/0/regions/55c1f2db-a195-4b53-a72d-b98be0a62107","method":"GET","req_id":"f0da4920-fe41-4f65-82c1-38fd7694917c","remote_addr":"[fd00:1122:3344:101::c]:52280","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":143,"response_code":"200"} {"msg":"path is \"/data/regions/55c1f2db-a195-4b53-a72d-b98be0a62107\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.543054676Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55c1f2db-a195-4b53-a72d-b98be0a62107","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.554590251Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"datafile"} {"msg":"region 55c1f2db-a195-4b53-a72d-b98be0a62107 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.564739268Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.564871541Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.564928962Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"uri":"/crucible/0/regions/55c1f2db-a195-4b53-a72d-b98be0a62107","method":"DELETE","req_id":"d467b615-6736-4224-9a0d-6ca8e2e724c2","remote_addr":"[fd00:1122:3344:101::c]:52280","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":21931,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.565114435Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"uri":"/crucible/0/regions/55c1f2db-a195-4b53-a72d-b98be0a62107","method":"GET","req_id":"6876e68e-f53a-4935-a262-1c1deb476e94","remote_addr":"[fd00:1122:3344:101::c]:52280","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-55c1f2db-a195-4b53-a72d-b98be0a62107 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.565925511Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.570904188Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/55c1f2db-a195-4b53-a72d-b98be0a62107\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.58485743Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"region":"55c1f2db-a195-4b53-a72d-b98be0a62107","component":"worker"} {"msg":"region 55c1f2db-a195-4b53-a72d-b98be0a62107 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.632975926Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.650487467Z","hostname":"oxz_crucible_8bbe15f8-a976-42cd-ae90-1c7c4c5d3fea","pid":20953,"uri":"/crucible/0/regions/55c1f2db-a195-4b53-a72d-b98be0a62107","method":"GET","req_id":"b1442527-2828-4b08-9063-bec8ab870cf7","remote_addr":"[fd00:1122:3344:101::c]:52280","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":87,"response_code":"200"}