[ Nov 30 06:21:07 Enabled. ] [ Nov 30 06:21:07 Rereading configuration. ] [ Nov 30 06:21:09 Rereading configuration. ] [ Nov 30 06:21:10 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_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 + [[ 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::16 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_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":"2023-11-30T06:21:11.450322625Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:11.463900226Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:11.463917345Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:11.615761229Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.154471753Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:61199"} {"msg":"region 43d1b48a-00de-403e-b38a-29c3bf71cc0d state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.19002819Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.190869284Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.194836243Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"uri":"/crucible/0/regions","method":"POST","req_id":"025c4fc7-b7cd-47e5-b4c6-ced86cd2851d","remote_addr":"[fd00:1122:3344:101::b]:61199","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":18545,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/43d1b48a-00de-403e-b38a-29c3bf71cc0d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.200221499Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/43d1b48a-00de-403e-b38a-29c3bf71cc0d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.200243783Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"43d1b48a-00de-403e-b38a-29c3bf71cc0d\"), 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/43d1b48a-00de-403e-b38a-29c3bf71cc0d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.252399006Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"region":"43d1b48a-00de-403e-b38a-29c3bf71cc0d","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.35949821Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"uri":"/crucible/0/regions","method":"POST","req_id":"ee3f8057-b819-45f5-8922-211bea371a36","remote_addr":"[fd00:1122:3344:101::b]:61199","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":93,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.450645114Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"region":"43d1b48a-00de-403e-b38a-29c3bf71cc0d","component":"worker"} {"msg":"region 43d1b48a-00de-403e-b38a-29c3bf71cc0d state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.450685483Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.450811897Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-43d1b48a-00de-403e-b38a-29c3bf71cc0d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.453229499Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-43d1b48a-00de-403e-b38a-29c3bf71cc0d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.458516876Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.475018925Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-43d1b48a-00de-403e-b38a-29c3bf71cc0d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.478448451Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/43d1b48a-00de-403e-b38a-29c3bf71cc0d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.484216258Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.486343048Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.486407332Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.486462018Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.489987777Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.494939122Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.970517339Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"uri":"/crucible/0/regions","method":"POST","req_id":"0b020cec-f66b-42aa-9ec3-2930e4a620d6","remote_addr":"[fd00:1122:3344:101::b]:61199","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":107,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.526537158Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:35117"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.531116776Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"uri":"/crucible/0/regions/43d1b48a-00de-403e-b38a-29c3bf71cc0d","method":"GET","req_id":"17cf40a3-1207-4c81-847f-0327af3975fd","remote_addr":"[fd00:1122:3344:101::b]:35117","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":4537,"response_code":"200"} {"msg":"path is \"/data/regions/43d1b48a-00de-403e-b38a-29c3bf71cc0d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.531370809Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/43d1b48a-00de-403e-b38a-29c3bf71cc0d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.543084654Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"datafile"} {"msg":"region 43d1b48a-00de-403e-b38a-29c3bf71cc0d state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.55207805Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.552731187Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.552793627Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"uri":"/crucible/0/regions/43d1b48a-00de-403e-b38a-29c3bf71cc0d","method":"DELETE","req_id":"1de9c484-8a93-4768-9714-e6d3e7591084","remote_addr":"[fd00:1122:3344:101::b]:35117","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21492,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.552959419Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"uri":"/crucible/0/regions/43d1b48a-00de-403e-b38a-29c3bf71cc0d","method":"GET","req_id":"eafe35a9-f862-4f4f-9926-cf1529d13749","remote_addr":"[fd00:1122:3344:101::b]:35117","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-43d1b48a-00de-403e-b38a-29c3bf71cc0d (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.55394119Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.560080035Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/43d1b48a-00de-403e-b38a-29c3bf71cc0d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.568719307Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"region":"43d1b48a-00de-403e-b38a-29c3bf71cc0d","component":"worker"} {"msg":"region 43d1b48a-00de-403e-b38a-29c3bf71cc0d state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.612055859Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.701352021Z","hostname":"oxz_crucible_1c762b6a-6ff7-4c49-b9a6-e1b25c0a259c","pid":20858,"uri":"/crucible/0/regions/43d1b48a-00de-403e-b38a-29c3bf71cc0d","method":"GET","req_id":"d033ef2a-6170-449c-a818-7b82c1f32e96","remote_addr":"[fd00:1122:3344:101::b]:35117","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":64,"response_code":"200"}