[ Nov 8 20:21:06 Enabled. ] [ Nov 8 20:21:06 Rereading configuration. ] [ Nov 8 20:21:08 Rereading configuration. ] [ Nov 8 20:21:11 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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::15 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::15]: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-08T20:21:12.09770922Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:21:12.115688352Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:21:12.115700172Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:21:12.296861424Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.437440769Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:33745"} {"msg":"region 55beece4-03e9-422d-892c-b224ddfae43d state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.444720208Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.445032365Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"uri":"/crucible/0/regions","method":"POST","req_id":"aa9a6c34-dca8-45e9-b7b0-90499c98bdee","remote_addr":"[fd00:1122:3344:101::b]:33745","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":735,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.449384389Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/55beece4-03e9-422d-892c-b224ddfae43d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.458532509Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/55beece4-03e9-422d-892c-b224ddfae43d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.458559149Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"55beece4-03e9-422d-892c-b224ddfae43d\"), 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/55beece4-03e9-422d-892c-b224ddfae43d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.508120601Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"region":"55beece4-03e9-422d-892c-b224ddfae43d","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.673481607Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"region":"55beece4-03e9-422d-892c-b224ddfae43d","component":"worker"} {"msg":"region 55beece4-03e9-422d-892c-b224ddfae43d state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.673526298Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.673612199Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-55beece4-03e9-422d-892c-b224ddfae43d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.674143581Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-55beece4-03e9-422d-892c-b224ddfae43d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.678022746Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.686291646Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-55beece4-03e9-422d-892c-b224ddfae43d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.689383594Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/55beece4-03e9-422d-892c-b224ddfae43d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.689937316Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.690008307Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.690054998Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.690092419Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.700163959Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"uri":"/crucible/0/regions","method":"POST","req_id":"5251db21-49e3-4c48-876d-f91b1846cf81","remote_addr":"[fd00:1122:3344:101::b]:33745","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.700575728Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:27.707590631Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.551013954Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:45956"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.55359572Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"uri":"/crucible/0/regions/55beece4-03e9-422d-892c-b224ddfae43d","method":"GET","req_id":"18fc560b-f679-4156-ad22-eaa03f9ff04c","remote_addr":"[fd00:1122:3344:101::b]:45956","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":2538,"response_code":"200"} {"msg":"path is \"/data/regions/55beece4-03e9-422d-892c-b224ddfae43d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.553772574Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/55beece4-03e9-422d-892c-b224ddfae43d","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.566207355Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"datafile"} {"msg":"region 55beece4-03e9-422d-892c-b224ddfae43d state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.575414926Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.57603448Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.576093241Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"uri":"/crucible/0/regions/55beece4-03e9-422d-892c-b224ddfae43d","method":"DELETE","req_id":"687396f3-0ea2-4af4-b3a2-4e1b6a2fb1c4","remote_addr":"[fd00:1122:3344:101::b]:45956","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22344,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.576216804Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"uri":"/crucible/0/regions/55beece4-03e9-422d-892c-b224ddfae43d","method":"GET","req_id":"ad1fb314-6a9d-4b92-96db-ec4f31b66c55","remote_addr":"[fd00:1122:3344:101::b]:45956","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":19,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-55beece4-03e9-422d-892c-b224ddfae43d (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.579432834Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.59024199Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/55beece4-03e9-422d-892c-b224ddfae43d\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.602077488Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"region":"55beece4-03e9-422d-892c-b224ddfae43d","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.629197899Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"uri":"/crucible/0/regions/55beece4-03e9-422d-892c-b224ddfae43d","method":"GET","req_id":"10061c62-f15d-4f9c-9d60-cd866d669f2c","remote_addr":"[fd00:1122:3344:101::b]:45956","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":88,"response_code":"200"} {"msg":"region 55beece4-03e9-422d-892c-b224ddfae43d state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.66681232Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:25:16.76402512Z","hostname":"oxz_crucible_357c1017-e59c-44d0-8e0e-9bcca83f6576","pid":20906,"uri":"/crucible/0/regions/55beece4-03e9-422d-892c-b224ddfae43d","method":"GET","req_id":"5f64b2ac-b2e5-44c5-8b61-919051f64cbe","remote_addr":"[fd00:1122:3344:101::b]:45956","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":55,"response_code":"200"}