[ Oct 17 23:51:42 Enabled. ] [ Oct 17 23:51:42 Rereading configuration. ] [ Oct 17 23:51:44 Rereading configuration. ] [ Oct 17 23:51:48 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=oxControlService23 ++ 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::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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService23/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::14]: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":"2023-10-17T23:51:49.651093375Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:51:49.656199806Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:51:49.656208887Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:51:49.811067033Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.368380051Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:46694"} {"msg":"region 21aca25f-21e5-452f-a5fb-60572fc7e2b2 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.463529301Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.465509815Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"uri":"/crucible/0/regions","method":"POST","req_id":"88b9bceb-40e9-4ad0-9ed1-6ecf078f7b0a","remote_addr":"[fd00:1122:3344:101::b]:46694","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":4422,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.469481892Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/21aca25f-21e5-452f-a5fb-60572fc7e2b2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.478269354Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/21aca25f-21e5-452f-a5fb-60572fc7e2b2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.478298035Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"21aca25f-21e5-452f-a5fb-60572fc7e2b2\"), 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/21aca25f-21e5-452f-a5fb-60572fc7e2b2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.523907192Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"region":"21aca25f-21e5-452f-a5fb-60572fc7e2b2","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.715697367Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"region":"21aca25f-21e5-452f-a5fb-60572fc7e2b2","component":"worker"} {"msg":"region 21aca25f-21e5-452f-a5fb-60572fc7e2b2 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.715751248Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.71583256Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-21aca25f-21e5-452f-a5fb-60572fc7e2b2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.71629638Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-21aca25f-21e5-452f-a5fb-60572fc7e2b2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.719771696Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.728818464Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-21aca25f-21e5-452f-a5fb-60572fc7e2b2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.732013984Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/21aca25f-21e5-452f-a5fb-60572fc7e2b2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.73275378Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.732825301Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.732869952Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.732911043Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.74330806Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.749305542Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:52:40.799269664Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"uri":"/crucible/0/regions","method":"POST","req_id":"7fcb2454-d44e-4e0a-a738-38f56421db42","remote_addr":"[fd00:1122:3344:101::b]:46694","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":89,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.255824577Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:54294"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.319145962Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"uri":"/crucible/0/regions/21aca25f-21e5-452f-a5fb-60572fc7e2b2","method":"GET","req_id":"fcdc26f8-f21b-49be-859d-f2516293f575","remote_addr":"[fd00:1122:3344:101::b]:54294","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":70,"response_code":"200"} {"msg":"path is \"/data/regions/21aca25f-21e5-452f-a5fb-60572fc7e2b2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.319326406Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/21aca25f-21e5-452f-a5fb-60572fc7e2b2","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.331754328Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"datafile"} {"msg":"region 21aca25f-21e5-452f-a5fb-60572fc7e2b2 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.343116606Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.343289Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.343347071Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"uri":"/crucible/0/regions/21aca25f-21e5-452f-a5fb-60572fc7e2b2","method":"DELETE","req_id":"461f164e-291a-47d0-bf00-0f353a7ab62d","remote_addr":"[fd00:1122:3344:101::b]:54294","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":24047,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.343474694Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"uri":"/crucible/0/regions/21aca25f-21e5-452f-a5fb-60572fc7e2b2","method":"GET","req_id":"d55631db-1eeb-46fd-95f4-cb8fc05c2c90","remote_addr":"[fd00:1122:3344:101::b]:54294","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-21aca25f-21e5-452f-a5fb-60572fc7e2b2 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.344371964Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.353824161Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/21aca25f-21e5-452f-a5fb-60572fc7e2b2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.36568054Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"region":"21aca25f-21e5-452f-a5fb-60572fc7e2b2","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.410019019Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"uri":"/crucible/0/regions/21aca25f-21e5-452f-a5fb-60572fc7e2b2","method":"GET","req_id":"2deeb2f9-cab0-47f4-af7e-5afc5323ccc5","remote_addr":"[fd00:1122:3344:101::b]:54294","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":68,"response_code":"200"} {"msg":"region 21aca25f-21e5-452f-a5fb-60572fc7e2b2 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.415592691Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-17T23:55:37.487973015Z","hostname":"oxz_crucible_7b795e54-f2cb-462f-b0be-4648a58b044b","pid":23306,"uri":"/crucible/0/regions/21aca25f-21e5-452f-a5fb-60572fc7e2b2","method":"GET","req_id":"555f1f64-6890-46a4-9a09-c5a22c680d52","remote_addr":"[fd00:1122:3344:101::b]:54294","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":40,"response_code":"200"}