[ Dec 5 05:08:17 Enabled. ] [ Dec 5 05:08:17 Rereading configuration. ] [ Dec 5 05:08:20 Rereading configuration. ] [ Dec 5 05:08:25 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=oxControlService15 ++ 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::13 ++ 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 + [[ oxControlService15 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService15 ipadm: Could not delete oxControlService15: Interface does not exist + true + ipadm create-if -t oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService15 + ipadm show-addr oxControlService15/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService15/ll + ipadm show-addr oxControlService15/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService15/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::13]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.593789722Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.598129552Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.598146623Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.854116766Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.563090341Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:46670"} {"msg":"region 6e5b97b0-7874-4f6e-8697-0f07ae437ebf state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.609681067Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.610524971Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.614339733Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"uri":"/crucible/0/regions","method":"POST","req_id":"89b0318d-06fe-4f3b-a8b4-2887852b9888","remote_addr":"[fd00:1122:3344:101::c]:46670","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":15501,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6e5b97b0-7874-4f6e-8697-0f07ae437ebf","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.620712576Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6e5b97b0-7874-4f6e-8697-0f07ae437ebf","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.620726886Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6e5b97b0-7874-4f6e-8697-0f07ae437ebf\"), 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/6e5b97b0-7874-4f6e-8697-0f07ae437ebf\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.682786683Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"region":"6e5b97b0-7874-4f6e-8697-0f07ae437ebf","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.872569742Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"region":"6e5b97b0-7874-4f6e-8697-0f07ae437ebf","component":"worker"} {"msg":"region 6e5b97b0-7874-4f6e-8697-0f07ae437ebf state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.872615793Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.872701745Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6e5b97b0-7874-4f6e-8697-0f07ae437ebf","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.873227563Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6e5b97b0-7874-4f6e-8697-0f07ae437ebf","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.878345056Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.889849353Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"uri":"/crucible/0/regions","method":"POST","req_id":"fbf0c03e-7a5e-4e01-971b-79a5c5326c85","remote_addr":"[fd00:1122:3344:101::c]:46670","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.896012243Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6e5b97b0-7874-4f6e-8697-0f07ae437ebf","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.899235275Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6e5b97b0-7874-4f6e-8697-0f07ae437ebf","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.904952618Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.906993721Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.907059802Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.907104023Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.912039013Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:30.917578203Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.554428078Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:41353"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.555318153Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"uri":"/crucible/0/regions/6e5b97b0-7874-4f6e-8697-0f07ae437ebf","method":"GET","req_id":"f03b4634-5353-4b91-8c10-ce18f4a21a8f","remote_addr":"[fd00:1122:3344:101::c]:41353","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":859,"response_code":"200"} {"msg":"path is \"/data/regions/6e5b97b0-7874-4f6e-8697-0f07ae437ebf\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.555515756Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6e5b97b0-7874-4f6e-8697-0f07ae437ebf","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.566156418Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"datafile"} {"msg":"region 6e5b97b0-7874-4f6e-8697-0f07ae437ebf state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.575793785Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.575976048Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.576029229Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"uri":"/crucible/0/regions/6e5b97b0-7874-4f6e-8697-0f07ae437ebf","method":"DELETE","req_id":"c2ef50ec-807a-4d4c-bb18-78449ffdf078","remote_addr":"[fd00:1122:3344:101::c]:41353","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":20571,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.576194581Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"uri":"/crucible/0/regions/6e5b97b0-7874-4f6e-8697-0f07ae437ebf","method":"GET","req_id":"b9525481-ed31-41dd-8f60-1df323481f2c","remote_addr":"[fd00:1122:3344:101::c]:41353","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-6e5b97b0-7874-4f6e-8697-0f07ae437ebf (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.577027385Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.582639546Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6e5b97b0-7874-4f6e-8697-0f07ae437ebf\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.592907252Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"region":"6e5b97b0-7874-4f6e-8697-0f07ae437ebf","component":"worker"} {"msg":"region 6e5b97b0-7874-4f6e-8697-0f07ae437ebf state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.645027368Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:12:25.682025918Z","hostname":"oxz_crucible_a51678db-3c7e-4874-acaf-9b8c6ea7cb7f","pid":22424,"uri":"/crucible/0/regions/6e5b97b0-7874-4f6e-8697-0f07ae437ebf","method":"GET","req_id":"518f7912-e2ce-4a60-af6e-df9f86f1ea40","remote_addr":"[fd00:1122:3344:101::c]:41353","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":532,"response_code":"200"}