Max level shown:
1 I250401 17:45:19.870390 736 util/log/file_sync_buffer.go:238 ⋮ [config] file created at: 2025/04/01 17:45:19
2 I250401 17:45:19.870404 736 util/log/file_sync_buffer.go:238 ⋮ [config] running on machine: ‹bmat-EVT22200007-00005bb2›
3 I250401 17:45:19.870413 736 util/log/file_sync_buffer.go:238 ⋮ [config] binary: CockroachDB OSS v22.1.22-29-g865aff1595 (x86_64-pc-solaris2.11, built 2024/11/04 18:39:00, go1.17.13)
4 I250401 17:45:19.870420 736 util/log/file_sync_buffer.go:238 ⋮ [config] arguments: [‹cockroach› ‹start-single-node› ‹--insecure› ‹--http-addr=:0› ‹--store=path=/var/tmp/omicron_tmp/crdb-base-build/.tmpSRWa2Z,ballast-size=0› ‹--listen-addr› ‹[::1]:0› ‹--listening-url-file› ‹/var/tmp/omicron_tmp/.tmpw9SKlU/listen-url›]
5 I250401 17:45:19.870440 736 util/log/file_sync_buffer.go:238 ⋮ [config] log format (utf8=✓): crdb-v2
6 I250401 17:45:19.870445 736 util/log/file_sync_buffer.go:238 ⋮ [config] line format: [IWEF]yymmdd hh:mm:ss.uuuuuu goid [chan@]file:line redactionmark \[tags\] [counter] msg
7 I250401 17:45:19.869986 736 5@util/log/event_log.go:32 ⋮ [n1,intExec=‹create-default-DB›] 1 ={"Timestamp":1743529519865483717,"EventType":"create_database","Statement":"CREATE DATABASE IF NOT EXISTS ‹defaultdb›","Tag":"CREATE DATABASE","User":"root","DescriptorID":100,"ApplicationName":"$ internal-create-default-DB","DatabaseName":"‹defaultdb›"}
8 I250401 17:45:19.875127 755 5@util/log/event_log.go:32 ⋮ [n1,intExec=‹create-default-DB›] 2 ={"Timestamp":1743529519870804859,"EventType":"create_database","Statement":"CREATE DATABASE IF NOT EXISTS ‹postgres›","Tag":"CREATE DATABASE","User":"root","DescriptorID":102,"ApplicationName":"$ internal-create-default-DB","DatabaseName":"‹postgres›"}
9 I250401 17:45:20.982364 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 3 ={"Timestamp":1743529520070275671,"EventType":"create_database","Statement":"CREATE DATABASE IF NOT EXISTS ‹omicron›","Tag":"CREATE DATABASE","User":"root","DescriptorID":104,"DatabaseName":"‹omicron›"}
10 I250401 17:45:20.983749 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 4 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹clickhouse_mode› AS ENUM ('single_node_only', 'cluster_only', 'both')","Tag":"CREATE TYPE","User":"root","DescriptorID":106,"TypeName":"‹omicron.public.clickhouse_mode›"}
11 I250401 17:45:20.983761 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 5 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹clickhouse_policy› (‹version› INT8 PRIMARY KEY, ‹clickhouse_mode› omicron.public.clickhouse_mode NOT NULL, ‹clickhouse_cluster_target_servers› INT2 NOT NULL, ‹clickhouse_cluster_target_keepers› INT2 NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":108,"TableName":"‹omicron.public.clickhouse_policy›"}
12 I250401 17:45:20.983775 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 6 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹rack› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹initialized› BOOL NOT NULL, ‹tuf_base_url› STRING(512), ‹rack_subnet› INET)","Tag":"CREATE TABLE","User":"root","DescriptorID":109,"TableName":"‹omicron.public.rack›"}
13 I250401 17:45:20.983789 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 7 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹sled_policy› AS ENUM ('in_service', 'no_provision', 'expunged')","Tag":"CREATE TYPE","User":"root","DescriptorID":110,"TypeName":"‹omicron.public.sled_policy›"}
14 I250401 17:45:20.983799 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 8 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹sled_state› AS ENUM ('active', 'decommissioned')","Tag":"CREATE TYPE","User":"root","DescriptorID":112,"TypeName":"‹omicron.public.sled_state›"}
15 I250401 17:45:20.983808 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 9 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹sled› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹rcgen› INT8 NOT NULL, ‹rack_id› UUID NOT NULL, ‹is_scrimlet› BOOL NOT NULL, ‹serial_number› STRING(63) NOT NULL, ‹part_number› STRING(63) NOT NULL, ‹revision› INT8 NOT NULL, ‹usable_hardware_threads› INT8 NOT NULL, ‹usable_physical_ram› INT8 NOT NULL, ‹reservoir_size› INT8 NOT NULL, ‹ip› INET NOT NULL, ‹port› INT4 NOT NULL, ‹last_used_address› INET NOT NULL, ‹sled_policy› omicron.public.sled_policy NOT NULL, ‹sled_state› omicron.public.sled_state NOT NULL, ‹sled_agent_gen› INT8 NOT NULL DEFAULT ‹1›, ‹repo_depot_port› INT4 NOT NULL, CHECK (‹usable_hardware_threads› BETWEEN ‹0› AND ‹4294967295›), CHECK (‹reservoir_size› < ‹usable_physical_ram›), CHECK (‹port› BETWEEN ‹0› AND ‹65535›), CHECK (‹port› BETWEEN ‹0› AND ‹65535›))","Tag":"CREATE TABLE","User":"root","DescriptorID":114,"TableName":"‹omicron.public.sled›"}
16 I250401 17:45:20.983827 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 10 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹commissioned_sled_uniqueness› ON ‹omicron›.public.‹sled› (‹serial_number›, ‹part_number›) WHERE ‹sled_state› != ‹'decommissioned'›","Tag":"CREATE INDEX","User":"root","DescriptorID":114,"TableName":"‹omicron.public.sled›","IndexName":"‹commissioned_sled_uniqueness›"}
17 I250401 17:45:20.983846 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 11 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_sled_by_rack› ON ‹omicron›.public.‹sled› (‹rack_id›, ‹id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":114,"TableName":"‹omicron.public.sled›","IndexName":"‹lookup_sled_by_rack›"}
18 I250401 17:45:20.983857 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 12 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_sled_by_policy_and_state› ON ‹omicron›.public.‹sled› (‹sled_policy›, ‹sled_state›)","Tag":"CREATE INDEX","User":"root","DescriptorID":114,"TableName":"‹omicron.public.sled›","IndexName":"‹lookup_sled_by_policy_and_state›"}
19 I250401 17:45:20.983867 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 13 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹sled_resource_vmm› (‹id› UUID PRIMARY KEY, ‹sled_id› UUID NOT NULL, ‹hardware_threads› INT8 NOT NULL, ‹rss_ram› INT8 NOT NULL, ‹reservoir_ram› INT8 NOT NULL, ‹instance_id› UUID)","Tag":"CREATE TABLE","User":"root","DescriptorID":115,"TableName":"‹omicron.public.sled_resource_vmm›"}
20 I250401 17:45:20.983877 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 14 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_vmm_resource_by_sled› ON ‹omicron›.public.‹sled_resource_vmm› (‹sled_id›, ‹id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":115,"TableName":"‹omicron.public.sled_resource_vmm›","IndexName":"‹lookup_vmm_resource_by_sled›"}
21 I250401 17:45:20.983889 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 15 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_vmm_resource_by_instance› ON ‹omicron›.public.‹sled_resource_vmm› (‹instance_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":115,"TableName":"‹omicron.public.sled_resource_vmm›","IndexName":"‹lookup_vmm_resource_by_instance›"}
22 I250401 17:45:20.983899 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 16 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹sled_underlay_subnet_allocation› (‹hw_baseboard_id› UUID, ‹rack_id› UUID NOT NULL, ‹sled_id› UUID NOT NULL, ‹subnet_octet› INT2 NOT NULL UNIQUE, PRIMARY KEY (‹hw_baseboard_id›, ‹sled_id›), CHECK (‹subnet_octet› BETWEEN ‹33› AND ‹255›))","Tag":"CREATE TABLE","User":"root","DescriptorID":116,"TableName":"‹omicron.public.sled_underlay_subnet_allocation›"}
23 I250401 17:45:20.983910 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 17 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_subnet_allocation_by_rack_and_sled› ON ‹omicron›.public.‹sled_underlay_subnet_allocation› (‹rack_id›, ‹sled_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":116,"TableName":"‹omicron.public.sled_underlay_subnet_allocation›","IndexName":"‹lookup_subnet_allocation_by_rack_and_sled›"}
24 I250401 17:45:20.983923 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 18 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹rcgen› INT8 NOT NULL, ‹rack_id› UUID NOT NULL, ‹serial_number› STRING(63) NOT NULL, ‹part_number› STRING(63) NOT NULL, ‹revision› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":117,"TableName":"‹omicron.public.switch›"}
25 I250401 17:45:20.983936 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 19 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_switch_by_rack› ON ‹omicron›.public.‹switch› (‹rack_id›, ‹id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":117,"TableName":"‹omicron.public.switch›","IndexName":"‹lookup_switch_by_rack›"}
26 I250401 17:45:20.983947 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 20 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹service_kind› AS ENUM ('clickhouse', 'clickhouse_keeper', 'clickhouse_server', 'cockroach', 'crucible', 'crucible_pantry', 'dendrite', 'external_dns', 'internal_dns', 'nexus', 'ntp', 'oximeter', 'tfport', 'mgd')","Tag":"CREATE TYPE","User":"root","DescriptorID":118,"TypeName":"‹omicron.public.service_kind›"}
27 I250401 17:45:20.983956 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 21 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹physical_disk_kind› AS ENUM ('m2', 'u2')","Tag":"CREATE TYPE","User":"root","DescriptorID":120,"TypeName":"‹omicron.public.physical_disk_kind›"}
28 I250401 17:45:20.983964 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 22 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹physical_disk_policy› AS ENUM ('in_service', 'expunged')","Tag":"CREATE TYPE","User":"root","DescriptorID":122,"TypeName":"‹omicron.public.physical_disk_policy›"}
29 I250401 17:45:20.983972 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 23 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹physical_disk_state› AS ENUM ('active', 'decommissioned')","Tag":"CREATE TYPE","User":"root","DescriptorID":124,"TypeName":"‹omicron.public.physical_disk_state›"}
30 I250401 17:45:20.983980 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 24 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹physical_disk› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹rcgen› INT8 NOT NULL, ‹vendor› STRING(63) NOT NULL, ‹serial› STRING(63) NOT NULL, ‹model› STRING(63) NOT NULL, ‹variant› omicron.public.physical_disk_kind NOT NULL, ‹sled_id› UUID NOT NULL, ‹disk_policy› omicron.public.physical_disk_policy NOT NULL, ‹disk_state› omicron.public.physical_disk_state NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":126,"TableName":"‹omicron.public.physical_disk›"}
31 I250401 17:45:20.984019 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 25 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹vendor_serial_model_unique› ON ‹omicron›.public.‹physical_disk› (‹vendor›, ‹serial›, ‹model›) WHERE (‹time_deleted› IS NULL) AND (‹disk_state› != ‹'decommissioned'›)","Tag":"CREATE INDEX","User":"root","DescriptorID":126,"TableName":"‹omicron.public.physical_disk›","IndexName":"‹vendor_serial_model_unique›"}
32 I250401 17:45:20.984031 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 26 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_physical_disk_by_variant› ON ‹omicron›.public.‹physical_disk› (‹variant›, ‹id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":126,"TableName":"‹omicron.public.physical_disk›","IndexName":"‹lookup_physical_disk_by_variant›"}
33 I250401 17:45:20.984045 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 27 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_physical_disk_by_sled› ON ‹omicron›.public.‹physical_disk› (‹sled_id›, ‹id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":126,"TableName":"‹omicron.public.physical_disk›","IndexName":"‹lookup_physical_disk_by_sled›"}
34 I250401 17:45:20.984055 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 28 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹certificate› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹silo_id› UUID NOT NULL, ‹service› omicron.public.service_kind NOT NULL, ‹cert› BYTES NOT NULL, ‹key› BYTES NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":127,"TableName":"‹omicron.public.certificate›"}
35 I250401 17:45:20.984066 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 29 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_certificate_by_service› ON ‹omicron›.public.‹certificate› (‹service›, ‹id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":127,"TableName":"‹omicron.public.certificate›","IndexName":"‹lookup_certificate_by_service›"}
36 I250401 17:45:20.984081 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 30 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_certificate_by_silo› ON ‹omicron›.public.‹certificate› (‹silo_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":127,"TableName":"‹omicron.public.certificate›","IndexName":"‹lookup_certificate_by_silo›"}
37 I250401 17:45:20.984092 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 31 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹virtual_provisioning_collection› (‹id› UUID PRIMARY KEY, ‹time_modified› TIMESTAMPTZ NOT NULL DEFAULT now(), ‹collection_type› STRING(63) NOT NULL, ‹virtual_disk_bytes_provisioned› INT8 NOT NULL, ‹cpus_provisioned› INT8 NOT NULL, ‹ram_provisioned› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":128,"TableName":"‹omicron.public.virtual_provisioning_collection›"}
38 I250401 17:45:20.984102 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 32 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹virtual_provisioning_resource› (‹id› UUID PRIMARY KEY, ‹time_modified› TIMESTAMPTZ NOT NULL DEFAULT now(), ‹resource_type› STRING(63) NOT NULL, ‹virtual_disk_bytes_provisioned› INT8 NOT NULL, ‹cpus_provisioned› INT8 NOT NULL, ‹ram_provisioned› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":129,"TableName":"‹omicron.public.virtual_provisioning_resource›"}
39 I250401 17:45:20.984118 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 33 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹zpool› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹rcgen› INT8 NOT NULL, ‹sled_id› UUID NOT NULL, ‹physical_disk_id› UUID NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":130,"TableName":"‹omicron.public.zpool›"}
40 I250401 17:45:20.984132 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 34 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_zpool_by_disk› ON ‹omicron›.public.‹zpool› (‹physical_disk_id›, ‹id›) WHERE (‹physical_disk_id› IS NOT NULL) AND (‹time_deleted› IS NULL)","Tag":"CREATE INDEX","User":"root","DescriptorID":130,"TableName":"‹omicron.public.zpool›","IndexName":"‹lookup_zpool_by_disk›"}
41 I250401 17:45:20.984142 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 35 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹dataset_kind› AS ENUM ('crucible', 'cockroach', 'clickhouse', 'clickhouse_keeper', 'clickhouse_server', 'external_dns', 'internal_dns', 'zone_root', 'zone', 'debug', 'update')","Tag":"CREATE TYPE","User":"root","DescriptorID":131,"TypeName":"‹omicron.public.dataset_kind›"}
42 I250401 17:45:20.984151 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 36 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹crucible_dataset› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹rcgen› INT8 NOT NULL, ‹pool_id› UUID NOT NULL, ‹ip› INET NOT NULL, ‹port› INT4 NOT NULL, ‹size_used› INT8 NOT NULL, CHECK (‹port› BETWEEN ‹0› AND ‹65535›))","Tag":"CREATE TABLE","User":"root","DescriptorID":133,"TableName":"‹omicron.public.crucible_dataset›"}
43 I250401 17:45:20.984162 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 37 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_crucible_dataset_by_size_used› ON ‹omicron›.public.‹crucible_dataset› (‹size_used›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":133,"TableName":"‹omicron.public.crucible_dataset›","IndexName":"‹lookup_crucible_dataset_by_size_used›"}
44 I250401 17:45:20.984172 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 38 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_crucible_dataset_by_zpool› ON ‹omicron›.public.‹crucible_dataset› (‹pool_id›, ‹id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":133,"TableName":"‹omicron.public.crucible_dataset›","IndexName":"‹lookup_crucible_dataset_by_zpool›"}
45 I250401 17:45:20.984182 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 39 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_crucible_dataset_by_ip› ON ‹omicron›.public.‹crucible_dataset› (‹ip›)","Tag":"CREATE INDEX","User":"root","DescriptorID":133,"TableName":"‹omicron.public.crucible_dataset›","IndexName":"‹lookup_crucible_dataset_by_ip›"}
46 I250401 17:45:20.984194 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 40 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹region› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹dataset_id› UUID NOT NULL, ‹volume_id› UUID NOT NULL, ‹block_size› INT8 NOT NULL, ‹blocks_per_extent› INT8 NOT NULL, ‹extent_count› INT8 NOT NULL, ‹port› INT4, ‹read_only› BOOL NOT NULL, ‹deleting› BOOL NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":134,"TableName":"‹omicron.public.region›"}
47 I250401 17:45:20.984203 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 41 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_region_by_volume› ON ‹omicron›.public.‹region› (‹volume_id›, ‹id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":134,"TableName":"‹omicron.public.region›","IndexName":"‹lookup_region_by_volume›"}
48 I250401 17:45:20.984214 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 42 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_region_by_dataset› ON ‹omicron›.public.‹region› (‹dataset_id›, ‹id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":134,"TableName":"‹omicron.public.region›","IndexName":"‹lookup_region_by_dataset›"}
49 I250401 17:45:20.984223 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 43 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_regions_missing_ports› ON ‹omicron›.public.‹region› (‹id›) WHERE ‹port› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":134,"TableName":"‹omicron.public.region›","IndexName":"‹lookup_regions_missing_ports›"}
50 I250401 17:45:20.984233 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 44 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_regions_by_read_only› ON ‹omicron›.public.‹region› (‹read_only›)","Tag":"CREATE INDEX","User":"root","DescriptorID":134,"TableName":"‹omicron.public.region›","IndexName":"‹lookup_regions_by_read_only›"}
51 I250401 17:45:20.984244 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 45 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹region_snapshot› (‹dataset_id› UUID NOT NULL, ‹region_id› UUID NOT NULL, ‹snapshot_id› UUID NOT NULL, ‹snapshot_addr› STRING NOT NULL, ‹volume_references› INT8 NOT NULL, ‹deleting› BOOL NOT NULL, PRIMARY KEY (‹dataset_id›, ‹region_id›, ‹snapshot_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":135,"TableName":"‹omicron.public.region_snapshot›"}
52 I250401 17:45:20.984254 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 46 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_region_by_dataset› ON ‹omicron›.public.‹region_snapshot› (‹dataset_id›, ‹region_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":135,"TableName":"‹omicron.public.region_snapshot›","IndexName":"‹lookup_region_by_dataset›"}
53 I250401 17:45:20.984263 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 47 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_region_snapshot_by_region_id› ON ‹omicron›.public.‹region_snapshot› (‹region_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":135,"TableName":"‹omicron.public.region_snapshot›","IndexName":"‹lookup_region_snapshot_by_region_id›"}
54 I250401 17:45:20.984273 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 48 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_region_snapshot_by_deleting› ON ‹omicron›.public.‹region_snapshot› (‹deleting›)","Tag":"CREATE INDEX","User":"root","DescriptorID":135,"TableName":"‹omicron.public.region_snapshot›","IndexName":"‹lookup_region_snapshot_by_deleting›"}
55 I250401 17:45:20.984284 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 49 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_region_snapshot_by_volume_reference› ON ‹omicron›.public.‹region_snapshot› (‹volume_references›)","Tag":"CREATE INDEX","User":"root","DescriptorID":135,"TableName":"‹omicron.public.region_snapshot›","IndexName":"‹lookup_region_snapshot_by_volume_reference›"}
56 I250401 17:45:20.984297 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 50 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_region_snapshot_by_snapshot_addr› ON ‹omicron›.public.‹region_snapshot› (‹snapshot_addr›)","Tag":"CREATE INDEX","User":"root","DescriptorID":135,"TableName":"‹omicron.public.region_snapshot›","IndexName":"‹lookup_region_snapshot_by_snapshot_addr›"}
57 I250401 17:45:20.984306 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 51 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹volume› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹rcgen› INT8 NOT NULL, ‹data› STRING NOT NULL, ‹resources_to_clean_up› STRING)","Tag":"CREATE TABLE","User":"root","DescriptorID":136,"TableName":"‹omicron.public.volume›"}
58 I250401 17:45:20.984315 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 52 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_volume_by_deleted› ON ‹omicron›.public.‹volume› (‹time_deleted›)","Tag":"CREATE INDEX","User":"root","DescriptorID":136,"TableName":"‹omicron.public.volume›","IndexName":"‹lookup_volume_by_deleted›"}
59 I250401 17:45:20.984325 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 53 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹authentication_mode› AS ENUM ('local', 'saml')","Tag":"CREATE TYPE","User":"root","DescriptorID":137,"TypeName":"‹omicron.public.authentication_mode›"}
60 I250401 17:45:20.984334 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 54 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹user_provision_type› AS ENUM ('api_only', 'jit')","Tag":"CREATE TYPE","User":"root","DescriptorID":139,"TypeName":"‹omicron.public.user_provision_type›"}
61 I250401 17:45:20.984342 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 55 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹silo› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹discoverable› BOOL NOT NULL, ‹authentication_mode› omicron.public.authentication_mode NOT NULL, ‹user_provision_type› omicron.public.user_provision_type NOT NULL, ‹mapped_fleet_roles› JSONB NOT NULL, ‹rcgen› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":141,"TableName":"‹omicron.public.silo›"}
62 I250401 17:45:20.984355 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 56 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_silo_by_name› ON ‹omicron›.public.‹silo› (‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":141,"TableName":"‹omicron.public.silo›","IndexName":"‹lookup_silo_by_name›"}
63 I250401 17:45:20.984364 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 57 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹silo_user› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹silo_id› UUID NOT NULL, ‹external_id› STRING NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":142,"TableName":"‹omicron.public.silo_user›"}
64 I250401 17:45:20.984378 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 58 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_silo_user_by_silo› ON ‹omicron›.public.‹silo_user› (‹silo_id›, ‹external_id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":142,"TableName":"‹omicron.public.silo_user›","IndexName":"‹lookup_silo_user_by_silo›"}
65 I250401 17:45:20.984388 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 59 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹silo_user_password_hash› (‹silo_user_id› UUID NOT NULL, ‹hash› STRING NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, PRIMARY KEY (‹silo_user_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":143,"TableName":"‹omicron.public.silo_user_password_hash›"}
66 I250401 17:45:20.984398 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 60 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹silo_group› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹silo_id› UUID NOT NULL, ‹external_id› STRING NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":144,"TableName":"‹omicron.public.silo_group›"}
67 I250401 17:45:20.984409 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 61 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_silo_group_by_silo› ON ‹omicron›.public.‹silo_group› (‹silo_id›, ‹external_id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":144,"TableName":"‹omicron.public.silo_group›","IndexName":"‹lookup_silo_group_by_silo›"}
68 I250401 17:45:20.984419 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 62 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹silo_group_membership› (‹silo_group_id› UUID NOT NULL, ‹silo_user_id› UUID NOT NULL, PRIMARY KEY (‹silo_group_id›, ‹silo_user_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":145,"TableName":"‹omicron.public.silo_group_membership›"}
69 I250401 17:45:20.984427 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 63 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_silo_group_by_user› ON ‹omicron›.public.‹silo_group_membership› (‹silo_user_id›, ‹silo_group_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":145,"TableName":"‹omicron.public.silo_group_membership›","IndexName":"‹lookup_silo_group_by_user›"}
70 I250401 17:45:20.984437 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 64 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹provider_type› AS ENUM ('saml')","Tag":"CREATE TYPE","User":"root","DescriptorID":146,"TypeName":"‹omicron.public.provider_type›"}
71 I250401 17:45:20.984445 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 65 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹identity_provider› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹silo_id› UUID NOT NULL, ‹provider_type› omicron.public.provider_type NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":148,"TableName":"‹omicron.public.identity_provider›"}
72 I250401 17:45:20.984454 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 66 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_idp_by_silo_id› ON ‹omicron›.public.‹identity_provider› (‹silo_id›, ‹id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":148,"TableName":"‹omicron.public.identity_provider›","IndexName":"‹lookup_idp_by_silo_id›"}
73 I250401 17:45:20.984466 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 67 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_idp_by_silo_name› ON ‹omicron›.public.‹identity_provider› (‹silo_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":148,"TableName":"‹omicron.public.identity_provider›","IndexName":"‹lookup_idp_by_silo_name›"}
74 I250401 17:45:20.984475 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 68 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹saml_identity_provider› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹silo_id› UUID NOT NULL, ‹idp_metadata_document_string› STRING NOT NULL, ‹idp_entity_id› STRING NOT NULL, ‹sp_client_id› STRING NOT NULL, ‹acs_url› STRING NOT NULL, ‹slo_url› STRING NOT NULL, ‹technical_contact_email› STRING NOT NULL, ‹public_cert› STRING, ‹private_key› STRING, ‹group_attribute_name› STRING)","Tag":"CREATE TABLE","User":"root","DescriptorID":149,"TableName":"‹omicron.public.saml_identity_provider›"}
75 I250401 17:45:20.984488 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 69 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_saml_idp_by_silo_id› ON ‹omicron›.public.‹saml_identity_provider› (‹silo_id›, ‹id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":149,"TableName":"‹omicron.public.saml_identity_provider›","IndexName":"‹lookup_saml_idp_by_silo_id›"}
76 I250401 17:45:20.984497 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 70 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_saml_idp_by_silo_name› ON ‹omicron›.public.‹saml_identity_provider› (‹silo_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":149,"TableName":"‹omicron.public.saml_identity_provider›","IndexName":"‹lookup_saml_idp_by_silo_name›"}
77 I250401 17:45:20.984507 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 71 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹ssh_key› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹silo_user_id› UUID NOT NULL, ‹public_key› STRING(1023) NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":150,"TableName":"‹omicron.public.ssh_key›"}
78 I250401 17:45:20.984517 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 72 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_ssh_key_by_silo_user› ON ‹omicron›.public.‹ssh_key› (‹silo_user_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":150,"TableName":"‹omicron.public.ssh_key›","IndexName":"‹lookup_ssh_key_by_silo_user›"}
79 I250401 17:45:20.984526 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 73 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹instance_ssh_key› (‹instance_id› UUID NOT NULL, ‹ssh_key_id› UUID NOT NULL, PRIMARY KEY (‹instance_id›, ‹ssh_key_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":151,"TableName":"‹omicron.public.instance_ssh_key›"}
80 I250401 17:45:20.984537 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 74 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹silo_quotas› (‹silo_id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹cpus› INT8 NOT NULL, ‹memory_bytes› INT8 NOT NULL, ‹storage_bytes› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":152,"TableName":"‹omicron.public.silo_quotas›"}
81 I250401 17:45:20.984547 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 75 ={"Timestamp":1743529520070275671,"EventType":"create_view","Statement":"CREATE VIEW IF NOT EXISTS ‹omicron›.public.‹silo_utilization› AS SELECT ‹c›.‹id› AS ‹silo_id›, ‹s›.‹name› AS ‹silo_name›, ‹c›.‹cpus_provisioned› AS ‹cpus_provisioned›, ‹c›.‹ram_provisioned› AS ‹memory_provisioned›, ‹c›.‹virtual_disk_bytes_provisioned› AS ‹storage_provisioned›, ‹q›.‹cpus› AS ‹cpus_allocated›, ‹q›.‹memory_bytes› AS ‹memory_allocated›, ‹q›.‹storage_bytes› AS ‹storage_allocated›, ‹s›.‹discoverable› AS ‹silo_discoverable› FROM ‹omicron›.public.‹virtual_provisioning_collection› AS ‹c› RIGHT JOIN ‹omicron›.public.‹silo_quotas› AS ‹q› ON ‹c›.‹id› = ‹q›.‹silo_id› INNER JOIN ‹omicron›.public.‹silo› AS ‹s› ON ‹c›.‹id› = ‹s›.‹id› WHERE (‹c›.‹collection_type› = ‹'Silo'›) AND (‹s›.‹time_deleted› IS NULL)","Tag":"CREATE VIEW","User":"root","DescriptorID":153,"ViewName":"‹omicron.public.silo_utilization›","ViewQuery":"‹SELECT c.id AS silo_id, s.name AS silo_name, c.cpus_provisioned AS cpus_provisioned, c.ram_provisioned AS memory_provisioned, c.virtual_disk_bytes_provisioned AS storage_provisioned, q.cpus AS cpus_allocated, q.memory_bytes AS memory_allocated, q.storage_bytes AS storage_allocated, s.discoverable AS silo_discoverable FROM omicron.public.virtual_provisioning_collection AS c RIGHT JOIN omicron.public.silo_quotas AS q ON c.id = q.silo_id INNER JOIN omicron.public.silo AS s ON c.id = s.id WHERE (c.collection_type = 'Silo') AND (s.time_deleted IS NULL)›"}
82 I250401 17:45:20.984584 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 76 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹project› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹rcgen› INT8 NOT NULL, ‹silo_id› UUID NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":154,"TableName":"‹omicron.public.project›"}
83 I250401 17:45:20.984594 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 77 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_project_by_silo› ON ‹omicron›.public.‹project› (‹silo_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":154,"TableName":"‹omicron.public.project›","IndexName":"‹lookup_project_by_silo›"}
84 I250401 17:45:20.984603 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 78 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹instance_state_v2› AS ENUM ('creating', 'no_vmm', 'vmm', 'failed', 'destroyed')","Tag":"CREATE TYPE","User":"root","DescriptorID":155,"TypeName":"‹omicron.public.instance_state_v2›"}
85 I250401 17:45:20.984619 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 79 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹vmm_state› AS ENUM ('creating', 'starting', 'running', 'stopping', 'stopped', 'rebooting', 'migrating', 'failed', 'destroyed', 'saga_unwound')","Tag":"CREATE TYPE","User":"root","DescriptorID":157,"TypeName":"‹omicron.public.vmm_state›"}
86 I250401 17:45:20.984627 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 80 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹instance_auto_restart› AS ENUM ('never', 'best_effort')","Tag":"CREATE TYPE","User":"root","DescriptorID":159,"TypeName":"‹omicron.public.instance_auto_restart›"}
87 I250401 17:45:20.984636 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 81 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹instance› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹project_id› UUID NOT NULL, ‹user_data› BYTES NOT NULL, ‹time_state_updated› TIMESTAMPTZ NOT NULL, ‹state_generation› INT8 NOT NULL, ‹active_propolis_id› UUID, ‹target_propolis_id› UUID, ‹migration_id› UUID, ‹ncpus› INT8 NOT NULL, ‹memory› INT8 NOT NULL, ‹hostname› STRING(63) NOT NULL, ‹updater_id› UUID, ‹updater_gen› INT8 NOT NULL DEFAULT ‹0›, ‹state› omicron.public.instance_state_v2 NOT NULL, ‹time_last_auto_restarted› TIMESTAMPTZ, ‹auto_restart_policy› omicron.public.instance_auto_restart, ‹auto_restart_cooldown› INTERVAL, ‹boot_disk_id› UUID, CONSTRAINT ‹vmm_iff_active_propolis› CHECK (((‹state› = ‹'vmm'›) AND (‹active_propolis_id› IS NOT NULL)) OR ((‹state› != ‹'vmm'›) AND (‹active_propolis_id› IS NULL))))","Tag":"CREATE TABLE","User":"root","DescriptorID":161,"TableName":"‹omicron.public.instance›"}
88 I250401 17:45:20.984649 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 82 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_instance_by_project› ON ‹omicron›.public.‹instance› (‹project_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":161,"TableName":"‹omicron.public.instance›","IndexName":"‹lookup_instance_by_project›"}
89 I250401 17:45:20.984658 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 83 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_instance_by_state› ON ‹omicron›.public.‹instance› (‹state›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":161,"TableName":"‹omicron.public.instance›","IndexName":"‹lookup_instance_by_state›"}
90 I250401 17:45:20.984668 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 84 ={"Timestamp":1743529520070275671,"EventType":"create_view","Statement":"CREATE VIEW IF NOT EXISTS ‹omicron›.public.‹sled_instance› AS SELECT ‹instance›.‹id› FROM ‹omicron›.public.‹instance› AS ‹instance› WHERE ‹instance›.‹time_deleted› IS NULL","Tag":"CREATE VIEW","User":"root","DescriptorID":162,"ViewName":"‹omicron.public.sled_instance›","ViewQuery":"‹SELECT instance.id FROM omicron.public.instance AS instance WHERE instance.time_deleted IS NULL›"}
91 I250401 17:45:20.984681 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 85 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹block_size› AS ENUM ('512', '2048', '4096')","Tag":"CREATE TYPE","User":"root","DescriptorID":163,"TypeName":"‹omicron.public.block_size›"}
92 I250401 17:45:20.984691 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 86 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹disk› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹rcgen› INT8 NOT NULL, ‹project_id› UUID NOT NULL, ‹volume_id› UUID NOT NULL, ‹disk_state› STRING(32) NOT NULL, ‹attach_instance_id› UUID, ‹state_generation› INT8 NOT NULL, ‹slot› INT2, ‹time_state_updated› TIMESTAMPTZ NOT NULL, ‹size_bytes› INT8 NOT NULL, ‹block_size› omicron.public.block_size NOT NULL, ‹origin_snapshot› UUID, ‹origin_image› UUID, ‹pantry_address› STRING, CHECK ((‹slot› >= ‹0›) AND (‹slot› < ‹8›)))","Tag":"CREATE TABLE","User":"root","DescriptorID":165,"TableName":"‹omicron.public.disk›"}
93 I250401 17:45:20.984702 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 87 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_disk_by_project› ON ‹omicron›.public.‹disk› (‹project_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":165,"TableName":"‹omicron.public.disk›","IndexName":"‹lookup_disk_by_project›"}
94 I250401 17:45:20.984711 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 88 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_disk_by_instance› ON ‹omicron›.public.‹disk› (‹attach_instance_id›, ‹id›) WHERE (‹time_deleted› IS NULL) AND (‹attach_instance_id› IS NOT NULL)","Tag":"CREATE INDEX","User":"root","DescriptorID":165,"TableName":"‹omicron.public.disk›","IndexName":"‹lookup_disk_by_instance›"}
95 I250401 17:45:20.984721 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 89 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_deleted_disk› ON ‹omicron›.public.‹disk› (‹id›) WHERE ‹time_deleted› IS NOT NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":165,"TableName":"‹omicron.public.disk›","IndexName":"‹lookup_deleted_disk›"}
96 I250401 17:45:20.984730 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 90 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_disk_by_volume_id› ON ‹omicron›.public.‹disk› (‹volume_id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":165,"TableName":"‹omicron.public.disk›","IndexName":"‹lookup_disk_by_volume_id›"}
97 I250401 17:45:20.984738 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 91 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹image› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹silo_id› UUID NOT NULL, ‹project_id› UUID, ‹volume_id› UUID NOT NULL, ‹url› STRING(8192), ‹os› STRING(64) NOT NULL, ‹version› STRING(64) NOT NULL, ‹digest› STRING, ‹block_size› omicron.public.block_size NOT NULL, ‹size_bytes› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":166,"TableName":"‹omicron.public.image›"}
98 I250401 17:45:20.984748 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 92 ={"Timestamp":1743529520070275671,"EventType":"create_view","Statement":"CREATE VIEW IF NOT EXISTS ‹omicron›.public.‹project_image› AS SELECT ‹id›, ‹name›, ‹description›, ‹time_created›, ‹time_modified›, ‹time_deleted›, ‹silo_id›, ‹project_id›, ‹volume_id›, ‹url›, ‹os›, ‹version›, ‹digest›, ‹block_size›, ‹size_bytes› FROM ‹omicron›.public.‹image› WHERE ‹project_id› IS NOT NULL","Tag":"CREATE VIEW","User":"root","DescriptorID":167,"ViewName":"‹omicron.public.project_image›","ViewQuery":"‹SELECT id, name, description, time_created, time_modified, time_deleted, silo_id, project_id, volume_id, url, os, version, digest, block_size, size_bytes FROM omicron.public.image WHERE project_id IS NOT NULL›"}
99 I250401 17:45:20.984767 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 93 ={"Timestamp":1743529520070275671,"EventType":"create_view","Statement":"CREATE VIEW IF NOT EXISTS ‹omicron›.public.‹silo_image› AS SELECT ‹id›, ‹name›, ‹description›, ‹time_created›, ‹time_modified›, ‹time_deleted›, ‹silo_id›, ‹volume_id›, ‹url›, ‹os›, ‹version›, ‹digest›, ‹block_size›, ‹size_bytes› FROM ‹omicron›.public.‹image› WHERE ‹project_id› IS NULL","Tag":"CREATE VIEW","User":"root","DescriptorID":168,"ViewName":"‹omicron.public.silo_image›","ViewQuery":"‹SELECT id, name, description, time_created, time_modified, time_deleted, silo_id, volume_id, url, os, version, digest, block_size, size_bytes FROM omicron.public.image WHERE project_id IS NULL›"}
100 I250401 17:45:20.984784 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 94 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_image_by_silo› ON ‹omicron›.public.‹image› (‹silo_id›, ‹name›) WHERE (‹time_deleted› IS NULL) AND (‹project_id› IS NULL)","Tag":"CREATE INDEX","User":"root","DescriptorID":166,"TableName":"‹omicron.public.image›","IndexName":"‹lookup_image_by_silo›"}
101 I250401 17:45:20.984793 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 95 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_image_by_silo_and_project› ON ‹omicron›.public.‹image› (‹silo_id›, ‹project_id›, ‹name›) WHERE (‹time_deleted› IS NULL) AND (‹project_id› IS NOT NULL)","Tag":"CREATE INDEX","User":"root","DescriptorID":166,"TableName":"‹omicron.public.image›","IndexName":"‹lookup_image_by_silo_and_project›"}
102 I250401 17:45:20.984803 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 96 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹snapshot_state› AS ENUM ('creating', 'ready', 'faulted', 'destroyed')","Tag":"CREATE TYPE","User":"root","DescriptorID":169,"TypeName":"‹omicron.public.snapshot_state›"}
103 I250401 17:45:20.984819 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 97 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹snapshot› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹project_id› UUID NOT NULL, ‹disk_id› UUID NOT NULL, ‹volume_id› UUID NOT NULL, ‹destination_volume_id› UUID NOT NULL, ‹gen› INT8 NOT NULL, ‹state› omicron.public.snapshot_state NOT NULL, ‹block_size› omicron.public.block_size NOT NULL, ‹size_bytes› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":171,"TableName":"‹omicron.public.snapshot›"}
104 I250401 17:45:20.984833 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 98 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_snapshot_by_project› ON ‹omicron›.public.‹snapshot› (‹project_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":171,"TableName":"‹omicron.public.snapshot›","IndexName":"‹lookup_snapshot_by_project›"}
105 I250401 17:45:20.984847 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 99 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_snapshot_by_destination_volume_id› ON ‹omicron›.public.‹snapshot› (‹destination_volume_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":171,"TableName":"‹omicron.public.snapshot›","IndexName":"‹lookup_snapshot_by_destination_volume_id›"}
106 I250401 17:45:20.984858 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 100 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_snapshot_by_volume_id› ON ‹omicron›.public.‹snapshot› (‹volume_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":171,"TableName":"‹omicron.public.snapshot›","IndexName":"‹lookup_snapshot_by_volume_id›"}
107 I250401 17:45:20.984869 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 101 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹oximeter› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹ip› INET NOT NULL, ‹port› INT4 NOT NULL, ‹time_expunged› TIMESTAMPTZ, CHECK (‹port› BETWEEN ‹0› AND ‹65535›))","Tag":"CREATE TABLE","User":"root","DescriptorID":172,"TableName":"‹omicron.public.oximeter›"}
108 I250401 17:45:20.984877 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 102 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹list_non_expunged_oximeter› ON ‹omicron›.public.‹oximeter› (‹id›) WHERE ‹time_expunged› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":172,"TableName":"‹omicron.public.oximeter›","IndexName":"‹list_non_expunged_oximeter›"}
109 I250401 17:45:20.984886 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 103 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹producer_kind› AS ENUM ('sled_agent', 'service', 'instance', 'management_gateway')","Tag":"CREATE TYPE","User":"root","DescriptorID":173,"TypeName":"‹omicron.public.producer_kind›"}
110 I250401 17:45:20.984895 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 104 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹metric_producer› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹kind› omicron.public.producer_kind NOT NULL, ‹ip› INET NOT NULL, ‹port› INT4 NOT NULL, ‹\"interval\"› FLOAT8 NOT NULL, ‹oximeter_id› UUID NOT NULL, CHECK (‹port› BETWEEN ‹0› AND ‹65535›))","Tag":"CREATE TABLE","User":"root","DescriptorID":175,"TableName":"‹omicron.public.metric_producer›"}
111 I250401 17:45:20.984906 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 105 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_producer_by_oximeter› ON ‹omicron›.public.‹metric_producer› (‹oximeter_id›, ‹id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":175,"TableName":"‹omicron.public.metric_producer›","IndexName":"‹lookup_producer_by_oximeter›"}
112 I250401 17:45:20.984916 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 106 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_producer_by_time_modified› ON ‹omicron›.public.‹metric_producer› (‹time_modified›)","Tag":"CREATE INDEX","User":"root","DescriptorID":175,"TableName":"‹omicron.public.metric_producer›","IndexName":"‹lookup_producer_by_time_modified›"}
113 I250401 17:45:20.984928 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 107 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹vpc› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹project_id› UUID NOT NULL, ‹system_router_id› UUID NOT NULL, ‹dns_name› STRING(63) NOT NULL, ‹vni› INT4 NOT NULL, ‹ipv6_prefix› INET NOT NULL, ‹firewall_gen› INT8 NOT NULL, ‹subnet_gen› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":176,"TableName":"‹omicron.public.vpc›"}
114 I250401 17:45:20.984938 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 108 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_vpc_by_project› ON ‹omicron›.public.‹vpc› (‹project_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":176,"TableName":"‹omicron.public.vpc›","IndexName":"‹lookup_vpc_by_project›"}
115 I250401 17:45:20.984947 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 109 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_vpc_by_vni› ON ‹omicron›.public.‹vpc› (‹vni›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":176,"TableName":"‹omicron.public.vpc›","IndexName":"‹lookup_vpc_by_vni›"}
116 I250401 17:45:20.984956 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 110 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹vpc_subnet› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹vpc_id› UUID NOT NULL, ‹rcgen› INT8 NOT NULL, ‹ipv4_block› INET NOT NULL, ‹ipv6_block› INET NOT NULL, ‹custom_router_id› UUID)","Tag":"CREATE TABLE","User":"root","DescriptorID":177,"TableName":"‹omicron.public.vpc_subnet›"}
117 I250401 17:45:20.984965 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 111 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹vpc_subnet_vpc_id_name_key› ON ‹omicron›.public.‹vpc_subnet› (‹vpc_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":177,"TableName":"‹omicron.public.vpc_subnet›","IndexName":"‹vpc_subnet_vpc_id_name_key›"}
118 I250401 17:45:20.984976 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 112 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹network_interface_kind› AS ENUM ('instance', 'service', 'probe')","Tag":"CREATE TYPE","User":"root","DescriptorID":178,"TypeName":"‹omicron.public.network_interface_kind›"}
119 I250401 17:45:20.984984 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 113 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹network_interface› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹kind› omicron.public.network_interface_kind NOT NULL, ‹parent_id› UUID NOT NULL, ‹vpc_id› UUID NOT NULL, ‹subnet_id› UUID NOT NULL, ‹mac› INT8 NOT NULL, ‹ip› INET NOT NULL, ‹slot› INT2 NOT NULL, ‹is_primary› BOOL NOT NULL, ‹transit_ips› INET[] NOT NULL DEFAULT ARRAY[], CHECK ((‹slot› >= ‹0›) AND (‹slot› < ‹8›)))","Tag":"CREATE TABLE","User":"root","DescriptorID":180,"TableName":"‹omicron.public.network_interface›"}
120 I250401 17:45:20.985037 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 114 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹instance_network_interface_mac› ON ‹omicron›.public.‹network_interface› (‹mac›) STORING (‹time_deleted›)","Tag":"CREATE INDEX","User":"root","DescriptorID":180,"TableName":"‹omicron.public.network_interface›","IndexName":"‹instance_network_interface_mac›"}
121 I250401 17:45:20.985048 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 115 ={"Timestamp":1743529520070275671,"EventType":"create_view","Statement":"CREATE VIEW IF NOT EXISTS ‹omicron›.public.‹instance_network_interface› AS SELECT ‹id›, ‹name›, ‹description›, ‹time_created›, ‹time_modified›, ‹time_deleted›, ‹parent_id› AS ‹instance_id›, ‹vpc_id›, ‹subnet_id›, ‹mac›, ‹ip›, ‹slot›, ‹is_primary›, ‹transit_ips› FROM ‹omicron›.public.‹network_interface› WHERE ‹kind› = ‹'instance'›","Tag":"CREATE VIEW","User":"root","DescriptorID":181,"ViewName":"‹omicron.public.instance_network_interface›","ViewQuery":"‹SELECT id, name, description, time_created, time_modified, time_deleted, parent_id AS instance_id, vpc_id, subnet_id, mac, ip, slot, is_primary, transit_ips FROM omicron.public.network_interface WHERE kind = 'instance'›"}
122 I250401 17:45:20.985066 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 116 ={"Timestamp":1743529520070275671,"EventType":"create_view","Statement":"CREATE VIEW IF NOT EXISTS ‹omicron›.public.‹service_network_interface› AS SELECT ‹id›, ‹name›, ‹description›, ‹time_created›, ‹time_modified›, ‹time_deleted›, ‹parent_id› AS ‹service_id›, ‹vpc_id›, ‹subnet_id›, ‹mac›, ‹ip›, ‹slot›, ‹is_primary› FROM ‹omicron›.public.‹network_interface› WHERE ‹kind› = ‹'service'›","Tag":"CREATE VIEW","User":"root","DescriptorID":182,"ViewName":"‹omicron.public.service_network_interface›","ViewQuery":"‹SELECT id, name, description, time_created, time_modified, time_deleted, parent_id AS service_id, vpc_id, subnet_id, mac, ip, slot, is_primary FROM omicron.public.network_interface WHERE kind = 'service'›"}
123 I250401 17:45:20.985084 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 117 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹network_interface_subnet_id_ip_key› ON ‹omicron›.public.‹network_interface› (‹subnet_id›, ‹ip›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":180,"TableName":"‹omicron.public.network_interface›","IndexName":"‹network_interface_subnet_id_ip_key›"}
124 I250401 17:45:20.985094 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 118 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹network_interface_vpc_id_mac_key› ON ‹omicron›.public.‹network_interface› (‹vpc_id›, ‹mac›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":180,"TableName":"‹omicron.public.network_interface›","IndexName":"‹network_interface_vpc_id_mac_key›"}
125 I250401 17:45:20.985144 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 119 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹network_interface_parent_id_name_kind_key› ON ‹omicron›.public.‹network_interface› (‹parent_id›, ‹name›, ‹kind›) STORING (‹vpc_id›, ‹subnet_id›, ‹is_primary›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":180,"TableName":"‹omicron.public.network_interface›","IndexName":"‹network_interface_parent_id_name_kind_key›"}
126 I250401 17:45:20.985160 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 120 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹network_interface_parent_id_slot_key› ON ‹omicron›.public.‹network_interface› (‹parent_id›, ‹slot›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":180,"TableName":"‹omicron.public.network_interface›","IndexName":"‹network_interface_parent_id_slot_key›"}
127 I250401 17:45:20.985170 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 121 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹vpc_firewall_rule_status› AS ENUM ('disabled', 'enabled')","Tag":"CREATE TYPE","User":"root","DescriptorID":183,"TypeName":"‹omicron.public.vpc_firewall_rule_status›"}
128 I250401 17:45:20.985184 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 122 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹vpc_firewall_rule_direction› AS ENUM ('inbound', 'outbound')","Tag":"CREATE TYPE","User":"root","DescriptorID":185,"TypeName":"‹omicron.public.vpc_firewall_rule_direction›"}
129 I250401 17:45:20.985194 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 123 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹vpc_firewall_rule_action› AS ENUM ('allow', 'deny')","Tag":"CREATE TYPE","User":"root","DescriptorID":187,"TypeName":"‹omicron.public.vpc_firewall_rule_action›"}
130 I250401 17:45:20.985202 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 124 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹vpc_firewall_rule_protocol› AS ENUM ('TCP', 'UDP', 'ICMP')","Tag":"CREATE TYPE","User":"root","DescriptorID":189,"TypeName":"‹omicron.public.vpc_firewall_rule_protocol›"}
131 I250401 17:45:20.985210 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 125 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹vpc_firewall_rule› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹vpc_id› UUID NOT NULL, ‹status› omicron.public.vpc_firewall_rule_status NOT NULL, ‹direction› omicron.public.vpc_firewall_rule_direction NOT NULL, ‹targets› STRING(128)[] NOT NULL, ‹filter_hosts› STRING(128)[], ‹filter_ports› STRING(11)[], ‹filter_protocols› omicron.public.vpc_firewall_rule_protocol[], ‹action› omicron.public.vpc_firewall_rule_action NOT NULL, ‹priority› INT4 NOT NULL, CHECK (‹priority› BETWEEN ‹0› AND ‹65535›))","Tag":"CREATE TABLE","User":"root","DescriptorID":191,"TableName":"‹omicron.public.vpc_firewall_rule›"}
132 I250401 17:45:20.985223 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 126 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_firewall_by_vpc› ON ‹omicron›.public.‹vpc_firewall_rule› (‹vpc_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":191,"TableName":"‹omicron.public.vpc_firewall_rule›","IndexName":"‹lookup_firewall_by_vpc›"}
133 I250401 17:45:20.985234 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 127 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹vpc_router_kind› AS ENUM ('system', 'custom')","Tag":"CREATE TYPE","User":"root","DescriptorID":192,"TypeName":"‹omicron.public.vpc_router_kind›"}
134 I250401 17:45:20.985248 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 128 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹vpc_router› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹kind› omicron.public.vpc_router_kind NOT NULL, ‹vpc_id› UUID NOT NULL, ‹rcgen› INT8 NOT NULL, ‹resolved_version› INT8 NOT NULL DEFAULT ‹0›)","Tag":"CREATE TABLE","User":"root","DescriptorID":194,"TableName":"‹omicron.public.vpc_router›"}
135 I250401 17:45:20.985260 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 129 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_router_by_vpc› ON ‹omicron›.public.‹vpc_router› (‹vpc_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":194,"TableName":"‹omicron.public.vpc_router›","IndexName":"‹lookup_router_by_vpc›"}
136 I250401 17:45:20.985272 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 130 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_routers_in_vpc› ON ‹omicron›.public.‹vpc_router› (‹vpc_id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":194,"TableName":"‹omicron.public.vpc_router›","IndexName":"‹lookup_routers_in_vpc›"}
137 I250401 17:45:20.985281 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 131 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹router_route_kind› AS ENUM ('default', 'vpc_subnet', 'vpc_peering', 'custom')","Tag":"CREATE TYPE","User":"root","DescriptorID":195,"TypeName":"‹omicron.public.router_route_kind›"}
138 I250401 17:45:20.985290 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 132 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹router_route› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹vpc_router_id› UUID NOT NULL, ‹kind› omicron.public.router_route_kind NOT NULL, ‹target› STRING(128) NOT NULL, ‹destination› STRING(128) NOT NULL, ‹vpc_subnet_id› UUID, CONSTRAINT ‹non_null_vpc_subnet› CHECK (((‹kind› = ‹'vpc_subnet'›) AND (‹vpc_subnet_id› IS NOT NULL)) OR ((‹kind› != ‹'vpc_subnet'›) AND (‹vpc_subnet_id› IS NULL))))","Tag":"CREATE TABLE","User":"root","DescriptorID":197,"TableName":"‹omicron.public.router_route›"}
139 I250401 17:45:20.985301 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 133 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_route_by_router› ON ‹omicron›.public.‹router_route› (‹vpc_router_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":197,"TableName":"‹omicron.public.router_route›","IndexName":"‹lookup_route_by_router›"}
140 I250401 17:45:20.985311 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 134 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_subnet_route_by_id› ON ‹omicron›.public.‹router_route› (‹vpc_subnet_id›) WHERE (‹time_deleted› IS NULL) AND (‹kind› = ‹'vpc_subnet'›)","Tag":"CREATE INDEX","User":"root","DescriptorID":197,"TableName":"‹omicron.public.router_route›","IndexName":"‹lookup_subnet_route_by_id›"}
141 I250401 17:45:20.985321 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 135 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹internet_gateway› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹vpc_id› UUID NOT NULL, ‹rcgen› INT8 NOT NULL, ‹resolved_version› INT8 NOT NULL DEFAULT ‹0›)","Tag":"CREATE TABLE","User":"root","DescriptorID":198,"TableName":"‹omicron.public.internet_gateway›"}
142 I250401 17:45:20.985334 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 136 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_internet_gateway_by_vpc› ON ‹omicron›.public.‹internet_gateway› (‹vpc_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":198,"TableName":"‹omicron.public.internet_gateway›","IndexName":"‹lookup_internet_gateway_by_vpc›"}
143 I250401 17:45:20.985343 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 137 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹internet_gateway_ip_pool› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹internet_gateway_id› UUID, ‹ip_pool_id› UUID)","Tag":"CREATE TABLE","User":"root","DescriptorID":199,"TableName":"‹omicron.public.internet_gateway_ip_pool›"}
144 I250401 17:45:20.985354 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 138 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_internet_gateway_ip_pool_by_igw_id› ON ‹omicron›.public.‹internet_gateway_ip_pool› (‹internet_gateway_id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":199,"TableName":"‹omicron.public.internet_gateway_ip_pool›","IndexName":"‹lookup_internet_gateway_ip_pool_by_igw_id›"}
145 I250401 17:45:20.985365 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 139 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹internet_gateway_ip_address› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹internet_gateway_id› UUID, ‹address› INET)","Tag":"CREATE TABLE","User":"root","DescriptorID":200,"TableName":"‹omicron.public.internet_gateway_ip_address›"}
146 I250401 17:45:20.985375 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 140 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_internet_gateway_ip_address_by_igw_id› ON ‹omicron›.public.‹internet_gateway_ip_address› (‹internet_gateway_id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":200,"TableName":"‹omicron.public.internet_gateway_ip_address›","IndexName":"‹lookup_internet_gateway_ip_address_by_igw_id›"}
147 I250401 17:45:20.985386 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 141 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹ip_pool› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹rcgen› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":201,"TableName":"‹omicron.public.ip_pool›"}
148 I250401 17:45:20.985396 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 142 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_pool_by_name› ON ‹omicron›.public.‹ip_pool› (‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":201,"TableName":"‹omicron.public.ip_pool›","IndexName":"‹lookup_pool_by_name›"}
149 I250401 17:45:20.985410 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 143 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹ip_pool_resource_type› AS ENUM ('silo')","Tag":"CREATE TYPE","User":"root","DescriptorID":202,"TypeName":"‹omicron.public.ip_pool_resource_type›"}
150 I250401 17:45:20.985419 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 144 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹ip_pool_resource› (‹ip_pool_id› UUID NOT NULL, ‹resource_type› omicron.public.ip_pool_resource_type NOT NULL, ‹resource_id› UUID NOT NULL, ‹is_default› BOOL NOT NULL, PRIMARY KEY (‹ip_pool_id›, ‹resource_type›, ‹resource_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":204,"TableName":"‹omicron.public.ip_pool_resource›"}
151 I250401 17:45:20.985428 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 145 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹one_default_ip_pool_per_resource› ON ‹omicron›.public.‹ip_pool_resource› (‹resource_id›) WHERE ‹is_default› = ‹true›","Tag":"CREATE INDEX","User":"root","DescriptorID":204,"TableName":"‹omicron.public.ip_pool_resource›","IndexName":"‹one_default_ip_pool_per_resource›"}
152 I250401 17:45:20.985438 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 146 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹ip_pool_resource_id› ON ‹omicron›.public.‹ip_pool_resource› (‹resource_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":204,"TableName":"‹omicron.public.ip_pool_resource›","IndexName":"‹ip_pool_resource_id›"}
153 I250401 17:45:20.985448 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 147 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹ip_pool_resource_ip_pool_id› ON ‹omicron›.public.‹ip_pool_resource› (‹ip_pool_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":204,"TableName":"‹omicron.public.ip_pool_resource›","IndexName":"‹ip_pool_resource_ip_pool_id›"}
154 I250401 17:45:20.985459 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 148 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹ip_pool_range› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹first_address› INET NOT NULL, ‹last_address› INET NOT NULL, ‹ip_pool_id› UUID NOT NULL, ‹rcgen› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":205,"TableName":"‹omicron.public.ip_pool_range›"}
155 I250401 17:45:20.985468 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 149 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_pool_range_by_first_address› ON ‹omicron›.public.‹ip_pool_range› (‹first_address›) STORING (‹last_address›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":205,"TableName":"‹omicron.public.ip_pool_range›","IndexName":"‹lookup_pool_range_by_first_address›"}
156 I250401 17:45:20.985479 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 150 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_pool_range_by_last_address› ON ‹omicron›.public.‹ip_pool_range› (‹last_address›) STORING (‹first_address›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":205,"TableName":"‹omicron.public.ip_pool_range›","IndexName":"‹lookup_pool_range_by_last_address›"}
157 I250401 17:45:20.985492 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 151 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹ip_kind› AS ENUM ('snat', 'ephemeral', 'floating')","Tag":"CREATE TYPE","User":"root","DescriptorID":206,"TypeName":"‹omicron.public.ip_kind›"}
158 I250401 17:45:20.985500 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 152 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹ip_attach_state› AS ENUM ('detached', 'attached', 'detaching', 'attaching')","Tag":"CREATE TYPE","User":"root","DescriptorID":208,"TypeName":"‹omicron.public.ip_attach_state›"}
159 I250401 17:45:20.985508 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 153 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹external_ip› (‹id› UUID PRIMARY KEY, ‹name› STRING(63), ‹description› STRING(512), ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹ip_pool_id› UUID NOT NULL, ‹ip_pool_range_id› UUID NOT NULL, ‹is_service› BOOL NOT NULL, ‹parent_id› UUID, ‹kind› omicron.public.ip_kind NOT NULL, ‹ip› INET NOT NULL, ‹first_port› INT4 NOT NULL, ‹last_port› INT4 NOT NULL, ‹project_id› UUID, ‹state› omicron.public.ip_attach_state NOT NULL, ‹is_probe› BOOL NOT NULL DEFAULT ‹false›, CONSTRAINT ‹null_fip_name› CHECK (((‹kind› != ‹'floating'›) AND (‹name› IS NULL)) OR ((‹kind› = ‹'floating'›) AND (‹name› IS NOT NULL))), CONSTRAINT ‹null_fip_description› CHECK (((‹kind› != ‹'floating'›) AND (‹description› IS NULL)) OR ((‹kind› = ‹'floating'›) AND (‹description› IS NOT NULL))), CONSTRAINT ‹null_project_id› CHECK ((((‹kind› = ‹'floating'›) AND (‹is_service› = ‹false›)) AND (‹project_id› IS NOT NULL)) OR (((‹kind› != ‹'floating'›) OR (‹is_service› = ‹true›)) AND (‹project_id› IS NULL))), CONSTRAINT ‹null_snat_parent_id› CHECK ((‹kind› != ‹'snat'›) OR (‹parent_id› IS NOT NULL)), CONSTRAINT ‹ephemeral_kind_service› CHECK (((‹kind› = ‹'ephemeral'›) AND (‹is_service› = ‹false›)) OR (‹kind› != ‹'ephemeral'›)), CONSTRAINT ‹detached_null_parent_id› CHECK ((‹state› = ‹'detached'›) OR (‹parent_id› IS NOT NULL)))","Tag":"CREATE TABLE","User":"root","DescriptorID":210,"TableName":"‹omicron.public.external_ip›"}
160 I250401 17:45:20.985527 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 154 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹external_ip_by_pool› ON ‹omicron›.public.‹external_ip› (‹ip_pool_id›, ‹ip_pool_range_id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":210,"TableName":"‹omicron.public.external_ip›","IndexName":"‹external_ip_by_pool›"}
161 I250401 17:45:20.985538 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 155 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹external_ip_unique› ON ‹omicron›.public.‹external_ip› (‹ip›, ‹first_port›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":210,"TableName":"‹omicron.public.external_ip›","IndexName":"‹external_ip_unique›"}
162 I250401 17:45:20.985548 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 156 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_external_ip_by_parent› ON ‹omicron›.public.‹external_ip› (‹parent_id›, ‹id›) WHERE (‹parent_id› IS NOT NULL) AND (‹time_deleted› IS NULL)","Tag":"CREATE INDEX","User":"root","DescriptorID":210,"TableName":"‹omicron.public.external_ip›","IndexName":"‹lookup_external_ip_by_parent›"}
163 I250401 17:45:20.985560 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 157 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹one_ephemeral_ip_per_instance› ON ‹omicron›.public.‹external_ip› (‹parent_id›) WHERE ((‹kind› = ‹'ephemeral'›) AND (‹parent_id› IS NOT NULL)) AND (‹time_deleted› IS NULL)","Tag":"CREATE INDEX","User":"root","DescriptorID":210,"TableName":"‹omicron.public.external_ip›","IndexName":"‹one_ephemeral_ip_per_instance›"}
164 I250401 17:45:20.985570 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 158 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_floating_ip_by_name› ON ‹omicron›.public.‹external_ip› (‹name›) WHERE ((‹kind› = ‹'floating'›) AND (‹time_deleted› IS NULL)) AND (‹project_id› IS NULL)","Tag":"CREATE INDEX","User":"root","DescriptorID":210,"TableName":"‹omicron.public.external_ip›","IndexName":"‹lookup_floating_ip_by_name›"}
165 I250401 17:45:20.985579 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 159 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_floating_ip_by_name_and_project› ON ‹omicron›.public.‹external_ip› (‹project_id›, ‹name›) WHERE ((‹kind› = ‹'floating'›) AND (‹time_deleted› IS NULL)) AND (‹project_id› IS NOT NULL)","Tag":"CREATE INDEX","User":"root","DescriptorID":210,"TableName":"‹omicron.public.external_ip›","IndexName":"‹lookup_floating_ip_by_name_and_project›"}
166 I250401 17:45:20.985590 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 160 ={"Timestamp":1743529520070275671,"EventType":"create_view","Statement":"CREATE VIEW IF NOT EXISTS ‹omicron›.public.‹floating_ip› AS SELECT ‹id›, ‹name›, ‹description›, ‹time_created›, ‹time_modified›, ‹time_deleted›, ‹ip_pool_id›, ‹ip_pool_range_id›, ‹is_service›, ‹parent_id›, ‹ip›, ‹project_id› FROM ‹omicron›.public.‹external_ip› WHERE (‹omicron›.‹public›.‹external_ip›.‹kind› = ‹'floating'›) AND (‹project_id› IS NOT NULL)","Tag":"CREATE VIEW","User":"root","DescriptorID":211,"ViewName":"‹omicron.public.floating_ip›","ViewQuery":"‹SELECT id, name, description, time_created, time_modified, time_deleted, ip_pool_id, ip_pool_range_id, is_service, parent_id, ip, project_id FROM omicron.public.external_ip WHERE (omicron.public.external_ip.kind = 'floating') AND (project_id IS NOT NULL)›"}
167 I250401 17:45:20.985608 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 161 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹saga_state› AS ENUM ('running', 'unwinding', 'done')","Tag":"CREATE TYPE","User":"root","DescriptorID":212,"TypeName":"‹omicron.public.saga_state›"}
168 I250401 17:45:20.985616 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 162 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹saga› (‹id› UUID PRIMARY KEY, ‹creator› UUID NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹name› STRING(128) NOT NULL, ‹saga_dag› JSONB NOT NULL, ‹saga_state› omicron.public.saga_state NOT NULL, ‹current_sec› UUID, ‹adopt_generation› INT8 NOT NULL, ‹adopt_time› TIMESTAMPTZ NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":214,"TableName":"‹omicron.public.saga›"}
169 I250401 17:45:20.985629 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 163 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_saga_by_sec› ON ‹omicron›.public.‹saga› (‹current_sec›, ‹id›) WHERE ‹saga_state› != ‹'done'›","Tag":"CREATE INDEX","User":"root","DescriptorID":214,"TableName":"‹omicron.public.saga›","IndexName":"‹lookup_saga_by_sec›"}
170 I250401 17:45:20.985638 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 164 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹saga_node_event› (‹saga_id› UUID NOT NULL, ‹node_id› INT8 NOT NULL, ‹event_type› STRING(31) NOT NULL, ‹data› JSONB, ‹event_time› TIMESTAMPTZ NOT NULL, ‹creator› UUID NOT NULL, PRIMARY KEY (‹saga_id›, ‹node_id›, ‹event_type›))","Tag":"CREATE TABLE","User":"root","DescriptorID":215,"TableName":"‹omicron.public.saga_node_event›"}
171 I250401 17:45:20.985650 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 165 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹console_session› (‹token› STRING(40) PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_last_used› TIMESTAMPTZ NOT NULL, ‹silo_user_id› UUID NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":216,"TableName":"‹omicron.public.console_session›"}
172 I250401 17:45:20.985661 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 166 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_console_by_creation› ON ‹omicron›.public.‹console_session› (‹time_created›)","Tag":"CREATE INDEX","User":"root","DescriptorID":216,"TableName":"‹omicron.public.console_session›","IndexName":"‹lookup_console_by_creation›"}
173 I250401 17:45:20.985670 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 167 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_console_by_silo_user› ON ‹omicron›.public.‹console_session› (‹silo_user_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":216,"TableName":"‹omicron.public.console_session›","IndexName":"‹lookup_console_by_silo_user›"}
174 I250401 17:45:20.985684 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 168 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹tuf_repo› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹sha256› STRING(64) NOT NULL, ‹targets_role_version› INT8 NOT NULL, ‹valid_until› TIMESTAMPTZ NOT NULL, ‹system_version› STRING(64) NOT NULL, ‹file_name› STRING NOT NULL, CONSTRAINT ‹unique_checksum› UNIQUE (‹sha256›), CONSTRAINT ‹unique_system_version› UNIQUE (‹system_version›))","Tag":"CREATE TABLE","User":"root","DescriptorID":217,"TableName":"‹omicron.public.tuf_repo›"}
175 I250401 17:45:20.985697 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 169 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹tuf_artifact› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹version› STRING(63) NOT NULL, ‹kind› STRING(63) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹sha256› STRING(64) NOT NULL, ‹artifact_size› INT8 NOT NULL, ‹generation_added› INT8 NOT NULL, CONSTRAINT ‹unique_name_version_kind› UNIQUE (‹name›, ‹version›, ‹kind›))","Tag":"CREATE TABLE","User":"root","DescriptorID":218,"TableName":"‹omicron.public.tuf_artifact›"}
176 I250401 17:45:20.985707 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 170 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹tuf_artifact_added› ON ‹omicron›.public.‹tuf_artifact› (‹generation_added›, ‹id›) STORING (‹name›, ‹version›, ‹kind›, ‹time_created›, ‹sha256›, ‹artifact_size›)","Tag":"CREATE INDEX","User":"root","DescriptorID":218,"TableName":"‹omicron.public.tuf_artifact›","IndexName":"‹tuf_artifact_added›"}
177 I250401 17:45:20.985721 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 171 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹tuf_repo_artifact› (‹tuf_repo_id› UUID NOT NULL, ‹tuf_artifact_id› UUID NOT NULL, PRIMARY KEY (‹tuf_repo_id›, ‹tuf_artifact_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":219,"TableName":"‹omicron.public.tuf_repo_artifact›"}
178 I250401 17:45:20.985729 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 172 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹tuf_generation› (‹singleton› BOOL NOT NULL PRIMARY KEY, ‹generation› INT8 NOT NULL, CHECK (‹singleton› = ‹true›))","Tag":"CREATE TABLE","User":"root","DescriptorID":220,"TableName":"‹omicron.public.tuf_generation›"}
179 I250401 17:45:20.985737 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 173 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹target_release_source› AS ENUM ('unspecified', 'system_version')","Tag":"CREATE TYPE","User":"root","DescriptorID":221,"TypeName":"‹omicron.public.target_release_source›"}
180 I250401 17:45:20.985746 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 174 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹target_release› (‹generation› INT8 NOT NULL PRIMARY KEY, ‹time_requested› TIMESTAMPTZ NOT NULL, ‹release_source› omicron.public.target_release_source NOT NULL, ‹tuf_repo_id› UUID, CONSTRAINT ‹tuf_repo_for_system_version› CHECK (((‹release_source› != ‹'system_version'›) AND (‹tuf_repo_id› IS NULL)) OR ((‹release_source› = ‹'system_version'›) AND (‹tuf_repo_id› IS NOT NULL))))","Tag":"CREATE TABLE","User":"root","DescriptorID":223,"TableName":"‹omicron.public.target_release›"}
181 I250401 17:45:20.985758 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 175 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹support_bundle_state› AS ENUM ('collecting', 'active', 'destroying', 'failing', 'failed')","Tag":"CREATE TYPE","User":"root","DescriptorID":224,"TypeName":"‹omicron.public.support_bundle_state›"}
182 I250401 17:45:20.985767 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 176 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹support_bundle› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹reason_for_creation› STRING NOT NULL, ‹reason_for_failure› STRING, ‹state› omicron.public.support_bundle_state NOT NULL, ‹zpool_id› UUID NOT NULL, ‹dataset_id› UUID NOT NULL, ‹assigned_nexus› UUID)","Tag":"CREATE TABLE","User":"root","DescriptorID":226,"TableName":"‹omicron.public.support_bundle›"}
183 I250401 17:45:20.985776 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 177 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹one_bundle_per_dataset› ON ‹omicron›.public.‹support_bundle› (‹dataset_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":226,"TableName":"‹omicron.public.support_bundle›","IndexName":"‹one_bundle_per_dataset›"}
184 I250401 17:45:20.985784 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 178 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_bundle_by_nexus› ON ‹omicron›.public.‹support_bundle› (‹assigned_nexus›)","Tag":"CREATE INDEX","User":"root","DescriptorID":226,"TableName":"‹omicron.public.support_bundle›","IndexName":"‹lookup_bundle_by_nexus›"}
185 I250401 17:45:20.985798 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 179 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹dns_group› AS ENUM ('internal', 'external')","Tag":"CREATE TYPE","User":"root","DescriptorID":227,"TypeName":"‹omicron.public.dns_group›"}
186 I250401 17:45:20.985806 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 180 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹dns_zone› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹dns_group› omicron.public.dns_group NOT NULL, ‹zone_name› STRING NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":229,"TableName":"‹omicron.public.dns_zone›"}
187 I250401 17:45:20.985814 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 181 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_dns_zone_by_group› ON ‹omicron›.public.‹dns_zone› (‹dns_group›, ‹zone_name›)","Tag":"CREATE INDEX","User":"root","DescriptorID":229,"TableName":"‹omicron.public.dns_zone›","IndexName":"‹lookup_dns_zone_by_group›"}
188 I250401 17:45:20.985823 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 182 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹dns_version› (‹dns_group› omicron.public.dns_group NOT NULL, ‹version› INT8 NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹creator› STRING NOT NULL, ‹comment› STRING NOT NULL, PRIMARY KEY (‹dns_group›, ‹version›))","Tag":"CREATE TABLE","User":"root","DescriptorID":230,"TableName":"‹omicron.public.dns_version›"}
189 I250401 17:45:20.985833 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 183 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹dns_name› (‹dns_zone_id› UUID NOT NULL, ‹version_added› INT8 NOT NULL, ‹version_removed› INT8, ‹name› STRING NOT NULL, ‹dns_record_data› JSONB NOT NULL, PRIMARY KEY (‹dns_zone_id›, ‹name›, ‹version_added›))","Tag":"CREATE TABLE","User":"root","DescriptorID":231,"TableName":"‹omicron.public.dns_name›"}
190 I250401 17:45:20.985841 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 184 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_dns_name_by_zone› ON ‹omicron›.public.‹dns_name› (‹dns_zone_id›, ‹name›) WHERE ‹version_removed› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":231,"TableName":"‹omicron.public.dns_name›","IndexName":"‹lookup_dns_name_by_zone›"}
191 I250401 17:45:20.985850 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 185 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹user_builtin› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ)","Tag":"CREATE TABLE","User":"root","DescriptorID":232,"TableName":"‹omicron.public.user_builtin›"}
192 I250401 17:45:20.985862 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 186 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_user_builtin_by_name› ON ‹omicron›.public.‹user_builtin› (‹name›)","Tag":"CREATE INDEX","User":"root","DescriptorID":232,"TableName":"‹omicron.public.user_builtin›","IndexName":"‹lookup_user_builtin_by_name›"}
193 I250401 17:45:20.985875 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 187 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹device_auth_request› (‹user_code› STRING(20) PRIMARY KEY, ‹client_id› UUID NOT NULL, ‹device_code› STRING(40) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_expires› TIMESTAMPTZ NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":233,"TableName":"‹omicron.public.device_auth_request›"}
194 I250401 17:45:20.985884 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 188 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹device_access_token› (‹token› STRING(40) PRIMARY KEY, ‹client_id› UUID NOT NULL, ‹device_code› STRING(40) NOT NULL, ‹silo_user_id› UUID NOT NULL, ‹time_requested› TIMESTAMPTZ NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_expires› TIMESTAMPTZ)","Tag":"CREATE TABLE","User":"root","DescriptorID":234,"TableName":"‹omicron.public.device_access_token›"}
195 I250401 17:45:20.985896 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 189 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_device_access_token_by_client› ON ‹omicron›.public.‹device_access_token› (‹client_id›, ‹device_code›)","Tag":"CREATE INDEX","User":"root","DescriptorID":234,"TableName":"‹omicron.public.device_access_token›","IndexName":"‹lookup_device_access_token_by_client›"}
196 I250401 17:45:20.985906 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 190 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_device_access_token_by_silo_user› ON ‹omicron›.public.‹device_access_token› (‹silo_user_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":234,"TableName":"‹omicron.public.device_access_token›","IndexName":"‹lookup_device_access_token_by_silo_user›"}
197 I250401 17:45:20.985916 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 191 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹role_builtin› (‹resource_type› STRING(63), ‹role_name› STRING(63), ‹description› STRING(512), PRIMARY KEY (‹resource_type›, ‹role_name›))","Tag":"CREATE TABLE","User":"root","DescriptorID":235,"TableName":"‹omicron.public.role_builtin›"}
198 I250401 17:45:20.985924 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 192 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹identity_type› AS ENUM ('user_builtin', 'silo_user', 'silo_group')","Tag":"CREATE TYPE","User":"root","DescriptorID":236,"TypeName":"‹omicron.public.identity_type›"}
199 I250401 17:45:20.985932 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 193 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹role_assignment› (‹resource_type› STRING(63) NOT NULL, ‹role_name› STRING(63) NOT NULL, ‹resource_id› UUID NOT NULL, ‹identity_id› UUID NOT NULL, ‹identity_type› omicron.public.identity_type NOT NULL, PRIMARY KEY (‹resource_id›, ‹resource_type›, ‹role_name›, ‹identity_id›, ‹identity_type›))","Tag":"CREATE TABLE","User":"root","DescriptorID":238,"TableName":"‹omicron.public.role_assignment›"}
200 I250401 17:45:20.985941 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 194 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹address_lot_kind› AS ENUM ('infra', 'pool')","Tag":"CREATE TYPE","User":"root","DescriptorID":239,"TypeName":"‹omicron.public.address_lot_kind›"}
201 I250401 17:45:20.985951 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 195 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹address_lot› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹kind› omicron.public.address_lot_kind NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":241,"TableName":"‹omicron.public.address_lot›"}
202 I250401 17:45:20.985960 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 196 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_address_lot_by_name› ON ‹omicron›.public.‹address_lot› (‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":241,"TableName":"‹omicron.public.address_lot›","IndexName":"‹lookup_address_lot_by_name›"}
203 I250401 17:45:20.985968 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 197 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹address_lot_block› (‹id› UUID PRIMARY KEY, ‹address_lot_id› UUID NOT NULL, ‹first_address› INET NOT NULL, ‹last_address› INET NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":242,"TableName":"‹omicron.public.address_lot_block›"}
204 I250401 17:45:20.985981 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 198 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_address_lot_block_by_lot› ON ‹omicron›.public.‹address_lot_block› (‹address_lot_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":242,"TableName":"‹omicron.public.address_lot_block›","IndexName":"‹lookup_address_lot_block_by_lot›"}
205 I250401 17:45:20.986016 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 199 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹address_lot_rsvd_block› (‹id› UUID PRIMARY KEY, ‹address_lot_id› UUID NOT NULL, ‹first_address› INET NOT NULL, ‹last_address› INET NOT NULL, ‹anycast› BOOL NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":243,"TableName":"‹omicron.public.address_lot_rsvd_block›"}
206 I250401 17:45:20.986028 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 200 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_address_lot_rsvd_block_by_lot› ON ‹omicron›.public.‹address_lot_rsvd_block› (‹address_lot_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":243,"TableName":"‹omicron.public.address_lot_rsvd_block›","IndexName":"‹lookup_address_lot_rsvd_block_by_lot›"}
207 I250401 17:45:20.986039 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 201 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_address_lot_rsvd_block_by_anycast› ON ‹omicron›.public.‹address_lot_rsvd_block› (‹anycast›)","Tag":"CREATE INDEX","User":"root","DescriptorID":243,"TableName":"‹omicron.public.address_lot_rsvd_block›","IndexName":"‹lookup_address_lot_rsvd_block_by_anycast›"}
208 I250401 17:45:20.986061 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 202 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹loopback_address› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹address_lot_block_id› UUID NOT NULL, ‹rsvd_address_lot_block_id› UUID NOT NULL, ‹rack_id› UUID NOT NULL, ‹switch_location› STRING NOT NULL, ‹address› INET NOT NULL, ‹anycast› BOOL NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":244,"TableName":"‹omicron.public.loopback_address›"}
209 I250401 17:45:20.986077 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 203 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_loopback_address› ON ‹omicron›.public.‹loopback_address› (‹address›, ‹rack_id›, ‹switch_location›)","Tag":"CREATE INDEX","User":"root","DescriptorID":244,"TableName":"‹omicron.public.loopback_address›","IndexName":"‹lookup_loopback_address›"}
210 I250401 17:45:20.986086 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 204 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port› (‹id› UUID PRIMARY KEY, ‹rack_id› UUID, ‹switch_location› STRING, ‹port_name› STRING, ‹port_settings_id› UUID, CONSTRAINT ‹switch_port_rack_locaction_name_unique› UNIQUE (‹rack_id›, ‹switch_location›, ‹port_name›))","Tag":"CREATE TABLE","User":"root","DescriptorID":245,"TableName":"‹omicron.public.switch_port›"}
211 I250401 17:45:20.986099 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 205 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_switch_port_by_port_settings› ON ‹omicron›.public.‹switch_port› (‹port_settings_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":245,"TableName":"‹omicron.public.switch_port›","IndexName":"‹lookup_switch_port_by_port_settings›"}
212 I250401 17:45:20.986108 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 206 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings_groups› (‹port_settings_id› UUID, ‹port_settings_group_id› UUID, PRIMARY KEY (‹port_settings_id›, ‹port_settings_group_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":246,"TableName":"‹omicron.public.switch_port_settings_groups›"}
213 I250401 17:45:20.986119 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 207 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings_group› (‹id› UUID PRIMARY KEY, ‹port_settings_id› UUID NOT NULL, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ)","Tag":"CREATE TABLE","User":"root","DescriptorID":247,"TableName":"‹omicron.public.switch_port_settings_group›"}
214 I250401 17:45:20.986133 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 208 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_switch_port_settings_group_by_name› ON ‹omicron›.public.‹switch_port_settings_group› (‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":247,"TableName":"‹omicron.public.switch_port_settings_group›","IndexName":"‹lookup_switch_port_settings_group_by_name›"}
215 I250401 17:45:20.986143 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 209 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ)","Tag":"CREATE TABLE","User":"root","DescriptorID":248,"TableName":"‹omicron.public.switch_port_settings›"}
216 I250401 17:45:20.986156 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 210 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹switch_port_settings_by_name› ON ‹omicron›.public.‹switch_port_settings› (‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":248,"TableName":"‹omicron.public.switch_port_settings›","IndexName":"‹switch_port_settings_by_name›"}
217 I250401 17:45:20.986165 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 211 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹switch_port_geometry› AS ENUM ('Qsfp28x1', 'Qsfp28x2', 'Sfp28x4')","Tag":"CREATE TYPE","User":"root","DescriptorID":249,"TypeName":"‹omicron.public.switch_port_geometry›"}
218 I250401 17:45:20.986174 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 212 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings_port_config› (‹port_settings_id› UUID PRIMARY KEY, ‹\"geometry\"› omicron.public.switch_port_geometry)","Tag":"CREATE TABLE","User":"root","DescriptorID":251,"TableName":"‹omicron.public.switch_port_settings_port_config›"}
219 I250401 17:45:20.986183 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 213 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹switch_link_fec› AS ENUM ('Firecode', 'None', 'Rs')","Tag":"CREATE TYPE","User":"root","DescriptorID":252,"TypeName":"‹omicron.public.switch_link_fec›"}
220 I250401 17:45:20.986191 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 214 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹switch_link_speed› AS ENUM ('0G', '1G', '10G', '25G', '40G', '50G', '100G', '200G', '400G')","Tag":"CREATE TYPE","User":"root","DescriptorID":254,"TypeName":"‹omicron.public.switch_link_speed›"}
221 I250401 17:45:20.986199 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 215 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings_link_config› (‹port_settings_id› UUID, ‹link_name› STRING, ‹mtu› INT4, ‹fec› omicron.public.switch_link_fec, ‹speed› omicron.public.switch_link_speed, ‹autoneg› BOOL NOT NULL DEFAULT ‹false›, ‹lldp_link_config_id› UUID, ‹tx_eq_config_id› UUID, PRIMARY KEY (‹port_settings_id›, ‹link_name›))","Tag":"CREATE TABLE","User":"root","DescriptorID":256,"TableName":"‹omicron.public.switch_port_settings_link_config›"}
222 I250401 17:45:20.986210 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 216 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹lldp_link_config› (‹id› UUID PRIMARY KEY, ‹enabled› BOOL NOT NULL, ‹link_name› STRING(63), ‹link_description› STRING(512), ‹chassis_id› STRING(63), ‹system_name› STRING(63), ‹system_description› STRING(612), ‹management_ip› STRING, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ)","Tag":"CREATE TABLE","User":"root","DescriptorID":257,"TableName":"‹omicron.public.lldp_link_config›"}
223 I250401 17:45:20.986219 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 217 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹tx_eq_config› (‹id› UUID PRIMARY KEY, ‹pre1› INT4, ‹pre2› INT4, ‹main› INT4, ‹post2› INT4, ‹post1› INT4)","Tag":"CREATE TABLE","User":"root","DescriptorID":258,"TableName":"‹omicron.public.tx_eq_config›"}
224 I250401 17:45:20.986231 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 218 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹switch_interface_kind› AS ENUM ('primary', 'vlan', 'loopback')","Tag":"CREATE TYPE","User":"root","DescriptorID":259,"TypeName":"‹omicron.public.switch_interface_kind›"}
225 I250401 17:45:20.986239 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 219 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings_interface_config› (‹port_settings_id› UUID, ‹id› UUID PRIMARY KEY, ‹interface_name› STRING NOT NULL, ‹v6_enabled› BOOL NOT NULL, ‹kind› omicron.public.switch_interface_kind)","Tag":"CREATE TABLE","User":"root","DescriptorID":261,"TableName":"‹omicron.public.switch_port_settings_interface_config›"}
226 I250401 17:45:20.986249 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 220 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹switch_port_settings_interface_config_by_id› ON ‹omicron›.public.‹switch_port_settings_interface_config› (‹port_settings_id›, ‹interface_name›)","Tag":"CREATE INDEX","User":"root","DescriptorID":261,"TableName":"‹omicron.public.switch_port_settings_interface_config›","IndexName":"‹switch_port_settings_interface_config_by_id›"}
227 I250401 17:45:20.986260 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 221 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_vlan_interface_config› (‹interface_config_id› UUID, ‹vid› INT4, PRIMARY KEY (‹interface_config_id›, ‹vid›))","Tag":"CREATE TABLE","User":"root","DescriptorID":262,"TableName":"‹omicron.public.switch_vlan_interface_config›"}
228 I250401 17:45:20.986268 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 222 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings_route_config› (‹port_settings_id› UUID, ‹interface_name› STRING, ‹dst› INET, ‹gw› INET, ‹vid› INT4, ‹local_pref› INT8, PRIMARY KEY (‹port_settings_id›, ‹interface_name›, ‹dst›, ‹gw›))","Tag":"CREATE TABLE","User":"root","DescriptorID":263,"TableName":"‹omicron.public.switch_port_settings_route_config›"}
229 I250401 17:45:20.986279 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 223 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings_bgp_peer_config› (‹port_settings_id› UUID, ‹bgp_config_id› UUID NOT NULL, ‹interface_name› STRING, ‹addr› INET, ‹hold_time› INT8, ‹idle_hold_time› INT8, ‹delay_open› INT8, ‹connect_retry› INT8, ‹keepalive› INT8, ‹remote_asn› INT8, ‹min_ttl› INT2, ‹md5_auth_key› STRING, ‹multi_exit_discriminator› INT8, ‹local_pref› INT8, ‹enforce_first_as› BOOL NOT NULL DEFAULT ‹false›, ‹allow_import_list_active› BOOL NOT NULL DEFAULT ‹false›, ‹allow_export_list_active› BOOL NOT NULL DEFAULT ‹false›, ‹vlan_id› INT4, PRIMARY KEY (‹port_settings_id›, ‹interface_name›, ‹addr›))","Tag":"CREATE TABLE","User":"root","DescriptorID":264,"TableName":"‹omicron.public.switch_port_settings_bgp_peer_config›"}
230 I250401 17:45:20.986295 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 224 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_sps_bgp_peer_config_by_bgp_config_id› ON ‹omicron›.public.‹switch_port_settings_bgp_peer_config› (‹bgp_config_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":264,"TableName":"‹omicron.public.switch_port_settings_bgp_peer_config›","IndexName":"‹lookup_sps_bgp_peer_config_by_bgp_config_id›"}
231 I250401 17:45:20.986312 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 225 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings_bgp_peer_config_communities› (‹port_settings_id› UUID NOT NULL, ‹interface_name› STRING NOT NULL, ‹addr› INET NOT NULL, ‹community› INT8 NOT NULL, PRIMARY KEY (‹port_settings_id›, ‹interface_name›, ‹addr›, ‹community›))","Tag":"CREATE TABLE","User":"root","DescriptorID":265,"TableName":"‹omicron.public.switch_port_settings_bgp_peer_config_communities›"}
232 I250401 17:45:20.986325 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 226 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings_bgp_peer_config_allow_import› (‹port_settings_id› UUID NOT NULL, ‹interface_name› STRING NOT NULL, ‹addr› INET NOT NULL, ‹prefix› INET NOT NULL, PRIMARY KEY (‹port_settings_id›, ‹interface_name›, ‹addr›, ‹prefix›))","Tag":"CREATE TABLE","User":"root","DescriptorID":266,"TableName":"‹omicron.public.switch_port_settings_bgp_peer_config_allow_import›"}
233 I250401 17:45:20.986338 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 227 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings_bgp_peer_config_allow_export› (‹port_settings_id› UUID NOT NULL, ‹interface_name› STRING NOT NULL, ‹addr› INET NOT NULL, ‹prefix› INET NOT NULL, PRIMARY KEY (‹port_settings_id›, ‹interface_name›, ‹addr›, ‹prefix›))","Tag":"CREATE TABLE","User":"root","DescriptorID":267,"TableName":"‹omicron.public.switch_port_settings_bgp_peer_config_allow_export›"}
234 I250401 17:45:20.986349 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 228 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bgp_config› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹asn› INT8 NOT NULL, ‹vrf› STRING, ‹bgp_announce_set_id› UUID NOT NULL, ‹shaper› STRING, ‹checker› STRING)","Tag":"CREATE TABLE","User":"root","DescriptorID":268,"TableName":"‹omicron.public.bgp_config›"}
235 I250401 17:45:20.986360 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 229 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_bgp_config_by_name› ON ‹omicron›.public.‹bgp_config› (‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":268,"TableName":"‹omicron.public.bgp_config›","IndexName":"‹lookup_bgp_config_by_name›"}
236 I250401 17:45:20.986370 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 230 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_bgp_config_by_asn› ON ‹omicron›.public.‹bgp_config› (‹asn›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":268,"TableName":"‹omicron.public.bgp_config›","IndexName":"‹lookup_bgp_config_by_asn›"}
237 I250401 17:45:20.986379 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 231 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bgp_announce_set› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ)","Tag":"CREATE TABLE","User":"root","DescriptorID":269,"TableName":"‹omicron.public.bgp_announce_set›"}
238 I250401 17:45:20.986391 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 232 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_bgp_announce_set_by_name› ON ‹omicron›.public.‹bgp_announce_set› (‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":269,"TableName":"‹omicron.public.bgp_announce_set›","IndexName":"‹lookup_bgp_announce_set_by_name›"}
239 I250401 17:45:20.986401 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 233 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bgp_announcement› (‹announce_set_id› UUID, ‹address_lot_block_id› UUID NOT NULL, ‹network› INET, PRIMARY KEY (‹announce_set_id›, ‹network›))","Tag":"CREATE TABLE","User":"root","DescriptorID":270,"TableName":"‹omicron.public.bgp_announcement›"}
240 I250401 17:45:20.986410 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 234 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹switch_port_settings_address_config› (‹port_settings_id› UUID, ‹address_lot_block_id› UUID NOT NULL, ‹rsvd_address_lot_block_id› UUID NOT NULL, ‹address› INET, ‹interface_name› STRING, ‹vlan_id› INT4, PRIMARY KEY (‹port_settings_id›, ‹address›, ‹interface_name›))","Tag":"CREATE TABLE","User":"root","DescriptorID":271,"TableName":"‹omicron.public.switch_port_settings_address_config›"}
241 I250401 17:45:20.986419 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 235 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bootstore_keys› (‹key› STRING NOT NULL PRIMARY KEY, ‹generation› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":272,"TableName":"‹omicron.public.bootstore_keys›"}
242 I250401 17:45:20.986428 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 236 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹hw_baseboard_id› (‹id› UUID PRIMARY KEY, ‹part_number› STRING NOT NULL, ‹serial_number› STRING NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":273,"TableName":"‹omicron.public.hw_baseboard_id›"}
243 I250401 17:45:20.986437 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 237 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_baseboard_id_by_props› ON ‹omicron›.public.‹hw_baseboard_id› (‹part_number›, ‹serial_number›)","Tag":"CREATE INDEX","User":"root","DescriptorID":273,"TableName":"‹omicron.public.hw_baseboard_id›","IndexName":"‹lookup_baseboard_id_by_props›"}
244 I250401 17:45:20.986447 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 238 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹hw_power_state› AS ENUM ('A0', 'A1', 'A2')","Tag":"CREATE TYPE","User":"root","DescriptorID":274,"TypeName":"‹omicron.public.hw_power_state›"}
245 I250401 17:45:20.986456 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 239 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹hw_rot_slot› AS ENUM ('A', 'B')","Tag":"CREATE TYPE","User":"root","DescriptorID":276,"TypeName":"‹omicron.public.hw_rot_slot›"}
246 I250401 17:45:20.986464 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 240 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹sw_caboose› (‹id› UUID PRIMARY KEY, ‹board› STRING NOT NULL, ‹git_commit› STRING NOT NULL, ‹name› STRING NOT NULL, ‹version› STRING NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":278,"TableName":"‹omicron.public.sw_caboose›"}
247 I250401 17:45:20.986476 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 241 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹caboose_properties› ON ‹omicron›.public.‹sw_caboose› (‹board›, ‹git_commit›, ‹name›, ‹version›)","Tag":"CREATE INDEX","User":"root","DescriptorID":278,"TableName":"‹omicron.public.sw_caboose›","IndexName":"‹caboose_properties›"}
248 I250401 17:45:20.986487 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 242 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹sw_root_of_trust_page› (‹id› UUID PRIMARY KEY, ‹data_base64› STRING NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":279,"TableName":"‹omicron.public.sw_root_of_trust_page›"}
249 I250401 17:45:20.986495 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 243 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹root_of_trust_page_properties› ON ‹omicron›.public.‹sw_root_of_trust_page› (‹data_base64›)","Tag":"CREATE INDEX","User":"root","DescriptorID":279,"TableName":"‹omicron.public.sw_root_of_trust_page›","IndexName":"‹root_of_trust_page_properties›"}
250 I250401 17:45:20.986504 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 244 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_collection› (‹id› UUID PRIMARY KEY, ‹time_started› TIMESTAMPTZ NOT NULL, ‹time_done› TIMESTAMPTZ NOT NULL, ‹collector› STRING NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":280,"TableName":"‹omicron.public.inv_collection›"}
251 I250401 17:45:20.986513 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 245 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹inv_collection_by_time_started› ON ‹omicron›.public.‹inv_collection› (‹time_started›)","Tag":"CREATE INDEX","User":"root","DescriptorID":280,"TableName":"‹omicron.public.inv_collection›","IndexName":"‹inv_collection_by_time_started›"}
252 I250401 17:45:20.986527 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 246 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹inv_collectionby_time_done› ON ‹omicron›.public.‹inv_collection› (‹time_done› DESC)","Tag":"CREATE INDEX","User":"root","DescriptorID":280,"TableName":"‹omicron.public.inv_collection›","IndexName":"‹inv_collectionby_time_done›"}
253 I250401 17:45:20.986537 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 247 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_collection_error› (‹inv_collection_id› UUID NOT NULL, ‹idx› INT4 NOT NULL, ‹message› STRING)","Tag":"CREATE TABLE","User":"root","DescriptorID":281,"TableName":"‹omicron.public.inv_collection_error›"}
254 I250401 17:45:20.986545 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 248 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹errors_by_collection› ON ‹omicron›.public.‹inv_collection_error› (‹inv_collection_id›, ‹idx›)","Tag":"CREATE INDEX","User":"root","DescriptorID":281,"TableName":"‹omicron.public.inv_collection_error›","IndexName":"‹errors_by_collection›"}
255 I250401 17:45:20.986554 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 249 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹sp_type› AS ENUM ('sled', 'switch', 'power')","Tag":"CREATE TYPE","User":"root","DescriptorID":282,"TypeName":"‹omicron.public.sp_type›"}
256 I250401 17:45:20.986565 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 250 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_service_processor› (‹inv_collection_id› UUID NOT NULL, ‹hw_baseboard_id› UUID NOT NULL, ‹time_collected› TIMESTAMPTZ NOT NULL, ‹source› STRING NOT NULL, ‹sp_type› omicron.public.sp_type NOT NULL, ‹sp_slot› INT4 NOT NULL, ‹baseboard_revision› INT8 NOT NULL, ‹hubris_archive_id› STRING NOT NULL, ‹power_state› omicron.public.hw_power_state NOT NULL, PRIMARY KEY (‹inv_collection_id›, ‹hw_baseboard_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":284,"TableName":"‹omicron.public.inv_service_processor›"}
257 I250401 17:45:20.986576 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 251 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹rot_image_error› AS ENUM ('unchecked', 'first_page_erased', 'partially_programmed', 'invalid_length', 'header_not_programmed', 'bootloader_too_small', 'bad_magic', 'header_image_size', 'unaligned_length', 'unsupported_type', 'not_thumb2', 'reset_vector', 'signature')","Tag":"CREATE TYPE","User":"root","DescriptorID":285,"TypeName":"‹omicron.public.rot_image_error›"}
258 I250401 17:45:20.986584 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 252 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_root_of_trust› (‹inv_collection_id› UUID NOT NULL, ‹hw_baseboard_id› UUID NOT NULL, ‹time_collected› TIMESTAMPTZ NOT NULL, ‹source› STRING NOT NULL, ‹slot_active› omicron.public.hw_rot_slot NOT NULL, ‹slot_boot_pref_transient› omicron.public.hw_rot_slot, ‹slot_boot_pref_persistent› omicron.public.hw_rot_slot NOT NULL, ‹slot_boot_pref_persistent_pending› omicron.public.hw_rot_slot, ‹slot_a_sha3_256› STRING, ‹slot_b_sha3_256› STRING, ‹stage0_fwid› STRING, ‹stage0next_fwid› STRING, ‹slot_a_error› omicron.public.rot_image_error, ‹slot_b_error› omicron.public.rot_image_error, ‹stage0_error› omicron.public.rot_image_error, ‹stage0next_error› omicron.public.rot_image_error, PRIMARY KEY (‹inv_collection_id›, ‹hw_baseboard_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":287,"TableName":"‹omicron.public.inv_root_of_trust›"}
259 I250401 17:45:20.986597 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 253 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹caboose_which› AS ENUM ('sp_slot_0', 'sp_slot_1', 'rot_slot_A', 'rot_slot_B', 'stage0', 'stage0next')","Tag":"CREATE TYPE","User":"root","DescriptorID":288,"TypeName":"‹omicron.public.caboose_which›"}
260 I250401 17:45:20.986605 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 254 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_caboose› (‹inv_collection_id› UUID NOT NULL, ‹hw_baseboard_id› UUID NOT NULL, ‹time_collected› TIMESTAMPTZ NOT NULL, ‹source› STRING NOT NULL, ‹which› omicron.public.caboose_which NOT NULL, ‹sw_caboose_id› UUID NOT NULL, PRIMARY KEY (‹inv_collection_id›, ‹hw_baseboard_id›, ‹which›))","Tag":"CREATE TABLE","User":"root","DescriptorID":290,"TableName":"‹omicron.public.inv_caboose›"}
261 I250401 17:45:20.986616 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 255 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹root_of_trust_page_which› AS ENUM ('cmpa', 'cfpa_active', 'cfpa_inactive', 'cfpa_scratch')","Tag":"CREATE TYPE","User":"root","DescriptorID":291,"TypeName":"‹omicron.public.root_of_trust_page_which›"}
262 I250401 17:45:20.986627 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 256 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_root_of_trust_page› (‹inv_collection_id› UUID NOT NULL, ‹hw_baseboard_id› UUID NOT NULL, ‹time_collected› TIMESTAMPTZ NOT NULL, ‹source› STRING NOT NULL, ‹which› omicron.public.root_of_trust_page_which NOT NULL, ‹sw_root_of_trust_page_id› UUID NOT NULL, PRIMARY KEY (‹inv_collection_id›, ‹hw_baseboard_id›, ‹which›))","Tag":"CREATE TABLE","User":"root","DescriptorID":293,"TableName":"‹omicron.public.inv_root_of_trust_page›"}
263 I250401 17:45:20.986636 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 257 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹sled_role› AS ENUM ('scrimlet', 'gimlet')","Tag":"CREATE TYPE","User":"root","DescriptorID":294,"TypeName":"‹omicron.public.sled_role›"}
264 I250401 17:45:20.986644 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 258 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_sled_agent› (‹inv_collection_id› UUID NOT NULL, ‹time_collected› TIMESTAMPTZ NOT NULL, ‹source› STRING NOT NULL, ‹sled_id› UUID NOT NULL, ‹hw_baseboard_id› UUID, ‹sled_agent_ip› INET NOT NULL, ‹sled_agent_port› INT4 NOT NULL, ‹sled_role› omicron.public.sled_role NOT NULL, ‹usable_hardware_threads› INT8 NOT NULL, ‹usable_physical_ram› INT8 NOT NULL, ‹reservoir_size› INT8 NOT NULL, ‹omicron_physical_disks_generation› INT8 NOT NULL, PRIMARY KEY (‹inv_collection_id›, ‹sled_id›), CHECK (‹usable_hardware_threads› BETWEEN ‹0› AND ‹4294967295›), CHECK (‹reservoir_size› < ‹usable_physical_ram›))","Tag":"CREATE TABLE","User":"root","DescriptorID":296,"TableName":"‹omicron.public.inv_sled_agent›"}
265 I250401 17:45:20.986660 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 259 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_physical_disk› (‹inv_collection_id› UUID NOT NULL, ‹sled_id› UUID NOT NULL, ‹slot› INT8 NOT NULL, ‹vendor› STRING(63) NOT NULL, ‹model› STRING(63) NOT NULL, ‹serial› STRING(63) NOT NULL, ‹variant› omicron.public.physical_disk_kind NOT NULL, PRIMARY KEY (‹inv_collection_id›, ‹sled_id›, ‹slot›), CHECK (‹slot› >= ‹0›))","Tag":"CREATE TABLE","User":"root","DescriptorID":297,"TableName":"‹omicron.public.inv_physical_disk›"}
266 I250401 17:45:20.986682 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 260 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_nvme_disk_firmware› (‹inv_collection_id› UUID NOT NULL, ‹sled_id› UUID NOT NULL, ‹slot› INT8 NOT NULL, ‹number_of_slots› INT2 NOT NULL, ‹active_slot› INT2 NOT NULL, ‹next_active_slot› INT2, ‹slot1_is_read_only› BOOL, ‹slot_firmware_versions› STRING(8)[], PRIMARY KEY (‹inv_collection_id›, ‹sled_id›, ‹slot›), CHECK (‹slot› >= ‹0›), CHECK (‹number_of_slots› BETWEEN ‹1› AND ‹7›), CHECK (‹active_slot› BETWEEN ‹1› AND ‹7›), CHECK (‹next_active_slot› BETWEEN ‹1› AND ‹7›), CHECK (array_length(‹slot_firmware_versions›, ‹1›) BETWEEN ‹1› AND ‹7›))","Tag":"CREATE TABLE","User":"root","DescriptorID":298,"TableName":"‹omicron.public.inv_nvme_disk_firmware›"}
267 I250401 17:45:20.986705 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 261 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_zpool› (‹inv_collection_id› UUID NOT NULL, ‹time_collected› TIMESTAMPTZ NOT NULL, ‹id› UUID NOT NULL, ‹sled_id› UUID NOT NULL, ‹total_size› INT8 NOT NULL, PRIMARY KEY (‹inv_collection_id›, ‹sled_id›, ‹id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":299,"TableName":"‹omicron.public.inv_zpool›"}
268 I250401 17:45:20.986760 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 262 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹inv_zpool_by_id_and_time› ON ‹omicron›.public.‹inv_zpool› (‹id›, ‹time_collected› DESC)","Tag":"CREATE INDEX","User":"root","DescriptorID":299,"TableName":"‹omicron.public.inv_zpool›","IndexName":"‹inv_zpool_by_id_and_time›"}
269 I250401 17:45:20.986785 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 263 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_dataset› (‹inv_collection_id› UUID NOT NULL, ‹sled_id› UUID NOT NULL, ‹id› UUID, ‹name› STRING NOT NULL, ‹available› INT8 NOT NULL, ‹used› INT8 NOT NULL, ‹quota› INT8, ‹reservation› INT8, ‹compression› STRING NOT NULL, PRIMARY KEY (‹inv_collection_id›, ‹sled_id›, ‹name›))","Tag":"CREATE TABLE","User":"root","DescriptorID":300,"TableName":"‹omicron.public.inv_dataset›"}
270 I250401 17:45:20.986796 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 264 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_sled_omicron_zones› (‹inv_collection_id› UUID NOT NULL, ‹time_collected› TIMESTAMPTZ NOT NULL, ‹source› STRING NOT NULL, ‹sled_id› UUID NOT NULL, ‹generation› INT8 NOT NULL, PRIMARY KEY (‹inv_collection_id›, ‹sled_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":301,"TableName":"‹omicron.public.inv_sled_omicron_zones›"}
271 I250401 17:45:20.986807 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 265 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹zone_type› AS ENUM ('boundary_ntp', 'clickhouse', 'clickhouse_keeper', 'clickhouse_server', 'cockroach_db', 'crucible', 'crucible_pantry', 'external_dns', 'internal_dns', 'internal_ntp', 'nexus', 'oximeter')","Tag":"CREATE TYPE","User":"root","DescriptorID":302,"TypeName":"‹omicron.public.zone_type›"}
272 I250401 17:45:20.986816 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 266 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_omicron_zone› (‹inv_collection_id› UUID NOT NULL, ‹sled_id› UUID NOT NULL, ‹id› UUID NOT NULL, ‹zone_type› omicron.public.zone_type NOT NULL, ‹primary_service_ip› INET NOT NULL, ‹primary_service_port› INT4 NOT NULL, ‹second_service_ip› INET, ‹second_service_port› INT4, ‹dataset_zpool_name› STRING, ‹nic_id› UUID, ‹dns_gz_address› INET, ‹dns_gz_address_index› INT8, ‹ntp_ntp_servers› STRING[], ‹ntp_dns_servers› INET[], ‹ntp_domain› STRING, ‹nexus_external_tls› BOOL, ‹nexus_external_dns_servers› INET[], ‹snat_ip› INET, ‹snat_first_port› INT4, ‹snat_last_port› INT4, ‹filesystem_pool› UUID, PRIMARY KEY (‹inv_collection_id›, ‹id›), CHECK (‹primary_service_port› BETWEEN ‹0› AND ‹65535›), CHECK ((‹second_service_port› IS NULL) OR (‹second_service_port› BETWEEN ‹0› AND ‹65535›)), CHECK ((‹snat_first_port› IS NULL) OR (‹snat_first_port› BETWEEN ‹0› AND ‹65535›)), CHECK ((‹snat_last_port› IS NULL) OR (‹snat_last_port› BETWEEN ‹0› AND ‹65535›)))","Tag":"CREATE TABLE","User":"root","DescriptorID":304,"TableName":"‹omicron.public.inv_omicron_zone›"}
273 I250401 17:45:20.986835 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 267 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹inv_omicron_zone_nic_id› ON ‹omicron›.public.‹inv_omicron_zone› (‹nic_id›) STORING (‹sled_id›, ‹primary_service_ip›, ‹second_service_ip›, ‹snat_ip›)","Tag":"CREATE INDEX","User":"root","DescriptorID":304,"TableName":"‹omicron.public.inv_omicron_zone›","IndexName":"‹inv_omicron_zone_nic_id›"}
274 I250401 17:45:20.986854 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 268 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_omicron_zone_nic› (‹inv_collection_id› UUID NOT NULL, ‹id› UUID NOT NULL, ‹name› STRING NOT NULL, ‹ip› INET NOT NULL, ‹mac› INT8 NOT NULL, ‹subnet› INET NOT NULL, ‹vni› INT8 NOT NULL, ‹is_primary› BOOL NOT NULL, ‹slot› INT2 NOT NULL, PRIMARY KEY (‹inv_collection_id›, ‹id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":305,"TableName":"‹omicron.public.inv_omicron_zone_nic›"}
275 I250401 17:45:20.986866 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 269 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹inv_clickhouse_keeper_membership› (‹inv_collection_id› UUID NOT NULL, ‹queried_keeper_id› INT8 NOT NULL, ‹leader_committed_log_index› INT8 NOT NULL, ‹raft_config› INT8[] NOT NULL, PRIMARY KEY (‹inv_collection_id›, ‹queried_keeper_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":306,"TableName":"‹omicron.public.inv_clickhouse_keeper_membership›"}
276 I250401 17:45:20.986876 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 270 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹bp_zone_disposition› AS ENUM ('in_service', 'expunged')","Tag":"CREATE TYPE","User":"root","DescriptorID":307,"TypeName":"‹omicron.public.bp_zone_disposition›"}
277 I250401 17:45:20.986885 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 271 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹bp_dataset_disposition› AS ENUM ('in_service', 'expunged')","Tag":"CREATE TYPE","User":"root","DescriptorID":309,"TypeName":"‹omicron.public.bp_dataset_disposition›"}
278 I250401 17:45:20.986893 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 272 ={"Timestamp":1743529520070275671,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹bp_physical_disk_disposition› AS ENUM ('in_service', 'expunged')","Tag":"CREATE TYPE","User":"root","DescriptorID":311,"TypeName":"‹omicron.public.bp_physical_disk_disposition›"}
279 I250401 17:45:20.986903 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 273 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹blueprint› (‹id› UUID PRIMARY KEY, ‹parent_blueprint_id› UUID, ‹time_created› TIMESTAMPTZ NOT NULL, ‹creator› STRING NOT NULL, ‹comment› STRING NOT NULL, ‹internal_dns_version› INT8 NOT NULL, ‹external_dns_version› INT8 NOT NULL, ‹cockroachdb_fingerprint› STRING NOT NULL, ‹cockroachdb_setting_preserve_downgrade› STRING)","Tag":"CREATE TABLE","User":"root","DescriptorID":313,"TableName":"‹omicron.public.blueprint›"}
280 I250401 17:45:20.986913 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 274 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bp_target› (‹version› INT8 PRIMARY KEY, ‹blueprint_id› UUID NOT NULL, ‹enabled› BOOL NOT NULL, ‹time_made_target› TIMESTAMPTZ NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":314,"TableName":"‹omicron.public.bp_target›"}
281 I250401 17:45:20.986921 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 275 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bp_sled_metadata› (‹blueprint_id› UUID NOT NULL, ‹sled_id› UUID NOT NULL, ‹sled_state› omicron.public.sled_state NOT NULL, ‹sled_agent_generation› INT8 NOT NULL, PRIMARY KEY (‹blueprint_id›, ‹sled_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":315,"TableName":"‹omicron.public.bp_sled_metadata›"}
282 I250401 17:45:20.986934 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 276 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bp_omicron_physical_disk› (‹blueprint_id› UUID NOT NULL, ‹sled_id› UUID NOT NULL, ‹vendor› STRING NOT NULL, ‹serial› STRING NOT NULL, ‹model› STRING NOT NULL, ‹id› UUID NOT NULL, ‹pool_id› UUID NOT NULL, ‹disposition› omicron.public.bp_physical_disk_disposition NOT NULL, ‹disposition_expunged_as_of_generation› INT8, ‹disposition_expunged_ready_for_cleanup› BOOL NOT NULL, PRIMARY KEY (‹blueprint_id›, ‹id›), CONSTRAINT ‹expunged_disposition_properties› CHECK ((((‹disposition› != ‹'expunged'›) AND (‹disposition_expunged_as_of_generation› IS NULL)) AND (NOT ‹disposition_expunged_ready_for_cleanup›)) OR ((‹disposition› = ‹'expunged'›) AND (‹disposition_expunged_as_of_generation› IS NOT NULL))))","Tag":"CREATE TABLE","User":"root","DescriptorID":316,"TableName":"‹omicron.public.bp_omicron_physical_disk›"}
283 I250401 17:45:20.986947 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 277 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bp_omicron_dataset› (‹blueprint_id› UUID NOT NULL, ‹sled_id› UUID NOT NULL, ‹id› UUID NOT NULL, ‹disposition› omicron.public.bp_dataset_disposition NOT NULL, ‹pool_id› UUID NOT NULL, ‹kind› omicron.public.dataset_kind NOT NULL, ‹zone_name› STRING, ‹ip› INET, ‹port› INT4, ‹quota› INT8, ‹reservation› INT8, ‹compression› STRING NOT NULL, CONSTRAINT ‹zone_name_for_zone_kind› CHECK ((‹kind› != ‹'zone'›) OR ((‹kind› = ‹'zone'›) AND (‹zone_name› IS NOT NULL))), CONSTRAINT ‹ip_and_port_set_for_crucible› CHECK ((‹kind› != ‹'crucible'›) OR (((‹kind› = ‹'crucible'›) AND (‹ip› IS NOT NULL)) AND (‹port› IS NOT NULL))), PRIMARY KEY (‹blueprint_id›, ‹id›), CHECK (‹port› BETWEEN ‹0› AND ‹65535›))","Tag":"CREATE TABLE","User":"root","DescriptorID":317,"TableName":"‹omicron.public.bp_omicron_dataset›"}
284 I250401 17:45:20.986962 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 278 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bp_omicron_zone› (‹blueprint_id› UUID NOT NULL, ‹sled_id› UUID NOT NULL, ‹id› UUID NOT NULL, ‹zone_type› omicron.public.zone_type NOT NULL, ‹primary_service_ip› INET NOT NULL, ‹primary_service_port› INT4 NOT NULL, ‹second_service_ip› INET, ‹second_service_port› INT4, ‹dataset_zpool_name› STRING, ‹bp_nic_id› UUID, ‹dns_gz_address› INET, ‹dns_gz_address_index› INT8, ‹ntp_ntp_servers› STRING[], ‹ntp_dns_servers› INET[], ‹ntp_domain› STRING, ‹nexus_external_tls› BOOL, ‹nexus_external_dns_servers› INET[], ‹snat_ip› INET, ‹snat_first_port› INT4, ‹snat_last_port› INT4, ‹external_ip_id› UUID, ‹filesystem_pool› UUID NOT NULL, ‹disposition› omicron.public.bp_zone_disposition NOT NULL, ‹disposition_expunged_as_of_generation› INT8, ‹disposition_expunged_ready_for_cleanup› BOOL NOT NULL, PRIMARY KEY (‹blueprint_id›, ‹id›), CONSTRAINT ‹expunged_disposition_properties› CHECK ((((‹disposition› != ‹'expunged'›) AND (‹disposition_expunged_as_of_generation› IS NULL)) AND (NOT ‹disposition_expunged_ready_for_cleanup›)) OR ((‹disposition› = ‹'expunged'›) AND (‹disposition_expunged_as_of_generation› IS NOT NULL))), CHECK (‹primary_service_port› BETWEEN ‹0› AND ‹65535›), CHECK ((‹second_service_port› IS NULL) OR (‹second_service_port› BETWEEN ‹0› AND ‹65535›)), CHECK ((‹snat_first_port› IS NULL) OR (‹snat_first_port› BETWEEN ‹0› AND ‹65535›)), CHECK ((‹snat_last_port› IS NULL) OR (‹snat_last_port› BETWEEN ‹0› AND ‹65535›)))","Tag":"CREATE TABLE","User":"root","DescriptorID":318,"TableName":"‹omicron.public.bp_omicron_zone›"}
285 I250401 17:45:20.986983 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 279 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bp_omicron_zone_nic› (‹blueprint_id› UUID NOT NULL, ‹id› UUID NOT NULL, ‹name› STRING NOT NULL, ‹ip› INET NOT NULL, ‹mac› INT8 NOT NULL, ‹subnet› INET NOT NULL, ‹vni› INT8 NOT NULL, ‹is_primary› BOOL NOT NULL, ‹slot› INT2 NOT NULL, PRIMARY KEY (‹blueprint_id›, ‹id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":319,"TableName":"‹omicron.public.bp_omicron_zone_nic›"}
286 I250401 17:45:20.987015 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 280 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bp_clickhouse_cluster_config› (‹blueprint_id› UUID PRIMARY KEY, ‹generation› INT8 NOT NULL, ‹max_used_server_id› INT8 NOT NULL, ‹max_used_keeper_id› INT8 NOT NULL, ‹cluster_name› STRING NOT NULL, ‹cluster_secret› STRING NOT NULL, ‹highest_seen_keeper_leader_committed_log_index› INT8 NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":320,"TableName":"‹omicron.public.bp_clickhouse_cluster_config›"}
287 I250401 17:45:20.987025 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 281 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bp_clickhouse_keeper_zone_id_to_node_id› (‹blueprint_id› UUID NOT NULL, ‹omicron_zone_id› UUID NOT NULL, ‹keeper_id› INT8 NOT NULL, PRIMARY KEY (‹blueprint_id›, ‹omicron_zone_id›, ‹keeper_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":321,"TableName":"‹omicron.public.bp_clickhouse_keeper_zone_id_to_node_id›"}
288 I250401 17:45:20.987035 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 282 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bp_clickhouse_server_zone_id_to_node_id› (‹blueprint_id› UUID NOT NULL, ‹omicron_zone_id› UUID NOT NULL, ‹server_id› INT8 NOT NULL, PRIMARY KEY (‹blueprint_id›, ‹omicron_zone_id›, ‹server_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":322,"TableName":"‹omicron.public.bp_clickhouse_server_zone_id_to_node_id›"}
289 I250401 17:45:20.987045 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 283 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹cockroachdb_zone_id_to_node_id› (‹omicron_zone_id› UUID NOT NULL UNIQUE, ‹crdb_node_id› STRING NOT NULL UNIQUE, PRIMARY KEY (‹omicron_zone_id›, ‹crdb_node_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":323,"TableName":"‹omicron.public.cockroachdb_zone_id_to_node_id›"}
290 I250401 17:45:20.987055 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 284 ={"Timestamp":1743529520070275671,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹rendezvous_debug_dataset› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_tombstoned› TIMESTAMPTZ, ‹pool_id› UUID NOT NULL, ‹blueprint_id_when_created› UUID NOT NULL, ‹blueprint_id_when_tombstoned› UUID, CONSTRAINT ‹tombstoned_consistency› CHECK (((‹time_tombstoned› IS NULL) AND (‹blueprint_id_when_tombstoned› IS NULL)) OR ((‹time_tombstoned› IS NOT NULL) AND (‹blueprint_id_when_tombstoned› IS NOT NULL))))","Tag":"CREATE TABLE","User":"root","DescriptorID":324,"TableName":"‹omicron.public.rendezvous_debug_dataset›"}
291 I250401 17:45:20.987069 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 285 ={"Timestamp":1743529520070275671,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_usable_rendezvous_debug_dataset› ON ‹omicron›.public.‹rendezvous_debug_dataset› (‹id›) WHERE ‹time_tombstoned› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":324,"TableName":"‹omicron.public.rendezvous_debug_dataset›","IndexName":"‹lookup_usable_rendezvous_debug_dataset›"}
292 I250401 17:45:22.010979 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 286 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹affinity_policy› AS ENUM ('fail', 'allow')","Tag":"CREATE TYPE","User":"root","DescriptorID":325,"TypeName":"‹omicron.public.affinity_policy›"}
293 I250401 17:45:22.011053 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 287 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹failure_domain› AS ENUM ('sled')","Tag":"CREATE TYPE","User":"root","DescriptorID":327,"TypeName":"‹omicron.public.failure_domain›"}
294 I250401 17:45:22.011113 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 288 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹affinity_group› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹project_id› UUID NOT NULL, ‹policy› omicron.public.affinity_policy NOT NULL, ‹failure_domain› omicron.public.failure_domain NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":329,"TableName":"‹omicron.public.affinity_group›"}
295 I250401 17:45:22.011133 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 289 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_affinity_group_by_project› ON ‹omicron›.public.‹affinity_group› (‹project_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":329,"TableName":"‹omicron.public.affinity_group›","IndexName":"‹lookup_affinity_group_by_project›"}
296 I250401 17:45:22.011147 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 290 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹affinity_group_instance_membership› (‹group_id› UUID NOT NULL, ‹instance_id› UUID NOT NULL, PRIMARY KEY (‹group_id›, ‹instance_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":330,"TableName":"‹omicron.public.affinity_group_instance_membership›"}
297 I250401 17:45:22.011157 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 291 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_affinity_group_instance_membership_by_instance› ON ‹omicron›.public.‹affinity_group_instance_membership› (‹instance_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":330,"TableName":"‹omicron.public.affinity_group_instance_membership›","IndexName":"‹lookup_affinity_group_instance_membership_by_instance›"}
298 I250401 17:45:22.011170 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 292 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹anti_affinity_group› (‹id› UUID PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹project_id› UUID NOT NULL, ‹policy› omicron.public.affinity_policy NOT NULL, ‹failure_domain› omicron.public.failure_domain NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":331,"TableName":"‹omicron.public.anti_affinity_group›"}
299 I250401 17:45:22.011183 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 293 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_anti_affinity_group_by_project› ON ‹omicron›.public.‹anti_affinity_group› (‹project_id›, ‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":331,"TableName":"‹omicron.public.anti_affinity_group›","IndexName":"‹lookup_anti_affinity_group_by_project›"}
300 I250401 17:45:22.011198 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 294 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹anti_affinity_group_instance_membership› (‹group_id› UUID NOT NULL, ‹instance_id› UUID NOT NULL, PRIMARY KEY (‹group_id›, ‹instance_id›))","Tag":"CREATE TABLE","User":"root","DescriptorID":332,"TableName":"‹omicron.public.anti_affinity_group_instance_membership›"}
301 I250401 17:45:22.011210 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 295 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_anti_affinity_group_instance_membership_by_instance› ON ‹omicron›.public.‹anti_affinity_group_instance_membership› (‹instance_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":332,"TableName":"‹omicron.public.anti_affinity_group_instance_membership›","IndexName":"‹lookup_anti_affinity_group_instance_membership_by_instance›"}
302 I250401 17:45:22.011222 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 296 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹vmm› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹instance_id› UUID NOT NULL, ‹time_state_updated› TIMESTAMPTZ NOT NULL, ‹state_generation› INT8 NOT NULL, ‹sled_id› UUID NOT NULL, ‹propolis_ip› INET NOT NULL, ‹propolis_port› INT4 NOT NULL DEFAULT ‹12400›, ‹state› omicron.public.vmm_state NOT NULL, CHECK (‹propolis_port› BETWEEN ‹0› AND ‹65535›))","Tag":"CREATE TABLE","User":"root","DescriptorID":333,"TableName":"‹omicron.public.vmm›"}
303 I250401 17:45:22.011240 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 297 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_vmms_by_sled_id› ON ‹omicron›.public.‹vmm› (‹sled_id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":333,"TableName":"‹omicron.public.vmm›","IndexName":"‹lookup_vmms_by_sled_id›"}
304 I250401 17:45:22.011250 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 298 ={"Timestamp":1743529521714927509,"EventType":"create_view","Statement":"CREATE OR REPLACE VIEW ‹omicron›.public.‹sled_instance› AS SELECT ‹instance›.‹id›, ‹instance›.‹name›, ‹silo›.‹name› AS ‹silo_name›, ‹project›.‹name› AS ‹project_name›, ‹vmm›.‹sled_id› AS ‹active_sled_id›, ‹instance›.‹time_created›, ‹instance›.‹time_modified›, ‹instance›.‹migration_id›, ‹instance›.‹ncpus›, ‹instance›.‹memory›, ‹vmm›.‹state› FROM ‹omicron›.public.‹instance› AS ‹instance› JOIN ‹omicron›.public.‹project› AS ‹project› ON ‹instance›.‹project_id› = ‹project›.‹id› JOIN ‹omicron›.public.‹silo› AS ‹silo› ON ‹project›.‹silo_id› = ‹silo›.‹id› JOIN ‹omicron›.public.‹vmm› AS ‹vmm› ON ‹instance›.‹active_propolis_id› = ‹vmm›.‹id› WHERE (‹instance›.‹time_deleted› IS NULL) AND (‹vmm›.‹time_deleted› IS NULL)","Tag":"CREATE VIEW","User":"root","DescriptorID":162,"ViewName":"‹omicron.public.sled_instance›","ViewQuery":"‹SELECT instance.id, instance.name, silo.name AS silo_name, project.name AS project_name, vmm.sled_id AS active_sled_id, instance.time_created, instance.time_modified, instance.migration_id, instance.ncpus, instance.memory, vmm.state FROM omicron.public.instance AS instance JOIN omicron.public.project AS project ON instance.project_id = project.id JOIN omicron.public.silo AS silo ON project.silo_id = silo.id JOIN omicron.public.vmm AS vmm ON instance.active_propolis_id = vmm.id WHERE (instance.time_deleted IS NULL) AND (vmm.time_deleted IS NULL)›"}
305 I250401 17:45:22.011283 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 299 ={"Timestamp":1743529521714927509,"EventType":"create_sequence","Statement":"CREATE SEQUENCE IF NOT EXISTS ‹omicron›.public.‹ipv4_nat_version› START 1 INCREMENT 1","Tag":"CREATE SEQUENCE","User":"root","DescriptorID":334,"SequenceName":"‹omicron.public.ipv4_nat_version›"}
306 I250401 17:45:22.011292 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 300 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹ipv4_nat_entry› (‹id› UUID PRIMARY KEY DEFAULT gen_random_uuid(), ‹external_address› INET NOT NULL, ‹first_port› INT4 NOT NULL, ‹last_port› INT4 NOT NULL, ‹sled_address› INET NOT NULL, ‹vni› INT4 NOT NULL, ‹mac› INT8 NOT NULL, ‹version_added› INT8 NOT NULL DEFAULT nextval(‹'omicron.public.ipv4_nat_version'›), ‹version_removed› INT8, ‹time_created› TIMESTAMPTZ NOT NULL DEFAULT now(), ‹time_deleted› TIMESTAMPTZ)","Tag":"CREATE TABLE","User":"root","DescriptorID":335,"TableName":"‹omicron.public.ipv4_nat_entry›"}
307 I250401 17:45:22.011308 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 301 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹ipv4_nat_version_added› ON ‹omicron›.public.‹ipv4_nat_entry› (‹version_added›) STORING (‹external_address›, ‹first_port›, ‹last_port›, ‹sled_address›, ‹vni›, ‹mac›, ‹time_created›, ‹time_deleted›)","Tag":"CREATE INDEX","User":"root","DescriptorID":335,"TableName":"‹omicron.public.ipv4_nat_entry›","IndexName":"‹ipv4_nat_version_added›"}
308 I250401 17:45:22.011319 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 302 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹overlapping_ipv4_nat_entry› ON ‹omicron›.public.‹ipv4_nat_entry› (‹external_address›, ‹first_port›, ‹last_port›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":335,"TableName":"‹omicron.public.ipv4_nat_entry›","IndexName":"‹overlapping_ipv4_nat_entry›"}
309 I250401 17:45:22.011328 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 303 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹ipv4_nat_lookup› ON ‹omicron›.public.‹ipv4_nat_entry› (‹external_address›, ‹first_port›, ‹last_port›, ‹sled_address›, ‹vni›, ‹mac›)","Tag":"CREATE INDEX","User":"root","DescriptorID":335,"TableName":"‹omicron.public.ipv4_nat_entry›","IndexName":"‹ipv4_nat_lookup›"}
310 I250401 17:45:22.011341 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 304 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹ipv4_nat_version_removed› ON ‹omicron›.public.‹ipv4_nat_entry› (‹version_removed›) STORING (‹external_address›, ‹first_port›, ‹last_port›, ‹sled_address›, ‹vni›, ‹mac›, ‹time_created›, ‹time_deleted›)","Tag":"CREATE INDEX","User":"root","DescriptorID":335,"TableName":"‹omicron.public.ipv4_nat_entry›","IndexName":"‹ipv4_nat_version_removed›"}
311 I250401 17:45:22.011352 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 305 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹bfd_mode› AS ENUM ('single_hop', 'multi_hop')","Tag":"CREATE TYPE","User":"root","DescriptorID":336,"TypeName":"‹omicron.public.bfd_mode›"}
312 I250401 17:45:22.011361 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 306 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bfd_session› (‹id› UUID PRIMARY KEY, ‹local› INET, ‹remote› INET NOT NULL, ‹detection_threshold› INT8 NOT NULL, ‹required_rx› INT8 NOT NULL, ‹switch› STRING NOT NULL, ‹mode› omicron.public.bfd_mode, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ)","Tag":"CREATE TABLE","User":"root","DescriptorID":338,"TableName":"‹omicron.public.bfd_session›"}
313 I250401 17:45:22.011377 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 307 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_bfd_session› ON ‹omicron›.public.‹bfd_session› (‹remote›, ‹switch›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":338,"TableName":"‹omicron.public.bfd_session›","IndexName":"‹lookup_bfd_session›"}
314 I250401 17:45:22.011393 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 308 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹ipv4_nat_lookup_by_vni› ON ‹omicron›.public.‹ipv4_nat_entry› (‹vni›) STORING (‹external_address›, ‹first_port›, ‹last_port›, ‹sled_address›, ‹mac›, ‹version_added›, ‹version_removed›, ‹time_created›, ‹time_deleted›)","Tag":"CREATE INDEX","User":"root","DescriptorID":335,"TableName":"‹omicron.public.ipv4_nat_entry›","IndexName":"‹ipv4_nat_lookup_by_vni›"}
315 I250401 17:45:22.011404 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 309 ={"Timestamp":1743529521714927509,"EventType":"create_view","Statement":"CREATE VIEW IF NOT EXISTS ‹omicron›.public.‹ipv4_nat_changes› AS WITH ‹interleaved_versions› AS (SELECT ‹external_address›, ‹first_port›, ‹last_port›, ‹sled_address›, ‹vni›, ‹mac›, ‹version_added› AS ‹version›, (‹version_removed› IS NOT NULL) AS ‹deleted› FROM ‹omicron›.public.‹ipv4_nat_entry› WHERE ‹version_removed› IS NULL UNION SELECT ‹external_address›, ‹first_port›, ‹last_port›, ‹sled_address›, ‹vni›, ‹mac›, ‹version_removed› AS ‹version›, (‹version_removed› IS NOT NULL) AS ‹deleted› FROM ‹omicron›.public.‹ipv4_nat_entry› WHERE ‹version_removed› IS NOT NULL) SELECT ‹external_address›, ‹first_port›, ‹last_port›, ‹sled_address›, ‹vni›, ‹mac›, ‹version›, ‹deleted› FROM ‹\"\"›.‹\"\"›.‹interleaved_versions›","Tag":"CREATE VIEW","User":"root","DescriptorID":339,"ViewName":"‹omicron.public.ipv4_nat_changes›","ViewQuery":"‹WITH interleaved_versions AS (SELECT external_address, first_port, last_port, sled_address, vni, mac, version_added AS version, (version_removed IS NOT NULL) AS deleted FROM omicron.public.ipv4_nat_entry WHERE version_removed IS NULL UNION SELECT external_address, first_port, last_port, sled_address, vni, mac, version_removed AS version, (version_removed IS NOT NULL) AS deleted FROM omicron.public.ipv4_nat_entry WHERE version_removed IS NOT NULL) SELECT external_address, first_port, last_port, sled_address, vni, mac, version, deleted FROM interleaved_versions›"}
316 I250401 17:45:22.011436 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 310 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹probe› (‹id› UUID NOT NULL PRIMARY KEY, ‹name› STRING(63) NOT NULL, ‹description› STRING(512) NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹project_id› UUID NOT NULL, ‹sled› UUID NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":340,"TableName":"‹omicron.public.probe›"}
317 I250401 17:45:22.011447 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 311 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹lookup_probe_by_name› ON ‹omicron›.public.‹probe› (‹name›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":340,"TableName":"‹omicron.public.probe›","IndexName":"‹lookup_probe_by_name›"}
318 I250401 17:45:22.011461 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 312 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹upstairs_repair_notification_type› AS ENUM ('started', 'succeeded', 'failed')","Tag":"CREATE TYPE","User":"root","DescriptorID":341,"TypeName":"‹omicron.public.upstairs_repair_notification_type›"}
319 I250401 17:45:22.011470 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 313 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹upstairs_repair_type› AS ENUM ('live', 'reconciliation')","Tag":"CREATE TYPE","User":"root","DescriptorID":343,"TypeName":"‹omicron.public.upstairs_repair_type›"}
320 I250401 17:45:22.011481 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 314 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹upstairs_repair_notification› (‹\"time\"› TIMESTAMPTZ NOT NULL, ‹repair_id› UUID NOT NULL, ‹repair_type› omicron.public.upstairs_repair_type NOT NULL, ‹upstairs_id› UUID NOT NULL, ‹session_id› UUID NOT NULL, ‹region_id› UUID NOT NULL, ‹target_ip› INET NOT NULL, ‹target_port› INT4 NOT NULL, ‹notification_type› omicron.public.upstairs_repair_notification_type NOT NULL, PRIMARY KEY (‹repair_id›, ‹upstairs_id›, ‹session_id›, ‹region_id›, ‹notification_type›), CHECK (‹target_port› BETWEEN ‹0› AND ‹65535›))","Tag":"CREATE TABLE","User":"root","DescriptorID":345,"TableName":"‹omicron.public.upstairs_repair_notification›"}
321 I250401 17:45:22.011497 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 315 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹upstairs_repair_progress› (‹repair_id› UUID NOT NULL, ‹\"time\"› TIMESTAMPTZ NOT NULL, ‹current_item› INT8 NOT NULL, ‹total_items› INT8 NOT NULL, PRIMARY KEY (‹repair_id›, ‹\"time\"›, ‹current_item›, ‹total_items›))","Tag":"CREATE TABLE","User":"root","DescriptorID":346,"TableName":"‹omicron.public.upstairs_repair_progress›"}
322 I250401 17:45:22.011509 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 316 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹downstairs_client_stop_request_reason_type› AS ENUM ('replacing', 'disabled', 'failed_reconcile', 'io_error', 'bad_negotiation_order', 'incompatible', 'failed_live_repair', 'too_many_outstanding_jobs', 'deactivated')","Tag":"CREATE TYPE","User":"root","DescriptorID":347,"TypeName":"‹omicron.public.downstairs_client_stop_request_reason_type›"}
323 I250401 17:45:22.011533 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 317 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹downstairs_client_stop_request_notification› (‹\"time\"› TIMESTAMPTZ NOT NULL, ‹upstairs_id› UUID NOT NULL, ‹downstairs_id› UUID NOT NULL, ‹reason› omicron.public.downstairs_client_stop_request_reason_type NOT NULL, PRIMARY KEY (‹\"time\"›, ‹upstairs_id›, ‹downstairs_id›, ‹reason›))","Tag":"CREATE TABLE","User":"root","DescriptorID":349,"TableName":"‹omicron.public.downstairs_client_stop_request_notification›"}
324 I250401 17:45:22.011544 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 318 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹downstairs_client_stopped_reason_type› AS ENUM ('connection_timeout', 'connection_failed', 'timeout', 'write_failed', 'read_failed', 'requested_stop', 'finished', 'queue_closed', 'receive_task_cancelled')","Tag":"CREATE TYPE","User":"root","DescriptorID":350,"TypeName":"‹omicron.public.downstairs_client_stopped_reason_type›"}
325 I250401 17:45:22.011557 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 319 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹downstairs_client_stopped_notification› (‹\"time\"› TIMESTAMPTZ NOT NULL, ‹upstairs_id› UUID NOT NULL, ‹downstairs_id› UUID NOT NULL, ‹reason› omicron.public.downstairs_client_stopped_reason_type NOT NULL, PRIMARY KEY (‹\"time\"›, ‹upstairs_id›, ‹downstairs_id›, ‹reason›))","Tag":"CREATE TABLE","User":"root","DescriptorID":352,"TableName":"‹omicron.public.downstairs_client_stopped_notification›"}
326 I250401 17:45:22.011576 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 320 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹rack_initialized› ON ‹omicron›.public.‹rack› (‹initialized›)","Tag":"CREATE INDEX","User":"root","DescriptorID":109,"TableName":"‹omicron.public.rack›","IndexName":"‹rack_initialized›","MutationID":1}
327 I250401 17:45:22.011590 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 321 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹bootstore_config› (‹key› STRING NOT NULL, ‹generation› INT8 NOT NULL, PRIMARY KEY (‹key›, ‹generation›), ‹data› JSONB NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ)","Tag":"CREATE TABLE","User":"root","DescriptorID":353,"TableName":"‹omicron.public.bootstore_config›"}
328 I250401 17:45:22.011600 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 322 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹address_lot_names› ON ‹omicron›.public.‹address_lot› (‹name›)","Tag":"CREATE INDEX","User":"root","DescriptorID":241,"TableName":"‹omicron.public.address_lot›","IndexName":"‹address_lot_names›","MutationID":1}
329 I250401 17:45:22.011610 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 323 ={"Timestamp":1743529521714927509,"EventType":"create_view","Statement":"CREATE VIEW IF NOT EXISTS ‹omicron›.public.‹bgp_peer_view› AS SELECT ‹sp›.‹switch_location›, ‹sp›.‹port_name›, ‹bpc›.‹addr›, ‹bpc›.‹hold_time›, ‹bpc›.‹idle_hold_time›, ‹bpc›.‹delay_open›, ‹bpc›.‹connect_retry›, ‹bpc›.‹keepalive›, ‹bpc›.‹remote_asn›, ‹bpc›.‹min_ttl›, ‹bpc›.‹md5_auth_key›, ‹bpc›.‹multi_exit_discriminator›, ‹bpc›.‹local_pref›, ‹bpc›.‹enforce_first_as›, ‹bpc›.‹vlan_id›, ‹bc›.‹asn› FROM ‹omicron›.public.‹switch_port› AS ‹sp› JOIN ‹omicron›.public.‹switch_port_settings_bgp_peer_config› AS ‹bpc› ON ‹sp›.‹port_settings_id› = ‹bpc›.‹port_settings_id› JOIN ‹omicron›.public.‹bgp_config› AS ‹bc› ON ‹bc›.‹id› = ‹bpc›.‹bgp_config_id›","Tag":"CREATE VIEW","User":"root","DescriptorID":354,"ViewName":"‹omicron.public.bgp_peer_view›","ViewQuery":"‹SELECT sp.switch_location, sp.port_name, bpc.addr, bpc.hold_time, bpc.idle_hold_time, bpc.delay_open, bpc.connect_retry, bpc.keepalive, bpc.remote_asn, bpc.min_ttl, bpc.md5_auth_key, bpc.multi_exit_discriminator, bpc.local_pref, bpc.enforce_first_as, bpc.vlan_id, bc.asn FROM omicron.public.switch_port AS sp JOIN omicron.public.switch_port_settings_bgp_peer_config AS bpc ON sp.port_settings_id = bpc.port_settings_id JOIN omicron.public.bgp_config AS bc ON bc.id = bpc.bgp_config_id›"}
330 I250401 17:45:22.011637 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 324 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹switch_port_id_and_name› ON ‹omicron›.public.‹switch_port› (‹port_settings_id›, ‹port_name›) STORING (‹switch_location›)","Tag":"CREATE INDEX","User":"root","DescriptorID":245,"TableName":"‹omicron.public.switch_port›","IndexName":"‹switch_port_id_and_name›","MutationID":1}
331 I250401 17:45:22.011650 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 325 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹switch_port_name› ON ‹omicron›.public.‹switch_port› (‹port_name›)","Tag":"CREATE INDEX","User":"root","DescriptorID":245,"TableName":"‹omicron.public.switch_port›","IndexName":"‹switch_port_name›","MutationID":1}
332 I250401 17:45:22.011660 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 326 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹network_interface_by_parent› ON ‹omicron›.public.‹network_interface› (‹parent_id›) STORING (‹name›, ‹kind›, ‹vpc_id›, ‹subnet_id›, ‹mac›, ‹ip›, ‹slot›)","Tag":"CREATE INDEX","User":"root","DescriptorID":180,"TableName":"‹omicron.public.network_interface›","IndexName":"‹network_interface_by_parent›","MutationID":1}
333 I250401 17:45:22.011672 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 327 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹sled_by_policy_and_state› ON ‹omicron›.public.‹sled› (‹sled_policy›, ‹sled_state›, ‹id›) STORING (‹ip›)","Tag":"CREATE INDEX","User":"root","DescriptorID":114,"TableName":"‹omicron.public.sled›","IndexName":"‹sled_by_policy_and_state›","MutationID":1}
334 I250401 17:45:22.011682 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 328 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹active_vmm› ON ‹omicron›.public.‹vmm› (‹time_deleted›, ‹sled_id›, ‹instance_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":333,"TableName":"‹omicron.public.vmm›","IndexName":"‹active_vmm›"}
335 I250401 17:45:22.011695 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 329 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹v2p_mapping_details› ON ‹omicron›.public.‹network_interface› (‹time_deleted›, ‹kind›, ‹subnet_id›, ‹vpc_id›, ‹parent_id›) STORING (‹mac›, ‹ip›)","Tag":"CREATE INDEX","User":"root","DescriptorID":180,"TableName":"‹omicron.public.network_interface›","IndexName":"‹v2p_mapping_details›","MutationID":1}
336 I250401 17:45:22.011707 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 330 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹sled_by_policy› ON ‹omicron›.public.‹sled› (‹sled_policy›) STORING (‹ip›, ‹sled_state›)","Tag":"CREATE INDEX","User":"root","DescriptorID":114,"TableName":"‹omicron.public.sled›","IndexName":"‹sled_by_policy›","MutationID":1}
337 I250401 17:45:22.011717 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 331 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹vmm_by_instance_id› ON ‹omicron›.public.‹vmm› (‹instance_id›) STORING (‹sled_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":333,"TableName":"‹omicron.public.vmm›","IndexName":"‹vmm_by_instance_id›"}
338 I250401 17:45:22.011726 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 332 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹region_replacement_state› AS ENUM ('requested', 'allocating', 'running', 'driving', 'replacement_done', 'completing', 'complete')","Tag":"CREATE TYPE","User":"root","DescriptorID":355,"TypeName":"‹omicron.public.region_replacement_state›"}
339 I250401 17:45:22.011740 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 333 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹region_replacement› (‹id› UUID PRIMARY KEY, ‹request_time› TIMESTAMPTZ NOT NULL, ‹old_region_id› UUID NOT NULL, ‹volume_id› UUID NOT NULL, ‹old_region_volume_id› UUID, ‹new_region_id› UUID, ‹replacement_state› omicron.public.region_replacement_state NOT NULL, ‹operating_saga_id› UUID)","Tag":"CREATE TABLE","User":"root","DescriptorID":357,"TableName":"‹omicron.public.region_replacement›"}
340 I250401 17:45:22.011750 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 334 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_region_replacement_by_state› ON ‹omicron›.public.‹region_replacement› (‹replacement_state›)","Tag":"CREATE INDEX","User":"root","DescriptorID":357,"TableName":"‹omicron.public.region_replacement›","IndexName":"‹lookup_region_replacement_by_state›"}
341 I250401 17:45:22.011762 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 335 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹volume_repair› (‹volume_id› UUID PRIMARY KEY, ‹repair_id› UUID NOT NULL)","Tag":"CREATE TABLE","User":"root","DescriptorID":358,"TableName":"‹omicron.public.volume_repair›"}
342 I250401 17:45:22.011771 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 336 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_volume_repair_by_repair_id› ON ‹omicron›.public.‹volume_repair› (‹repair_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":358,"TableName":"‹omicron.public.volume_repair›","IndexName":"‹lookup_volume_repair_by_repair_id›"}
343 I250401 17:45:22.011780 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 337 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹region_replacement_step_type› AS ENUM ('propolis', 'pantry')","Tag":"CREATE TYPE","User":"root","DescriptorID":359,"TypeName":"‹omicron.public.region_replacement_step_type›"}
344 I250401 17:45:22.011789 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 338 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹region_replacement_step› (‹replacement_id› UUID NOT NULL, ‹step_time› TIMESTAMPTZ NOT NULL, ‹step_type› omicron.public.region_replacement_step_type NOT NULL, ‹step_associated_instance_id› UUID, ‹step_associated_vmm_id› UUID, ‹step_associated_pantry_ip› INET, ‹step_associated_pantry_port› INT4, ‹step_associated_pantry_job_id› UUID, PRIMARY KEY (‹replacement_id›, ‹step_time›, ‹step_type›), CHECK (‹step_associated_pantry_port› BETWEEN ‹0› AND ‹65535›))","Tag":"CREATE TABLE","User":"root","DescriptorID":361,"TableName":"‹omicron.public.region_replacement_step›"}
345 I250401 17:45:22.011803 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 339 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹step_time_order› ON ‹omicron›.public.‹region_replacement_step› (‹step_time›)","Tag":"CREATE INDEX","User":"root","DescriptorID":361,"TableName":"‹omicron.public.region_replacement_step›","IndexName":"‹step_time_order›"}
346 I250401 17:45:22.011812 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 340 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹search_for_repair_notifications› ON ‹omicron›.public.‹upstairs_repair_notification› (‹region_id›, ‹notification_type›)","Tag":"CREATE INDEX","User":"root","DescriptorID":345,"TableName":"‹omicron.public.upstairs_repair_notification›","IndexName":"‹search_for_repair_notifications›"}
347 I250401 17:45:22.011826 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 341 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_any_disk_by_volume_id› ON ‹omicron›.public.‹disk› (‹volume_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":165,"TableName":"‹omicron.public.disk›","IndexName":"‹lookup_any_disk_by_volume_id›","MutationID":1}
348 I250401 17:45:22.011836 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 342 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹region_snapshot_replacement_state› AS ENUM ('requested', 'allocating', 'replacement_done', 'deleting_old_volume', 'running', 'complete', 'completing')","Tag":"CREATE TYPE","User":"root","DescriptorID":362,"TypeName":"‹omicron.public.region_snapshot_replacement_state›"}
349 I250401 17:45:22.011846 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 343 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹read_only_target_replacement_type› AS ENUM ('region_snapshot', 'read_only_region')","Tag":"CREATE TYPE","User":"root","DescriptorID":364,"TypeName":"‹omicron.public.read_only_target_replacement_type›"}
350 I250401 17:45:22.011855 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 344 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹region_snapshot_replacement› (‹id› UUID PRIMARY KEY, ‹request_time› TIMESTAMPTZ NOT NULL, ‹old_dataset_id› UUID, ‹old_region_id› UUID NOT NULL, ‹old_snapshot_id› UUID, ‹old_snapshot_volume_id› UUID, ‹new_region_id› UUID, ‹replacement_state› omicron.public.region_snapshot_replacement_state NOT NULL, ‹operating_saga_id› UUID, ‹new_region_volume_id› UUID, ‹replacement_type› omicron.public.read_only_target_replacement_type NOT NULL, CONSTRAINT ‹proper_replacement_fields› CHECK (((‹replacement_type› = ‹'region_snapshot'›) AND ((‹old_dataset_id› IS NOT NULL) AND (‹old_snapshot_id› IS NOT NULL))) OR ((‹replacement_type› = ‹'read_only_region'›) AND ((‹old_dataset_id› IS NULL) AND (‹old_snapshot_id› IS NULL)))))","Tag":"CREATE TABLE","User":"root","DescriptorID":366,"TableName":"‹omicron.public.region_snapshot_replacement›"}
351 I250401 17:45:22.011871 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 345 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_region_snapshot_replacement_by_state› ON ‹omicron›.public.‹region_snapshot_replacement› (‹replacement_state›)","Tag":"CREATE INDEX","User":"root","DescriptorID":366,"TableName":"‹omicron.public.region_snapshot_replacement›","IndexName":"‹lookup_region_snapshot_replacement_by_state›"}
352 I250401 17:45:22.011884 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 346 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹region_snapshot_replacement_step_state› AS ENUM ('requested', 'running', 'complete', 'volume_deleted')","Tag":"CREATE TYPE","User":"root","DescriptorID":367,"TypeName":"‹omicron.public.region_snapshot_replacement_step_state›"}
353 I250401 17:45:22.011893 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 347 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹region_snapshot_replacement_step› (‹id› UUID PRIMARY KEY, ‹request_id› UUID NOT NULL, ‹request_time› TIMESTAMPTZ NOT NULL, ‹volume_id› UUID NOT NULL, ‹old_snapshot_volume_id› UUID, ‹replacement_state› omicron.public.region_snapshot_replacement_step_state NOT NULL, ‹operating_saga_id› UUID)","Tag":"CREATE TABLE","User":"root","DescriptorID":369,"TableName":"‹omicron.public.region_snapshot_replacement_step›"}
354 I250401 17:45:22.011907 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 348 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_region_snapshot_replacement_step_by_state› ON ‹omicron›.public.‹region_snapshot_replacement_step› (‹replacement_state›)","Tag":"CREATE INDEX","User":"root","DescriptorID":369,"TableName":"‹omicron.public.region_snapshot_replacement_step›","IndexName":"‹lookup_region_snapshot_replacement_step_by_state›"}
355 I250401 17:45:22.011920 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 349 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_region_snapshot_replacement_step_by_old_volume_id› ON ‹omicron›.public.‹region_snapshot_replacement_step› (‹old_snapshot_volume_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":369,"TableName":"‹omicron.public.region_snapshot_replacement_step›","IndexName":"‹lookup_region_snapshot_replacement_step_by_old_volume_id›"}
356 I250401 17:45:22.011931 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 350 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹db_metadata› (‹singleton› BOOL NOT NULL PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹version› STRING(64) NOT NULL, ‹target_version› STRING(64), CHECK (‹singleton› = ‹true›))","Tag":"CREATE TABLE","User":"root","DescriptorID":370,"TableName":"‹omicron.public.db_metadata›"}
357 I250401 17:45:22.011940 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 351 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹allow_list› (‹id› UUID PRIMARY KEY, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_modified› TIMESTAMPTZ NOT NULL, ‹allowed_ips› INET[], CHECK (array_length(‹allowed_ips›, ‹1›) > ‹0›))","Tag":"CREATE TABLE","User":"root","DescriptorID":371,"TableName":"‹omicron.public.allow_list›"}
358 I250401 17:45:22.011949 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 352 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹migration_state› AS ENUM ('pending', 'in_progress', 'failed', 'completed')","Tag":"CREATE TYPE","User":"root","DescriptorID":372,"TypeName":"‹omicron.public.migration_state›"}
359 I250401 17:45:22.011958 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 353 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹migration› (‹id› UUID PRIMARY KEY, ‹instance_id› UUID NOT NULL, ‹time_created› TIMESTAMPTZ NOT NULL, ‹time_deleted› TIMESTAMPTZ, ‹source_state› omicron.public.migration_state NOT NULL, ‹source_propolis_id› UUID NOT NULL, ‹source_gen› INT8 NOT NULL DEFAULT ‹1›, ‹time_source_updated› TIMESTAMPTZ, ‹target_state› omicron.public.migration_state NOT NULL, ‹target_propolis_id› UUID NOT NULL, ‹target_gen› INT8 NOT NULL DEFAULT ‹1›, ‹time_target_updated› TIMESTAMPTZ)","Tag":"CREATE TABLE","User":"root","DescriptorID":374,"TableName":"‹omicron.public.migration›"}
360 I250401 17:45:22.011970 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 354 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_migrations_by_instance_id› ON ‹omicron›.public.‹migration› (‹instance_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":374,"TableName":"‹omicron.public.migration›","IndexName":"‹lookup_migrations_by_instance_id›"}
361 I250401 17:45:22.011985 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 355 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹migrations_by_time_created› ON ‹omicron›.public.‹migration› (‹time_created›)","Tag":"CREATE INDEX","User":"root","DescriptorID":374,"TableName":"‹omicron.public.migration›","IndexName":"‹migrations_by_time_created›"}
362 I250401 17:45:22.011996 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 356 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_region_snapshot_by_snapshot_id› ON ‹omicron›.public.‹region_snapshot› (‹snapshot_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":135,"TableName":"‹omicron.public.region_snapshot›","IndexName":"‹lookup_region_snapshot_by_snapshot_id›","MutationID":1}
363 I250401 17:45:22.012008 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 357 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_bgp_config_by_bgp_announce_set_id› ON ‹omicron›.public.‹bgp_config› (‹bgp_announce_set_id›) WHERE ‹time_deleted› IS NULL","Tag":"CREATE INDEX","User":"root","DescriptorID":268,"TableName":"‹omicron.public.bgp_config›","IndexName":"‹lookup_bgp_config_by_bgp_announce_set_id›","MutationID":1}
364 I250401 17:45:22.012035 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 358 ={"Timestamp":1743529521714927509,"EventType":"create_type","Statement":"CREATE TYPE IF NOT EXISTS ‹omicron›.‹public›.‹volume_resource_usage_type› AS ENUM ('read_only_region', 'region_snapshot')","Tag":"CREATE TYPE","User":"root","DescriptorID":375,"TypeName":"‹omicron.public.volume_resource_usage_type›"}
365 I250401 17:45:22.012046 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 359 ={"Timestamp":1743529521714927509,"EventType":"create_table","Statement":"CREATE TABLE IF NOT EXISTS ‹omicron›.public.‹volume_resource_usage› (‹usage_id› UUID NOT NULL, ‹volume_id› UUID NOT NULL, ‹usage_type› omicron.public.volume_resource_usage_type NOT NULL, ‹region_id› UUID, ‹region_snapshot_dataset_id› UUID, ‹region_snapshot_region_id› UUID, ‹region_snapshot_snapshot_id› UUID, PRIMARY KEY (‹usage_id›), CONSTRAINT ‹exactly_one_usage_source› CHECK ((((‹usage_type› = ‹'read_only_region'›) AND (‹region_id› IS NOT NULL)) AND (((‹region_snapshot_dataset_id› IS NULL) AND (‹region_snapshot_region_id› IS NULL)) AND (‹region_snapshot_snapshot_id› IS NULL))) OR (((‹usage_type› = ‹'region_snapshot'›) AND (‹region_id› IS NULL)) AND (((‹region_snapshot_dataset_id› IS NOT NULL) AND (‹region_snapshot_region_id› IS NOT NULL)) AND (‹region_snapshot_snapshot_id› IS NOT NULL)))))","Tag":"CREATE TABLE","User":"root","DescriptorID":377,"TableName":"‹omicron.public.volume_resource_usage›"}
366 I250401 17:45:22.012060 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 360 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_volume_resource_usage_by_region› ON ‹omicron›.public.‹volume_resource_usage› (‹region_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":377,"TableName":"‹omicron.public.volume_resource_usage›","IndexName":"‹lookup_volume_resource_usage_by_region›"}
367 I250401 17:45:22.012071 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 361 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE INDEX IF NOT EXISTS ‹lookup_volume_resource_usage_by_snapshot› ON ‹omicron›.public.‹volume_resource_usage› (‹region_snapshot_dataset_id›, ‹region_snapshot_region_id›, ‹region_snapshot_snapshot_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":377,"TableName":"‹omicron.public.volume_resource_usage›","IndexName":"‹lookup_volume_resource_usage_by_snapshot›"}
368 I250401 17:45:22.012112 888 5@util/log/event_log.go:32 ⋮ [n1,client=[::1]:34946,user=root] 362 ={"Timestamp":1743529521714927509,"EventType":"create_index","Statement":"CREATE UNIQUE INDEX IF NOT EXISTS ‹one_record_per_volume_resource_usage› ON ‹omicron›.public.‹volume_resource_usage› (‹volume_id›, ‹usage_type›, ‹region_id›, ‹region_snapshot_dataset_id›, ‹region_snapshot_region_id›, ‹region_snapshot_snapshot_id›)","Tag":"CREATE INDEX","User":"root","DescriptorID":377,"TableName":"‹omicron.public.volume_resource_usage›","IndexName":"‹one_record_per_volume_resource_usage›"}
369 I250401 17:45:22.259927 3684 5@util/log/event_log.go:32 ⋮ [n1,job=1059910850441183233,scExec,id=109,mutation=1] 363 ={"Timestamp":1743529522255343280,"EventType":"finish_schema_change","InstanceID":1,"DescriptorID":109,"MutationID":1}
370 I250401 17:45:22.281863 3671 5@util/log/event_log.go:32 ⋮ [n1,job=1059910850511863809,scExec,id=180,mutation=1] 364 ={"Timestamp":1743529522269630502,"EventType":"finish_schema_change","InstanceID":1,"DescriptorID":180,"MutationID":1}
371 I250401 17:45:22.337712 3665 5@util/log/event_log.go:32 ⋮ [n1,job=1059910850481487873,scExec,id=245,mutation=1] 365 ={"Timestamp":1743529522330947348,"EventType":"finish_schema_change","InstanceID":1,"DescriptorID":245,"MutationID":1}
372 I250401 17:45:22.358828 3836 5@util/log/event_log.go:32 ⋮ [n1,job=1059910850861236225,scExec,id=135,mutation=1] 366 ={"Timestamp":1743529522342761843,"EventType":"finish_schema_change","InstanceID":1,"DescriptorID":135,"MutationID":1}
373 I250401 17:45:22.375085 3718 5@util/log/event_log.go:32 ⋮ [n1,job=1059910850528739329,scExec,id=114,mutation=1] 367 ={"Timestamp":1743529522363978394,"EventType":"finish_schema_change","InstanceID":1,"DescriptorID":114,"MutationID":1}
374 I250401 17:45:22.425424 3715 5@util/log/event_log.go:32 ⋮ [n1,job=1059910850485551105,scExec,id=268,mutation=1] 368 ={"Timestamp":1743529522417873882,"EventType":"finish_schema_change","InstanceID":1,"DescriptorID":268,"MutationID":1}
375 I250401 17:45:22.431805 3663 5@util/log/event_log.go:32 ⋮ [n1,job=1059910850455535617,scExec,id=241,mutation=1] 369 ={"Timestamp":1743529522425133288,"EventType":"finish_schema_change","InstanceID":1,"DescriptorID":241,"MutationID":1}
376 I250401 17:45:22.436137 3840 5@util/log/event_log.go:32 ⋮ [n1,job=1059910850706702337,scExec,id=165,mutation=1] 370 ={"Timestamp":1743529522429060227,"EventType":"finish_schema_change","InstanceID":1,"DescriptorID":165,"MutationID":1}