Max level shown:
1 [ Feb 15 05:58:36 Enabled. ]
2 [ Feb 15 05:58:36 Rereading configuration. ]
3 [ Feb 15 05:58:40 Rereading configuration. ]
4 [ Feb 15 05:58:44 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=oxControlService17
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 + [[ oxControlService17 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService17
33 ipadm: Could not delete oxControlService17: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService17
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17
38 + ipadm show-addr oxControlService17/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService17/ll
41 + ipadm show-addr oxControlService17/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService17/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"
512024-02-15T05:58:44.674ZINFOcrucible-agent: dataset: "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible"
522024-02-15T05:58:44.676ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::17]:32345
532024-02-15T05:58:44.676ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542024-02-15T05:58:44.889ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::17]:32345
552024-02-15T05:59:38.449ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::17]:32345 remote_addr = [fd00:1122:3344:101::a]:65439
562024-02-15T05:59:38.457ZINFOcrucible-agent (datafile): region 8619bfd6-f23d-452c-99ab-fdfd881e0438 state: Requested
572024-02-15T05:59:38.460ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
582024-02-15T05:59:38.460ZINFOcrucible-agent (dropshot): request completed latency_us = 6122 local_addr = [fd00:1122:3344:101::17]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:65439 req_id = c5d858bf-8ac5-4afa-9004-932a3f57e3fd response_code = 200 uri = /crucible/0/regions
592024-02-15T05:59:38.470ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438
602024-02-15T05:59:38.470ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438
612024-02-15T05:59:38.517ZINFOcrucible-agent (worker): creating region Region { id: RegionId("8619bfd6-f23d-452c-99ab-fdfd881e0438"), 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/8619bfd6-f23d-452c-99ab-fdfd881e0438" region = 8619bfd6-f23d-452c-99ab-fdfd881e0438
622024-02-15T05:59:38.637ZINFOcrucible-agent (worker): region files created ok region = 8619bfd6-f23d-452c-99ab-fdfd881e0438
632024-02-15T05:59:38.637ZINFOcrucible-agent (datafile): region 8619bfd6-f23d-452c-99ab-fdfd881e0438 state: Requested -> Created
642024-02-15T05:59:38.637ZINFOcrucible-agent (worker): applying SMF actions post create...
652024-02-15T05:59:38.638ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-8619bfd6-f23d-452c-99ab-fdfd881e0438
662024-02-15T05:59:38.641ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-8619bfd6-f23d-452c-99ab-fdfd881e0438
672024-02-15T05:59:38.648ZINFOcrucible-agent (worker): creating config property group
682024-02-15T05:59:38.652ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-8619bfd6-f23d-452c-99ab-fdfd881e0438
692024-02-15T05:59:38.653ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438
702024-02-15T05:59:38.653ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
712024-02-15T05:59:38.653ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17
722024-02-15T05:59:38.653ZINFOcrucible-agent (worker): commit
732024-02-15T05:59:38.657ZINFOcrucible-agent (worker): ok!
742024-02-15T05:59:38.661ZINFOcrucible-agent (worker): SMF ok!
752024-02-15T05:59:38.758ZINFOcrucible-agent (dropshot): request completed latency_us = 63 local_addr = [fd00:1122:3344:101::17]:32345 method = POST remote_addr = [fd00:1122:3344:101::a]:65439 req_id = ead19fba-cb8b-45c9-800b-29ee745b0049 response_code = 200 uri = /crucible/0/regions
762024-02-15T05:59:39.006ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::17]:32345 remote_addr = [fd00:1122:3344:101::a]:44980
772024-02-15T05:59:39.006ZINFOcrucible-agent (dropshot): request completed latency_us = 67 local_addr = [fd00:1122:3344:101::17]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:44980 req_id = 5c46fb73-927e-4cc6-9c22-de63ad401485 response_code = 200 uri = /crucible/0/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438
782024-02-15T05:59:39.006ZINFOcrucible-agent (datafile): path is "/data/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438"
792024-02-15T05:59:39.015ZINFOcrucible-agent (datafile): dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438
802024-02-15T05:59:39.024ZINFOcrucible-agent (datafile): region 8619bfd6-f23d-452c-99ab-fdfd881e0438 state: Created -> Tombstoned
812024-02-15T05:59:39.024ZINFOcrucible-agent (worker): applying SMF actions before removal...
822024-02-15T05:59:39.024ZINFOcrucible-agent (dropshot): request completed latency_us = 17503 local_addr = [fd00:1122:3344:101::17]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::a]:44980 req_id = 2d159302-fc0f-4f70-b4a7-a51ae1c4d3c1 response_code = 204 uri = /crucible/0/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438
832024-02-15T05:59:39.024ZINFOcrucible-agent (dropshot): request completed latency_us = 17 local_addr = [fd00:1122:3344:101::17]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:44980 req_id = 351cf983-0a05-40b3-af0a-f5a83b6368c3 response_code = 200 uri = /crucible/0/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438
842024-02-15T05:59:39.025ZINFOcrucible-agent (worker): disabling downstairs instance: downstairs-8619bfd6-f23d-452c-99ab-fdfd881e0438 (instance states: (Some(Online), None))
852024-02-15T05:59:39.029ZINFOcrucible-agent (worker): SMF ok!
862024-02-15T05:59:39.038ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438" region = 8619bfd6-f23d-452c-99ab-fdfd881e0438
872024-02-15T05:59:39.088ZINFOcrucible-agent (datafile): region 8619bfd6-f23d-452c-99ab-fdfd881e0438 state: Tombstoned -> Destroyed
882024-02-15T05:59:39.111ZINFOcrucible-agent (dropshot): request completed latency_us = 51 local_addr = [fd00:1122:3344:101::17]:32345 method = GET remote_addr = [fd00:1122:3344:101::a]:44980 req_id = 1facfe35-47ad-481f-9ec4-b913b87731f5 response_code = 200 uri = /crucible/0/regions/8619bfd6-f23d-452c-99ab-fdfd881e0438