[ Nov 18 01:27:46 Enabled. ] [ Nov 18 01:27:46 Rereading configuration. ] [ Nov 18 01:27:47 Rereading configuration. ] [ Nov 18 01:27:48 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=oxControlService13 ++ 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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 + [[ oxControlService13 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService13 ipadm: Could not delete oxControlService13: Interface does not exist + true + ipadm create-if -t oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 + ipadm show-addr oxControlService13/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService13/ll + ipadm show-addr oxControlService13/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService13/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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:27:48.914416951Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:27:48.915946352Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:27:48.915954992Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:27:49.072532511Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.610790271Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:40575"} {"msg":"region c5c46bd1-9540-472e-907b-db85fe5b49ae state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.641214673Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.648610254Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.648633944Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"uri":"/crucible/0/regions","method":"POST","req_id":"55d07ca7-0083-4e53-980a-eafd233ed1a3","remote_addr":"[fd00:1122:3344:101::a]:40575","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22132,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c5c46bd1-9540-472e-907b-db85fe5b49ae","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.65918617Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c5c46bd1-9540-472e-907b-db85fe5b49ae","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.659213961Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"c5c46bd1-9540-472e-907b-db85fe5b49ae\"), 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/c5c46bd1-9540-472e-907b-db85fe5b49ae\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.768950673Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"region":"c5c46bd1-9540-472e-907b-db85fe5b49ae","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:49.828969389Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"uri":"/crucible/0/regions","method":"POST","req_id":"cab892ef-88f4-484a-8fe4-8613883e2a19","remote_addr":"[fd00:1122:3344:101::a]:40575","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.022267438Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"region":"c5c46bd1-9540-472e-907b-db85fe5b49ae","component":"worker"} {"msg":"region c5c46bd1-9540-472e-907b-db85fe5b49ae state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.022310199Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.022426431Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-c5c46bd1-9540-472e-907b-db85fe5b49ae","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.022908811Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-c5c46bd1-9540-472e-907b-db85fe5b49ae","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.044367339Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.084868437Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-c5c46bd1-9540-472e-907b-db85fe5b49ae","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.098847882Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/c5c46bd1-9540-472e-907b-db85fe5b49ae","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.099858353Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.099938425Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.099985636Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.100026866Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.118165547Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.154274685Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.344681635Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"uri":"/crucible/0/regions","method":"POST","req_id":"ee72d41f-0fa0-4783-a10b-d5420368ae38","remote_addr":"[fd00:1122:3344:101::a]:40575","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.855862647Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:51254"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.887005714Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"uri":"/crucible/0/regions/c5c46bd1-9540-472e-907b-db85fe5b49ae","method":"GET","req_id":"63420a53-110b-43e2-bfc6-e7e9ad2b2a8f","remote_addr":"[fd00:1122:3344:101::a]:51254","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":105,"response_code":"200"} {"msg":"path is \"/data/regions/c5c46bd1-9540-472e-907b-db85fe5b49ae\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.88734226Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c5c46bd1-9540-472e-907b-db85fe5b49ae","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.899791525Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"datafile"} {"msg":"region c5c46bd1-9540-472e-907b-db85fe5b49ae state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.910638006Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.910776469Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.91084387Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"uri":"/crucible/0/regions/c5c46bd1-9540-472e-907b-db85fe5b49ae","method":"DELETE","req_id":"d6f0b886-14e6-4d23-a80a-980fbb3dcc9a","remote_addr":"[fd00:1122:3344:101::a]:51254","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":23535,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.910970303Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"uri":"/crucible/0/regions/c5c46bd1-9540-472e-907b-db85fe5b49ae","method":"GET","req_id":"fba34c30-3b85-4c40-9cc7-b36f64627efe","remote_addr":"[fd00:1122:3344:101::a]:51254","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-c5c46bd1-9540-472e-907b-db85fe5b49ae (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.911850871Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.931488682Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c5c46bd1-9540-472e-907b-db85fe5b49ae\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:50.94410188Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"region":"c5c46bd1-9540-472e-907b-db85fe5b49ae","component":"worker"} {"msg":"region c5c46bd1-9540-472e-907b-db85fe5b49ae state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:51.033969296Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-18T01:28:51.051694168Z","hostname":"oxz_crucible_976803c4-6485-460a-99af-cea8584a7953","pid":21273,"uri":"/crucible/0/regions/c5c46bd1-9540-472e-907b-db85fe5b49ae","method":"GET","req_id":"032000e5-c275-46e3-8cc7-6dbaf91755c4","remote_addr":"[fd00:1122:3344:101::a]:51254","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":121,"response_code":"200"}