[ Nov 28 19:01:50 Enabled. ] [ Nov 28 19:01:50 Rereading configuration. ] [ Nov 28 19:01:53 Rereading configuration. ] [ Nov 28 19:02:01 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::13 ++ 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::13 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::13]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:02:01.823465637Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:02:01.827483804Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:02:01.827492954Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:02:02.007112143Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.172490935Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:59967"} {"msg":"region 3e1df340-f11b-4101-8e61-c46073525389 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.216044635Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.219787947Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.219811537Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"uri":"/crucible/0/regions","method":"POST","req_id":"690be7fb-d502-45bb-8a65-58365dd3d49b","remote_addr":"[fd00:1122:3344:101::b]:59967","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":16180,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/3e1df340-f11b-4101-8e61-c46073525389","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.234156795Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/3e1df340-f11b-4101-8e61-c46073525389","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.234185085Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"3e1df340-f11b-4101-8e61-c46073525389\"), 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/3e1df340-f11b-4101-8e61-c46073525389\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.334603779Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"region":"3e1df340-f11b-4101-8e61-c46073525389","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.575624649Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"uri":"/crucible/0/regions","method":"POST","req_id":"1dc92342-ef6a-45c8-b597-be058885c278","remote_addr":"[fd00:1122:3344:101::b]:59967","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.699066039Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"region":"3e1df340-f11b-4101-8e61-c46073525389","component":"worker"} {"msg":"region 3e1df340-f11b-4101-8e61-c46073525389 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.69909495Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.699387654Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-3e1df340-f11b-4101-8e61-c46073525389","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.700001132Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-3e1df340-f11b-4101-8e61-c46073525389","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.719067995Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.747960173Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-3e1df340-f11b-4101-8e61-c46073525389","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.767604413Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/3e1df340-f11b-4101-8e61-c46073525389","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.768382474Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.768460845Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.768505606Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.768540377Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.78989349Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.826604226Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:12.949925435Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"uri":"/crucible/0/regions","method":"POST","req_id":"008295ad-5aaf-4045-b374-6a024ebb16d7","remote_addr":"[fd00:1122:3344:101::b]:59967","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":64,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.00864299Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:50100"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.008793282Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"uri":"/crucible/0/regions/3e1df340-f11b-4101-8e61-c46073525389","method":"GET","req_id":"b2b738c7-0a4b-4b60-aa9f-e52914d4857a","remote_addr":"[fd00:1122:3344:101::b]:50100","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":104,"response_code":"200"} {"msg":"path is \"/data/regions/3e1df340-f11b-4101-8e61-c46073525389\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.008986565Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/3e1df340-f11b-4101-8e61-c46073525389","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.018161891Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"datafile"} {"msg":"region 3e1df340-f11b-4101-8e61-c46073525389 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.02751132Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.027658532Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.027717783Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"uri":"/crucible/0/regions/3e1df340-f11b-4101-8e61-c46073525389","method":"DELETE","req_id":"82deeb4c-abaf-4028-a3fa-ebe83049da28","remote_addr":"[fd00:1122:3344:101::b]:50100","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":18765,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.027883625Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"uri":"/crucible/0/regions/3e1df340-f11b-4101-8e61-c46073525389","method":"GET","req_id":"442a7023-9090-4951-8327-7e29def5f987","remote_addr":"[fd00:1122:3344:101::b]:50100","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":20,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-3e1df340-f11b-4101-8e61-c46073525389 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.028801478Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.040980145Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/3e1df340-f11b-4101-8e61-c46073525389\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.05148216Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"region":"3e1df340-f11b-4101-8e61-c46073525389","component":"worker"} {"msg":"region 3e1df340-f11b-4101-8e61-c46073525389 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.11245917Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-28T19:03:14.176179978Z","hostname":"oxz_crucible_b35e3588-7993-4080-ae0d-d0a53a72f03c","pid":21371,"uri":"/crucible/0/regions/3e1df340-f11b-4101-8e61-c46073525389","method":"GET","req_id":"825dfaba-8702-404b-9664-4fe3af77985d","remote_addr":"[fd00:1122:3344:101::b]:50100","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":53,"response_code":"200"}