[ Nov 29 19:47:28 Enabled. ] [ Nov 29 19:47:28 Rereading configuration. ] [ Nov 29 19:47:30 Rereading configuration. ] [ Nov 29 19:47:31 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=oxControlService16 ++ 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 + [[ oxControlService16 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService16 ipadm: Could not delete oxControlService16: Interface does not exist + true + ipadm create-if -t oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 + ipadm show-addr oxControlService16/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService16/ll + ipadm show-addr oxControlService16/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService16/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-11-29T19:47:31.800211955Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.803533644Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.803543264Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:47:31.894881472Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.168003357Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:62205"} {"msg":"region c03527d4-d9c2-44aa-b603-778347aedc39 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.246073541Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.246641688Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"uri":"/crucible/0/regions","method":"POST","req_id":"b0cb1c8f-1224-44fd-9709-b8f520be8476","remote_addr":"[fd00:1122:3344:101::b]:62205","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":15032,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.247674793Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c03527d4-d9c2-44aa-b603-778347aedc39","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.258136046Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c03527d4-d9c2-44aa-b603-778347aedc39","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.258163307Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"c03527d4-d9c2-44aa-b603-778347aedc39\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/c03527d4-d9c2-44aa-b603-778347aedc39\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.332267512Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"region":"c03527d4-d9c2-44aa-b603-778347aedc39","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.501197236Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"uri":"/crucible/0/regions","method":"POST","req_id":"8264bfe9-25ac-41bb-a291-bd389f886ffb","remote_addr":"[fd00:1122:3344:101::b]:62205","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":93,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.583632183Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"region":"c03527d4-d9c2-44aa-b603-778347aedc39","component":"worker"} {"msg":"region c03527d4-d9c2-44aa-b603-778347aedc39 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.583662294Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.583816546Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-c03527d4-d9c2-44aa-b603-778347aedc39","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.586257182Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-c03527d4-d9c2-44aa-b603-778347aedc39","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.594776967Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.617813424Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-c03527d4-d9c2-44aa-b603-778347aedc39","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.629548156Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/c03527d4-d9c2-44aa-b603-778347aedc39","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.630314237Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.630394988Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.630444379Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.63049715Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.641314268Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.661608945Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:48:29.99930216Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"uri":"/crucible/0/regions","method":"POST","req_id":"f439d6fa-42be-404e-9fdb-542a509fbe37","remote_addr":"[fd00:1122:3344:101::b]:62205","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.087783127Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:63815"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.08802011Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"uri":"/crucible/0/regions/c03527d4-d9c2-44aa-b603-778347aedc39","method":"GET","req_id":"4e9f5cac-353a-43f4-8e99-72412d8a94d2","remote_addr":"[fd00:1122:3344:101::b]:63815","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":207,"response_code":"200"} {"msg":"path is \"/data/regions/c03527d4-d9c2-44aa-b603-778347aedc39\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.088220873Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c03527d4-d9c2-44aa-b603-778347aedc39","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.100048227Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"datafile"} {"msg":"region c03527d4-d9c2-44aa-b603-778347aedc39 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.110123624Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.110450769Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.11050237Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"uri":"/crucible/0/regions/c03527d4-d9c2-44aa-b603-778347aedc39","method":"DELETE","req_id":"c72a767e-6ede-49f9-af99-8ebf40547793","remote_addr":"[fd00:1122:3344:101::b]:63815","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":22338,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.110655402Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"uri":"/crucible/0/regions/c03527d4-d9c2-44aa-b603-778347aedc39","method":"GET","req_id":"5ab3e91b-c807-43ca-a2e4-97f4dc97d413","remote_addr":"[fd00:1122:3344:101::b]:63815","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-c03527d4-d9c2-44aa-b603-778347aedc39 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.111713448Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.118660909Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/c03527d4-d9c2-44aa-b603-778347aedc39\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.128402542Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"region":"c03527d4-d9c2-44aa-b603-778347aedc39","component":"worker"} {"msg":"region c03527d4-d9c2-44aa-b603-778347aedc39 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.176159751Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-29T19:51:26.207972937Z","hostname":"oxz_crucible_7080bd69-b7db-46e5-9f98-8411dcaa80da","pid":24519,"uri":"/crucible/0/regions/c03527d4-d9c2-44aa-b603-778347aedc39","method":"GET","req_id":"d57b7710-0629-46cc-b00c-a979010b9429","remote_addr":"[fd00:1122:3344:101::b]:63815","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":58,"response_code":"200"}