[ Nov 19 06:16:52 Enabled. ] [ Nov 19 06:16:52 Rereading configuration. ] [ Nov 19 06:16:53 Rereading configuration. ] [ Nov 19 06:16:54 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=oxControlService14 ++ 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::17 ++ 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 + [[ oxControlService14 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService14 ipadm: Could not delete oxControlService14: Interface does not exist + true + ipadm create-if -t oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 + ipadm show-addr oxControlService14/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService14/ll + ipadm show-addr oxControlService14/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService14/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:54.795607424Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:54.799767414Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:54.799776835Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:16:54.944860712Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.172214896Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:47511"} {"msg":"region 22a7dfd8-dea7-4232-89ce-7bc7c89d8265 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.191752906Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.194131848Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"uri":"/crucible/0/regions","method":"POST","req_id":"d5657c0b-2185-4b27-8227-cc0a3a4e6fc5","remote_addr":"[fd00:1122:3344:101::b]:47511","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":10612,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.195333169Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/22a7dfd8-dea7-4232-89ce-7bc7c89d8265","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.204965152Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/22a7dfd8-dea7-4232-89ce-7bc7c89d8265","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.204993043Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"22a7dfd8-dea7-4232-89ce-7bc7c89d8265\"), 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/22a7dfd8-dea7-4232-89ce-7bc7c89d8265\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.254279815Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"region":"22a7dfd8-dea7-4232-89ce-7bc7c89d8265","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.440888098Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"region":"22a7dfd8-dea7-4232-89ce-7bc7c89d8265","component":"worker"} {"msg":"region 22a7dfd8-dea7-4232-89ce-7bc7c89d8265 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.440928814Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.441013361Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-22a7dfd8-dea7-4232-89ce-7bc7c89d8265","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.443498232Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-22a7dfd8-dea7-4232-89ce-7bc7c89d8265","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.446730845Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.46117595Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-22a7dfd8-dea7-4232-89ce-7bc7c89d8265","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.464090586Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/22a7dfd8-dea7-4232-89ce-7bc7c89d8265","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.464800314Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.464870675Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.464913642Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.464952052Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.469874397Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.480235481Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.555586075Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"uri":"/crucible/0/regions","method":"POST","req_id":"03a3d570-38bb-4319-86ab-983e868e4ac7","remote_addr":"[fd00:1122:3344:101::b]:47511","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.965361386Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:60645"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.997221832Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"uri":"/crucible/0/regions/22a7dfd8-dea7-4232-89ce-7bc7c89d8265","method":"GET","req_id":"54247c40-c12d-46ae-80f0-dc17846e7b8c","remote_addr":"[fd00:1122:3344:101::b]:60645","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":101,"response_code":"200"} {"msg":"path is \"/data/regions/22a7dfd8-dea7-4232-89ce-7bc7c89d8265\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:01.997433713Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/22a7dfd8-dea7-4232-89ce-7bc7c89d8265","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.010784733Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"datafile"} {"msg":"region 22a7dfd8-dea7-4232-89ce-7bc7c89d8265 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.023060269Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.023212036Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.023278807Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"uri":"/crucible/0/regions/22a7dfd8-dea7-4232-89ce-7bc7c89d8265","method":"DELETE","req_id":"a9dd2f92-e545-4e5d-9a90-d140cd92243e","remote_addr":"[fd00:1122:3344:101::b]:60645","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":25795,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.023413819Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"uri":"/crucible/0/regions/22a7dfd8-dea7-4232-89ce-7bc7c89d8265","method":"GET","req_id":"e4f7f9f8-0316-4c40-a1a0-da802c81fb3b","remote_addr":"[fd00:1122:3344:101::b]:60645","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":33,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-22a7dfd8-dea7-4232-89ce-7bc7c89d8265 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.02425953Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.02856882Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/22a7dfd8-dea7-4232-89ce-7bc7c89d8265\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.040230401Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"region":"22a7dfd8-dea7-4232-89ce-7bc7c89d8265","component":"worker"} {"msg":"region 22a7dfd8-dea7-4232-89ce-7bc7c89d8265 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.09830312Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:18:02.13806873Z","hostname":"oxz_crucible_6fe5bff2-23e6-4edf-80fc-bd8e8a63b212","pid":20514,"uri":"/crucible/0/regions/22a7dfd8-dea7-4232-89ce-7bc7c89d8265","method":"GET","req_id":"27692db3-1bcd-45ae-b952-d761c504457e","remote_addr":"[fd00:1122:3344:101::b]:60645","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":65,"response_code":"200"}