[ Nov 20 07:51:54 Enabled. ] [ Nov 20 07:51:54 Rereading configuration. ] [ Nov 20 07:51:55 Rereading configuration. ] [ Nov 20 07:51:57 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=oxControlService11 ++ 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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService11/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-11-20T07:51:57.856821557Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:51:57.858363687Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:51:57.858376347Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:51:58.028013948Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.873253037Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:33822"} {"msg":"region 1bf8e323-d6ee-422c-afa1-b46461e71acb state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.947505762Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.951251035Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"uri":"/crucible/0/regions","method":"POST","req_id":"2dc103ff-ac1d-4611-abbf-9baf89531e71","remote_addr":"[fd00:1122:3344:101::c]:33822","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":16328,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.951285796Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1bf8e323-d6ee-422c-afa1-b46461e71acb","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.96227376Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1bf8e323-d6ee-422c-afa1-b46461e71acb","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:08.962303721Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"1bf8e323-d6ee-422c-afa1-b46461e71acb\"), 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/1bf8e323-d6ee-422c-afa1-b46461e71acb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.014109389Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"region":"1bf8e323-d6ee-422c-afa1-b46461e71acb","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.211210934Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"uri":"/crucible/0/regions","method":"POST","req_id":"3854aa17-75ee-4ff8-be42-6dd038746856","remote_addr":"[fd00:1122:3344:101::c]:33822","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.216512848Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"region":"1bf8e323-d6ee-422c-afa1-b46461e71acb","component":"worker"} {"msg":"region 1bf8e323-d6ee-422c-afa1-b46461e71acb state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.216537838Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.216671141Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-1bf8e323-d6ee-422c-afa1-b46461e71acb","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.217180101Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-1bf8e323-d6ee-422c-afa1-b46461e71acb","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.221620547Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.233831565Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-1bf8e323-d6ee-422c-afa1-b46461e71acb","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.237420315Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/1bf8e323-d6ee-422c-afa1-b46461e71acb","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.238125838Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.23820473Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.238256941Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.238297592Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.242078685Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.250770564Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:53:09.479591528Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"uri":"/crucible/0/regions","method":"POST","req_id":"2e8e2ebc-3c73-4a12-bba1-87e6e8c30ad3","remote_addr":"[fd00:1122:3344:101::c]:33822","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.39840068Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:58595"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.43593448Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"uri":"/crucible/0/regions/1bf8e323-d6ee-422c-afa1-b46461e71acb","method":"GET","req_id":"dbc393a4-167a-4df2-8ba1-71d85160862b","remote_addr":"[fd00:1122:3344:101::c]:58595","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":6504,"response_code":"200"} {"msg":"path is \"/data/regions/1bf8e323-d6ee-422c-afa1-b46461e71acb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.438320767Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1bf8e323-d6ee-422c-afa1-b46461e71acb","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.451254638Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"datafile"} {"msg":"region 1bf8e323-d6ee-422c-afa1-b46461e71acb state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.460366606Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.460980898Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.461041459Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"uri":"/crucible/0/regions/1bf8e323-d6ee-422c-afa1-b46461e71acb","method":"DELETE","req_id":"b9f88851-bafe-4110-a1a5-34749140e1f7","remote_addr":"[fd00:1122:3344:101::c]:58595","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":24904,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.461167461Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"uri":"/crucible/0/regions/1bf8e323-d6ee-422c-afa1-b46461e71acb","method":"GET","req_id":"80e61cf4-75af-483e-8fd8-b596d488fc06","remote_addr":"[fd00:1122:3344:101::c]:58595","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-1bf8e323-d6ee-422c-afa1-b46461e71acb (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.464315583Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.474334808Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1bf8e323-d6ee-422c-afa1-b46461e71acb\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.485329782Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"region":"1bf8e323-d6ee-422c-afa1-b46461e71acb","component":"worker"} {"msg":"region 1bf8e323-d6ee-422c-afa1-b46461e71acb state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.534232233Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-20T07:56:05.565795478Z","hostname":"oxz_crucible_3abd98fd-69cc-4f10-9866-db07b595b88e","pid":20138,"uri":"/crucible/0/regions/1bf8e323-d6ee-422c-afa1-b46461e71acb","method":"GET","req_id":"60a26670-463f-4624-88d2-0953ddfbdeed","remote_addr":"[fd00:1122:3344:101::c]:58595","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":60,"response_code":"200"}