[ Jan 16 00:47:54 Enabled. ] [ Jan 16 00:47:54 Rereading configuration. ] [ Jan 16 00:47:55 Rereading configuration. ] [ Jan 16 00:47:58 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_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 + [[ 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::19 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_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":"2024-01-16T00:47:59.732053923Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:47:59.735312146Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:47:59.735325636Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:47:59.943195248Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:31.997307705Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:54612"} {"msg":"region 7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.047205837Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.055659092Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"uri":"/crucible/0/regions","method":"POST","req_id":"9f19223f-2726-4a52-838e-a30129c9649d","remote_addr":"[fd00:1122:3344:101::a]:54612","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":20526,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.055700473Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.067822895Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.067857465Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947\"), 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/7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.127843968Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"region":"7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.351737422Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"uri":"/crucible/0/regions","method":"POST","req_id":"fec3771f-a9ee-415d-99f9-60ea4c50c2b4","remote_addr":"[fd00:1122:3344:101::a]:54612","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.555074138Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"region":"7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","component":"worker"} {"msg":"region 7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.555116468Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.555264409Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.558053648Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.567163529Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.590449974Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.596503825Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.597254432Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.597385173Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.597429114Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.597468684Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.602265193Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.611391705Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:54:32.740445203Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"uri":"/crucible/0/regions","method":"POST","req_id":"07b799b8-2b58-499f-9b0d-a00f11550c05","remote_addr":"[fd00:1122:3344:101::a]:54612","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":505,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.212757382Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:60672"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.212886593Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"uri":"/crucible/0/regions/7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","method":"GET","req_id":"1c7f188a-1409-4231-81a1-e5203104a002","remote_addr":"[fd00:1122:3344:101::a]:60672","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":98,"response_code":"200"} {"msg":"path is \"/data/regions/7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.213112296Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.223032856Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"datafile"} {"msg":"region 7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.232079416Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.232317739Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.23238554Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"uri":"/crucible/0/regions/7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","method":"DELETE","req_id":"4e031600-6108-45e0-845d-9425488ee3c8","remote_addr":"[fd00:1122:3344:101::a]:60672","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":19315,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.233208418Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"uri":"/crucible/0/regions/7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","method":"GET","req_id":"f9d739c6-134a-4376-8ab1-5c50d282c6f4","remote_addr":"[fd00:1122:3344:101::a]:60672","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":688,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.233664203Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.239275799Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.248784095Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"region":"7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","component":"worker"} {"msg":"region 7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.296124581Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-16T00:55:03.347574209Z","hostname":"oxz_crucible_c0b921bb-7074-49fb-a551-8dfe4bd25c4c","pid":25396,"uri":"/crucible/0/regions/7f3dbfcd-d3b3-4db5-a71c-34a2c55ee947","method":"GET","req_id":"24ca23d5-df2e-4701-8439-176dcfc1a5b1","remote_addr":"[fd00:1122:3344:101::a]:60672","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":89,"response_code":"200"}