[ Nov 7 09:48:02 Enabled. ] [ Nov 7 09:48:02 Rereading configuration. ] [ Nov 7 09:48:03 Rereading configuration. ] [ Nov 7 09:48:05 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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::19 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::19]: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-11-07T09:48:05.939487766Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:05.943467063Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:05.943476483Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:06.069516395Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.265916308Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:51745"} {"msg":"region 9ccec4e4-f3c8-4687-8514-2fff20095bbe state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.340546906Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.343417814Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.343439704Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"uri":"/crucible/0/regions","method":"POST","req_id":"f46dbbad-2882-47ba-bafc-b327aea1d9b6","remote_addr":"[fd00:1122:3344:101::c]:51745","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":11152,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/9ccec4e4-f3c8-4687-8514-2fff20095bbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.352622697Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/9ccec4e4-f3c8-4687-8514-2fff20095bbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.352653267Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"9ccec4e4-f3c8-4687-8514-2fff20095bbe\"), 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/9ccec4e4-f3c8-4687-8514-2fff20095bbe\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.413417966Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"region":"9ccec4e4-f3c8-4687-8514-2fff20095bbe","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.49561629Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"uri":"/crucible/0/regions","method":"POST","req_id":"266b594f-a6b9-43a2-b3dc-f6a5a6fa9e01","remote_addr":"[fd00:1122:3344:101::c]:51745","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":100,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.652345251Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"region":"9ccec4e4-f3c8-4687-8514-2fff20095bbe","component":"worker"} {"msg":"region 9ccec4e4-f3c8-4687-8514-2fff20095bbe state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.652371322Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.652501804Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-9ccec4e4-f3c8-4687-8514-2fff20095bbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.656767835Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-9ccec4e4-f3c8-4687-8514-2fff20095bbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.662839836Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.67815822Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-9ccec4e4-f3c8-4687-8514-2fff20095bbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.686310785Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/9ccec4e4-f3c8-4687-8514-2fff20095bbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.687061628Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.687149099Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.68720067Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.687238591Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.701755752Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.710969055Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.039065761Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"uri":"/crucible/0/regions","method":"POST","req_id":"ccc864d5-373e-4748-9617-8933c9d192f8","remote_addr":"[fd00:1122:3344:101::c]:51745","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.370171507Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:39393"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.432743946Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"uri":"/crucible/0/regions/9ccec4e4-f3c8-4687-8514-2fff20095bbe","method":"GET","req_id":"8b5c27ca-c2c1-4bfb-8483-4ab4589bbdbc","remote_addr":"[fd00:1122:3344:101::c]:39393","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":89,"response_code":"200"} {"msg":"path is \"/data/regions/9ccec4e4-f3c8-4687-8514-2fff20095bbe\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.432941809Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/9ccec4e4-f3c8-4687-8514-2fff20095bbe","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.445212773Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"datafile"} {"msg":"region 9ccec4e4-f3c8-4687-8514-2fff20095bbe state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.454424085Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.454554298Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.454610799Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"uri":"/crucible/0/regions/9ccec4e4-f3c8-4687-8514-2fff20095bbe","method":"DELETE","req_id":"213c250c-b590-4a36-8c57-ae6be985fe4f","remote_addr":"[fd00:1122:3344:101::c]:39393","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":21683,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.454782291Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"uri":"/crucible/0/regions/9ccec4e4-f3c8-4687-8514-2fff20095bbe","method":"GET","req_id":"8c86215f-1693-4574-bec8-9906dd069f9e","remote_addr":"[fd00:1122:3344:101::c]:39393","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":20,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-9ccec4e4-f3c8-4687-8514-2fff20095bbe (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.455625496Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.46131912Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/9ccec4e4-f3c8-4687-8514-2fff20095bbe\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.471803144Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"region":"9ccec4e4-f3c8-4687-8514-2fff20095bbe","component":"worker"} {"msg":"region 9ccec4e4-f3c8-4687-8514-2fff20095bbe state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.535070153Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.548590004Z","hostname":"oxz_crucible_772133cb-a4b0-4117-bb16-f82be5040d0b","pid":24315,"uri":"/crucible/0/regions/9ccec4e4-f3c8-4687-8514-2fff20095bbe","method":"GET","req_id":"75419792-6a2e-4014-b5ec-1a4cb9b5e056","remote_addr":"[fd00:1122:3344:101::c]:39393","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":49,"response_code":"200"}