[ Nov 29 19:47:27 Enabled. ] [ Nov 29 19:47:27 Rereading configuration. ] [ Nov 29 19:47:29 Rereading configuration. ] [ Nov 29 19:47:30 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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::15 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.570770855Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.572056644Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.572067484Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.674783938Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:24.946291942Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:50929"} {"msg":"region 8c63cae5-f9e2-4c91-b217-d3fa7bb652e9 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.021350701Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.022943225Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"uri":"/crucible/0/regions","method":"POST","req_id":"366243e7-121b-4d9b-bd54-4e38f93e72e3","remote_addr":"[fd00:1122:3344:101::b]:50929","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":13800,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.022987675Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.034600566Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.034635286Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"8c63cae5-f9e2-4c91-b217-d3fa7bb652e9\"), 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/8c63cae5-f9e2-4c91-b217-d3fa7bb652e9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.108574129Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"region":"8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.338199561Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"region":"8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","component":"worker"} {"msg":"region 8c63cae5-f9e2-4c91-b217-d3fa7bb652e9 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.338250692Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.338335043Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.338893412Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.348113327Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.364398455Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"uri":"/crucible/0/regions","method":"POST","req_id":"a03ed714-0539-42f6-9b5b-0a4dc54a01b8","remote_addr":"[fd00:1122:3344:101::b]:50929","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":81,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.382691143Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.395854136Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.397240006Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.397326257Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.397376278Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.397415369Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.407286213Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:25.438860316Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.583500648Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:57614"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.58368592Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"uri":"/crucible/0/regions/8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","method":"GET","req_id":"4b9ee1ee-ac93-47e8-81e7-916b37d2b1fc","remote_addr":"[fd00:1122:3344:101::b]:57614","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":148,"response_code":"200"} {"msg":"path is \"/data/regions/8c63cae5-f9e2-4c91-b217-d3fa7bb652e9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.583873283Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.593165339Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"datafile"} {"msg":"region 8c63cae5-f9e2-4c91-b217-d3fa7bb652e9 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.601686244Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.601847276Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.601902217Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"uri":"/crucible/0/regions/8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","method":"DELETE","req_id":"223b9444-2a93-4b60-bd3f-58c963fd6c9b","remote_addr":"[fd00:1122:3344:101::b]:57614","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":18087,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.602074829Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"uri":"/crucible/0/regions/8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","method":"GET","req_id":"364a0607-07a4-4ff4-82d9-29f9dafd1373","remote_addr":"[fd00:1122:3344:101::b]:57614","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-8c63cae5-f9e2-4c91-b217-d3fa7bb652e9 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.603368328Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.611824362Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8c63cae5-f9e2-4c91-b217-d3fa7bb652e9\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.621386452Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"region":"8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","component":"worker"} {"msg":"region 8c63cae5-f9e2-4c91-b217-d3fa7bb652e9 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.685336789Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:26.732492119Z","hostname":"oxz_crucible_176d266b-ca56-4bfd-acdd-7da366b8e86d","pid":24428,"uri":"/crucible/0/regions/8c63cae5-f9e2-4c91-b217-d3fa7bb652e9","method":"GET","req_id":"6714155c-2277-4eff-9f07-6f973f7b5de7","remote_addr":"[fd00:1122:3344:101::b]:57614","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":89,"response_code":"200"}