[ Dec 1 20:52:49 Enabled. ] [ Dec 1 20:52:49 Rereading configuration. ] [ Dec 1 20:52:52 Rereading configuration. ] [ Dec 1 20:52:55 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=oxControlService23 ++ 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService23/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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.128227374Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.132004948Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.132018398Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.394031002Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.151622877Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:57200"} {"msg":"region e6bcf03f-b534-466f-9e89-e3243a9b8fbe state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.180401638Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.181650052Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"uri":"/crucible/0/regions","method":"POST","req_id":"58e89cc2-ea8b-4c10-a931-0f2c0f736aea","remote_addr":"[fd00:1122:3344:101::a]:57200","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":13978,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.181680863Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e6bcf03f-b534-466f-9e89-e3243a9b8fbe","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.194066424Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e6bcf03f-b534-466f-9e89-e3243a9b8fbe","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.194093594Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"e6bcf03f-b534-466f-9e89-e3243a9b8fbe\"), 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/e6bcf03f-b534-466f-9e89-e3243a9b8fbe\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.245895659Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"region":"e6bcf03f-b534-466f-9e89-e3243a9b8fbe","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.324271653Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"uri":"/crucible/0/regions","method":"POST","req_id":"ac8928c7-a64f-4e62-ac32-61ecf1540e35","remote_addr":"[fd00:1122:3344:101::a]:57200","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":723,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.41290425Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"region":"e6bcf03f-b534-466f-9e89-e3243a9b8fbe","component":"worker"} {"msg":"region e6bcf03f-b534-466f-9e89-e3243a9b8fbe state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.412929361Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.413058135Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-e6bcf03f-b534-466f-9e89-e3243a9b8fbe","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.41542221Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-e6bcf03f-b534-466f-9e89-e3243a9b8fbe","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.422050422Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.436504229Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-e6bcf03f-b534-466f-9e89-e3243a9b8fbe","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.440006326Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/e6bcf03f-b534-466f-9e89-e3243a9b8fbe","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.446187545Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.44816842Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.448229502Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.448288893Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.452580141Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.457799115Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.017662708Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"uri":"/crucible/0/regions","method":"POST","req_id":"a227e643-3518-4fdc-adbc-6c6a93a8866d","remote_addr":"[fd00:1122:3344:101::a]:57200","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.469988284Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:58696"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.47019374Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"uri":"/crucible/0/regions/e6bcf03f-b534-466f-9e89-e3243a9b8fbe","method":"GET","req_id":"f6116679-8dc7-40c9-b7ec-d28be2d38d7e","remote_addr":"[fd00:1122:3344:101::a]:58696","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":179,"response_code":"200"} {"msg":"path is \"/data/regions/e6bcf03f-b534-466f-9e89-e3243a9b8fbe\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.470375645Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e6bcf03f-b534-466f-9e89-e3243a9b8fbe","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.48040318Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"datafile"} {"msg":"region e6bcf03f-b534-466f-9e89-e3243a9b8fbe state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.489045088Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.489220173Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.489279964Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"uri":"/crucible/0/regions/e6bcf03f-b534-466f-9e89-e3243a9b8fbe","method":"DELETE","req_id":"0feaf904-1ee8-416c-a788-bd301392c620","remote_addr":"[fd00:1122:3344:101::a]:58696","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":18997,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.489450409Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"uri":"/crucible/0/regions/e6bcf03f-b534-466f-9e89-e3243a9b8fbe","method":"GET","req_id":"223fb4ba-0481-41c0-8ace-839db52f36cb","remote_addr":"[fd00:1122:3344:101::a]:58696","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":30,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-e6bcf03f-b534-466f-9e89-e3243a9b8fbe (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.490237371Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.494284822Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/e6bcf03f-b534-466f-9e89-e3243a9b8fbe\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.504122708Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"region":"e6bcf03f-b534-466f-9e89-e3243a9b8fbe","component":"worker"} {"msg":"region e6bcf03f-b534-466f-9e89-e3243a9b8fbe state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.557222843Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.628370459Z","hostname":"oxz_crucible_c5fe5374-3101-4c55-b990-0de04dfcd938","pid":21257,"uri":"/crucible/0/regions/e6bcf03f-b534-466f-9e89-e3243a9b8fbe","method":"GET","req_id":"b8304d82-711f-4e27-b3a7-6325a6764a69","remote_addr":"[fd00:1122:3344:101::a]:58696","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":62,"response_code":"200"}