[ Oct 22 04:53:53 Enabled. ] [ Oct 22 04:53:53 Rereading configuration. ] [ Oct 22 04:53:56 Rereading configuration. ] [ Oct 22 04:54:02 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::15]: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":"2023-10-22T04:54:02.794263519Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.79779328Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.797802891Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:54:02.948846489Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:01.904880131Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:39926"} {"msg":"region 34bbc7a0-098f-441d-a959-fe22a09f59fb state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:01.978039843Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:01.982398664Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"uri":"/crucible/0/regions","method":"POST","req_id":"d2a6b36e-c7d9-460e-b1c1-1538ee7ca515","remote_addr":"[fd00:1122:3344:101::b]:39926","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":10955,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:01.983496707Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/34bbc7a0-098f-441d-a959-fe22a09f59fb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:01.992488391Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/34bbc7a0-098f-441d-a959-fe22a09f59fb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:01.992516582Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"34bbc7a0-098f-441d-a959-fe22a09f59fb\"), 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/34bbc7a0-098f-441d-a959-fe22a09f59fb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.044464027Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"region":"34bbc7a0-098f-441d-a959-fe22a09f59fb","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.221119974Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"region":"34bbc7a0-098f-441d-a959-fe22a09f59fb","component":"worker"} {"msg":"region 34bbc7a0-098f-441d-a959-fe22a09f59fb state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.221166634Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.221252525Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-34bbc7a0-098f-441d-a959-fe22a09f59fb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.225818868Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-34bbc7a0-098f-441d-a959-fe22a09f59fb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.230601404Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.245379146Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-34bbc7a0-098f-441d-a959-fe22a09f59fb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.248941188Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/34bbc7a0-098f-441d-a959-fe22a09f59fb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.249644876Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.249732237Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.249781247Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.249825298Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.250606877Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"uri":"/crucible/0/regions","method":"POST","req_id":"44da4477-593f-4715-b10d-8dd1c6f4c818","remote_addr":"[fd00:1122:3344:101::b]:39926","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.254976628Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:55:02.267050279Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.254166232Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:42287"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.287379879Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"uri":"/crucible/0/regions/34bbc7a0-098f-441d-a959-fe22a09f59fb","method":"GET","req_id":"cac27366-ff91-4ffc-970c-fd0b91d6f228","remote_addr":"[fd00:1122:3344:101::b]:42287","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":2420,"response_code":"200"} {"msg":"path is \"/data/regions/34bbc7a0-098f-441d-a959-fe22a09f59fb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.28751749Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/34bbc7a0-098f-441d-a959-fe22a09f59fb","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.302861499Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"datafile"} {"msg":"region 34bbc7a0-098f-441d-a959-fe22a09f59fb state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.312054896Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.312695944Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.312751514Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"uri":"/crucible/0/regions/34bbc7a0-098f-441d-a959-fe22a09f59fb","method":"DELETE","req_id":"36189a7e-f1ef-41ec-b581-6dc896f204b1","remote_addr":"[fd00:1122:3344:101::b]:42287","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":25258,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.312877926Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"uri":"/crucible/0/regions/34bbc7a0-098f-441d-a959-fe22a09f59fb","method":"GET","req_id":"80eecf69-3c14-42c6-893d-0ed7b48037a0","remote_addr":"[fd00:1122:3344:101::b]:42287","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-34bbc7a0-098f-441d-a959-fe22a09f59fb (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.316162394Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.328399117Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/34bbc7a0-098f-441d-a959-fe22a09f59fb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.340450827Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"region":"34bbc7a0-098f-441d-a959-fe22a09f59fb","component":"worker"} {"msg":"region 34bbc7a0-098f-441d-a959-fe22a09f59fb state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.392389452Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-22T04:57:56.438329337Z","hostname":"oxz_crucible_81a3166e-f7dc-433e-8286-b44890b6611e","pid":22508,"uri":"/crucible/0/regions/34bbc7a0-098f-441d-a959-fe22a09f59fb","method":"GET","req_id":"f71c557a-55ef-4c7a-aaf7-f56ecb44f3e2","remote_addr":"[fd00:1122:3344:101::b]:42287","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":101,"response_code":"200"}