| 1 | | [ Jan 24 19:33:25 Enabled. ] |
| 2 | | [ Jan 24 19:33:25 Rereading configuration. ] |
| 3 | | [ Jan 24 19:33:29 Rereading configuration. ] |
| 4 | | [ Jan 24 19:33:36 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_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 | | + [[ 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::12 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_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" |
| 51 | 2024-01-24T19:33:36.915Z | INFO | crucible-agent: dataset: "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible"
|
| 52 | 2024-01-24T19:33:36.918Z | INFO | crucible-agent: listen IP: [fd00:1122:3344:101::12]:32345
|
| 53 | 2024-01-24T19:33:36.918Z | INFO | crucible-agent: SMF instance name downstairs_prefix: "downstairs"
|
| 54 | 2024-01-24T19:33:37.176Z | INFO | crucible-agent (dropshot): listening
local_addr = [fd00:1122:3344:101::12]:32345
|
| 55 | 2024-01-24T19:39:50.645Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:60437
|
| 56 | 2024-01-24T19:39:50.703Z | INFO | crucible-agent (datafile): region 2f3610fb-106b-4622-977a-ee2d54670bab state: Requested
|
| 57 | 2024-01-24T19:39:50.711Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
| 58 | 2024-01-24T19:39:50.711Z | INFO | crucible-agent (dropshot): request completed
latency_us = 23414
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:60437
req_id = 6189d11f-a9fe-4c7d-8a38-0b1fa14d77c9
response_code = 200
uri = /crucible/0/regions
|
| 59 | 2024-01-24T19:39:50.724Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2f3610fb-106b-4622-977a-ee2d54670bab
|
| 60 | 2024-01-24T19:39:50.724Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2f3610fb-106b-4622-977a-ee2d54670bab
|
| 61 | 2024-01-24T19:39:50.798Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("2f3610fb-106b-4622-977a-ee2d54670bab"), 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/2f3610fb-106b-4622-977a-ee2d54670bab"
region = 2f3610fb-106b-4622-977a-ee2d54670bab
|
| 62 | 2024-01-24T19:39:51.055Z | INFO | crucible-agent (dropshot): request completed
latency_us = 91
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:60437
req_id = 27e50888-ac45-4fc9-a000-a4d4871a6474
response_code = 200
uri = /crucible/0/regions
|
| 63 | 2024-01-24T19:39:51.235Z | INFO | crucible-agent (worker): region files created ok
region = 2f3610fb-106b-4622-977a-ee2d54670bab
|
| 64 | 2024-01-24T19:39:51.235Z | INFO | crucible-agent (datafile): region 2f3610fb-106b-4622-977a-ee2d54670bab state: Requested -> Created
|
| 65 | 2024-01-24T19:39:51.235Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
| 66 | 2024-01-24T19:39:51.238Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-2f3610fb-106b-4622-977a-ee2d54670bab
|
| 67 | 2024-01-24T19:39:51.244Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-2f3610fb-106b-4622-977a-ee2d54670bab
|
| 68 | 2024-01-24T19:39:51.269Z | INFO | crucible-agent (worker): creating config property group
|
| 69 | 2024-01-24T19:39:51.278Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-2f3610fb-106b-4622-977a-ee2d54670bab
|
| 70 | 2024-01-24T19:39:51.279Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/2f3610fb-106b-4622-977a-ee2d54670bab
|
| 71 | 2024-01-24T19:39:51.282Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
| 72 | 2024-01-24T19:39:51.282Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
| 73 | 2024-01-24T19:39:51.282Z | INFO | crucible-agent (worker): commit
|
| 74 | 2024-01-24T19:39:51.307Z | INFO | crucible-agent (worker): ok!
|
| 75 | 2024-01-24T19:39:51.317Z | INFO | crucible-agent (worker): SMF ok!
|
| 76 | 2024-01-24T19:39:51.526Z | INFO | crucible-agent (dropshot): request completed
latency_us = 101
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:60437
req_id = 691f151e-e077-488f-bafd-a4df3f466a4c
response_code = 200
uri = /crucible/0/regions
|
| 77 | 2024-01-24T19:39:54.815Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:38538
|
| 78 | 2024-01-24T19:39:54.878Z | INFO | crucible-agent (datafile): region 9bc04a9d-7880-4965-9c9e-9dde35d01a88 state: Requested
|
| 79 | 2024-01-24T19:39:54.878Z | INFO | crucible-agent (dropshot): request completed
latency_us = 820
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:38538
req_id = ca679b4b-cb95-4740-8195-1723251fa46c
response_code = 200
uri = /crucible/0/regions
|
| 80 | 2024-01-24T19:39:54.878Z | INFO | crucible-agent (worker): Region size:2147483648 reservation:2684354560 quota:6442450944
|
| 81 | 2024-01-24T19:39:54.888Z | INFO | crucible-agent (worker): zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 82 | 2024-01-24T19:39:54.888Z | INFO | crucible-agent (worker): zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 83 | 2024-01-24T19:39:54.974Z | INFO | crucible-agent (worker): creating region Region { id: RegionId("9bc04a9d-7880-4965-9c9e-9dde35d01a88"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19001, cert_pem: None, key_pem: None, root_pem: None } at "/data/regions/9bc04a9d-7880-4965-9c9e-9dde35d01a88"
region = 9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 84 | 2024-01-24T19:39:55.098Z | INFO | crucible-agent (worker): region files created ok
region = 9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 85 | 2024-01-24T19:39:55.098Z | INFO | crucible-agent (datafile): region 9bc04a9d-7880-4965-9c9e-9dde35d01a88 state: Requested -> Created
|
| 86 | 2024-01-24T19:39:55.098Z | INFO | crucible-agent (worker): applying SMF actions post create...
|
| 87 | 2024-01-24T19:39:55.099Z | INFO | crucible-agent (worker): existing directory value /dev/null does not match /data/regions/2f3610fb-106b-4622-977a-ee2d54670bab
|
| 88 | 2024-01-24T19:39:55.099Z | INFO | crucible-agent (worker): existing port value 0 does not match 19000
|
| 89 | 2024-01-24T19:39:55.099Z | INFO | crucible-agent (worker): existing address value 0.0.0.0 does not match fd00:1122:3344:101::12
|
| 90 | 2024-01-24T19:39:55.099Z | INFO | crucible-agent (worker): reconfig required
|
| 91 | 2024-01-24T19:39:55.099Z | INFO | crucible-agent (worker): using existing config property group
|
| 92 | 2024-01-24T19:39:55.099Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-2f3610fb-106b-4622-977a-ee2d54670bab
|
| 93 | 2024-01-24T19:39:55.099Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/2f3610fb-106b-4622-977a-ee2d54670bab
|
| 94 | 2024-01-24T19:39:55.099Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
| 95 | 2024-01-24T19:39:55.099Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
| 96 | 2024-01-24T19:39:55.099Z | INFO | crucible-agent (worker): commit
|
| 97 | 2024-01-24T19:39:55.106Z | INFO | crucible-agent (worker): ok!
|
| 98 | 2024-01-24T19:39:55.107Z | INFO | crucible-agent (worker): creating missing downstairs instance downstairs-9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 99 | 2024-01-24T19:39:55.114Z | INFO | crucible-agent (worker): ok, have svc:/oxide/crucible/downstairs:downstairs-9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 100 | 2024-01-24T19:39:55.133Z | INFO | crucible-agent (dropshot): request completed
latency_us = 676
local_addr = [fd00:1122:3344:101::12]:32345
method = POST
remote_addr = [fd00:1122:3344:101::a]:38538
req_id = 08107f13-69dd-4abc-a12c-674e4f8c2097
response_code = 200
uri = /crucible/0/regions
|
| 101 | 2024-01-24T19:39:55.134Z | INFO | crucible-agent (worker): creating config property group
|
| 102 | 2024-01-24T19:39:55.141Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 103 | 2024-01-24T19:39:55.141Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 104 | 2024-01-24T19:39:55.141Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19001
|
| 105 | 2024-01-24T19:39:55.141Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
| 106 | 2024-01-24T19:39:55.141Z | INFO | crucible-agent (worker): commit
|
| 107 | 2024-01-24T19:39:55.149Z | INFO | crucible-agent (worker): ok!
|
| 108 | 2024-01-24T19:39:55.158Z | INFO | crucible-agent (worker): SMF ok!
|
| 109 | 2024-01-24T19:40:27.716Z | INFO | crucible-agent (dropshot): accepted connection
local_addr = [fd00:1122:3344:101::12]:32345
remote_addr = [fd00:1122:3344:101::a]:61907
|
| 110 | 2024-01-24T19:40:27.717Z | INFO | crucible-agent (dropshot): request completed
latency_us = 671
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:61907
req_id = aa3ad818-f569-4868-b7a4-aa4d6b4e5604
response_code = 200
uri = /crucible/0/regions/9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 111 | 2024-01-24T19:40:27.717Z | INFO | crucible-agent (datafile): path is "/data/regions/9bc04a9d-7880-4965-9c9e-9dde35d01a88"
|
| 112 | 2024-01-24T19:40:27.729Z | INFO | crucible-agent (datafile): dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 113 | 2024-01-24T19:40:27.738Z | INFO | crucible-agent (datafile): region 9bc04a9d-7880-4965-9c9e-9dde35d01a88 state: Created -> Tombstoned
|
| 114 | 2024-01-24T19:40:27.739Z | INFO | crucible-agent (worker): applying SMF actions before removal...
|
| 115 | 2024-01-24T19:40:27.739Z | INFO | crucible-agent (dropshot): request completed
latency_us = 21662
local_addr = [fd00:1122:3344:101::12]:32345
method = DELETE
remote_addr = [fd00:1122:3344:101::a]:61907
req_id = 072fe88a-8a5c-49ee-a57a-88874eba0730
response_code = 204
uri = /crucible/0/regions/9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 116 | 2024-01-24T19:40:27.739Z | INFO | crucible-agent (dropshot): request completed
latency_us = 742
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:61907
req_id = 64e73f74-e6b1-4d62-bcf9-020369680786
response_code = 200
uri = /crucible/0/regions/9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 117 | 2024-01-24T19:40:27.740Z | INFO | crucible-agent (worker): disabling downstairs instance: downstairs-9bc04a9d-7880-4965-9c9e-9dde35d01a88 (instance states: (Some(Online), None))
|
| 118 | 2024-01-24T19:40:27.749Z | INFO | crucible-agent (worker): existing directory value /dev/null does not match /data/regions/2f3610fb-106b-4622-977a-ee2d54670bab
|
| 119 | 2024-01-24T19:40:27.749Z | INFO | crucible-agent (worker): existing port value 0 does not match 19000
|
| 120 | 2024-01-24T19:40:27.749Z | INFO | crucible-agent (worker): existing address value 0.0.0.0 does not match fd00:1122:3344:101::12
|
| 121 | 2024-01-24T19:40:27.749Z | INFO | crucible-agent (worker): reconfig required
|
| 122 | 2024-01-24T19:40:27.749Z | INFO | crucible-agent (worker): using existing config property group
|
| 123 | 2024-01-24T19:40:27.749Z | INFO | crucible-agent (worker): reconfiguring svc:/oxide/crucible/downstairs:downstairs-2f3610fb-106b-4622-977a-ee2d54670bab
|
| 124 | 2024-01-24T19:40:27.750Z | INFO | crucible-agent (worker): ensure directory SCF_TYPE_ASTRING /data/regions/2f3610fb-106b-4622-977a-ee2d54670bab
|
| 125 | 2024-01-24T19:40:27.750Z | INFO | crucible-agent (worker): ensure port SCF_TYPE_COUNT 19000
|
| 126 | 2024-01-24T19:40:27.750Z | INFO | crucible-agent (worker): ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12
|
| 127 | 2024-01-24T19:40:27.750Z | INFO | crucible-agent (worker): commit
|
| 128 | 2024-01-24T19:40:27.758Z | INFO | crucible-agent (worker): ok!
|
| 129 | 2024-01-24T19:40:27.759Z | INFO | crucible-agent (worker): SMF ok!
|
| 130 | 2024-01-24T19:40:27.768Z | INFO | crucible-agent (worker): deleting zfs dataset "oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9bc04a9d-7880-4965-9c9e-9dde35d01a88"
region = 9bc04a9d-7880-4965-9c9e-9dde35d01a88
|
| 131 | 2024-01-24T19:40:27.838Z | INFO | crucible-agent (datafile): region 9bc04a9d-7880-4965-9c9e-9dde35d01a88 state: Tombstoned -> Destroyed
|
| 132 | 2024-01-24T19:40:27.867Z | INFO | crucible-agent (dropshot): request completed
latency_us = 70
local_addr = [fd00:1122:3344:101::12]:32345
method = GET
remote_addr = [fd00:1122:3344:101::a]:61907
req_id = 5d08cbda-d713-4276-92fa-b97d5f539830
response_code = 200
uri = /crucible/0/regions/9bc04a9d-7880-4965-9c9e-9dde35d01a88
|