[ Dec 19 23:02:00 Enabled. ] [ Dec 19 23:02:00 Rereading configuration. ] [ Dec 19 23:02:03 Rereading configuration. ] [ Dec 19 23:02:08 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=oxControlService15 ++ 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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 + [[ oxControlService15 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService15 ipadm: Could not delete oxControlService15: Interface does not exist + true + ipadm create-if -t oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService15 + ipadm show-addr oxControlService15/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService15/ll + ipadm show-addr oxControlService15/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService15/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:10.612231655Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:10.615837665Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:10.615852455Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:10.893877631Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.48200751Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:43829"} {"msg":"region fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.530704234Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.531066259Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"uri":"/crucible/0/regions","method":"POST","req_id":"2e71f809-86e0-423f-80c8-4d8c5b184ffc","remote_addr":"[fd00:1122:3344:101::b]:43829","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":10901,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.531789459Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.541934939Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.54196413Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce\"), 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/fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.600008493Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"region":"fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.746015853Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"region":"fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","component":"worker"} {"msg":"region fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.746062483Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.746143905Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.746620051Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.751562019Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.761197723Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.765071877Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.765884538Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.765959629Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.766016039Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.76606268Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.770232618Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.779629258Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:01.860647439Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"uri":"/crucible/0/regions","method":"POST","req_id":"9ad787b1-0925-4aee-b0d0-9296b14e618e","remote_addr":"[fd00:1122:3344:101::b]:43829","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":567,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.57634653Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:64638"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.576671374Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"uri":"/crucible/0/regions/fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","method":"GET","req_id":"ffff69dd-e6ef-4a8b-b0e8-95ef3be6d377","remote_addr":"[fd00:1122:3344:101::b]:64638","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":300,"response_code":"200"} {"msg":"path is \"/data/regions/fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.576872477Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.5864239Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"datafile"} {"msg":"region fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.594872876Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.595024368Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.59514495Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"uri":"/crucible/0/regions/fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","method":"DELETE","req_id":"9f5e7c99-b37c-42cc-86e9-32751b232a15","remote_addr":"[fd00:1122:3344:101::b]:64638","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":18306,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.595343853Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"uri":"/crucible/0/regions/fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","method":"GET","req_id":"9fe22127-bae6-4bf1-93c4-5051cf4442c8","remote_addr":"[fd00:1122:3344:101::b]:64638","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.596224775Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.599972317Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.609405387Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"region":"fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","component":"worker"} {"msg":"region fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.661085462Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:03:02.688665684Z","hostname":"oxz_crucible_c274f29a-0e2f-47cb-aeb9-f4e6528f99fe","pid":24424,"uri":"/crucible/0/regions/fc1fcd2a-241d-48a9-b8b7-b7a7928aa3ce","method":"GET","req_id":"17cc264a-8d81-4df1-9670-42c033cffa7f","remote_addr":"[fd00:1122:3344:101::b]:64638","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":71,"response_code":"200"}