[ Oct 4 03:32:36 Enabled. ] [ Oct 4 03:32:36 Rereading configuration. ] [ Oct 4 03:32:38 Rereading configuration. ] [ Oct 4 03:32:39 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=oxControlService20 ++ 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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 + [[ oxControlService20 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService20 ipadm: Could not delete oxControlService20: Interface does not exist + true + ipadm create-if -t oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 + ipadm show-addr oxControlService20/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService20/ll + ipadm show-addr oxControlService20/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService20/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.458491164Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.459546788Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.459556699Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.565948841Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.048159104Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:36219"} {"msg":"region 6fd59a91-f6fd-4d83-ba46-a2e5be18465e state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.110501032Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.116462739Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.11651241Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"uri":"/crucible/0/regions","method":"POST","req_id":"04f361ce-2cf3-421d-a7f7-10902b4a5a92","remote_addr":"[fd00:1122:3344:101::b]:36219","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":8263,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6fd59a91-f6fd-4d83-ba46-a2e5be18465e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.126344237Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6fd59a91-f6fd-4d83-ba46-a2e5be18465e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.126377358Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6fd59a91-f6fd-4d83-ba46-a2e5be18465e\"), 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/6fd59a91-f6fd-4d83-ba46-a2e5be18465e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.172141943Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"region":"6fd59a91-f6fd-4d83-ba46-a2e5be18465e","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.358414707Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"region":"6fd59a91-f6fd-4d83-ba46-a2e5be18465e","component":"worker"} {"msg":"region 6fd59a91-f6fd-4d83-ba46-a2e5be18465e state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.358458148Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.35854198Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6fd59a91-f6fd-4d83-ba46-a2e5be18465e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.36937374Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.371817446Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"uri":"/crucible/0/regions","method":"POST","req_id":"6af9e32f-1140-44ae-b3f0-b1d911e62ace","remote_addr":"[fd00:1122:3344:101::b]:36219","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6fd59a91-f6fd-4d83-ba46-a2e5be18465e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.372161154Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.380760162Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6fd59a91-f6fd-4d83-ba46-a2e5be18465e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.38414001Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6fd59a91-f6fd-4d83-ba46-a2e5be18465e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.384828716Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.384915638Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.384958779Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.38499875Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.389653487Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.398345668Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.045764564Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:58275"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.076853851Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"uri":"/crucible/0/regions/6fd59a91-f6fd-4d83-ba46-a2e5be18465e","method":"GET","req_id":"597b403e-ceda-4516-ba4a-e12feba1064b","remote_addr":"[fd00:1122:3344:101::b]:58275","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":113,"response_code":"200"} {"msg":"path is \"/data/regions/6fd59a91-f6fd-4d83-ba46-a2e5be18465e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.077034685Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6fd59a91-f6fd-4d83-ba46-a2e5be18465e","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.087960217Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"datafile"} {"msg":"region 6fd59a91-f6fd-4d83-ba46-a2e5be18465e state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.097303833Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.097505917Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.097555719Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"uri":"/crucible/0/regions/6fd59a91-f6fd-4d83-ba46-a2e5be18465e","method":"DELETE","req_id":"7e38cdd4-79a3-4cec-aab0-105b950f42aa","remote_addr":"[fd00:1122:3344:101::b]:58275","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":20548,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.100310472Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"uri":"/crucible/0/regions/6fd59a91-f6fd-4d83-ba46-a2e5be18465e","method":"GET","req_id":"eace9bd7-0879-48a7-bbc6-585cbf5180ad","remote_addr":"[fd00:1122:3344:101::b]:58275","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":506,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-6fd59a91-f6fd-4d83-ba46-a2e5be18465e","v":0,"name":"crucible-agent","level":50,"time":"2023-10-04T03:33:33.107866606Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.108568512Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.113071376Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6fd59a91-f6fd-4d83-ba46-a2e5be18465e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.124700124Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"region":"6fd59a91-f6fd-4d83-ba46-a2e5be18465e","component":"worker"} {"msg":"region 6fd59a91-f6fd-4d83-ba46-a2e5be18465e state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.180940281Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.203847179Z","hostname":"oxz_crucible_45f23105-f79e-4967-b954-e80b6aedf7ba","pid":24459,"uri":"/crucible/0/regions/6fd59a91-f6fd-4d83-ba46-a2e5be18465e","method":"GET","req_id":"4c17f65d-8a98-4c1a-94cc-8b6e4e749615","remote_addr":"[fd00:1122:3344:101::b]:58275","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":60,"response_code":"200"}