[ Dec 7 05:43:30 Enabled. ] [ Dec 7 05:43:30 Rereading configuration. ] [ Dec 7 05:43:32 Rereading configuration. ] [ Dec 7 05:43:33 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=oxControlService12 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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 + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService12/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:43:33.822640141Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:43:33.826800108Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:43:33.826813619Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:43:33.918895956Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.618409648Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:57741"} {"msg":"region aa044fb6-7cd7-415d-a251-899a4bc7bc2e state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.652703431Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.654065694Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"uri":"/crucible/0/regions","method":"POST","req_id":"0cde045e-9da9-401a-b3aa-5d3a82753f26","remote_addr":"[fd00:1122:3344:101::b]:57741","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":11127,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.654550745Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/aa044fb6-7cd7-415d-a251-899a4bc7bc2e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.665614404Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/aa044fb6-7cd7-415d-a251-899a4bc7bc2e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.665638525Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"aa044fb6-7cd7-415d-a251-899a4bc7bc2e\"), 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/aa044fb6-7cd7-415d-a251-899a4bc7bc2e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.756108125Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"region":"aa044fb6-7cd7-415d-a251-899a4bc7bc2e","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.969883123Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"uri":"/crucible/0/regions","method":"POST","req_id":"3af25436-127d-4773-b236-0e68ddbb5067","remote_addr":"[fd00:1122:3344:101::b]:57741","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":93,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.007987146Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"region":"aa044fb6-7cd7-415d-a251-899a4bc7bc2e","component":"worker"} {"msg":"region aa044fb6-7cd7-415d-a251-899a4bc7bc2e state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.008005557Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.008120009Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-aa044fb6-7cd7-415d-a251-899a4bc7bc2e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.010656809Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-aa044fb6-7cd7-415d-a251-899a4bc7bc2e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.025105777Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.050307588Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-aa044fb6-7cd7-415d-a251-899a4bc7bc2e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.060591639Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/aa044fb6-7cd7-415d-a251-899a4bc7bc2e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.078927008Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.080909655Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.080980346Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.081036748Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.098774933Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.109621957Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.558581276Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"uri":"/crucible/0/regions","method":"POST","req_id":"61867b5c-af97-4754-ae2c-6deeb682d273","remote_addr":"[fd00:1122:3344:101::b]:57741","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.583978052Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:51588"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.586143212Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"uri":"/crucible/0/regions/aa044fb6-7cd7-415d-a251-899a4bc7bc2e","method":"GET","req_id":"7745913a-682e-4052-85ce-3e9520662691","remote_addr":"[fd00:1122:3344:101::b]:51588","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":2141,"response_code":"200"} {"msg":"path is \"/data/regions/aa044fb6-7cd7-415d-a251-899a4bc7bc2e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.586345457Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/aa044fb6-7cd7-415d-a251-899a4bc7bc2e","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.596133406Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"datafile"} {"msg":"region aa044fb6-7cd7-415d-a251-899a4bc7bc2e state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.605282631Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.605457405Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"uri":"/crucible/0/regions/aa044fb6-7cd7-415d-a251-899a4bc7bc2e","method":"DELETE","req_id":"822606fd-6da9-45ef-adbc-54b6525002b8","remote_addr":"[fd00:1122:3344:101::b]:51588","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":19158,"response_code":"204"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.605495536Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.606268414Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"uri":"/crucible/0/regions/aa044fb6-7cd7-415d-a251-899a4bc7bc2e","method":"GET","req_id":"c076c7d6-147d-475f-bad5-b38346307b8f","remote_addr":"[fd00:1122:3344:101::b]:51588","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":662,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-aa044fb6-7cd7-415d-a251-899a4bc7bc2e (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.606705544Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.621783658Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/aa044fb6-7cd7-415d-a251-899a4bc7bc2e\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.632047158Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"region":"aa044fb6-7cd7-415d-a251-899a4bc7bc2e","component":"worker"} {"msg":"region aa044fb6-7cd7-415d-a251-899a4bc7bc2e state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.688336167Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.741587094Z","hostname":"oxz_crucible_faf821dd-dc01-4af1-a09c-01ca53d934a3","pid":22387,"uri":"/crucible/0/regions/aa044fb6-7cd7-415d-a251-899a4bc7bc2e","method":"GET","req_id":"54a476a1-4bdf-48a3-b8b8-cbfd4f01c6e0","remote_addr":"[fd00:1122:3344:101::b]:51588","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":54,"response_code":"200"}