[ Nov 20 07:51:55 Enabled. ] [ Nov 20 07:51:55 Rereading configuration. ] [ Nov 20 07:51:57 Rereading configuration. ] [ Nov 20 07:51:58 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=oxControlService21 ++ 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService21/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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:51:59.370700807Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:51:59.374512943Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:51:59.374522027Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:51:59.475454316Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.233982188Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:58675"} {"msg":"region e829f193-6fe3-43be-8952-4d99e7bd16fc state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.270890857Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.276994745Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.277026856Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"uri":"/crucible/0/regions","method":"POST","req_id":"bf2111d8-c0f3-419e-bced-3207d6bf35fb","remote_addr":"[fd00:1122:3344:101::c]:58675","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":10530,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e829f193-6fe3-43be-8952-4d99e7bd16fc","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.286270716Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e829f193-6fe3-43be-8952-4d99e7bd16fc","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.286306287Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"e829f193-6fe3-43be-8952-4d99e7bd16fc\"), 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/e829f193-6fe3-43be-8952-4d99e7bd16fc\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.333563057Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"region":"e829f193-6fe3-43be-8952-4d99e7bd16fc","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.526477151Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"region":"e829f193-6fe3-43be-8952-4d99e7bd16fc","component":"worker"} {"msg":"region e829f193-6fe3-43be-8952-4d99e7bd16fc state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.526512172Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.526607144Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-e829f193-6fe3-43be-8952-4d99e7bd16fc","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.529268335Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-e829f193-6fe3-43be-8952-4d99e7bd16fc","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.533059659Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.54385779Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-e829f193-6fe3-43be-8952-4d99e7bd16fc","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.546817127Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/e829f193-6fe3-43be-8952-4d99e7bd16fc","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.547602292Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.547679454Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.547724615Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.547771646Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.552440057Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.563174235Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:05.587932237Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"uri":"/crucible/0/regions","method":"POST","req_id":"5477a926-1dca-4029-80b9-ed6e1a4dfc17","remote_addr":"[fd00:1122:3344:101::c]:58675","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.511230017Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:62915"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.542819832Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"uri":"/crucible/0/regions/e829f193-6fe3-43be-8952-4d99e7bd16fc","method":"GET","req_id":"fdff987c-79c9-4dc2-9162-9a8dc505473b","remote_addr":"[fd00:1122:3344:101::c]:62915","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":146,"response_code":"200"} {"msg":"path is \"/data/regions/e829f193-6fe3-43be-8952-4d99e7bd16fc\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.54324104Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e829f193-6fe3-43be-8952-4d99e7bd16fc","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.555509368Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"datafile"} {"msg":"region e829f193-6fe3-43be-8952-4d99e7bd16fc state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.565690347Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.56585139Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.565904581Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"uri":"/crucible/0/regions/e829f193-6fe3-43be-8952-4d99e7bd16fc","method":"DELETE","req_id":"8cfdf809-c7fd-45ee-ae5d-1a314977c7f1","remote_addr":"[fd00:1122:3344:101::c]:62915","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22727,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.566027273Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"uri":"/crucible/0/regions/e829f193-6fe3-43be-8952-4d99e7bd16fc","method":"GET","req_id":"969dbbbe-4b6e-47a2-942b-2051e01836d5","remote_addr":"[fd00:1122:3344:101::c]:62915","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-e829f193-6fe3-43be-8952-4d99e7bd16fc (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.567041143Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.571956659Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e829f193-6fe3-43be-8952-4d99e7bd16fc\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.585092504Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"region":"e829f193-6fe3-43be-8952-4d99e7bd16fc","component":"worker"} {"msg":"region e829f193-6fe3-43be-8952-4d99e7bd16fc state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.63215281Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:06.695174617Z","hostname":"oxz_crucible_201086a7-56f2-4de0-8aee-210e5cfefed7","pid":21050,"uri":"/crucible/0/regions/e829f193-6fe3-43be-8952-4d99e7bd16fc","method":"GET","req_id":"aa331e7a-6e00-4bc0-9e5a-7592841c4df2","remote_addr":"[fd00:1122:3344:101::c]:62915","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":58,"response_code":"200"}