[ Oct 24 21:38:37 Enabled. ] [ Oct 24 21:38:37 Rereading configuration. ] [ Oct 24 21:38:42 Rereading configuration. ] [ Oct 24 21:38:49 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=oxControlService19 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService19/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:49.746062114Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:49.749666701Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:49.749674551Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:49.866472224Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.155567163Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:51246"} {"msg":"region e068d4fe-afd0-4bf4-bd65-d0c6c8429cef state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.227192138Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.227652228Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"uri":"/crucible/0/regions","method":"POST","req_id":"112952e3-8601-46ea-bf9d-65b6d2a0043f","remote_addr":"[fd00:1122:3344:101::a]:51246","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":7201,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.228773072Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.239952462Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.239987393Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"e068d4fe-afd0-4bf4-bd65-d0c6c8429cef\"), 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/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.320839226Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"region":"e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.553938113Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"uri":"/crucible/0/regions","method":"POST","req_id":"92e9f43c-2ed3-434a-a377-8169375ecb05","remote_addr":"[fd00:1122:3344:101::a]:51246","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.597749802Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"region":"e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","component":"worker"} {"msg":"region e068d4fe-afd0-4bf4-bd65-d0c6c8429cef state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.597777843Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.598022958Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.598448117Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.603137318Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.615090044Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.618597739Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.619279524Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.619359625Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.619406917Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.619442687Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.624553417Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:31.633607561Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:32.067593154Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"uri":"/crucible/0/regions","method":"POST","req_id":"44733fbf-fc87-4a2b-85bf-cd9e70437d52","remote_addr":"[fd00:1122:3344:101::a]:51246","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:22.996590892Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:33137"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.059244335Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"uri":"/crucible/0/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","method":"GET","req_id":"79d27304-98ce-473c-8cfb-465ad9f88b62","remote_addr":"[fd00:1122:3344:101::a]:33137","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":225,"response_code":"200"} {"msg":"path is \"/data/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.059516221Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.072784945Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"datafile"} {"msg":"region e068d4fe-afd0-4bf4-bd65-d0c6c8429cef state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.08325589Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.083551986Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.083588997Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"uri":"/crucible/0/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","method":"DELETE","req_id":"d0375838-611d-4cbb-b194-8648540609cf","remote_addr":"[fd00:1122:3344:101::a]:33137","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":24040,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.083613637Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"uri":"/crucible/0/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","method":"GET","req_id":"a6d6b8b9-16ae-4da3-8dcf-570833b4af7b","remote_addr":"[fd00:1122:3344:101::a]:33137","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-e068d4fe-afd0-4bf4-bd65-d0c6c8429cef (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.084574238Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.093644853Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.106348655Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"region":"e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","component":"worker"} {"msg":"region e068d4fe-afd0-4bf4-bd65-d0c6c8429cef state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.165954643Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:42:23.199199465Z","hostname":"oxz_crucible_080bc510-3bce-4c54-9ac8-8ca0e79a3018","pid":22913,"uri":"/crucible/0/regions/e068d4fe-afd0-4bf4-bd65-d0c6c8429cef","method":"GET","req_id":"5b4cce1c-9c95-4fde-b08f-ce1e950a7623","remote_addr":"[fd00:1122:3344:101::a]:33137","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":102,"response_code":"200"}