[ Feb 4 18:23:18 Enabled. ] [ Feb 4 18:23:18 Rereading configuration. ] [ Feb 4 18:23:20 Rereading configuration. ] [ Feb 4 18:23:22 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=oxControlService16 ++ 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/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 + [[ oxControlService16 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService16 ipadm: Could not delete oxControlService16: Interface does not exist + true + ipadm create-if -t oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 + ipadm show-addr oxControlService16/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService16/ll + ipadm show-addr oxControlService16/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService16/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.133624428Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.135975748Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.135985978Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.298876206Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.441088173Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:45941"} {"msg":"region 2c0f2651-f0d3-4781-9bff-b0fe97ae508d state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.447546775Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.448114732Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"uri":"/crucible/0/regions","method":"POST","req_id":"89921c60-5feb-4b86-b144-0d8206ae3ceb","remote_addr":"[fd00:1122:3344:101::b]:45941","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":3320,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.450640544Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.460277925Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.460311846Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"2c0f2651-f0d3-4781-9bff-b0fe97ae508d\"), 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/2c0f2651-f0d3-4781-9bff-b0fe97ae508d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.520264273Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"region":"2c0f2651-f0d3-4781-9bff-b0fe97ae508d","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.600645689Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"uri":"/crucible/0/regions","method":"POST","req_id":"4ee831ca-63d0-426a-959a-5e4b81550965","remote_addr":"[fd00:1122:3344:101::b]:45941","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.703802761Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"region":"2c0f2651-f0d3-4781-9bff-b0fe97ae508d","component":"worker"} {"msg":"region 2c0f2651-f0d3-4781-9bff-b0fe97ae508d state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.703843272Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.703957754Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-2c0f2651-f0d3-4781-9bff-b0fe97ae508d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.704434823Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-2c0f2651-f0d3-4781-9bff-b0fe97ae508d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.708054225Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.717404223Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-2c0f2651-f0d3-4781-9bff-b0fe97ae508d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.720750326Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.721305642Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.721457835Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.721502025Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.721541156Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.725728689Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.729395155Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.010730098Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"uri":"/crucible/0/regions","method":"POST","req_id":"309822f0-7960-40c5-a49e-a6242d8935a1","remote_addr":"[fd00:1122:3344:101::b]:45941","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":65,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.680115223Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:53953"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.680811372Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"uri":"/crucible/0/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d","method":"GET","req_id":"3b317b84-4c6b-43d4-88ad-28d79be6ed28","remote_addr":"[fd00:1122:3344:101::b]:53953","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":679,"response_code":"200"} {"msg":"path is \"/data/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.680989634Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.689592193Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"datafile"} {"msg":"region 2c0f2651-f0d3-4781-9bff-b0fe97ae508d state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.696570091Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.696744703Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.696796574Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"uri":"/crucible/0/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d","method":"DELETE","req_id":"e9e4a3c4-61af-430d-a9e6-e9a299e81962","remote_addr":"[fd00:1122:3344:101::b]:53953","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":15827,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.696943085Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"uri":"/crucible/0/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d","method":"GET","req_id":"13aeb0cf-78a6-4142-bfcc-8c216a559f7a","remote_addr":"[fd00:1122:3344:101::b]:53953","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-2c0f2651-f0d3-4781-9bff-b0fe97ae508d (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.697948748Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.702568887Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.711130475Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"region":"2c0f2651-f0d3-4781-9bff-b0fe97ae508d","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.754360081Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"uri":"/crucible/0/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d","method":"GET","req_id":"884b6be8-4d93-408b-a3ab-24dbecdcda19","remote_addr":"[fd00:1122:3344:101::b]:53953","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region 2c0f2651-f0d3-4781-9bff-b0fe97ae508d state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.76775384Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.846573235Z","hostname":"oxz_crucible_937edd39-4384-4a82-a99c-3f22e6c581a9","pid":21802,"uri":"/crucible/0/regions/2c0f2651-f0d3-4781-9bff-b0fe97ae508d","method":"GET","req_id":"3ab12855-eda3-48ed-85a5-f16f006f7025","remote_addr":"[fd00:1122:3344:101::b]:53953","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":28,"response_code":"200"}