[ Feb 17 07:54:57 Enabled. ] [ Feb 17 07:54:57 Rereading configuration. ] [ Feb 17 07:55:00 Rereading configuration. ] [ Feb 17 07:55:04 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=oxControlService15 ++ 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_f4b4dc87-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 + [[ oxControlService15 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService15 ipadm: Could not delete oxControlService15: Interface does not exist + true + ipadm create-if -t oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService15 + ipadm show-addr oxControlService15/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService15/ll + ipadm show-addr oxControlService15/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService15/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_f4b4dc87-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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:55:05.161130694Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:55:05.165148783Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:55:05.165158159Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:55:05.447715837Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.775808948Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:42715"} {"msg":"region 6739eb23-1450-4c6a-8251-7bc5d0a690e7 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.852154771Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.854607117Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"uri":"/crucible/0/regions","method":"POST","req_id":"e744d492-b8bc-4540-bb55-fb49096637e3","remote_addr":"[fd00:1122:3344:101::c]:42715","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":11539,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.855231591Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6739eb23-1450-4c6a-8251-7bc5d0a690e7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.865601493Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6739eb23-1450-4c6a-8251-7bc5d0a690e7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.865629824Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6739eb23-1450-4c6a-8251-7bc5d0a690e7\"), 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/6739eb23-1450-4c6a-8251-7bc5d0a690e7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:01.934799346Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"region":"6739eb23-1450-4c6a-8251-7bc5d0a690e7","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.083562385Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"region":"6739eb23-1450-4c6a-8251-7bc5d0a690e7","component":"worker"} {"msg":"region 6739eb23-1450-4c6a-8251-7bc5d0a690e7 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.083605496Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.083816561Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6739eb23-1450-4c6a-8251-7bc5d0a690e7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.084199279Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.087086634Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"uri":"/crucible/0/regions","method":"POST","req_id":"39c502f8-b77e-42bf-ad88-0548d3986b53","remote_addr":"[fd00:1122:3344:101::c]:42715","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6739eb23-1450-4c6a-8251-7bc5d0a690e7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.088442115Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.100122907Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6739eb23-1450-4c6a-8251-7bc5d0a690e7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.105090098Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6739eb23-1450-4c6a-8251-7bc5d0a690e7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.105781184Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.105845955Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.105890516Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.105926547Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.110206313Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.115768348Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.464191327Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:65375"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.46429413Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"uri":"/crucible/0/regions/6739eb23-1450-4c6a-8251-7bc5d0a690e7","method":"GET","req_id":"08dc4b88-1722-4cd0-8ea5-4662be15738c","remote_addr":"[fd00:1122:3344:101::c]:65375","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"path is \"/data/regions/6739eb23-1450-4c6a-8251-7bc5d0a690e7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.465160669Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6739eb23-1450-4c6a-8251-7bc5d0a690e7","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.475255276Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"datafile"} {"msg":"region 6739eb23-1450-4c6a-8251-7bc5d0a690e7 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.483765637Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.483950151Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.484027063Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"uri":"/crucible/0/regions/6739eb23-1450-4c6a-8251-7bc5d0a690e7","method":"DELETE","req_id":"b48a50a0-15f6-4b8e-a03c-b1e0b4d4c9dc","remote_addr":"[fd00:1122:3344:101::c]:65375","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":19531,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.484176516Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"uri":"/crucible/0/regions/6739eb23-1450-4c6a-8251-7bc5d0a690e7","method":"GET","req_id":"18c51fdf-5dcb-444b-9631-cac6b6550c90","remote_addr":"[fd00:1122:3344:101::c]:65375","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-6739eb23-1450-4c6a-8251-7bc5d0a690e7 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.485063806Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.48967409Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/6739eb23-1450-4c6a-8251-7bc5d0a690e7\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.499995591Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"region":"6739eb23-1450-4c6a-8251-7bc5d0a690e7","component":"worker"} {"msg":"region 6739eb23-1450-4c6a-8251-7bc5d0a690e7 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.553668146Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-17T07:56:02.58325111Z","hostname":"oxz_crucible_22345437-2ea5-4c10-950c-fbe2c4caa998","pid":22504,"uri":"/crucible/0/regions/6739eb23-1450-4c6a-8251-7bc5d0a690e7","method":"GET","req_id":"a12b6a34-72d0-4179-92c1-46235d23d975","remote_addr":"[fd00:1122:3344:101::c]:65375","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":65,"response_code":"200"}