[ Nov 6 17:16:33 Enabled. ] [ Nov 6 17:16:33 Rereading configuration. ] [ Nov 6 17:16:34 Rereading configuration. ] [ Nov 6 17:16:35 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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::18 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::18]: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-11-06T17:16:36.397689583Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:16:36.401575857Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:16:36.401589208Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:16:36.534533675Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:34.795049285Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:51361"} {"msg":"region 1a2ea5ea-08d8-4f54-8528-3b97c7afc842 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:34.877663953Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:34.88349367Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:34.88351464Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"uri":"/crucible/0/regions","method":"POST","req_id":"0b2efe7d-5453-4876-bd9d-3c13ac370745","remote_addr":"[fd00:1122:3344:101::a]:51361","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":17987,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/1a2ea5ea-08d8-4f54-8528-3b97c7afc842","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:34.894352581Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/1a2ea5ea-08d8-4f54-8528-3b97c7afc842","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:34.894384611Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"1a2ea5ea-08d8-4f54-8528-3b97c7afc842\"), 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/1a2ea5ea-08d8-4f54-8528-3b97c7afc842\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:34.945384332Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"region":"1a2ea5ea-08d8-4f54-8528-3b97c7afc842","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.107919903Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"region":"1a2ea5ea-08d8-4f54-8528-3b97c7afc842","component":"worker"} {"msg":"region 1a2ea5ea-08d8-4f54-8528-3b97c7afc842 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.107951323Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.108051765Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-1a2ea5ea-08d8-4f54-8528-3b97c7afc842","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.112214335Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-1a2ea5ea-08d8-4f54-8528-3b97c7afc842","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.116525306Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.130257195Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-1a2ea5ea-08d8-4f54-8528-3b97c7afc842","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.133733453Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/1a2ea5ea-08d8-4f54-8528-3b97c7afc842","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.134477506Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.134548317Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.134595838Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.134634498Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.139160944Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.150745897Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:17:35.166151263Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"uri":"/crucible/0/regions","method":"POST","req_id":"a50aee33-54cf-4909-a767-ad3b35486ab8","remote_addr":"[fd00:1122:3344:101::a]:51361","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":87,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.820273468Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:45921"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.820454951Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"uri":"/crucible/0/regions/1a2ea5ea-08d8-4f54-8528-3b97c7afc842","method":"GET","req_id":"0149c7b4-edcb-4bfb-b542-3fbfecab46ea","remote_addr":"[fd00:1122:3344:101::a]:45921","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":152,"response_code":"200"} {"msg":"path is \"/data/regions/1a2ea5ea-08d8-4f54-8528-3b97c7afc842\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.820796247Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/1a2ea5ea-08d8-4f54-8528-3b97c7afc842","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.834353743Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"datafile"} {"msg":"region 1a2ea5ea-08d8-4f54-8528-3b97c7afc842 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.845762533Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.846044928Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.846113219Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"uri":"/crucible/0/regions/1a2ea5ea-08d8-4f54-8528-3b97c7afc842","method":"DELETE","req_id":"0f6cd226-d331-4eed-b1bf-eb20cde627b9","remote_addr":"[fd00:1122:3344:101::a]:45921","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":25353,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.846333982Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"uri":"/crucible/0/regions/1a2ea5ea-08d8-4f54-8528-3b97c7afc842","method":"GET","req_id":"35ba7727-13d5-41a3-b6c4-481ece7a6265","remote_addr":"[fd00:1122:3344:101::a]:45921","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-1a2ea5ea-08d8-4f54-8528-3b97c7afc842 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.847136456Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.869755663Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/1a2ea5ea-08d8-4f54-8528-3b97c7afc842\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.883458542Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"region":"1a2ea5ea-08d8-4f54-8528-3b97c7afc842","component":"worker"} {"msg":"region 1a2ea5ea-08d8-4f54-8528-3b97c7afc842 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.942346624Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T17:20:24.956368888Z","hostname":"oxz_crucible_a69e4062-dc32-4fda-94aa-00463ca3ecf2","pid":23279,"uri":"/crucible/0/regions/1a2ea5ea-08d8-4f54-8528-3b97c7afc842","method":"GET","req_id":"af623c95-5c61-437e-9d20-79c02e4c6e5e","remote_addr":"[fd00:1122:3344:101::a]:45921","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":76,"response_code":"200"}