[ Feb 15 22:28:34 Enabled. ] [ Feb 15 22:28:34 Rereading configuration. ] [ Feb 15 22:28:37 Rereading configuration. ] [ Feb 15 22:28:39 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=oxControlService12 ++ 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::17 ++ 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 + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService12/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::17]: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":"2024-02-15T22:28:41.147630961Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:28:41.152929373Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:28:41.152944534Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:28:41.350440499Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.367310472Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:39862"} {"msg":"region 4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.369367246Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.371724945Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"uri":"/crucible/0/regions","method":"POST","req_id":"463a90bc-57b0-4bcb-9e6d-3e01eacd91f7","remote_addr":"[fd00:1122:3344:101::c]:39862","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":3511,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.372315708Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.382153376Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.382183177Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb\"), 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/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.432509991Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"region":"4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.56207935Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"region":"4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","component":"worker"} {"msg":"region 4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.562128691Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.562223833Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.562609521Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.565804179Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.574538033Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.578436166Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.57911974Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.579182511Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.579226132Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.579268233Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.583358899Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.588000088Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.721433058Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"uri":"/crucible/0/regions","method":"POST","req_id":"e2062343-9bd8-45c4-9160-d4895855ff94","remote_addr":"[fd00:1122:3344:101::c]:39862","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":69,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.119970213Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:41280"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.120067065Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"uri":"/crucible/0/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","method":"GET","req_id":"8d257aed-e092-446d-b32d-c6b907ce8841","remote_addr":"[fd00:1122:3344:101::c]:41280","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"path is \"/data/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.120315521Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.13024431Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"datafile"} {"msg":"region 4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.137634337Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.13778411Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.137837401Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"uri":"/crucible/0/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","method":"DELETE","req_id":"2491acb1-7916-4617-b668-783abd336226","remote_addr":"[fd00:1122:3344:101::c]:41280","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":17581,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.137986314Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"uri":"/crucible/0/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","method":"GET","req_id":"11e95212-61d6-4dbc-b7f7-61973e27dce5","remote_addr":"[fd00:1122:3344:101::c]:41280","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":20,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.138884063Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.142760375Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.1505562Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"region":"4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","component":"worker"} {"msg":"region 4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.199524225Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.260935153Z","hostname":"oxz_crucible_9397c469-e335-4844-8730-33d7ab1ce496","pid":22001,"uri":"/crucible/0/regions/4c81b5c2-a2c6-4c77-b7a9-3546ff714fcb","method":"GET","req_id":"daafa85f-c7e7-48e0-aadf-a0a9ee1e6901","remote_addr":"[fd00:1122:3344:101::c]:41280","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":654,"response_code":"200"}