[ Dec 13 06:05:14 Enabled. ] [ Dec 13 06:05:14 Rereading configuration. ] [ Dec 13 06:05:17 Rereading configuration. ] [ Dec 13 06:05: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=oxControlService14 ++ 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 + [[ oxControlService14 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService14 ipadm: Could not delete oxControlService14: Interface does not exist + true + ipadm create-if -t oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 + ipadm show-addr oxControlService14/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService14/ll + ipadm show-addr oxControlService14/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService14/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":"2023-12-13T06:05:22.298775633Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:05:22.303225254Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:05:22.303235495Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:05:22.498534406Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.280441506Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:37462"} {"msg":"region cf5f8390-5d94-4ed0-911a-9694f256008d state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.282788509Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.284040182Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"uri":"/crucible/0/regions","method":"POST","req_id":"d43978d5-1078-4a72-9ae5-9302164d6cf0","remote_addr":"[fd00:1122:3344:101::b]:37462","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":2108,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.284078052Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/cf5f8390-5d94-4ed0-911a-9694f256008d","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.294559944Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/cf5f8390-5d94-4ed0-911a-9694f256008d","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.294584474Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"cf5f8390-5d94-4ed0-911a-9694f256008d\"), 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/cf5f8390-5d94-4ed0-911a-9694f256008d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.348208895Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"region":"cf5f8390-5d94-4ed0-911a-9694f256008d","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.517133614Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"region":"cf5f8390-5d94-4ed0-911a-9694f256008d","component":"worker"} {"msg":"region cf5f8390-5d94-4ed0-911a-9694f256008d state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.517182955Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.517302247Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-cf5f8390-5d94-4ed0-911a-9694f256008d","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.517861117Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-cf5f8390-5d94-4ed0-911a-9694f256008d","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.521261329Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.530107371Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-cf5f8390-5d94-4ed0-911a-9694f256008d","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.533069405Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/cf5f8390-5d94-4ed0-911a-9694f256008d","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.533617505Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.533679516Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.533723327Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.533763398Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.539186797Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.543788661Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.636018648Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"uri":"/crucible/0/regions","method":"POST","req_id":"ed966f48-48b7-46d9-b753-4a5abd572d39","remote_addr":"[fd00:1122:3344:101::b]:37462","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.894164769Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:42626"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.894818991Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"uri":"/crucible/0/regions/cf5f8390-5d94-4ed0-911a-9694f256008d","method":"GET","req_id":"60ff817b-b2e9-409f-9105-d93f301979bd","remote_addr":"[fd00:1122:3344:101::b]:42626","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":621,"response_code":"200"} {"msg":"path is \"/data/regions/cf5f8390-5d94-4ed0-911a-9694f256008d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.895106916Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/cf5f8390-5d94-4ed0-911a-9694f256008d","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.904773233Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"datafile"} {"msg":"region cf5f8390-5d94-4ed0-911a-9694f256008d state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.913484172Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.913620215Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.913722977Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"uri":"/crucible/0/regions/cf5f8390-5d94-4ed0-911a-9694f256008d","method":"DELETE","req_id":"7ae6aebe-3ef2-4cb7-9393-cf550a8c45d0","remote_addr":"[fd00:1122:3344:101::b]:42626","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":18717,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.914572612Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"uri":"/crucible/0/regions/cf5f8390-5d94-4ed0-911a-9694f256008d","method":"GET","req_id":"6020fd44-4949-4a4f-abb1-1c164c8ec87c","remote_addr":"[fd00:1122:3344:101::b]:42626","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":675,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-cf5f8390-5d94-4ed0-911a-9694f256008d (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.914766316Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.918758669Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/cf5f8390-5d94-4ed0-911a-9694f256008d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.927908146Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"region":"cf5f8390-5d94-4ed0-911a-9694f256008d","component":"worker"} {"msg":"region cf5f8390-5d94-4ed0-911a-9694f256008d state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:28.974897885Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:06:29.060621172Z","hostname":"oxz_crucible_46a6f302-1937-441b-9277-89a65afcfdfa","pid":20932,"uri":"/crucible/0/regions/cf5f8390-5d94-4ed0-911a-9694f256008d","method":"GET","req_id":"af86082d-bc0a-4395-9538-3dd5665128fd","remote_addr":"[fd00:1122:3344:101::b]:42626","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":91,"response_code":"200"}