[ Dec 6 17:42:10 Enabled. ] [ Dec 6 17:42:10 Rereading configuration. ] [ Dec 6 17:42:11 Rereading configuration. ] [ Dec 6 17:42:13 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_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 + [[ 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::15 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_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-06T17:42:13.767571851Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:42:13.77653008Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:42:13.77654348Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:42:13.905044632Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.399374324Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:53397"} {"msg":"region 67c384bf-4e8a-470a-b59e-0dc3477b6543 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.426406774Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.427465924Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.431409763Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"uri":"/crucible/0/regions","method":"POST","req_id":"b69744c8-4eba-464f-8254-c197d986e043","remote_addr":"[fd00:1122:3344:101::c]:53397","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":14691,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/67c384bf-4e8a-470a-b59e-0dc3477b6543","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.43824989Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/67c384bf-4e8a-470a-b59e-0dc3477b6543","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.43826398Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"67c384bf-4e8a-470a-b59e-0dc3477b6543\"), 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/67c384bf-4e8a-470a-b59e-0dc3477b6543\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.644780427Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"region":"67c384bf-4e8a-470a-b59e-0dc3477b6543","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.676806146Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"uri":"/crucible/0/regions","method":"POST","req_id":"044ded58-2cf4-425d-b8a4-72d226e6351a","remote_addr":"[fd00:1122:3344:101::c]:53397","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":744,"response_code":"200"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.961874639Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"uri":"/crucible/0/regions","method":"POST","req_id":"ad12a922-f88c-4b5e-aec0-24f842366ce7","remote_addr":"[fd00:1122:3344:101::c]:53397","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":58,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.992795065Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"region":"67c384bf-4e8a-470a-b59e-0dc3477b6543","component":"worker"} {"msg":"region 67c384bf-4e8a-470a-b59e-0dc3477b6543 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.992829726Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.992986559Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-67c384bf-4e8a-470a-b59e-0dc3477b6543","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:41.995672403Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-67c384bf-4e8a-470a-b59e-0dc3477b6543","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:42.012509818Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:42.120343797Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-67c384bf-4e8a-470a-b59e-0dc3477b6543","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:42.142672703Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/67c384bf-4e8a-470a-b59e-0dc3477b6543","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:42.206474405Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:42.208913773Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:42.208977995Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:42.209018765Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:42.287795436Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:42.316137891Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:43.221172164Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"uri":"/crucible/0/regions","method":"POST","req_id":"44e8f755-08f8-41b0-a0df-6bf376520302","remote_addr":"[fd00:1122:3344:101::c]:53397","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":664,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.07018294Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:52408"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.070863103Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"uri":"/crucible/0/regions/67c384bf-4e8a-470a-b59e-0dc3477b6543","method":"GET","req_id":"bf190532-93c2-447a-9306-4b2807a5e7ba","remote_addr":"[fd00:1122:3344:101::c]:52408","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":656,"response_code":"200"} {"msg":"path is \"/data/regions/67c384bf-4e8a-470a-b59e-0dc3477b6543\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.071027066Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/67c384bf-4e8a-470a-b59e-0dc3477b6543","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.080652098Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"datafile"} {"msg":"region 67c384bf-4e8a-470a-b59e-0dc3477b6543 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.08974987Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.089927253Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.089953414Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"uri":"/crucible/0/regions/67c384bf-4e8a-470a-b59e-0dc3477b6543","method":"DELETE","req_id":"ce6ee146-faf9-45fd-9c70-9109a4637525","remote_addr":"[fd00:1122:3344:101::c]:52408","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":18962,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.090174858Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"uri":"/crucible/0/regions/67c384bf-4e8a-470a-b59e-0dc3477b6543","method":"GET","req_id":"b1d22502-99ad-4af1-928b-fd0e1e9ef294","remote_addr":"[fd00:1122:3344:101::c]:52408","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-67c384bf-4e8a-470a-b59e-0dc3477b6543 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.091490185Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.102715928Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/67c384bf-4e8a-470a-b59e-0dc3477b6543\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.11231631Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"region":"67c384bf-4e8a-470a-b59e-0dc3477b6543","component":"worker"} {"msg":"region 67c384bf-4e8a-470a-b59e-0dc3477b6543 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.172586331Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T17:43:44.205534968Z","hostname":"oxz_crucible_f92ea1e7-347c-41d1-bd44-a15ef90d284c","pid":20286,"uri":"/crucible/0/regions/67c384bf-4e8a-470a-b59e-0dc3477b6543","method":"GET","req_id":"abd1a643-e348-4cee-97a6-5eab9d32f2fd","remote_addr":"[fd00:1122:3344:101::c]:52408","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":60,"response_code":"200"}