[ Oct 4 03:32:36 Enabled. ] [ Oct 4 03:32:36 Rereading configuration. ] [ Oct 4 03:32:38 Rereading configuration. ] [ Oct 4 03:32:39 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=oxControlService14 ++ 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::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 + [[ oxControlService14 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService14 ipadm: Could not delete oxControlService14: Interface does not exist + true + ipadm create-if -t oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 + ipadm show-addr oxControlService14/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService14/ll + ipadm show-addr oxControlService14/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService14/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::18]: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-10-04T03:32:40.68644613Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.690615516Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.690624536Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:32:40.788570944Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.077129432Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:48524"} {"msg":"region fc98518f-9632-484f-b4d7-2cb361f3fec0 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.115411525Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.116988221Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.117000662Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"uri":"/crucible/0/regions","method":"POST","req_id":"1af3fff0-3707-4e79-bfd6-a4c1c0f2175b","remote_addr":"[fd00:1122:3344:101::b]:48524","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":6121,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/fc98518f-9632-484f-b4d7-2cb361f3fec0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.127092354Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/fc98518f-9632-484f-b4d7-2cb361f3fec0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.127112865Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"fc98518f-9632-484f-b4d7-2cb361f3fec0\"), 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/fc98518f-9632-484f-b4d7-2cb361f3fec0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.176019062Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"region":"fc98518f-9632-484f-b4d7-2cb361f3fec0","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.358496389Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"uri":"/crucible/0/regions","method":"POST","req_id":"7fab7e4a-47c7-4f28-9cc5-8bffe57bd81f","remote_addr":"[fd00:1122:3344:101::b]:48524","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.359978983Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"region":"fc98518f-9632-484f-b4d7-2cb361f3fec0","component":"worker"} {"msg":"region fc98518f-9632-484f-b4d7-2cb361f3fec0 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.359992733Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.360128767Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-fc98518f-9632-484f-b4d7-2cb361f3fec0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.371232423Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-fc98518f-9632-484f-b4d7-2cb361f3fec0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.374553359Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.385596664Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-fc98518f-9632-484f-b4d7-2cb361f3fec0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.389163776Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/fc98518f-9632-484f-b4d7-2cb361f3fec0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.389890403Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.389978905Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.390022866Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.390063427Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.394297734Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.403310742Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:32.801874481Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"uri":"/crucible/0/regions","method":"POST","req_id":"1baf3407-edf8-4e84-be7f-1468b0d82bac","remote_addr":"[fd00:1122:3344:101::b]:48524","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":89,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.076638176Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:36959"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.076862241Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"uri":"/crucible/0/regions/fc98518f-9632-484f-b4d7-2cb361f3fec0","method":"GET","req_id":"1a357cd5-59c0-41e1-9f9c-0820a19557e3","remote_addr":"[fd00:1122:3344:101::b]:36959","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":122,"response_code":"200"} {"msg":"path is \"/data/regions/fc98518f-9632-484f-b4d7-2cb361f3fec0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.0772125Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/fc98518f-9632-484f-b4d7-2cb361f3fec0","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.088994531Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"datafile"} {"msg":"region fc98518f-9632-484f-b4d7-2cb361f3fec0 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.099600456Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.099739989Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.09978874Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"uri":"/crucible/0/regions/fc98518f-9632-484f-b4d7-2cb361f3fec0","method":"DELETE","req_id":"482026f8-79bf-4c0b-b9d0-f4fb37c78491","remote_addr":"[fd00:1122:3344:101::b]:36959","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22619,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.102637656Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"uri":"/crucible/0/regions/fc98518f-9632-484f-b4d7-2cb361f3fec0","method":"GET","req_id":"4e8b4493-3497-4f48-a4bb-5872742554d4","remote_addr":"[fd00:1122:3344:101::b]:36959","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":457,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-fc98518f-9632-484f-b4d7-2cb361f3fec0","v":0,"name":"crucible-agent","level":50,"time":"2023-10-04T03:33:33.109863953Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.110563998Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.115018711Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/fc98518f-9632-484f-b4d7-2cb361f3fec0\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.126387673Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"region":"fc98518f-9632-484f-b4d7-2cb361f3fec0","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.175600818Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"uri":"/crucible/0/regions/fc98518f-9632-484f-b4d7-2cb361f3fec0","method":"GET","req_id":"dc494d71-a9a9-4255-a75f-080fbab3d9ea","remote_addr":"[fd00:1122:3344:101::b]:36959","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":67,"response_code":"200"} {"msg":"region fc98518f-9632-484f-b4d7-2cb361f3fec0 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.17999921Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T03:33:33.28237225Z","hostname":"oxz_crucible_c4256cb6-1bdc-4343-8beb-a3cc46aec877","pid":24588,"uri":"/crucible/0/regions/fc98518f-9632-484f-b4d7-2cb361f3fec0","method":"GET","req_id":"71365e77-5059-4355-9f6e-45da70bc57bc","remote_addr":"[fd00:1122:3344:101::b]:36959","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":41,"response_code":"200"}