Max level shown:
1 [ Oct 31 04:28:12 Enabled. ]
2 [ Oct 31 04:28:12 Rereading configuration. ]
3 [ Oct 31 04:28:15 Rereading configuration. ]
4 [ Oct 31 04:28:18 Executing start method ("/opt/oxide/lib/svc/manifest/crucible/agent.sh"). ]
5 + . /lib/svc/share/smf_include.sh
6 ++ SMF_EXIT_OK=0
7 ++ SMF_EXIT_NODAEMON=94
8 ++ SMF_EXIT_ERR_FATAL=95
9 ++ SMF_EXIT_ERR_CONFIG=96
10 ++ SMF_EXIT_MON_DEGRADE=97
11 ++ SMF_EXIT_MON_OFFLINE=98
12 ++ SMF_EXIT_ERR_NOSMF=99
13 ++ SMF_EXIT_ERR_PERM=100
14 ++ svcprop -c -p config/datalink svc:/oxide/crucible/agent:default
15 + DATALINK=oxControlService20
16 ++ svcprop -c -p config/gateway svc:/oxide/crucible/agent:default
17 + GATEWAY=fd00:1122:3344:101::1
18 ++ svcprop -c -p config/dataset svc:/oxide/crucible/agent:default
19 + DATASET=oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible
20 ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default
21 + LISTEN_ADDR=fd00:1122:3344:101::17
22 ++ svcprop -c -p config/listen_port svc:/oxide/crucible/agent:default
23 + LISTEN_PORT=32345
24 ++ svcprop -c -p config/portbase svc:/oxide/crucible/agent:default
25 + PORTBASE=19000
26 ++ svcprop -c -p config/downstairs_prefix svc:/oxide/crucible/agent:default
27 + DOWNSTAIRS_PREFIX=downstairs
28 ++ svcprop -c -p config/snapshot_prefix svc:/oxide/crucible/agent:default
29 + SNAPSHOT_PREFIX=snapshot
30 + [[ oxControlService20 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService20
33 ipadm: Could not delete oxControlService20: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService20
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20
38 + ipadm show-addr oxControlService20/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService20/ll
41 + ipadm show-addr oxControlService20/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService20/omicron6
44 + route get -inet6 default -inet6 fd00:1122:3344:101::1
45 default: not in table
46 + route add -inet6 default -inet6 fd00:1122:3344:101::1
47 add net default: gateway fd00:1122:3344:101::1
48 + args=('-D' '/opt/oxide/crucible/bin/crucible-downstairs' '--dataset' "$DATASET" '-l' "[$LISTEN_ADDR]:$LISTEN_PORT" '-P' "$PORTBASE" '-p' "$DOWNSTAIRS_PREFIX" '-s' "$SNAPSHOT_PREFIX")
49 + 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
50 note: configured to log to "/dev/stdout"
512023-10-31T04:28:19.153ZINFOcrucible-agent: dataset: "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible"
522023-10-31T04:28:19.158ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::17]:32345
532023-10-31T04:28:19.158ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-10-31T04:28:19.435ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::17]:32345
552023-10-31T04:29:27.271ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::17]:32345 remote_addr = [fd00:1122:3344:101::b]:46208
562023-10-31T04:29:27.294ZINFOcrucible-agent (datafile): region 4ae5a2dc-801c-4dd3-9185-656bc8aac892 state: Requested
572023-10-31T04:29:27.299ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
582023-10-31T04:29:27.299ZINFOcrucible-agent (dropshot): request completed latency_us = 9312 local_addr = [fd00:1122:3344:101::17]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:46208 req_id = 06c25849-bca0-43ea-bbb4-0c76d5917757 response_code = 200 uri = /crucible/0/regions
592023-10-31T04:29:27.308ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4ae5a2dc-801c-4dd3-9185-656bc8aac892
602023-10-31T04:29:27.308ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4ae5a2dc-801c-4dd3-9185-656bc8aac892
612023-10-31T04:29:27.402ZINFOcrucible-agent (worker): creating region Region { id: RegionId("4ae5a2dc-801c-4dd3-9185-656bc8aac892"), 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/4ae5a2dc-801c-4dd3-9185-656bc8aac892" region = 4ae5a2dc-801c-4dd3-9185-656bc8aac892
622023-10-31T04:29:27.597ZINFOcrucible-agent (worker): region files created ok region = 4ae5a2dc-801c-4dd3-9185-656bc8aac892
632023-10-31T04:29:27.597ZINFOcrucible-agent (datafile): region 4ae5a2dc-801c-4dd3-9185-656bc8aac892 state: Requested -> Created
642023-10-31T04:29:27.597ZINFOcrucible-agent (worker): applying SMF actions post create...
652023-10-31T04:29:27.597ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-4ae5a2dc-801c-4dd3-9185-656bc8aac892
662023-10-31T04:29:27.602ZINFOcrucible-agent (dropshot): request completed latency_us = 67 local_addr = [fd00:1122:3344:101::17]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:46208 req_id = 6f26c752-8806-4a29-8b49-f862d6d615ec response_code = 200 uri = /crucible/0/regions
672023-10-31T04:29:27.602ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-4ae5a2dc-801c-4dd3-9185-656bc8aac892
682023-10-31T04:29:27.616ZINFOcrucible-agent (worker): creating config property group
692023-10-31T04:29:27.618ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-4ae5a2dc-801c-4dd3-9185-656bc8aac892
702023-10-31T04:29:27.619ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/4ae5a2dc-801c-4dd3-9185-656bc8aac892
712023-10-31T04:29:27.619ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722023-10-31T04:29:27.619ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
732023-10-31T04:29:27.619ZINFOcrucible-agent (worker): commit
742023-10-31T04:29:27.634ZINFOcrucible-agent (worker): ok!
752023-10-31T04:29:27.644ZINFOcrucible-agent (worker): SMF ok!
762023-10-31T04:29:28.566ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::17]:32345 remote_addr = [fd00:1122:3344:101::b]:54367
772023-10-31T04:29:28.566ZINFOcrucible-agent (dropshot): request completed latency_us = 99 local_addr = [fd00:1122:3344:101::17]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:54367 req_id = dfebfafc-1e85-4517-aa94-2905fb8ab69d response_code = 200 uri = /crucible/0/regions/4ae5a2dc-801c-4dd3-9185-656bc8aac892
782023-10-31T04:29:28.567ZINFOcrucible-agent (datafile): path is "/data/regions/4ae5a2dc-801c-4dd3-9185-656bc8aac892"
792023-10-31T04:29:28.578ZINFOcrucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4ae5a2dc-801c-4dd3-9185-656bc8aac892
802023-10-31T04:29:28.587ZINFOcrucible-agent (datafile): region 4ae5a2dc-801c-4dd3-9185-656bc8aac892 state: Created -> Tombstoned
812023-10-31T04:29:28.588ZINFOcrucible-agent (worker): applying SMF actions before removal...
822023-10-31T04:29:28.588ZINFOcrucible-agent (dropshot): request completed latency_us = 21124 local_addr = [fd00:1122:3344:101::17]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::b]:54367 req_id = e2c3a30a-4272-4121-a921-8f18ca96f7df response_code = 204 uri = /crucible/0/regions/4ae5a2dc-801c-4dd3-9185-656bc8aac892
832023-10-31T04:29:28.588ZINFOcrucible-agent (dropshot): request completed latency_us = 24 local_addr = [fd00:1122:3344:101::17]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:54367 req_id = 294c370c-6295-4ecb-b1a7-8dbb858c532a response_code = 200 uri = /crucible/0/regions/4ae5a2dc-801c-4dd3-9185-656bc8aac892
842023-10-31T04:29:28.589ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-4ae5a2dc-801c-4dd3-9185-656bc8aac892 (instance states: (Some(Online), None))
852023-10-31T04:29:28.594ZINFOcrucible-agent (worker): SMF ok!
862023-10-31T04:29:28.606ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4ae5a2dc-801c-4dd3-9185-656bc8aac892" region = 4ae5a2dc-801c-4dd3-9185-656bc8aac892
872023-10-31T04:29:28.660ZINFOcrucible-agent (datafile): region 4ae5a2dc-801c-4dd3-9185-656bc8aac892 state: Tombstoned -> Destroyed
882023-10-31T04:29:28.723ZINFOcrucible-agent (dropshot): request completed latency_us = 62 local_addr = [fd00:1122:3344:101::17]:32345 method = GET remote_addr = [fd00:1122:3344:101::b]:54367 req_id = b5391240-ed10-451b-912d-79a8e51ab0bf response_code = 200 uri = /crucible/0/regions/4ae5a2dc-801c-4dd3-9185-656bc8aac892
892023-10-31T04:29:30.902ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::17]:32345 remote_addr = [fd00:1122:3344:101::b]:41004
902023-10-31T04:29:30.933ZINFOcrucible-agent (datafile): region c2f19a2f-b0dc-409e-83f1-20421b229744 state: Requested
912023-10-31T04:29:30.933ZINFOcrucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
922023-10-31T04:29:30.933ZINFOcrucible-agent (dropshot): request completed latency_us = 225 local_addr = [fd00:1122:3344:101::17]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:41004 req_id = 91116b5d-d24c-4a64-849d-607f8b385b92 response_code = 200 uri = /crucible/0/regions
932023-10-31T04:29:30.942ZINFOcrucible-agent (worker): zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/c2f19a2f-b0dc-409e-83f1-20421b229744
942023-10-31T04:29:30.943ZINFOcrucible-agent (worker): zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/c2f19a2f-b0dc-409e-83f1-20421b229744
952023-10-31T04:29:30.987ZINFOcrucible-agent (worker): creating region Region { id: RegionId("c2f19a2f-b0dc-409e-83f1-20421b229744"), 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/c2f19a2f-b0dc-409e-83f1-20421b229744" region = c2f19a2f-b0dc-409e-83f1-20421b229744
962023-10-31T04:29:31.045ZINFOcrucible-agent (worker): region files created ok region = c2f19a2f-b0dc-409e-83f1-20421b229744
972023-10-31T04:29:31.045ZINFOcrucible-agent (datafile): region c2f19a2f-b0dc-409e-83f1-20421b229744 state: Requested -> Created
982023-10-31T04:29:31.045ZINFOcrucible-agent (worker): applying SMF actions post create...
992023-10-31T04:29:31.046ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-c2f19a2f-b0dc-409e-83f1-20421b229744
1002023-10-31T04:29:31.049ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-c2f19a2f-b0dc-409e-83f1-20421b229744
1012023-10-31T04:29:31.057ZINFOcrucible-agent (worker): creating config property group
1022023-10-31T04:29:31.060ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-c2f19a2f-b0dc-409e-83f1-20421b229744
1032023-10-31T04:29:31.060ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/c2f19a2f-b0dc-409e-83f1-20421b229744
1042023-10-31T04:29:31.060ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
1052023-10-31T04:29:31.060ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
1062023-10-31T04:29:31.060ZINFOcrucible-agent (worker): commit
1072023-10-31T04:29:31.064ZINFOcrucible-agent (worker): ok!
1082023-10-31T04:29:31.069ZINFOcrucible-agent (worker): SMF ok!
1092023-10-31T04:29:31.243ZINFOcrucible-agent (dropshot): request completed latency_us = 81 local_addr = [fd00:1122:3344:101::17]:32345 method = POST remote_addr = [fd00:1122:3344:101::b]:41004 req_id = e31b803c-6479-40ac-bfd3-09d191c45016 response_code = 200 uri = /crucible/0/regions