Max level shown:
1 [ Jul 19 18:39:33 Enabled. ]
2 [ Jul 19 18:39:33 Rereading configuration. ]
3 [ Jul 19 18:39:34 Rereading configuration. ]
4 [ Jul 19 18:39:35 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=oxControlService12
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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible
20 ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default
21 + LISTEN_ADDR=fd00:1122:3344:101::12
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 + [[ oxControlService12 == unknown ]]
31 + [[ fd00:1122:3344:101::1 == unknown ]]
32 + ipadm delete-if oxControlService12
33 ipadm: Could not delete oxControlService12: Interface does not exist
34 + true
35 + ipadm create-if -t oxControlService12
36 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12
37 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12
38 + ipadm show-addr oxControlService12/ll
39 ipadm: Address object not found
40 + ipadm create-addr -t -T addrconf oxControlService12/ll
41 + ipadm show-addr oxControlService12/omicron6
42 ipadm: Address object not found
43 + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService12/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot
50 note: configured to log to "/dev/stdout"
512023-07-19T18:39:36.435ZINFOcrucible-agent: dataset: "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
522023-07-19T18:39:36.437ZINFOcrucible-agent: listen IP: [fd00:1122:3344:101::12]:32345
532023-07-19T18:39:36.437ZINFOcrucible-agent: SMF instance name downstairs_prefix: "downstairs"
542023-07-19T18:39:36.528ZINFOcrucible-agent (dropshot): listening local_addr = [fd00:1122:3344:101::12]:32345
552023-07-19T18:40:29.686ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::12]:32345 remote_addr = [fd00:1122:3344:101::c]:63025
562023-07-19T18:40:29.719ZINFOcrucible-agent (datafile): region 1e935a3b-810b-44cc-b2c1-97dbeae84779 state: Requested
572023-07-19T18:40:29.720ZINFOcrucible-agent (dropshot): request completed local_addr = [fd00:1122:3344:101::12]:32345 method = POST remote_addr = [fd00:1122:3344:101::c]:63025 req_id = 8522a437-7a8e-4d47-b777-b023379d3261 response_code = 200 uri = /crucible/0/regions
582023-07-19T18:40:29.720ZINFOcrucible-agent (worker): Region size:1073741824 reservation:1342177280 quota:3221225472
592023-07-19T18:40:29.731ZINFOcrucible-agent (worker): zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1e935a3b-810b-44cc-b2c1-97dbeae84779
602023-07-19T18:40:29.731ZINFOcrucible-agent (worker): zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1e935a3b-810b-44cc-b2c1-97dbeae84779
612023-07-19T18:40:29.786ZINFOcrucible-agent (worker): creating region Region { id: RegionId("1e935a3b-810b-44cc-b2c1-97dbeae84779"), 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/1e935a3b-810b-44cc-b2c1-97dbeae84779" region = 1e935a3b-810b-44cc-b2c1-97dbeae84779
622023-07-19T18:40:29.885ZINFOcrucible-agent (dropshot): request completed local_addr = [fd00:1122:3344:101::12]:32345 method = POST remote_addr = [fd00:1122:3344:101::c]:63025 req_id = 4255d6a5-7245-4469-a6e4-49a7619a38a1 response_code = 200 uri = /crucible/0/regions
632023-07-19T18:40:29.961ZINFOcrucible-agent (worker): region files created ok region = 1e935a3b-810b-44cc-b2c1-97dbeae84779
642023-07-19T18:40:29.961ZINFOcrucible-agent (datafile): region 1e935a3b-810b-44cc-b2c1-97dbeae84779 state: Requested -> Created
652023-07-19T18:40:29.962ZINFOcrucible-agent (worker): applying SMF actions post create...
662023-07-19T18:40:29.972ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-1e935a3b-810b-44cc-b2c1-97dbeae84779
672023-07-19T18:40:29.975ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-1e935a3b-810b-44cc-b2c1-97dbeae84779
682023-07-19T18:40:29.982ZINFOcrucible-agent (worker): creating config property group
692023-07-19T18:40:29.985ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-1e935a3b-810b-44cc-b2c1-97dbeae84779
702023-07-19T18:40:29.986ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/1e935a3b-810b-44cc-b2c1-97dbeae84779
712023-07-19T18:40:29.986ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
722023-07-19T18:40:29.986ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
732023-07-19T18:40:29.986ZINFOcrucible-agent (worker): commit
742023-07-19T18:40:29.990ZINFOcrucible-agent (worker): ok!
752023-07-19T18:40:29.995ZINFOcrucible-agent (worker): SMF ok!
762023-07-19T18:40:30.556ZINFOcrucible-agent (dropshot): request completed local_addr = [fd00:1122:3344:101::12]:32345 method = POST remote_addr = [fd00:1122:3344:101::c]:63025 req_id = 46a746eb-873c-4bff-a128-c6769072b286 response_code = 200 uri = /crucible/0/regions
772023-07-19T18:40:30.837ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::12]:32345 remote_addr = [fd00:1122:3344:101::c]:53936
782023-07-19T18:40:30.868ZINFOcrucible-agent (datafile): checking if path "/data/regions/1e935a3b-810b-44cc-b2c1-97dbeae84779/.zfs/snapshot" exists
792023-07-19T18:40:30.868ZINFOcrucible-agent (datafile): checking path "/data/regions/1e935a3b-810b-44cc-b2c1-97dbeae84779/.zfs/snapshot"
802023-07-19T18:40:30.868ZINFOcrucible-agent (datafile): region 1e935a3b-810b-44cc-b2c1-97dbeae84779 state: Created -> Tombstoned
812023-07-19T18:40:30.868ZINFOcrucible-agent (worker): applying SMF actions before removal...
822023-07-19T18:40:30.868ZINFOcrucible-agent (dropshot): request completed local_addr = [fd00:1122:3344:101::12]:32345 method = DELETE remote_addr = [fd00:1122:3344:101::c]:53936 req_id = e969d967-bfa4-47e1-bc3f-d798556fe223 response_code = 204 uri = /crucible/0/regions/1e935a3b-810b-44cc-b2c1-97dbeae84779
832023-07-19T18:40:30.880ZERROcrucible-agent (worker): remove downstairs instance: downstairs-1e935a3b-810b-44cc-b2c1-97dbeae84779
842023-07-19T18:40:30.882ZINFOcrucible-agent (worker): instance states: (Some(Online), None)
852023-07-19T18:40:30.886ZINFOcrucible-agent (worker): SMF ok!
862023-07-19T18:40:30.898ZINFOcrucible-agent (worker): deleting zfs dataset "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1e935a3b-810b-44cc-b2c1-97dbeae84779" region = 1e935a3b-810b-44cc-b2c1-97dbeae84779
872023-07-19T18:40:30.959ZINFOcrucible-agent (datafile): region 1e935a3b-810b-44cc-b2c1-97dbeae84779 state: Tombstoned -> Destroyed
882023-07-19T18:40:33.178ZINFOcrucible-agent (dropshot): accepted connection local_addr = [fd00:1122:3344:101::12]:32345 remote_addr = [fd00:1122:3344:101::c]:56554
892023-07-19T18:40:33.241ZINFOcrucible-agent (datafile): region 62645c89-f1db-4d78-9f79-2f47e92798fb state: Requested
902023-07-19T18:40:33.241ZINFOcrucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
912023-07-19T18:40:33.241ZINFOcrucible-agent (dropshot): request completed local_addr = [fd00:1122:3344:101::12]:32345 method = POST remote_addr = [fd00:1122:3344:101::c]:56554 req_id = 134eef26-76c0-4ae2-a558-0550885d3e91 response_code = 200 uri = /crucible/0/regions
922023-07-19T18:40:33.250ZINFOcrucible-agent (worker): zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/62645c89-f1db-4d78-9f79-2f47e92798fb
932023-07-19T18:40:33.250ZINFOcrucible-agent (worker): zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/62645c89-f1db-4d78-9f79-2f47e92798fb
942023-07-19T18:40:33.310ZINFOcrucible-agent (worker): creating region Region { id: RegionId("62645c89-f1db-4d78-9f79-2f47e92798fb"), 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/62645c89-f1db-4d78-9f79-2f47e92798fb" region = 62645c89-f1db-4d78-9f79-2f47e92798fb
952023-07-19T18:40:33.372ZINFOcrucible-agent (worker): region files created ok region = 62645c89-f1db-4d78-9f79-2f47e92798fb
962023-07-19T18:40:33.372ZINFOcrucible-agent (datafile): region 62645c89-f1db-4d78-9f79-2f47e92798fb state: Requested -> Created
972023-07-19T18:40:33.372ZINFOcrucible-agent (worker): applying SMF actions post create...
982023-07-19T18:40:33.382ZERROcrucible-agent (worker): remove downstairs instance: downstairs-1e935a3b-810b-44cc-b2c1-97dbeae84779
992023-07-19T18:40:33.383ZINFOcrucible-agent (worker): instance states: (Some(Disabled), None)
1002023-07-19T18:40:33.383ZINFOcrucible-agent (worker): creating missing downstairs instance downstairs-62645c89-f1db-4d78-9f79-2f47e92798fb
1012023-07-19T18:40:33.386ZINFOcrucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-62645c89-f1db-4d78-9f79-2f47e92798fb
1022023-07-19T18:40:33.393ZINFOcrucible-agent (worker): creating config property group
1032023-07-19T18:40:33.396ZINFOcrucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-62645c89-f1db-4d78-9f79-2f47e92798fb
1042023-07-19T18:40:33.396ZINFOcrucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/62645c89-f1db-4d78-9f79-2f47e92798fb
1052023-07-19T18:40:33.396ZINFOcrucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
1062023-07-19T18:40:33.396ZINFOcrucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
1072023-07-19T18:40:33.396ZINFOcrucible-agent (worker): commit
1082023-07-19T18:40:33.400ZINFOcrucible-agent (worker): ok!
1092023-07-19T18:40:33.405ZINFOcrucible-agent (worker): SMF ok!
1102023-07-19T18:40:33.509ZINFOcrucible-agent (dropshot): request completed local_addr = [fd00:1122:3344:101::12]:32345 method = POST remote_addr = [fd00:1122:3344:101::c]:56554 req_id = f4dd6607-4823-4584-a088-c90b48ce0538 response_code = 200 uri = /crucible/0/regions