[ Oct 4 03:32:36 Enabled. ] [ Oct 4 03:32:36 Rereading configuration. ] [ Oct 4 03:32:37 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=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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/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 + [[ 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::1a 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.244108342Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.245811841Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.245826111Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.433060308Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.426756759Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:64299"} {"msg":"region 40bbf143-e3a8-4a3d-8d65-798582ac11b5 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.463885555Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.469554626Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.469573316Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"uri":"/crucible/0/regions","method":"POST","req_id":"7a5efe8f-8930-477e-8d9f-10cbd0cc4864","remote_addr":"[fd00:1122:3344:101::b]:64299","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":11935,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/40bbf143-e3a8-4a3d-8d65-798582ac11b5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.479335041Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/40bbf143-e3a8-4a3d-8d65-798582ac11b5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.479361762Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"40bbf143-e3a8-4a3d-8d65-798582ac11b5\"), 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/40bbf143-e3a8-4a3d-8d65-798582ac11b5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.531267988Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"region":"40bbf143-e3a8-4a3d-8d65-798582ac11b5","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.669150658Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"uri":"/crucible/0/regions","method":"POST","req_id":"6af436b3-af52-4c60-9a80-562641193834","remote_addr":"[fd00:1122:3344:101::b]:64299","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.72868912Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"region":"40bbf143-e3a8-4a3d-8d65-798582ac11b5","component":"worker"} {"msg":"region 40bbf143-e3a8-4a3d-8d65-798582ac11b5 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.728720141Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.728818503Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-40bbf143-e3a8-4a3d-8d65-798582ac11b5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.739345346Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-40bbf143-e3a8-4a3d-8d65-798582ac11b5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.742468618Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.758323474Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-40bbf143-e3a8-4a3d-8d65-798582ac11b5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.761584989Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/40bbf143-e3a8-4a3d-8d65-798582ac11b5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.762564261Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.762675854Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.762728535Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.762769916Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.771663501Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.778699093Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:35.92427465Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"uri":"/crucible/0/regions","method":"POST","req_id":"6da9893c-84e7-447f-b0ee-eb8c841f271c","remote_addr":"[fd00:1122:3344:101::b]:64299","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.424800982Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:53676"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.45854693Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"uri":"/crucible/0/regions/40bbf143-e3a8-4a3d-8d65-798582ac11b5","method":"GET","req_id":"15df6e37-0fe8-4416-9660-c99a93d5be4a","remote_addr":"[fd00:1122:3344:101::b]:53676","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":2679,"response_code":"200"} {"msg":"path is \"/data/regions/40bbf143-e3a8-4a3d-8d65-798582ac11b5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.458701063Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/40bbf143-e3a8-4a3d-8d65-798582ac11b5","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.471812186Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"datafile"} {"msg":"region 40bbf143-e3a8-4a3d-8d65-798582ac11b5 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.481603122Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.482441691Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.482486832Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"uri":"/crucible/0/regions/40bbf143-e3a8-4a3d-8d65-798582ac11b5","method":"DELETE","req_id":"e86a01c8-2fca-482c-b098-0872ed152d22","remote_addr":"[fd00:1122:3344:101::b]:53676","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":23811,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.485270206Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"uri":"/crucible/0/regions/40bbf143-e3a8-4a3d-8d65-798582ac11b5","method":"GET","req_id":"2163fa67-de6a-4f7e-b64e-bb3ebdd2dc2d","remote_addr":"[fd00:1122:3344:101::b]:53676","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":448,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-40bbf143-e3a8-4a3d-8d65-798582ac11b5","v":0,"name":"crucible-agent","level":50,"time":"2023-10-04T03:36:25.492611455Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.495222056Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.509587577Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/40bbf143-e3a8-4a3d-8d65-798582ac11b5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.522066454Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"region":"40bbf143-e3a8-4a3d-8d65-798582ac11b5","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.575859605Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"uri":"/crucible/0/regions/40bbf143-e3a8-4a3d-8d65-798582ac11b5","method":"GET","req_id":"8cf6e433-bf8b-4080-912b-a67aa71a6aa1","remote_addr":"[fd00:1122:3344:101::b]:53676","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region 40bbf143-e3a8-4a3d-8d65-798582ac11b5 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.588580158Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:36:25.70058512Z","hostname":"oxz_crucible_18333bc9-b777-4854-9d97-8df72e7fcc40","pid":24316,"uri":"/crucible/0/regions/40bbf143-e3a8-4a3d-8d65-798582ac11b5","method":"GET","req_id":"315cdfef-db6e-4ea1-bb64-7c2ae00ca3cc","remote_addr":"[fd00:1122:3344:101::b]:53676","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":44,"response_code":"200"}