[ Oct 17 21:50:19 Enabled. ] [ Oct 17 21:50:19 Rereading configuration. ] [ Oct 17 21:50:20 Rereading configuration. ] [ Oct 17 21:50:21 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=oxControlService18 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ oxControlService18 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService18 ipadm: Could not delete oxControlService18: Interface does not exist + true + ipadm create-if -t oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 + ipadm show-addr oxControlService18/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService18/ll + ipadm show-addr oxControlService18/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService18/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:50:22.419465981Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:50:22.421503428Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:50:22.421516318Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:50:22.549112153Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.448181398Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:33745"} {"msg":"region 214f403c-555a-4bb1-8931-984a440d918f state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.486640568Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.495062412Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"uri":"/crucible/0/regions","method":"POST","req_id":"ed230386-077b-457a-aa7e-57192026cd72","remote_addr":"[fd00:1122:3344:101::b]:33745","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":18594,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.496181227Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/214f403c-555a-4bb1-8931-984a440d918f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.507305357Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/214f403c-555a-4bb1-8931-984a440d918f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.507335878Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"214f403c-555a-4bb1-8931-984a440d918f\"), 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/214f403c-555a-4bb1-8931-984a440d918f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.574987162Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"region":"214f403c-555a-4bb1-8931-984a440d918f","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.698663894Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"uri":"/crucible/0/regions","method":"POST","req_id":"585d4afa-67d6-4ea6-9155-cdc8bf26c66d","remote_addr":"[fd00:1122:3344:101::b]:33745","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.771139053Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"region":"214f403c-555a-4bb1-8931-984a440d918f","component":"worker"} {"msg":"region 214f403c-555a-4bb1-8931-984a440d918f state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.771162833Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.771307026Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-214f403c-555a-4bb1-8931-984a440d918f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.773630937Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-214f403c-555a-4bb1-8931-984a440d918f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.77974666Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.791477888Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-214f403c-555a-4bb1-8931-984a440d918f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.794835793Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/214f403c-555a-4bb1-8931-984a440d918f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.795506773Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.795575703Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.795619974Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.795659625Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.800343748Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:26.812065906Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:51:27.019026655Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"uri":"/crucible/0/regions","method":"POST","req_id":"5fe9fd8a-083e-4169-8d61-8567f7d46425","remote_addr":"[fd00:1122:3344:101::b]:33745","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":60,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.504988827Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:41379"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.50526157Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"uri":"/crucible/0/regions/214f403c-555a-4bb1-8931-984a440d918f","method":"GET","req_id":"cb6c70cf-a454-4299-a24a-792bed6a16fb","remote_addr":"[fd00:1122:3344:101::b]:41379","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":70,"response_code":"200"} {"msg":"path is \"/data/regions/214f403c-555a-4bb1-8931-984a440d918f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.505457903Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/214f403c-555a-4bb1-8931-984a440d918f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.540226383Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"datafile"} {"msg":"region 214f403c-555a-4bb1-8931-984a440d918f state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.549391677Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.562144849Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.56218353Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"uri":"/crucible/0/regions/214f403c-555a-4bb1-8931-984a440d918f","method":"DELETE","req_id":"3aa9d1d7-71f7-480d-aa20-2a70d672202c","remote_addr":"[fd00:1122:3344:101::b]:41379","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":56749,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.562341992Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"uri":"/crucible/0/regions/214f403c-555a-4bb1-8931-984a440d918f","method":"GET","req_id":"7e3f5045-22a9-49d2-94e6-e82af24339e7","remote_addr":"[fd00:1122:3344:101::b]:41379","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-214f403c-555a-4bb1-8931-984a440d918f (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.565706368Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.611670009Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.620733181Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"uri":"/crucible/0/regions/214f403c-555a-4bb1-8931-984a440d918f","method":"GET","req_id":"ff60bacb-f46d-4180-9c21-2744e210c93d","remote_addr":"[fd00:1122:3344:101::b]:41379","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/214f403c-555a-4bb1-8931-984a440d918f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.6221212Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"region":"214f403c-555a-4bb1-8931-984a440d918f","component":"worker"} {"msg":"region 214f403c-555a-4bb1-8931-984a440d918f state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.75085614Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T21:54:20.759643569Z","hostname":"oxz_crucible_ea8bca7f-8624-41a5-b46e-d6525f53b994","pid":19710,"uri":"/crucible/0/regions/214f403c-555a-4bb1-8931-984a440d918f","method":"GET","req_id":"5cc437b5-2edf-41b5-a090-6e5ab258ebf3","remote_addr":"[fd00:1122:3344:101::b]:41379","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":62,"response_code":"200"}