[ Oct 25 23:04:31 Enabled. ] [ Oct 25 23:04:31 Rereading configuration. ] [ Oct 25 23:04:34 Rereading configuration. ] [ Oct 25 23:04:36 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=oxControlService17 ++ 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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 + [[ oxControlService17 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService17 ipadm: Could not delete oxControlService17: Interface does not exist + true + ipadm create-if -t oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17 + ipadm show-addr oxControlService17/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService17/ll + ipadm show-addr oxControlService17/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService17/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:04:37.142514514Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:04:37.147018817Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:04:37.147029287Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:04:37.411572559Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:44.986470363Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:57820"} {"msg":"region 7d8d57d9-492c-4b6d-ab08-6670e03a8b9a state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.053744024Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.057701392Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"uri":"/crucible/0/regions","method":"POST","req_id":"07df8b67-2a95-4cee-9fb5-c06784afb6fb","remote_addr":"[fd00:1122:3344:101::a]:57820","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":4197,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.057759134Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.069891557Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.069923598Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"7d8d57d9-492c-4b6d-ab08-6670e03a8b9a\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/7d8d57d9-492c-4b6d-ab08-6670e03a8b9a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.145130394Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"region":"7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.435114226Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"uri":"/crucible/0/regions","method":"POST","req_id":"f8fa69bd-0208-4154-9411-cc4068d0c2fb","remote_addr":"[fd00:1122:3344:101::a]:57820","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.439256636Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"region":"7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","component":"worker"} {"msg":"region 7d8d57d9-492c-4b6d-ab08-6670e03a8b9a state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.439275189Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.439546884Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.440080868Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.443477714Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.454192422Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.457210403Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.457716884Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.457784536Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.457826255Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.457858525Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.463761892Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.473821203Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:05:45.786234044Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"uri":"/crucible/0/regions","method":"POST","req_id":"08000d7b-6d86-44c1-9d5f-6b69de648e35","remote_addr":"[fd00:1122:3344:101::a]:57820","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":63,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.509791074Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:50163"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.51000127Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"uri":"/crucible/0/regions/7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","method":"GET","req_id":"3b9ec0b3-f22e-459b-8b66-285520f58013","remote_addr":"[fd00:1122:3344:101::a]:50163","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":152,"response_code":"200"} {"msg":"path is \"/data/regions/7d8d57d9-492c-4b6d-ab08-6670e03a8b9a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.510392841Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.523523588Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"datafile"} {"msg":"region 7d8d57d9-492c-4b6d-ab08-6670e03a8b9a state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.534055168Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.534234454Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.534290105Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"uri":"/crucible/0/regions/7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","method":"DELETE","req_id":"037bdce5-c3d9-4b64-822c-b98356de1153","remote_addr":"[fd00:1122:3344:101::a]:50163","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":23910,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.534413529Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"uri":"/crucible/0/regions/7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","method":"GET","req_id":"847a2822-f699-4106-9f13-3d2fefa865f1","remote_addr":"[fd00:1122:3344:101::a]:50163","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-7d8d57d9-492c-4b6d-ab08-6670e03a8b9a (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.535397008Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.544397893Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7d8d57d9-492c-4b6d-ab08-6670e03a8b9a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.556774537Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"region":"7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","component":"worker"} {"msg":"region 7d8d57d9-492c-4b6d-ab08-6670e03a8b9a state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.604506513Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T23:08:40.607688546Z","hostname":"oxz_crucible_b7ad9162-9e9e-467b-a692-1bdc39969684","pid":21141,"uri":"/crucible/0/regions/7d8d57d9-492c-4b6d-ab08-6670e03a8b9a","method":"GET","req_id":"536a9bce-78cc-48b3-a160-db54a4d2cdf4","remote_addr":"[fd00:1122:3344:101::a]:50163","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":65,"response_code":"200"}