[ Nov 29 19:47:26 Enabled. ] [ Nov 29 19:47:26 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=oxControlService11 ++ 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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService11/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-29T19:47:31.317049209Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.320595721Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.320605071Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.430498321Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.19670231Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:37649"} {"msg":"region 293f1a83-dca8-465f-a8d6-dea7d2a52da2 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.241733796Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.250926181Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"uri":"/crucible/0/regions","method":"POST","req_id":"2d2cbfc5-fa39-434e-b9c2-2e0f19be5716","remote_addr":"[fd00:1122:3344:101::b]:37649","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":17418,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.250959631Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/293f1a83-dca8-465f-a8d6-dea7d2a52da2","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.262776794Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/293f1a83-dca8-465f-a8d6-dea7d2a52da2","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.262801725Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"293f1a83-dca8-465f-a8d6-dea7d2a52da2\"), 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/293f1a83-dca8-465f-a8d6-dea7d2a52da2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.347334373Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"region":"293f1a83-dca8-465f-a8d6-dea7d2a52da2","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.484785656Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"uri":"/crucible/0/regions","method":"POST","req_id":"6554ac52-ffac-48ba-a431-e00bfef1931f","remote_addr":"[fd00:1122:3344:101::b]:37649","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":128,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.60595222Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"region":"293f1a83-dca8-465f-a8d6-dea7d2a52da2","component":"worker"} {"msg":"region 293f1a83-dca8-465f-a8d6-dea7d2a52da2 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.605985971Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.606174223Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-293f1a83-dca8-465f-a8d6-dea7d2a52da2","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.608604219Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-293f1a83-dca8-465f-a8d6-dea7d2a52da2","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.619387547Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.647661351Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-293f1a83-dca8-465f-a8d6-dea7d2a52da2","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.655960092Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/293f1a83-dca8-465f-a8d6-dea7d2a52da2","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.656683633Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.656760704Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.656820805Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.656885676Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.674867799Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.683901852Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.93919872Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"uri":"/crucible/0/regions","method":"POST","req_id":"873cdeb5-b3f2-4f9f-affe-ec3dbdb60e76","remote_addr":"[fd00:1122:3344:101::b]:37649","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":110,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:25.943385572Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:44091"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:25.943636006Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"uri":"/crucible/0/regions/293f1a83-dca8-465f-a8d6-dea7d2a52da2","method":"GET","req_id":"0ce68ed3-e801-4c1b-a851-4e7e956b1b5d","remote_addr":"[fd00:1122:3344:101::b]:44091","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":210,"response_code":"200"} {"msg":"path is \"/data/regions/293f1a83-dca8-465f-a8d6-dea7d2a52da2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:25.94388691Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/293f1a83-dca8-465f-a8d6-dea7d2a52da2","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:25.955061353Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"datafile"} {"msg":"region 293f1a83-dca8-465f-a8d6-dea7d2a52da2 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:25.964604793Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:25.964908118Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:25.964969728Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"uri":"/crucible/0/regions/293f1a83-dca8-465f-a8d6-dea7d2a52da2","method":"DELETE","req_id":"22313e75-a88b-42ee-a69c-bbc52e116f95","remote_addr":"[fd00:1122:3344:101::b]:44091","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":21139,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:25.965127161Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"uri":"/crucible/0/regions/293f1a83-dca8-465f-a8d6-dea7d2a52da2","method":"GET","req_id":"7d979143-109d-447c-87c2-c8d4c5189c3a","remote_addr":"[fd00:1122:3344:101::b]:44091","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-293f1a83-dca8-465f-a8d6-dea7d2a52da2 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:25.966394169Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:25.973900799Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/293f1a83-dca8-465f-a8d6-dea7d2a52da2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:25.98352508Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"region":"293f1a83-dca8-465f-a8d6-dea7d2a52da2","component":"worker"} {"msg":"region 293f1a83-dca8-465f-a8d6-dea7d2a52da2 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.026295927Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.040473524Z","hostname":"oxz_crucible_46caff01-b65b-4707-ac9b-41297fea38a8","pid":24243,"uri":"/crucible/0/regions/293f1a83-dca8-465f-a8d6-dea7d2a52da2","method":"GET","req_id":"65cf17e8-02d1-4604-931f-1abd8d0c22e1","remote_addr":"[fd00:1122:3344:101::b]:44091","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":82,"response_code":"200"}