[ Dec 15 01:12:57 Enabled. ] [ Dec 15 01:12:57 Rereading configuration. ] [ Dec 15 01:13:01 Rereading configuration. ] [ Dec 15 01:13:12 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=oxControlService15 ++ 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::14 ++ 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 + [[ oxControlService15 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService15 ipadm: Could not delete oxControlService15: Interface does not exist + true + ipadm create-if -t oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService15 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService15 + ipadm show-addr oxControlService15/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService15/ll + ipadm show-addr oxControlService15/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService15/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::14]: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-12-15T01:13:13.587298565Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:13:13.591769873Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:13:13.591781658Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:13:13.86792688Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.401141023Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:63364"} {"msg":"region 5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.437166286Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.438001068Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.438031189Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"uri":"/crucible/0/regions","method":"POST","req_id":"4c0d6a98-a478-4fdc-9813-04c170481753","remote_addr":"[fd00:1122:3344:101::c]:63364","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":6431,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.447666434Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.447689884Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4\"), 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/5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.502933246Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"region":"5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.652790263Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"region":"5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","component":"worker"} {"msg":"region 5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.652832863Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.652943305Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.655517224Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.6605656Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.673530105Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.676828695Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.677545616Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.677616567Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.677663188Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.677704808Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.683199861Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.688142185Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:11.759700743Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"uri":"/crucible/0/regions","method":"POST","req_id":"49a6a243-fe11-467d-bd3d-b0eefd1bf407","remote_addr":"[fd00:1122:3344:101::c]:63364","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.398408481Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:54797"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.398543133Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"uri":"/crucible/0/regions/5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","method":"GET","req_id":"39344b19-cc50-4112-8069-b65e36b6fe37","remote_addr":"[fd00:1122:3344:101::c]:54797","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":111,"response_code":"200"} {"msg":"path is \"/data/regions/5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.398757366Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.408808098Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"datafile"} {"msg":"region 5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.417356586Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.417495429Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.41756629Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"uri":"/crucible/0/regions/5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","method":"DELETE","req_id":"bd928252-93f7-484b-917d-6cf8d0e9a007","remote_addr":"[fd00:1122:3344:101::c]:54797","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":18843,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.417724312Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"uri":"/crucible/0/regions/5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","method":"GET","req_id":"83f6f2d4-a54b-4227-af5d-62d5b0a03b3e","remote_addr":"[fd00:1122:3344:101::c]:54797","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":28,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.418692987Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.422685627Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.432333782Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"region":"5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","component":"worker"} {"msg":"region 5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.483562544Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-15T01:14:12.566200778Z","hostname":"oxz_crucible_88b23891-1726-4275-973f-1bfd9c7d86da","pid":23172,"uri":"/crucible/0/regions/5558c65e-4c52-4aaf-9bd1-4d0d9e4aeed4","method":"GET","req_id":"9aac0fd8-ccaf-4ba9-83b7-b8458e86de9a","remote_addr":"[fd00:1122:3344:101::c]:54797","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":96,"response_code":"200"}