[ Nov 2 20:24:53 Enabled. ] [ Nov 2 20:24:53 Rereading configuration. ] [ Nov 2 20:24:55 Rereading configuration. ] [ Nov 2 20:24:56 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=oxControlService13 ++ 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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 + [[ oxControlService13 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService13 ipadm: Could not delete oxControlService13: Interface does not exist + true + ipadm create-if -t oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 + ipadm show-addr oxControlService13/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService13/ll + ipadm show-addr oxControlService13/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService13/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.759836494Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.761435478Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.761447918Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.906579862Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:46.581082947Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:46428"} {"msg":"region 789a5a01-c732-492a-8563-647003ea96d0 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:46.621497757Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:46.621808581Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"uri":"/crucible/0/regions","method":"POST","req_id":"0a9934da-c2a4-4a86-b866-3cc0231a1ec5","remote_addr":"[fd00:1122:3344:101::c]:46428","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":3224,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:46.64868483Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/789a5a01-c732-492a-8563-647003ea96d0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:46.661856945Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/789a5a01-c732-492a-8563-647003ea96d0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:46.661892006Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:46.820592272Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"uri":"/crucible/0/regions","method":"POST","req_id":"b7d218a8-784f-45fc-b521-8495b5b9d814","remote_addr":"[fd00:1122:3344:101::c]:46428","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"creating region Region { id: RegionId(\"789a5a01-c732-492a-8563-647003ea96d0\"), 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/789a5a01-c732-492a-8563-647003ea96d0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:46.821115859Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"region":"789a5a01-c732-492a-8563-647003ea96d0","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.196946558Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"region":"789a5a01-c732-492a-8563-647003ea96d0","component":"worker"} {"msg":"region 789a5a01-c732-492a-8563-647003ea96d0 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.196994208Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.19711359Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-789a5a01-c732-492a-8563-647003ea96d0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.197576157Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-789a5a01-c732-492a-8563-647003ea96d0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.21263483Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.245982165Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-789a5a01-c732-492a-8563-647003ea96d0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.264654192Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/789a5a01-c732-492a-8563-647003ea96d0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.265239491Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.265317422Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.265363813Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.265402034Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.289910167Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"uri":"/crucible/0/regions","method":"POST","req_id":"c59b1c0b-9b7c-489d-910c-37c918b95fd5","remote_addr":"[fd00:1122:3344:101::c]:46428","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":99,"response_code":"200"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.307953345Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:47.342496128Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.063389259Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:43324"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.06350354Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"uri":"/crucible/0/regions/789a5a01-c732-492a-8563-647003ea96d0","method":"GET","req_id":"3df6490d-c745-49f6-9899-70560a45e39b","remote_addr":"[fd00:1122:3344:101::c]:43324","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":95,"response_code":"200"} {"msg":"path is \"/data/regions/789a5a01-c732-492a-8563-647003ea96d0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.063642843Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/789a5a01-c732-492a-8563-647003ea96d0","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.074987101Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"datafile"} {"msg":"region 789a5a01-c732-492a-8563-647003ea96d0 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.084653134Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.084825667Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.084885698Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"uri":"/crucible/0/regions/789a5a01-c732-492a-8563-647003ea96d0","method":"DELETE","req_id":"0c7f9bfe-9ec5-4039-97e2-db32ba9f49a1","remote_addr":"[fd00:1122:3344:101::c]:43324","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":21267,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.08501974Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"uri":"/crucible/0/regions/789a5a01-c732-492a-8563-647003ea96d0","method":"GET","req_id":"31fefde8-058b-46b6-97e0-34685fdb79cf","remote_addr":"[fd00:1122:3344:101::c]:43324","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-789a5a01-c732-492a-8563-647003ea96d0 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.085922243Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.099514985Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/789a5a01-c732-492a-8563-647003ea96d0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.112232014Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"region":"789a5a01-c732-492a-8563-647003ea96d0","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.165541465Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"uri":"/crucible/0/regions/789a5a01-c732-492a-8563-647003ea96d0","method":"GET","req_id":"65b9d50d-d78d-4cd3-b0f8-c3f13e4d2a23","remote_addr":"[fd00:1122:3344:101::c]:43324","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"region 789a5a01-c732-492a-8563-647003ea96d0 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.22183822Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:49.266355841Z","hostname":"oxz_crucible_df418c00-a7f7-47ef-8eab-b687d21768d6","pid":21174,"uri":"/crucible/0/regions/789a5a01-c732-492a-8563-647003ea96d0","method":"GET","req_id":"b4998cd5-4458-4564-9b43-1dcef5f8feb2","remote_addr":"[fd00:1122:3344:101::c]:43324","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":24,"response_code":"200"}