[ Jan 25 04:48:19 Enabled. ] [ Jan 25 04:48:19 Rereading configuration. ] [ Jan 25 04:48:21 Rereading configuration. ] [ Jan 25 04:48:26 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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::16 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:48:27.454588651Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:48:27.457419633Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:48:27.457432513Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:48:27.606441163Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:32.635455753Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:54735"} {"msg":"region 895198a5-122a-4139-ac74-8ab2eb06c4ff state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:32.668627484Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:32.673627811Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"uri":"/crucible/0/regions","method":"POST","req_id":"6f4ccbe6-5fe4-40d0-80b4-e2745809cfcf","remote_addr":"[fd00:1122:3344:101::b]:54735","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":7569,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:32.673663302Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/895198a5-122a-4139-ac74-8ab2eb06c4ff","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:32.682467445Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/895198a5-122a-4139-ac74-8ab2eb06c4ff","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:32.682495246Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"895198a5-122a-4139-ac74-8ab2eb06c4ff\"), 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/895198a5-122a-4139-ac74-8ab2eb06c4ff\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:32.736743452Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"region":"895198a5-122a-4139-ac74-8ab2eb06c4ff","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:32.998563443Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"uri":"/crucible/0/regions","method":"POST","req_id":"d3985d14-42a8-41ba-a989-cfb6dc8860ab","remote_addr":"[fd00:1122:3344:101::b]:54735","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.053180119Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"region":"895198a5-122a-4139-ac74-8ab2eb06c4ff","component":"worker"} {"msg":"region 895198a5-122a-4139-ac74-8ab2eb06c4ff state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.05321836Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.053324552Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-895198a5-122a-4139-ac74-8ab2eb06c4ff","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.053789324Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-895198a5-122a-4139-ac74-8ab2eb06c4ff","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.059427257Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.069256416Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-895198a5-122a-4139-ac74-8ab2eb06c4ff","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.073277878Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/895198a5-122a-4139-ac74-8ab2eb06c4ff","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.074029888Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.074171421Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.074217512Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.074260583Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.07963459Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.084526854Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:33.432322715Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"uri":"/crucible/0/regions","method":"POST","req_id":"960ab8f2-78ed-4312-af64-41134dbecb43","remote_addr":"[fd00:1122:3344:101::b]:54735","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":93,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.156219977Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:34135"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.156363081Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"uri":"/crucible/0/regions/895198a5-122a-4139-ac74-8ab2eb06c4ff","method":"GET","req_id":"7b5bfd0b-e74a-44e3-8860-ba83befa26c2","remote_addr":"[fd00:1122:3344:101::b]:34135","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":105,"response_code":"200"} {"msg":"path is \"/data/regions/895198a5-122a-4139-ac74-8ab2eb06c4ff\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.156587616Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/895198a5-122a-4139-ac74-8ab2eb06c4ff","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.166154129Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"datafile"} {"msg":"region 895198a5-122a-4139-ac74-8ab2eb06c4ff state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.174644615Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.174795169Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.17484709Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"uri":"/crucible/0/regions/895198a5-122a-4139-ac74-8ab2eb06c4ff","method":"DELETE","req_id":"2212505d-c096-4978-9c24-e57403c8fbda","remote_addr":"[fd00:1122:3344:101::b]:34135","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":18311,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.175580328Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"uri":"/crucible/0/regions/895198a5-122a-4139-ac74-8ab2eb06c4ff","method":"GET","req_id":"3e118815-53f2-41fa-98bb-055004cfe78d","remote_addr":"[fd00:1122:3344:101::b]:34135","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":617,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-895198a5-122a-4139-ac74-8ab2eb06c4ff (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.176001839Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.179791575Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/895198a5-122a-4139-ac74-8ab2eb06c4ff\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.189969003Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"region":"895198a5-122a-4139-ac74-8ab2eb06c4ff","component":"worker"} {"msg":"region 895198a5-122a-4139-ac74-8ab2eb06c4ff state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.245106332Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-25T04:49:34.274849796Z","hostname":"oxz_crucible_d3183930-1278-4b23-a29e-fc7b8d26f6cb","pid":23104,"uri":"/crucible/0/regions/895198a5-122a-4139-ac74-8ab2eb06c4ff","method":"GET","req_id":"23293116-9c55-4e9b-ad5a-d15c98500315","remote_addr":"[fd00:1122:3344:101::b]:34135","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":56,"response_code":"200"}