Max level shown:
1 [ Dec 11 21:11:30 Enabled. ]
2 [ Dec 11 21:11:30 Rereading configuration. ]
3 [ Dec 11 21:11:40 Rereading configuration. ]
4 [ Dec 11 21:11:43 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=oxControlService10
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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible
20 ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default
21 + LISTEN_ADDR=fd00:1122:3344:101::14
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 + [[ oxControlService10 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService10
33 ipadm: Could not delete oxControlService10: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService10
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService10
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService10
38 + ipadm show-addr oxControlService10/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService10/ll
41 + ipadm show-addr oxControlService10/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService10/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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::14]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512023-12-11T21:11:44.666ZINFOcrucible-agent: dataset: "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible"
522023-12-11T21:11:44.670ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::14]:32345
532023-12-11T21:11:44.670ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-12-11T21:11:44.861ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::14]:32345
552023-12-11T21:12:49.244ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::14]:32345 remote_addr = [fd00:1122:3344:101::a]:34609
562023-12-11T21:12:49.290ZINFOcrucible-agent (datafile): region dad6a45a-41c2-422c-822c-36cb5838914e state: Requested
572023-12-11T21:12:49.292ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
582023-12-11T21:12:49.296ZINFOcrucible-agent (dropshot): request completed latency_us = 17006 local_addr = [fd00:1122:3344:101::14]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:34609 req_id = 9148be63-318e-48bf-abba-f6fc5d80e7c2 response_code = 200 uri = /crucible/0/regions
592023-12-11T21:12:49.302ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/dad6a45a-41c2-422c-822c-36cb5838914e
602023-12-11T21:12:49.302ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/dad6a45a-41c2-422c-822c-36cb5838914e
612023-12-11T21:12:49.355ZINFOcrucible-agent (worker): creating region Region { id: RegionId("dad6a45a-41c2-422c-822c-36cb5838914e"), 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/dad6a45a-41c2-422c-822c-36cb5838914e" region = dad6a45a-41c2-422c-822c-36cb5838914e
622023-12-11T21:12:49.531ZINFOcrucible-agent (worker): region files created ok region = dad6a45a-41c2-422c-822c-36cb5838914e
632023-12-11T21:12:49.531ZINFOcrucible-agent (datafile): region dad6a45a-41c2-422c-822c-36cb5838914e state: Requested -> Created
642023-12-11T21:12:49.531ZINFOcrucible-agent (worker): applying SMF actions post create...
652023-12-11T21:12:49.533ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-dad6a45a-41c2-422c-822c-36cb5838914e
662023-12-11T21:12:49.539ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-dad6a45a-41c2-422c-822c-36cb5838914e
672023-12-11T21:12:49.558ZINFOcrucible-agent (worker): creating config property group
682023-12-11T21:12:49.561ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-dad6a45a-41c2-422c-822c-36cb5838914e
692023-12-11T21:12:49.569ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/dad6a45a-41c2-422c-822c-36cb5838914e
702023-12-11T21:12:49.571ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
712023-12-11T21:12:49.571ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
722023-12-11T21:12:49.571ZINFOcrucible-agent (worker): commit
732023-12-11T21:12:49.576ZINFOcrucible-agent (worker): ok!
742023-12-11T21:12:49.582ZINFOcrucible-agent (worker): SMF ok!
752023-12-11T21:12:49.649ZINFOcrucible-agent (dropshot): request completed latency_us = 80 local_addr = [fd00:1122:3344:101::14]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:34609 req_id = 1e738f6b-94e3-4bd2-9596-80ba072bc817 response_code = 200 uri = /crucible/0/regions
762023-12-11T21:12:50.469ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::14]:32345 remote_addr = [fd00:1122:3344:101::a]:56356
772023-12-11T21:12:50.470ZINFOcrucible-agent (dropshot): request completed latency_us = 241 local_addr = [fd00:1122:3344:101::14]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:56356 req_id = 5dc672b6-8677-4d81-a204-cdc8a269a155 response_code = 200 uri = /crucible/0/regions/dad6a45a-41c2-422c-822c-36cb5838914e
782023-12-11T21:12:50.470ZINFOcrucible-agent (datafile): path is "/data/regions/dad6a45a-41c2-422c-822c-36cb5838914e"
792023-12-11T21:12:50.480ZINFOcrucible-agent (datafile): dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/dad6a45a-41c2-422c-822c-36cb5838914e
802023-12-11T21:12:50.489ZINFOcrucible-agent (datafile): region dad6a45a-41c2-422c-822c-36cb5838914e state: Created -> Tombstoned
812023-12-11T21:12:50.489ZINFOcrucible-agent (worker): applying SMF actions before removal...
822023-12-11T21:12:50.489ZINFOcrucible-agent (dropshot): request completed latency_us = 19522 local_addr = [fd00:1122:3344:101::14]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::a]:56356 req_id = f14c3245-77d2-48d6-b89e-417e4bd3e940 response_code = 204 uri = /crucible/0/regions/dad6a45a-41c2-422c-822c-36cb5838914e
832023-12-11T21:12:50.489ZINFOcrucible-agent (dropshot): request completed latency_us = 27 local_addr = [fd00:1122:3344:101::14]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:56356 req_id = 8bd4f38b-05f3-4184-b18a-c931d4584236 response_code = 200 uri = /crucible/0/regions/dad6a45a-41c2-422c-822c-36cb5838914e
842023-12-11T21:12:50.490ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-dad6a45a-41c2-422c-822c-36cb5838914e (instance states: (Some(Online), None))
852023-12-11T21:12:50.495ZINFOcrucible-agent (worker): SMF ok!
862023-12-11T21:12:50.505ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/dad6a45a-41c2-422c-822c-36cb5838914e" region = dad6a45a-41c2-422c-822c-36cb5838914e
872023-12-11T21:12:50.553ZINFOcrucible-agent (datafile): region dad6a45a-41c2-422c-822c-36cb5838914e state: Tombstoned -> Destroyed
882023-12-11T21:12:50.577ZINFOcrucible-agent (dropshot): request completed latency_us = 106 local_addr = [fd00:1122:3344:101::14]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:56356 req_id = a796accd-b357-4827-bd3a-44d7a4c6959d response_code = 200 uri = /crucible/0/regions/dad6a45a-41c2-422c-822c-36cb5838914e
892023-12-11T21:12:51.968ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::14]:32345 remote_addr = [fd00:1122:3344:101::a]:61306
902023-12-11T21:12:52.031ZINFOcrucible-agent (datafile): region 887a104c-df3b-49dd-94bf-eaf676e66d9f state: Requested
912023-12-11T21:12:52.031ZINFOcrucible-agent (dropshot): request completed latency_us = 1070 local_addr = [fd00:1122:3344:101::14]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:61306 req_id = 8befe784-0853-4a75-8927-50c6e5d92a23 response_code = 200 uri = /crucible/0/regions
922023-12-11T21:12:52.031ZINFOcrucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
932023-12-11T21:12:52.041ZINFOcrucible-agent (worker): zfs set reservation of 2684354560 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/887a104c-df3b-49dd-94bf-eaf676e66d9f
942023-12-11T21:12:52.041ZINFOcrucible-agent (worker): zfs set quota of 6442450944 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/887a104c-df3b-49dd-94bf-eaf676e66d9f
952023-12-11T21:12:52.096ZINFOcrucible-agent (worker): creating region Region { id: RegionId("887a104c-df3b-49dd-94bf-eaf676e66d9f"), 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/887a104c-df3b-49dd-94bf-eaf676e66d9f" region = 887a104c-df3b-49dd-94bf-eaf676e66d9f
962023-12-11T21:12:52.170ZINFOcrucible-agent (worker): region files created ok region = 887a104c-df3b-49dd-94bf-eaf676e66d9f
972023-12-11T21:12:52.170ZINFOcrucible-agent (datafile): region 887a104c-df3b-49dd-94bf-eaf676e66d9f state: Requested -> Created
982023-12-11T21:12:52.170ZINFOcrucible-agent (worker): applying SMF actions post create...
992023-12-11T21:12:52.171ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-887a104c-df3b-49dd-94bf-eaf676e66d9f
1002023-12-11T21:12:52.174ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-887a104c-df3b-49dd-94bf-eaf676e66d9f
1012023-12-11T21:12:52.183ZINFOcrucible-agent (worker): creating config property group
1022023-12-11T21:12:52.187ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-887a104c-df3b-49dd-94bf-eaf676e66d9f
1032023-12-11T21:12:52.187ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/887a104c-df3b-49dd-94bf-eaf676e66d9f
1042023-12-11T21:12:52.187ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
1052023-12-11T21:12:52.187ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14
1062023-12-11T21:12:52.188ZINFOcrucible-agent (worker): commit
1072023-12-11T21:12:52.191ZINFOcrucible-agent (worker): ok!
1082023-12-11T21:12:52.196ZINFOcrucible-agent (worker): SMF ok!
1092023-12-11T21:12:52.275ZINFOcrucible-agent (dropshot): request completed latency_us = 79 local_addr = [fd00:1122:3344:101::14]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:61306 req_id = 4067dd35-5f70-4379-95c3-7da95b554689 response_code = 200 uri = /crucible/0/regions