[ Nov 4 20:47:10 Enabled. ] [ Nov 4 20:47:10 Rereading configuration. ] [ Nov 4 20:47:16 Rereading configuration. ] [ Nov 4 20:47:20 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=oxControlService21 ++ 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::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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::13 oxControlService21/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::13]: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-11-04T20:47:21.624368145Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:47:21.629756075Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:47:21.629765805Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:47:21.846397817Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.524934733Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:56166"} {"msg":"region 2861a6bb-0a91-4964-af66-3014c75f45e5 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.537408656Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.540848475Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"uri":"/crucible/0/regions","method":"POST","req_id":"f93f84fd-fdf4-41a1-9354-ac4736b3a8d9","remote_addr":"[fd00:1122:3344:101::c]:56166","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":8083,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.540872795Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2861a6bb-0a91-4964-af66-3014c75f45e5","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.550862294Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2861a6bb-0a91-4964-af66-3014c75f45e5","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.550888794Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"2861a6bb-0a91-4964-af66-3014c75f45e5\"), 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/2861a6bb-0a91-4964-af66-3014c75f45e5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.605738393Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"region":"2861a6bb-0a91-4964-af66-3014c75f45e5","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.740353904Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"uri":"/crucible/0/regions","method":"POST","req_id":"6e2958d4-5ecf-49b1-8ec1-d1b0f5781379","remote_addr":"[fd00:1122:3344:101::c]:56166","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":86,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.777017792Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"region":"2861a6bb-0a91-4964-af66-3014c75f45e5","component":"worker"} {"msg":"region 2861a6bb-0a91-4964-af66-3014c75f45e5 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.777056953Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.777180786Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-2861a6bb-0a91-4964-af66-3014c75f45e5","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.777760171Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-2861a6bb-0a91-4964-af66-3014c75f45e5","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.783280534Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.793779655Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-2861a6bb-0a91-4964-af66-3014c75f45e5","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.796883886Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/2861a6bb-0a91-4964-af66-3014c75f45e5","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.797406649Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.797479531Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.797522492Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.797561643Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.802361257Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:36.806228647Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.439087781Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"uri":"/crucible/0/regions","method":"POST","req_id":"dd4c395d-1691-4792-9fe4-98f480d934d9","remote_addr":"[fd00:1122:3344:101::c]:56166","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-04T20:48:37.742802055Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:58241"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.805786514Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"uri":"/crucible/0/regions/2861a6bb-0a91-4964-af66-3014c75f45e5","method":"GET","req_id":"71c2a710-5489-45c2-bb0a-2ad8427ae56e","remote_addr":"[fd00:1122:3344:101::c]:58241","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":173,"response_code":"200"} {"msg":"path is \"/data/regions/2861a6bb-0a91-4964-af66-3014c75f45e5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.806094252Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2861a6bb-0a91-4964-af66-3014c75f45e5","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.818487823Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"datafile"} {"msg":"region 2861a6bb-0a91-4964-af66-3014c75f45e5 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.829574099Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.829699993Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.829764404Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"uri":"/crucible/0/regions/2861a6bb-0a91-4964-af66-3014c75f45e5","method":"DELETE","req_id":"385b94dc-7736-4024-aae0-b791c7b27e69","remote_addr":"[fd00:1122:3344:101::c]:58241","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":23705,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.829893018Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"uri":"/crucible/0/regions/2861a6bb-0a91-4964-af66-3014c75f45e5","method":"GET","req_id":"76c36c20-3a36-465f-9f2d-f1a5479b8026","remote_addr":"[fd00:1122:3344:101::c]:58241","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-2861a6bb-0a91-4964-af66-3014c75f45e5 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.83075953Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.8353958Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2861a6bb-0a91-4964-af66-3014c75f45e5\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.846646291Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"region":"2861a6bb-0a91-4964-af66-3014c75f45e5","component":"worker"} {"msg":"region 2861a6bb-0a91-4964-af66-3014c75f45e5 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.906583911Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-04T20:48:37.934657937Z","hostname":"oxz_crucible_0de098aa-666a-43da-a98f-f8979c755d44","pid":21457,"uri":"/crucible/0/regions/2861a6bb-0a91-4964-af66-3014c75f45e5","method":"GET","req_id":"06a496ee-cc81-4813-bee4-c6bc4c3ee3cf","remote_addr":"[fd00:1122:3344:101::c]:58241","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":73,"response_code":"200"}