[ Oct 4 20:50:38 Enabled. ] [ Oct 4 20:50:38 Rereading configuration. ] [ Oct 4 20:50:39 Rereading configuration. ] [ Oct 4 20:50:40 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=oxControlService17 ++ 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::18 ++ 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 + [[ oxControlService17 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService17 ipadm: Could not delete oxControlService17: Interface does not exist + true + ipadm create-if -t oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17 + ipadm show-addr oxControlService17/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService17/ll + ipadm show-addr oxControlService17/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService17/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::18]: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-04T20:50:41.524275877Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:41.528712394Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:41.528723805Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:41.656096674Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.511538956Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:63490"} {"msg":"region 84d24578-c3c4-4c90-b453-2e3007221770 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.51529704Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.51577052Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"uri":"/crucible/0/regions","method":"POST","req_id":"e2115673-eab0-4781-afe8-1ec63ea1dca5","remote_addr":"[fd00:1122:3344:101::b]:63490","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":1006,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.51681082Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/84d24578-c3c4-4c90-b453-2e3007221770","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.52641914Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/84d24578-c3c4-4c90-b453-2e3007221770","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.526442161Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"84d24578-c3c4-4c90-b453-2e3007221770\"), 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/84d24578-c3c4-4c90-b453-2e3007221770\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.635545699Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"region":"84d24578-c3c4-4c90-b453-2e3007221770","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.763390677Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"uri":"/crucible/0/regions","method":"POST","req_id":"2a14cc1d-8b03-4856-b098-dde664b0bc10","remote_addr":"[fd00:1122:3344:101::b]:63490","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.872637458Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"region":"84d24578-c3c4-4c90-b453-2e3007221770","component":"worker"} {"msg":"region 84d24578-c3c4-4c90-b453-2e3007221770 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.872671038Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.872788141Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-84d24578-c3c4-4c90-b453-2e3007221770","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.882722727Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-84d24578-c3c4-4c90-b453-2e3007221770","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.894636633Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.924030274Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-84d24578-c3c4-4c90-b453-2e3007221770","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.939393798Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/84d24578-c3c4-4c90-b453-2e3007221770","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.940134373Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.940228145Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.940272696Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.940312476Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.96376527Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.979970451Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:53.371447113Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"uri":"/crucible/0/regions","method":"POST","req_id":"57b81406-ca62-4cf4-9b49-22661f5c8d37","remote_addr":"[fd00:1122:3344:101::b]:63490","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.148840675Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:64509"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.183261816Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"uri":"/crucible/0/regions/84d24578-c3c4-4c90-b453-2e3007221770","method":"GET","req_id":"3ed50f46-1ba3-41e9-96fe-cf8b002c08be","remote_addr":"[fd00:1122:3344:101::b]:64509","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":2562,"response_code":"200"} {"msg":"path is \"/data/regions/84d24578-c3c4-4c90-b453-2e3007221770\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.183420119Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/84d24578-c3c4-4c90-b453-2e3007221770","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.194989678Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"datafile"} {"msg":"region 84d24578-c3c4-4c90-b453-2e3007221770 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.205264021Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.205424615Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.207961135Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"uri":"/crucible/0/regions/84d24578-c3c4-4c90-b453-2e3007221770","method":"DELETE","req_id":"7226d3a1-3513-4cd4-a5dc-7fe36b85119f","remote_addr":"[fd00:1122:3344:101::b]:64509","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":24495,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.208146468Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"uri":"/crucible/0/regions/84d24578-c3c4-4c90-b453-2e3007221770","method":"GET","req_id":"7c49315d-0f2a-4062-aca7-86117c62b216","remote_addr":"[fd00:1122:3344:101::b]:64509","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":62,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-84d24578-c3c4-4c90-b453-2e3007221770","v":0,"name":"crucible-agent","level":50,"time":"2023-10-04T20:55:15.215118306Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.215890111Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.22743116Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/84d24578-c3c4-4c90-b453-2e3007221770\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.240059349Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"region":"84d24578-c3c4-4c90-b453-2e3007221770","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.309609025Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"uri":"/crucible/0/regions/84d24578-c3c4-4c90-b453-2e3007221770","method":"GET","req_id":"8c7d8faa-1e0d-4805-ab37-d20ca57b3f6a","remote_addr":"[fd00:1122:3344:101::b]:64509","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region 84d24578-c3c4-4c90-b453-2e3007221770 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.315335618Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.426463806Z","hostname":"oxz_crucible_3b3f8afa-95ea-451b-83d4-d013bb5fe1b1","pid":20452,"uri":"/crucible/0/regions/84d24578-c3c4-4c90-b453-2e3007221770","method":"GET","req_id":"cfcca6ff-926c-4f95-80eb-21a59b688c16","remote_addr":"[fd00:1122:3344:101::b]:64509","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":29,"response_code":"200"}