[ Dec 6 01:45:29 Enabled. ] [ Dec 6 01:45:29 Rereading configuration. ] [ Dec 6 01:45:30 Rereading configuration. ] [ Dec 6 01:45:37 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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::16 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:38.017225523Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:38.022274582Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:38.022282762Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:38.188322728Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.408704724Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:43698"} {"msg":"region 8a7ac1b5-853a-4b70-b5d6-2dfd4997a153 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.456542757Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.459241595Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"uri":"/crucible/0/regions","method":"POST","req_id":"80c430e6-72b8-4b4e-a8cb-f41dd2b03672","remote_addr":"[fd00:1122:3344:101::a]:43698","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":15828,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.459273296Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.473164096Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.473195707Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"8a7ac1b5-853a-4b70-b5d6-2dfd4997a153\"), 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/8a7ac1b5-853a-4b70-b5d6-2dfd4997a153\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.524887643Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"region":"8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.724430102Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"region":"8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","component":"worker"} {"msg":"region 8a7ac1b5-853a-4b70-b5d6-2dfd4997a153 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.724472913Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.724582345Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.727388476Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.731999566Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.747792517Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.748724037Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"uri":"/crucible/0/regions","method":"POST","req_id":"0acb7b4e-48e2-4c41-a82c-5f24cbd9f8e9","remote_addr":"[fd00:1122:3344:101::a]:43698","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.75070833Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.755841811Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.758281343Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.758337014Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.758376165Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.763306532Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:40.769308861Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.4978585Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:54899"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.498125915Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"uri":"/crucible/0/regions/8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","method":"GET","req_id":"31d03ece-bc97-4cb9-bb19-5f1a64c917d8","remote_addr":"[fd00:1122:3344:101::a]:54899","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":227,"response_code":"200"} {"msg":"path is \"/data/regions/8a7ac1b5-853a-4b70-b5d6-2dfd4997a153\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.4983529Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.509709395Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"datafile"} {"msg":"region 8a7ac1b5-853a-4b70-b5d6-2dfd4997a153 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.518602437Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.518896794Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.518961515Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"uri":"/crucible/0/regions/8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","method":"DELETE","req_id":"a029c1df-0477-4f58-aa82-a692b7c4e24d","remote_addr":"[fd00:1122:3344:101::a]:54899","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":20687,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.519113948Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"uri":"/crucible/0/regions/8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","method":"GET","req_id":"4fa98573-8099-46ca-b6b7-ff14de1ebc0f","remote_addr":"[fd00:1122:3344:101::a]:54899","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":31,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-8a7ac1b5-853a-4b70-b5d6-2dfd4997a153 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.519954987Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.526910927Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/8a7ac1b5-853a-4b70-b5d6-2dfd4997a153\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.536944753Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"region":"8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","component":"worker"} {"msg":"region 8a7ac1b5-853a-4b70-b5d6-2dfd4997a153 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.581171508Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:49:36.639400706Z","hostname":"oxz_crucible_01e8e7f9-6598-4373-93ca-9d120f85354d","pid":26059,"uri":"/crucible/0/regions/8a7ac1b5-853a-4b70-b5d6-2dfd4997a153","method":"GET","req_id":"395b51f9-7c3f-4dd1-9c7e-360e54f9bc68","remote_addr":"[fd00:1122:3344:101::a]:54899","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":61,"response_code":"200"}