1 | | [ Oct 4 22:29:11 Disabled. ] |
2 | | [ Oct 4 22:29:11 Rereading configuration. ] |
3 | | [ Oct 4 22:29:35 Rereading configuration. ] |
4 | | [ Oct 4 22:29:48 Enabled. ] |
5 | | [ Oct 4 22:29:48 Executing start method ("ctrun -l child -o noorphan,regent /opt/oxide/nexus/bin/nexus /var/svc/manifest/site/nexus/config.toml &"). ] |
6 | | [ Oct 4 22:29:48 Method "start" exited with status 0. ] |
7 | | note: configured to log to "/dev/stdout" |
8 | 2023-10-04T22:29:48.284Z | DEBG | nexus: registered DTrace probes
|
9 | 2023-10-04T22:29:48.286Z | INFO | nexus: setting up nexus server
file = nexus/src/lib.rs:87
|
10 | 2023-10-04T22:29:48.295Z | INFO | nexus (ServerContext): registering Oso class
class = Action
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
11 | 2023-10-04T22:29:48.295Z | INFO | nexus (ServerContext): registering Oso class
class = AnyActor
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
12 | 2023-10-04T22:29:48.295Z | INFO | nexus (ServerContext): registering Oso class
class = AuthenticatedActor
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
13 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Database
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
14 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = DnsConfig
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
15 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Fleet
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
16 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = IpPoolList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
17 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = ConsoleSessionList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
18 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = DeviceAuthRequestList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
19 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = SiloCertificateList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
20 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = SiloIdentityProviderList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
21 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = SiloUserList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
22 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Project
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
23 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Disk
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
24 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Snapshot
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
25 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = ProjectImage
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
26 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Instance
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
27 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = IpPool
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
28 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = InstanceNetworkInterface
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
29 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Vpc
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
30 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = VpcRouter
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
31 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = RouterRoute
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
32 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = VpcSubnet
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
33 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Image
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
34 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = SiloImage
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
35 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = AddressLot
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
36 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = LoopbackAddress
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
37 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Certificate
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
38 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = ConsoleSession
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
39 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = DeviceAuthRequest
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
40 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = DeviceAccessToken
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
41 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = PhysicalDisk
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
42 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Rack
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
43 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = RoleBuiltin
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
44 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = SshKey
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
45 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Silo
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
46 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = SiloUser
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
47 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = SiloGroup
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
48 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = IdentityProvider
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
49 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = SamlIdentityProvider
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
50 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Sled
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
51 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Zpool
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
52 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = Service
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
53 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = UpdateArtifact
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
54 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = UserBuiltin
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
55 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = SystemUpdate
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
56 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): registering Oso class
class = UpdateDeployment
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
57 | 2023-10-04T22:29:48.296Z | INFO | nexus (ServerContext): full Oso configuration
config = #\n# Oso configuration for Omicron\n# This file is augmented by generated snippets.\n#\n\n#\n# ACTOR TYPES AND BASIC RULES\n#\n\n# `AnyActor` includes both authenticated and unauthenticated users.\nactor AnyActor {}\n\n# An `AuthenticatedActor` has an identity in the system. All of our operations\n# today require that an actor be authenticated.\nactor AuthenticatedActor {}\n\n# For any resource, `actor` can perform action `action` on it if they're\n# authenticated and their role(s) give them the corresponding permission on that\n# resource.\nallow(actor: AnyActor, action: Action, resource) if\n actor.authenticated and\n has_permission(actor.authn_actor.unwrap(), action.to_perm(), resource);\n\n# Define role relationships\nhas_role(actor: AuthenticatedActor, role: String, resource: Resource)\n\tif resource.has_role(actor, role);\n\n#\n# ROLES AND PERMISSIONS IN THE FLEET/SILO/PROJECT HIERARCHY\n#\n# We define the following permissions for most resources in the system:\n#\n# - "create_child": required to create child resources (of any type)\n#\n# - "list_children": required to list child resources (of all types) of a\n# resource\n#\n# - "modify": required to modify or delete a resource\n#\n# - "read": required to read a resource\n#\n# We define the following predefined roles for only a few high-level resources:\n# the Fleet (see below), Silo, Organization, and Project. The specific roles\n# are oriented around intended use-cases:\n#\n# - "admin": has all permissions on the resource\n#\n# - "collaborator": has "read", "list_children", and "create_child", plus\n# the "admin" role for child resources. The idea is that if you're an\n# Organization Collaborator, you have full control over the Projects within\n# the Organization, but you cannot modify or delete the Organization itself.\n#\n# - "viewer": has "read" and "list_children" on a resource\n#\n# Below the Project level, permissions are granted via roles at the Project\n# level. For example, for someone to be able to create, modify, or delete any\n# Instances, they must be granted project.collaborator, which means they can\n# create, modify, or delete _all_ resources in the Project.\n#\n# The complete set of predefined roles:\n#\n# - fleet.admin (superuser for the whole system)\n# - fleet.collaborator (can manage Silos)\n# - fleet.viewer (can read most non-siloed resources in the system)\n# - silo.admin (superuser for the silo)\n# - silo.collaborator (can create and own Organizations)\n# - silo.viewer (can read most resources within the Silo)\n# - organization.admin (complete control over an organization)\n# - organization.collaborator (can manage Projects)\n# - organization.viewer (can read most resources within the Organization)\n# - project.admin (complete control over a Project)\n# - project.collaborator (can manage all resources within the Project)\n# - project.viewer (can read most resources within the Project)\n#\n# Outside the Silo/Organization/Project hierarchy, we (currently) treat most\n# resources as nested under Fleet or else a synthetic resource (see below). We\n# do not yet support role assignments on anything other than Fleet, Silo,\n# Organization, or Project.\n#\n\n# "Fleet" is a global singleton representing the whole system. The name comes\n# from the idea described in RFD 24, but it's not quite right. This probably\n# should be more like "Region" or "AvailabilityZone". The precise boundaries\n# have not yet been figured out.\nresource Fleet {\n\tpermissions = [\n\t "list_children",\n\t "modify",\n\t "read",\n\t "create_child",\n\t];\n\n\troles = [\n\t # Roles that can be attached by users\n\t "admin",\n\t "collaborator",\n\t "viewer",\n\n\t # Internal-only roles\n\t "external-authenticator"\n\t];\n\n\t# Roles implied by other roles on this resource\n\t"viewer" if "collaborator";\n\t"collaborator" if "admin";\n\n\t# Permissions granted directly by roles on this resource\n\t"list_children" if "viewer";\n\t"read" if "viewer";\n\t"create_child" if "collaborator";\n\t"modify" if "admin";\n}\n\n# For fleets specifically, roles can be conferred by roles on the user's Silo.\nhas_role(actor: AuthenticatedActor, role: String, _: Fleet) if\n\tsilo_role in actor.confers_fleet_role(role) and\n\thas_role(actor, silo_role, actor.silo.unwrap());\n\nresource Silo {\n\tpermissions = [\n\t "list_children",\n\t "modify",\n\t "read",\n\t "create_child",\n\t];\n\troles = [ "admin", "collaborator", "viewer" ];\n\n\t# Roles implied by other roles on this resource\n\t"viewer" if "collaborator";\n\t"collaborator" if "admin";\n\n\t# Permissions granted directly by roles on this resource\n\t"list_children" if "viewer";\n\t"read" if "viewer";\n\n\t"create_child" if "collaborator";\n\t"modify" if "admin";\n\n\t# Permissions implied by roles on this resource's parent (Fleet). Fleet\n\t# privileges allow a user to see and potentially administer the Silo,\n\t# but they do not give anyone permission to look at anything inside the\n\t# Silo. To achieve this, we use permission rules here. (If we granted\n\t# Fleet administrators _roles_ on the Silo, then those would cascade\n\t# into the Silo as well.)\n\trelations = { parent_fleet: Fleet };\n\t"read" if "viewer" on "parent_fleet";\n\t"modify" if "collaborator" on "parent_fleet";\n\n\t# external authenticator has to create silo users\n\t"list_children" if "external-authenticator" on "parent_fleet";\n\t"create_child" if "external-authenticator" on "parent_fleet";\n}\n\nhas_relation(fleet: Fleet, "parent_fleet", silo: Silo)\n\tif silo.fleet = fleet;\n\n# As a special case, all authenticated users can read their own Silo. That's\n# not quite the same as having the "viewer" role. For example, they cannot list\n# Organizations in the Silo.\n#\n# One reason this is necessary is because if an unprivileged user tries to\n# create an Organization using "POST /organizations", they should get back a 403\n# (which implies they're able to see /organizations, which is essentially seeing\n# the Silo itself) rather than a 404. This behavior isn't a hard constraint\n# (i.e., you could reasonably get a 404 for an API you're not allowed to call).\n# Nor is the implementation (i.e., we could special-case this endpoint somehow).\n# But granting this permission is the simplest way to keep this endpoint's\n# behavior consistent with the rest of the API.\n#\n# This rule is also used to determine if a user can list the identity providers\n# in the Silo (which they should be able to), since that's predicated on being\n# able to read the Silo.\n#\n# It's unclear what else would break if users couldn't see their own Silo.\nhas_permission(actor: AuthenticatedActor, "read", silo: Silo)\n\tif silo in actor.silo;\n\nresource Project {\n\tpermissions = [\n\t "list_children",\n\t "modify",\n\t "read",\n\t "create_child",\n\t];\n\troles = [ "admin", "collaborator", "viewer" ];\n\n\t# Roles implied by other roles on this resource\n\t"viewer" if "collaborator";\n\t"collaborator" if "admin";\n\n\t# Permissions granted directly by roles on this resource\n\t"list_children" if "viewer";\n\t"read" if "viewer";\n\t"create_child" if "collaborator";\n\t"modify" if "admin";\n\n\t# Roles implied by roles on this resource's parent (Silo)\n\trelations = { parent_silo: Silo };\n\t"admin" if "collaborator" on "parent_silo";\n\t"viewer" if "viewer" on "parent_silo";\n}\nhas_relation(silo: Silo, "parent_silo", project: Project)\n\tif project.silo = silo;\n\n#\n# GENERAL RESOURCES OUTSIDE THE SILO/PROJECT HIERARCHY\n#\n# Many resources use snippets of Polar generated by the `authz_resource!` Rust\n# macro. Some resources require custom Polar code. Those appear here.\n#\n\nresource Certificate {\n\tpermissions = [ "read", "modify" ];\n\trelations = { parent_silo: Silo, parent_fleet: Fleet };\n\n\t# Fleet-level and silo-level roles both grant privileges on certificates.\n\t"read" if "admin" on "parent_silo";\n\t"modify" if "admin" on "parent_silo";\n\t"read" if "admin" on "parent_fleet";\n\t"modify" if "admin" on "parent_fleet";\n}\nhas_relation(silo: Silo, "parent_silo", certificate: Certificate)\n\tif certificate.silo = silo;\nhas_relation(fleet: Fleet, "parent_fleet", certificate: Certificate)\n\tif certificate.silo.fleet = fleet;\n\nresource SiloUser {\n\tpermissions = [\n\t "list_children",\n\t "modify",\n\t "read",\n\t "create_child",\n\t];\n\n\t# Fleet and Silo administrators can manage a Silo's users. This is one\n\t# of the only areas of Silo configuration that Fleet Administrators have\n\t# permissions on.\n\trelations = { parent_silo: Silo, parent_fleet: Fleet };\n\t"list_children" if "read" on "parent_silo";\n\t"read" if "read" on "parent_silo";\n\t"modify" if "admin" on "parent_silo";\n\t"create_child" if "admin" on "parent_silo";\n\t"list_children" if "read" on "parent_fleet";\n\t"read" if "read" on "parent_fleet";\n\t"modify" if "admin" on "parent_fleet";\n\t"create_child" if "admin" on "parent_fleet";\n}\nhas_relation(silo: Silo, "parent_silo", user: SiloUser)\n\tif user.silo = silo;\nhas_relation(fleet: Fleet, "parent_fleet", user: SiloUser)\n\tif user.silo.fleet = fleet;\n\n# authenticated actors have all permissions on themselves\nhas_permission(actor: AuthenticatedActor, _perm: String, silo_user: SiloUser)\n if actor.equals_silo_user(silo_user);\n\nhas_permission(actor: AuthenticatedActor, "read", silo_user: SiloUser)\n if silo_user.silo in actor.silo;\n\nresource SiloGroup {\n\tpermissions = [\n\t "list_children",\n\t "modify",\n\t "read",\n\t "create_child",\n\t];\n\n\trelations = { parent_silo: Silo };\n\t"list_children" if "read" on "parent_silo";\n\t"read" if "read" on "parent_silo";\n\t"modify" if "admin" on "parent_silo";\n\t"create_child" if "admin" on "parent_silo";\n}\nhas_relation(silo: Silo, "parent_silo", group: SiloGroup)\n\tif group.silo = silo;\n\nresource SshKey {\n\tpermissions = [ "read", "modify" ];\n\trelations = { silo_user: SiloUser };\n\n\t"read" if "read" on "silo_user";\n\t"modify" if "modify" on "silo_user";\n}\nhas_relation(user: SiloUser, "silo_user", ssh_key: SshKey)\n\tif ssh_key.silo_user = user;\n\nresource IdentityProvider {\n\tpermissions = [\n\t "read",\n\t "modify",\n\t "create_child",\n\t "list_children",\n\t];\n\trelations = { parent_silo: Silo, parent_fleet: Fleet };\n\n\t# Silo-level roles grant privileges on identity providers.\n\t"read" if "viewer" on "parent_silo";\n\t"list_children" if "viewer" on "parent_silo";\n\t"modify" if "admin" on "parent_silo";\n\t"create_child" if "admin" on "parent_silo";\n\n\t# Fleet-level roles also grant privileges on identity providers.\n\t"read" if "viewer" on "parent_fleet";\n\t"list_children" if "viewer" on "parent_fleet";\n\t"modify" if "admin" on "parent_fleet";\n\t"create_child" if "admin" on "parent_fleet";\n}\nhas_relation(silo: Silo, "parent_silo", identity_provider: IdentityProvider)\n\tif identity_provider.silo = silo;\nhas_relation(fleet: Fleet, "parent_fleet", collection: IdentityProvider)\n\tif collection.silo.fleet = fleet;\n\nresource SamlIdentityProvider {\n\tpermissions = [\n\t "read",\n\t "modify",\n\t "create_child",\n\t "list_children",\n\t];\n\trelations = { parent_silo: Silo, parent_fleet: Fleet };\n\n\t# Silo-level roles grant privileges on identity providers.\n\t"read" if "viewer" on "parent_silo";\n\t"list_children" if "viewer" on "parent_silo";\n\t"modify" if "admin" on "parent_silo";\n\t"create_child" if "admin" on "parent_silo";\n\n\t# Fleet-level roles also grant privileges on identity providers.\n\t"read" if "viewer" on "parent_fleet";\n\t"list_children" if "viewer" on "parent_fleet";\n\t"modify" if "admin" on "parent_fleet";\n\t"create_child" if "admin" on "parent_fleet";\n}\nhas_relation(silo: Silo, "parent_silo", saml_identity_provider: SamlIdentityProvider)\n\tif saml_identity_provider.silo = silo;\nhas_relation(fleet: Fleet, "parent_fleet", collection: SamlIdentityProvider)\n\tif collection.silo.fleet = fleet;\n\n#\n# SYNTHETIC RESOURCES OUTSIDE THE SILO HIERARCHY\n#\n# The resources here do not correspond to anything that appears explicitly in\n# the API or is stored in the database. These are used either at the top level\n# of the API path (e.g., "/v1/system/ip-pools") or as an implementation detail of the system\n# (in the case of console sessions and "Database"). The policies are\n# either statically-defined in this file or driven by role assignments on the\n# Fleet. None of these resources defines their own roles.\n#\n\n# Describes the policy for reading and modifying DNS configuration\n# (both internal and external)\nresource DnsConfig {\n\tpermissions = [ "read", "modify" ];\n\trelations = { parent_fleet: Fleet };\n\t# "external-authenticator" requires these permissions because that's the\n\t# context that Nexus uses when creating and deleting Silos. These\n\t# operations necessarily need to read and modify DNS configuration.\n\t"read" if "external-authenticator" on "parent_fleet";\n\t"modify" if "external-authenticator" on "parent_fleet";\n\t# "admin" on the parent fleet also gets these permissions, primarily for\n\t# the test suite.\n\t"read" if "admin" on "parent_fleet";\n\t"modify" if "admin" on "parent_fleet";\n}\nhas_relation(fleet: Fleet, "parent_fleet", dns_config: DnsConfig)\n\tif dns_config.fleet = fleet;\n\n# Describes the policy for accessing "/v1/system/ip-pools" in the API\nresource IpPoolList {\n\tpermissions = [\n\t "list_children",\n\t "modify",\n\t "create_child",\n\t];\n\n\t# Fleet Administrators can create or modify the IP Pools list.\n\trelations = { parent_fleet: Fleet };\n\t"modify" if "admin" on "parent_fleet";\n\t"create_child" if "admin" on "parent_fleet";\n\n\t# Fleet Viewers can list IP Pools\n\t"list_children" if "viewer" on "parent_fleet";\n}\nhas_relation(fleet: Fleet, "parent_fleet", ip_pool_list: IpPoolList)\n\tif ip_pool_list.fleet = fleet;\n\n# Any authenticated user can create a child of a provided IP Pool.\n# This is necessary to use the pools when provisioning instances.\nhas_permission(actor: AuthenticatedActor, "create_child", ip_pool: IpPool)\n\tif silo in actor.silo and silo.fleet = ip_pool.fleet;\n\n# Describes the policy for creating and managing web console sessions.\nresource ConsoleSessionList {\n\tpermissions = [ "create_child" ];\n\trelations = { parent_fleet: Fleet };\n\t"create_child" if "external-authenticator" on "parent_fleet";\n}\nhas_relation(fleet: Fleet, "parent_fleet", collection: ConsoleSessionList)\n\tif collection.fleet = fleet;\n\n# Describes the policy for creating and managing device authorization requests.\nresource DeviceAuthRequestList {\n\tpermissions = [ "create_child" ];\n\trelations = { parent_fleet: Fleet };\n\t"create_child" if "external-authenticator" on "parent_fleet";\n}\nhas_relation(fleet: Fleet, "parent_fleet", collection: DeviceAuthRequestList)\n\tif collection.fleet = fleet;\n\n# Describes the policy for creating and managing Silo certificates\nresource SiloCertificateList {\n\tpermissions = [ "list_children", "create_child" ];\n\n\trelations = { parent_silo: Silo, parent_fleet: Fleet };\n\n\t# Both Fleet and Silo administrators can see and modify the Silo's\n\t# certificates.\n\t"list_children" if "admin" on "parent_silo";\n\t"list_children" if "admin" on "parent_fleet";\n\t"create_child" if "admin" on "parent_silo";\n\t"create_child" if "admin" on "parent_fleet";\n}\nhas_relation(silo: Silo, "parent_silo", collection: SiloCertificateList)\n\tif collection.silo = silo;\nhas_relation(fleet: Fleet, "parent_fleet", collection: SiloCertificateList)\n\tif collection.silo.fleet = fleet;\n\n# Describes the policy for creating and managing Silo identity providers\nresource SiloIdentityProviderList {\n\tpermissions = [ "list_children", "create_child" ];\n\n\trelations = { parent_silo: Silo, parent_fleet: Fleet };\n\n\t# Everyone who can read the Silo (which includes all the users in the\n\t# Silo) can see the identity providers in it.\n\t"list_children" if "read" on "parent_silo";\n\n\t# Fleet and Silo administrators can manage the Silo's identity provider\n\t# configuration. This is one of the only areas of Silo configuration\n\t# that Fleet Administrators have permissions on. This is also one of\n\t# the only cases where we need to look two levels up the hierarchy to\n\t# see if somebody has the right permission. For most other things,\n\t# permissions cascade down the hierarchy so we only need to look at the\n\t# parent.\n\t"create_child" if "admin" on "parent_silo";\n\t"create_child" if "admin" on "parent_fleet";\n}\nhas_relation(silo: Silo, "parent_silo", collection: SiloIdentityProviderList)\n\tif collection.silo = silo;\nhas_relation(fleet: Fleet, "parent_fleet", collection: SiloIdentityProviderList)\n\tif collection.silo.fleet = fleet;\n\n# Describes the policy for creating and managing Silo users (mostly intended for\n# API-managed users)\nresource SiloUserList {\n\tpermissions = [ "list_children", "create_child" ];\n\n\trelations = { parent_silo: Silo, parent_fleet: Fleet };\n\n\t# Everyone who can read the Silo (which includes all the users in the\n\t# Silo) can see the users in it.\n\t"list_children" if "read" on "parent_silo";\n\n\t# Fleet and Silo administrators can manage the Silo's users. This is\n\t# one of the only areas of Silo configuration that Fleet Administrators\n\t# have permissions on. This is also one of the few cases (so far) where\n\t# we need to look two levels up the hierarchy to see if somebody has the\n\t# right permission. For most other things, permissions cascade down the\n\t# hierarchy so we only need to look at the parent.\n\t"create_child" if "admin" on "parent_silo";\n\t"list_children" if "admin" on "parent_fleet";\n\t"create_child" if "admin" on "parent_fleet";\n}\nhas_relation(silo: Silo, "parent_silo", collection: SiloUserList)\n\tif collection.silo = silo;\nhas_relation(fleet: Fleet, "parent_fleet", collection: SiloUserList)\n\tif collection.silo.fleet = fleet;\n\n# These rules grants the external authenticator role the permissions it needs to\n# read silo users and modify their sessions. This is necessary for login to\n# work.\nhas_permission(actor: AuthenticatedActor, "read", silo: Silo)\n\tif has_role(actor, "external-authenticator", silo.fleet);\nhas_permission(actor: AuthenticatedActor, "read", user: SiloUser)\n\tif has_role(actor, "external-authenticator", user.silo.fleet);\nhas_permission(actor: AuthenticatedActor, "modify", user: SiloUser)\n\tif has_role(actor, "external-authenticator", user.silo.fleet);\nhas_permission(actor: AuthenticatedActor, "read", group: SiloGroup)\n\tif has_role(actor, "external-authenticator", group.silo.fleet);\nhas_permission(actor: AuthenticatedActor, "modify", group: SiloGroup)\n\tif has_role(actor, "external-authenticator", group.silo.fleet);\n\nhas_permission(actor: AuthenticatedActor, "read", session: ConsoleSession)\n\tif has_role(actor, "external-authenticator", session.fleet);\nhas_permission(actor: AuthenticatedActor, "modify", session: ConsoleSession)\n\tif has_role(actor, "external-authenticator", session.fleet);\n\n# All authenticated users can read and delete device authn requests because\n# by necessity these operations happen before we've figured out what user (or\n# even Silo) the device auth is associated with. Any user can claim a device\n# auth request with the right user code (that's how it works) -- it's the user\n# code and associated logic that prevents unauthorized access here.\nhas_permission(_actor: AuthenticatedActor, "read", _device_auth: DeviceAuthRequest);\nhas_permission(_actor: AuthenticatedActor, "modify", _device_auth: DeviceAuthRequest);\n\nhas_permission(actor: AuthenticatedActor, "read", device_token: DeviceAccessToken)\n\tif has_role(actor, "external-authenticator", device_token.fleet);\n\nhas_permission(actor: AuthenticatedActor, "read", identity_provider: IdentityProvider)\n\tif has_role(actor, "external-authenticator", identity_provider.silo.fleet);\n\nhas_permission(actor: AuthenticatedActor, "read", saml_identity_provider: SamlIdentityProvider)\n\tif has_role(actor, "external-authenticator", saml_identity_provider.silo.fleet);\n\n# Describes the policy for who can access the internal database.\nresource Database {\n\tpermissions = [\n\t # "query" is required to perform any query against the database,\n\t # whether a read or write query. This is checked when an operation\n\t # checks out a database connection from the connection pool.\n\t #\n\t # Any authenticated user gets this permission. There's generally\n\t # some other authz check involved in the database query. For\n\t # example, if you're querying the database to "read" a "Project", we\n\t # should also be checking that. So why do we do this at all? It's\n\t # a belt-and-suspenders measure so that if we somehow introduced an\n\t # unauthenticated code path that hits the database, it cannot be\n\t # used to DoS the database because we won't allow the operation to\n\t # make the query. (As long as the code path _is_ authenticated, we\n\t # can use throttling mechanisms to prevent DoS.)\n\t "query",\n\n\t # "modify" is required to populate database data that's delivered\n\t # with the system. It should also be required for schema changes,\n\t # when we support those. This is separate from "query" so that we\n\t # cannot accidentally invoke these code paths from API calls and\n\t # other general functions.\n\t "modify"\n\t];\n}\n\n# All authenticated users have the "query" permission on the database.\nhas_permission(_actor: AuthenticatedActor, "query", _resource: Database);\n\n# The "db-init" user is the only one with the "modify" permission.\nhas_permission(USER_DB_INIT: AuthenticatedActor, "modify", _resource: Database);\nhas_permission(USER_DB_INIT: AuthenticatedActor, "create_child", _resource: IpPoolList);\n# It also has "admin" on the internal silo to populate it with built-in resources.\n# TODO-completeness: actually limit to just internal silo and not all silos\nhas_role(USER_DB_INIT: AuthenticatedActor, "admin", _silo: Silo);\n\n# Allow the internal API admin permissions on all silos.\nhas_role(USER_INTERNAL_API: AuthenticatedActor, "admin", _silo: Silo);\n\n\n\n resource Disk {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n\n relations = { containing_project: Project };\n "list_children" if "viewer" on "containing_project";\n "read" if "viewer" on "containing_project";\n "modify" if "collaborator" on "containing_project";\n "create_child" if "collaborator" on "containing_project";\n }\n\n has_relation(parent: Project, "containing_project", child: Disk)\n if child.project = parent;\n \n\n resource Snapshot {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n\n relations = { containing_project: Project };\n "list_children" if "viewer" on "containing_project";\n "read" if "viewer" on "containing_project";\n "modify" if "collaborator" on "containing_project";\n "create_child" if "collaborator" on "containing_project";\n }\n\n has_relation(parent: Project, "containing_project", child: Snapshot)\n if child.project = parent;\n \n\n resource ProjectImage {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n\n relations = { containing_project: Project };\n "list_children" if "viewer" on "containing_project";\n "read" if "viewer" on "containing_project";\n "modify" if "collaborator" on "containing_project";\n "create_child" if "collaborator" on "containing_project";\n }\n\n has_relation(parent: Project, "containing_project", child: ProjectImage)\n if child.project = parent;\n \n\n resource Instance {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n\n relations = { containing_project: Project };\n "list_children" if "viewer" on "containing_project";\n "read" if "viewer" on "containing_project";\n "modify" if "collaborator" on "containing_project";\n "create_child" if "collaborator" on "containing_project";\n }\n\n has_relation(parent: Project, "containing_project", child: Instance)\n if child.project = parent;\n \n\n resource IpPool {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: IpPool)\n if child.fleet = fleet;\n \n\n resource InstanceNetworkInterface {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n\n relations = {\n containing_project: Project,\n parent: Instance\n };\n "list_children" if "viewer" on "containing_project";\n "read" if "viewer" on "containing_project";\n "modify" if "collaborator" on "containing_project";\n "create_child" if "collaborator" on "containing_project";\n }\n\n has_relation(project: Project, "containing_project", child: InstanceNetworkInterface)\n if has_relation(project, "containing_project", child.instance);\n\n has_relation(parent: Instance, "parent", child: InstanceNetworkInterface)\n if child.instance = parent;\n \n\n resource Vpc {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n\n relations = { containing_project: Project };\n "list_children" if "viewer" on "containing_project";\n "read" if "viewer" on "containing_project";\n "modify" if "collaborator" on "containing_project";\n "create_child" if "collaborator" on "containing_project";\n }\n\n has_relation(parent: Project, "containing_project", child: Vpc)\n if child.project = parent;\n \n\n resource VpcRouter {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n\n relations = {\n containing_project: Project,\n parent: Vpc\n };\n "list_children" if "viewer" on "containing_project";\n "read" if "viewer" on "containing_project";\n "modify" if "collaborator" on "containing_project";\n "create_child" if "collaborator" on "containing_project";\n }\n\n has_relation(project: Project, "containing_project", child: VpcRouter)\n if has_relation(project, "containing_project", child.vpc);\n\n has_relation(parent: Vpc, "parent", child: VpcRouter)\n if child.vpc = parent;\n \n\n resource RouterRoute {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n\n relations = {\n containing_project: Project,\n parent: VpcRouter\n };\n "list_children" if "viewer" on "containing_project";\n "read" if "viewer" on "containing_project";\n "modify" if "collaborator" on "containing_project";\n "create_child" if "collaborator" on "containing_project";\n }\n\n has_relation(project: Project, "containing_project", child: RouterRoute)\n if has_relation(project, "containing_project", child.vpc_router);\n\n has_relation(parent: VpcRouter, "parent", child: RouterRoute)\n if child.vpc_router = parent;\n \n\n resource VpcSubnet {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n\n relations = {\n containing_project: Project,\n parent: Vpc\n };\n "list_children" if "viewer" on "containing_project";\n "read" if "viewer" on "containing_project";\n "modify" if "collaborator" on "containing_project";\n "create_child" if "collaborator" on "containing_project";\n }\n\n has_relation(project: Project, "containing_project", child: VpcSubnet)\n if has_relation(project, "containing_project", child.vpc);\n\n has_relation(parent: Vpc, "parent", child: VpcSubnet)\n if child.vpc = parent;\n \n\n resource Image {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n\n relations = { containing_silo: Silo };\n "list_children" if "viewer" on "containing_silo";\n "read" if "viewer" on "containing_silo";\n "modify" if "collaborator" on "containing_silo";\n "create_child" if "collaborator" on "containing_silo";\n }\n\n has_relation(parent: Silo, "containing_silo", child: Image)\n if child.silo = parent;\n \n\n resource SiloImage {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n\n relations = { containing_silo: Silo };\n "list_children" if "viewer" on "containing_silo";\n "read" if "viewer" on "containing_silo";\n "modify" if "collaborator" on "containing_silo";\n "create_child" if "collaborator" on "containing_silo";\n }\n\n has_relation(parent: Silo, "containing_silo", child: SiloImage)\n if child.silo = parent;\n \n\n resource AddressLot {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: AddressLot)\n if child.fleet = fleet;\n \n\n resource LoopbackAddress {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: LoopbackAddress)\n if child.fleet = fleet;\n \n\n\n resource ConsoleSession {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: ConsoleSession)\n if child.fleet = fleet;\n \n\n resource DeviceAuthRequest {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: DeviceAuthRequest)\n if child.fleet = fleet;\n \n\n resource DeviceAccessToken {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: DeviceAccessToken)\n if child.fleet = fleet;\n \n\n resource PhysicalDisk {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: PhysicalDisk)\n if child.fleet = fleet;\n \n\n resource Rack {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: Rack)\n if child.fleet = fleet;\n \n\n resource RoleBuiltin {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: RoleBuiltin)\n if child.fleet = fleet;\n \n\n\n\n\n\n\n\n resource Sled {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: Sled)\n if child.fleet = fleet;\n \n\n resource Zpool {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: Zpool)\n if child.fleet = fleet;\n \n\n resource Service {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: Service)\n if child.fleet = fleet;\n \n\n resource UpdateArtifact {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: UpdateArtifact)\n if child.fleet = fleet;\n \n\n resource UserBuiltin {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: UserBuiltin)\n if child.fleet = fleet;\n \n\n resource SystemUpdate {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: SystemUpdate)\n if child.fleet = fleet;\n \n\n resource UpdateDeployment {\n permissions = [\n "list_children",\n "modify",\n "read",\n "create_child",\n ];\n \n relations = { parent_fleet: Fleet };\n "list_children" if "viewer" on "parent_fleet";\n "read" if "viewer" on "parent_fleet";\n "modify" if "admin" on "parent_fleet";\n "create_child" if "admin" on "parent_fleet";\n }\n has_relation(fleet: Fleet, "parent_fleet", child: UpdateDeployment)\n if child.fleet = fleet;\n
file = nexus/db-queries/src/authz/oso_generic.rs:89
|
58 | 2023-10-04T22:29:48.311Z | INFO | nexus (ServerContext): Setting up resolver using DNS servers for subnet: Ipv6Subnet { net: Ipv6Net(Ipv6Network { addr: fd00:1122:3344::, prefix: 48 }) }
file = nexus/src/context.rs:142
|
59 | 2023-10-04T22:29:48.313Z | INFO | nexus (DnsResolver): new DNS resolver
addresses = [[fd00:1122:3344:1::1]:53, [fd00:1122:3344:2::1]:53, [fd00:1122:3344:3::1]:53, [fd00:1122:3344:4::1]:53, [fd00:1122:3344:5::1]:53]
file = internal-dns/src/resolver.rs:60
|
60 | 2023-10-04T22:29:48.315Z | INFO | nexus (ServerContext): Accessing DB url from DNS
file = nexus/src/context.rs:171
|
61 | 2023-10-04T22:29:48.323Z | DEBG | nexus (DnsResolver): lookup_all_socket_v6 srv
dns_name = _cockroach._tcp.control-plane.oxide.internal
response = SrvLookup(Lookup { query: Query { name: Name("_cockroach._tcp.control-plane.oxide.internal"), query_type: SRV, query_class: IN }, records: [Record { name_labels: Name("_cockroach._tcp.control-plane.oxide.internal."), rr_type: SRV, dns_class: IN, ttl: 0, rdata: Some(SRV(SRV { priority: 0, weight: 0, port: 32221, target: Name("2f6c6fa6-16a6-49de-8533-a182cd63b878.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("_cockroach._tcp.control-plane.oxide.internal."), rr_type: SRV, dns_class: IN, ttl: 0, rdata: Some(SRV(SRV { priority: 0, weight: 0, port: 32221, target: Name("8df99040-5a0c-4395-995f-61af9267c30b.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("_cockroach._tcp.control-plane.oxide.internal."), rr_type: SRV, dns_class: IN, ttl: 0, rdata: Some(SRV(SRV { priority: 0, weight: 0, port: 32221, target: Name("b5902eb6-6664-4b52-b9c3-98ddb5fc387c.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("_cockroach._tcp.control-plane.oxide.internal."), rr_type: SRV, dns_class: IN, ttl: 0, rdata: Some(SRV(SRV { priority: 0, weight: 0, port: 32221, target: Name("b65cc500-d188-4151-9c72-99cad701cd00.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("_cockroach._tcp.control-plane.oxide.internal."), rr_type: SRV, dns_class: IN, ttl: 0, rdata: Some(SRV(SRV { priority: 0, weight: 0, port: 32221, target: Name("fb7793de-7ddb-48e7-b988-cf9d79cfe9d4.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("fb7793de-7ddb-48e7-b988-cf9d79cfe9d4.host.control-plane.oxide.internal."), rr_type: AAAA, dns_class: IN, ttl: 0, rdata: Some(AAAA(fd00:1122:3344:101::7)) }], valid_until: Instant { tv_sec: 1247, tv_nsec: 511798963 } })
|
62 | 2023-10-04T22:29:48.325Z | INFO | nexus (ServerContext): DB addresses: [fd00:1122:3344:101::5]:32221,[fd00:1122:3344:101::3]:32221,[fd00:1122:3344:101::6]:32221,[fd00:1122:3344:101::4]:32221,[fd00:1122:3344:101::7]:32221
file = nexus/src/context.rs:201
|
63 | 2023-10-04T22:29:48.326Z | INFO | nexus (db::Pool): database connection pool
database_url = postgresql://root@[fd00:1122:3344:101::5]:32221,[fd00:1122:3344:101::3]:32221,[fd00:1122:3344:101::6]:32221,[fd00:1122:3344:101::4]:32221,[fd00:1122:3344:101::7]:32221/omicron?sslmode=disable
file = nexus/db-queries/src/db/pool.rs:73
|
64 | 2023-10-04T22:29:48.345Z | INFO | nexus: Compatible database schema: 5.0.0
file = nexus/db-queries/src/db/datastore/db_metadata.rs:100
|
65 | 2023-10-04T22:29:48.347Z | INFO | nexus (SEC): SEC running
file = /home/build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/steno-0.4.0/src/sec.rs:811
sec_id = f1d14721-bec2-4876-85b5-2eab051e2c6a
|
66 | 2023-10-04T22:29:48.348Z | DEBG | nexus (DnsResolver): lookup_all_ipv6 srv
dns_name = _dendrite._tcp.control-plane.oxide.internal
response = SrvLookup(Lookup { query: Query { name: Name("_dendrite._tcp.control-plane.oxide.internal"), query_type: SRV, query_class: IN }, records: [Record { name_labels: Name("_dendrite._tcp.control-plane.oxide.internal."), rr_type: SRV, dns_class: IN, ttl: 0, rdata: Some(SRV(SRV { priority: 0, weight: 0, port: 12224, target: Name("dendrite-7747c5fe-1fbc-47e0-9330-5ff50a40f7b1.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("dendrite-7747c5fe-1fbc-47e0-9330-5ff50a40f7b1.host.control-plane.oxide.internal."), rr_type: AAAA, dns_class: IN, ttl: 0, rdata: Some(AAAA(fd00:1122:3344:101::2)) }], valid_until: Instant { tv_sec: 1247, tv_nsec: 536929620 } })
|
67 | 2023-10-04T22:29:48.348Z | INFO | nexus (Nexus): Determining switch slots managed by switch zones
file = nexus/src/app/mod.rs:755
|
68 | 2023-10-04T22:29:48.399Z | INFO | nexus (Nexus): determining switch slot managed by dendrite zone
file = nexus/src/app/mod.rs:763
zone_address = fd00:1122:3344:101::2
|
69 | 2023-10-04T22:29:48.400Z | DEBG | nexus (MgsClient): client request
body = None
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/local/switch-id
|
70 | 2023-10-04T22:29:48.403Z | DEBG | nexus (MgsClient): client response
result = Ok(Response { url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv6(fd00:1122:3344:101::2)), port: Some(12225), path: "/local/switch-id", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "df3aa7bc-d5d5-4c11-9023-c8b1da93b83c", "content-length": "26", "date": "Wed, 04 Oct 2023 22:29:48 GMT"} })
|
71 | 2023-10-04T22:29:48.403Z | INFO | nexus (Nexus): identified switch slot for dendrite zone
file = nexus/src/app/mod.rs:768
slot = SpIdentifier {\n slot: 0,\n type_: Switch,\n}
zone_address = fd00:1122:3344:101::2
|
72 | 2023-10-04T22:29:48.404Z | INFO | nexus (Nexus): completed mapping dendrite zones to switch slots
file = nexus/src/app/mod.rs:800
mappings = {\n Switch0: fd00:1122:3344:101::2,\n}
|
73 | 2023-10-04T22:29:48.445Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
74 | 2023-10-04T22:29:48.453Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_config_external
dns_group = external
iteration = 1
reason = Timeout
|
75 | 2023-10-04T22:29:48.453Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_internal
dns_group = internal
iteration = 1
reason = Timeout
|
76 | 2023-10-04T22:29:48.453Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_servers_internal
dns_group = internal
iteration = 1
reason = Timeout
|
77 | 2023-10-04T22:29:48.453Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_config_internal
dns_group = internal
iteration = 1
reason = Timeout
|
78 | 2023-10-04T22:29:48.453Z | DEBG | nexus (BackgroundTasks): activating
background_task = external_endpoints
iteration = 1
reason = Timeout
|
79 | 2023-10-04T22:29:48.453Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_external
dns_group = external
iteration = 1
reason = Timeout
|
80 | 2023-10-04T22:29:48.453Z | WARN | nexus (BackgroundTasks): DNS propagation: skipped
background_task = dns_propagation_internal
dns_group = internal
file = nexus/src/app/background/dns_propagation.rs:65
reason = no config nor servers
|
81 | 2023-10-04T22:29:48.453Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_servers_external
dns_group = external
iteration = 1
reason = Timeout
|
82 | 2023-10-04T22:29:48.453Z | WARN | nexus (BackgroundTasks): DNS propagation: skipped
background_task = dns_propagation_external
dns_group = external
file = nexus/src/app/background/dns_propagation.rs:65
reason = no config nor servers
|
83 | 2023-10-04T22:29:48.455Z | DEBG | nexus (BackgroundTasks): reading DNS version
background_task = dns_config_external
dns_group = external
|
84 | 2023-10-04T22:29:48.455Z | DEBG | nexus (BackgroundTasks): reading DNS version
background_task = dns_config_internal
dns_group = internal
|
85 | 2023-10-04T22:29:48.458Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
86 | 2023-10-04T22:29:48.458Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_external
dns_group = external
elapsed = 4.51752ms
iteration = 1
|
87 | 2023-10-04T22:29:48.458Z | DEBG | nexus (DataLoader): attempting to create built-in users
|
88 | 2023-10-04T22:29:48.458Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
89 | 2023-10-04T22:29:48.458Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
90 | 2023-10-04T22:29:48.458Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_internal
dns_group = internal
elapsed = 4.50158ms
iteration = 1
|
91 | 2023-10-04T22:29:48.460Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
92 | 2023-10-04T22:29:48.461Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = Database
result = Ok(())
|
93 | 2023-10-04T22:29:48.461Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
94 | 2023-10-04T22:29:48.468Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {} }
|
95 | 2023-10-04T22:29:48.468Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
96 | 2023-10-04T22:29:48.468Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {} }
|
97 | 2023-10-04T22:29:48.475Z | INFO | nexus (SagaRecoverer): start saga recovery
file = nexus/db-queries/src/db/saga_recovery.rs:77
|
98 | 2023-10-04T22:29:48.484Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_internal
dns_group = internal
resource = Database
result = Ok(())
|
99 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = GET
path = /artifacts/{kind}/{name}/{version}
|
100 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = GET
path = /bgtasks
|
101 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = GET
path = /bgtasks/{bgtask_name}
|
102 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = POST
path = /disk/{disk_id}/remove-read-only-parent
|
103 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = PUT
path = /disks/{disk_id}
|
104 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = PUT
path = /instances/{instance_id}
|
105 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = GET
path = /metrics/collect/{producer_id}
|
106 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = POST
path = /metrics/collectors
|
107 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = POST
path = /metrics/producers
|
108 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = DELETE
path = /physical-disk
|
109 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = PUT
path = /physical-disk
|
110 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = PUT
path = /racks/{rack_id}/initialization-complete
|
111 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = GET
path = /sagas
|
112 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = GET
path = /sagas/{saga_id}
|
113 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = POST
path = /sled-agents/{sled_id}
|
114 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = PUT
path = /sled-agents/{sled_id}/zpools/{zpool_id}
|
115 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = PUT
path = /switch/{switch_id}
|
116 | 2023-10-04T22:29:48.484Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::b]:12221
method = POST
path = /volume/{volume_id}/remove-read-only-parent
|
117 | 2023-10-04T22:29:48.485Z | INFO | nexus (dropshot_internal): listening
file = /home/build/.cargo/git/checkouts/dropshot-a4a923d29dccc492/fa728d0/dropshot/src/server.rs:195
local_addr = [fd00:1122:3344:101::b]:12221
|
118 | 2023-10-04T22:29:48.485Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_external
dns_group = external
resource = Database
result = Ok(())
|
119 | 2023-10-04T22:29:48.485Z | DEBG | nexus (dropshot_internal): successfully registered DTrace USDT probes
local_addr = [fd00:1122:3344:101::b]:12221
|
120 | 2023-10-04T22:29:48.485Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
121 | 2023-10-04T22:29:48.485Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_internal
dns_group = internal
resource = Database
result = Ok(())
|
122 | 2023-10-04T22:29:48.485Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_external
dns_group = external
resource = Database
result = Ok(())
|
123 | 2023-10-04T22:29:48.485Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
124 | 2023-10-04T22:29:48.487Z | INFO | nexus (DataLoader): created 0 built-in users
file = nexus/db-queries/src/db/datastore/silo_user.rs:394
|
125 | 2023-10-04T22:29:48.487Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
126 | 2023-10-04T22:29:48.488Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
127 | 2023-10-04T22:29:48.489Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
128 | 2023-10-04T22:29:48.489Z | DEBG | nexus (DataLoader): attempting to create built-in roles
|
129 | 2023-10-04T22:29:48.489Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
130 | 2023-10-04T22:29:48.489Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_internal
dns_group = internal
resource = Database
result = Ok(())
|
131 | 2023-10-04T22:29:48.489Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
132 | 2023-10-04T22:29:48.490Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {} }
|
133 | 2023-10-04T22:29:48.490Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_external
dns_group = external
resource = Database
result = Ok(())
|
134 | 2023-10-04T22:29:48.499Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
135 | 2023-10-04T22:29:48.499Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
136 | 2023-10-04T22:29:48.504Z | INFO | nexus (DataLoader): created 0 built-in roles
file = nexus/db-queries/src/db/datastore/role.rs:87
|
137 | 2023-10-04T22:29:48.504Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
138 | 2023-10-04T22:29:48.506Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
139 | 2023-10-04T22:29:48.506Z | DEBG | nexus (DataLoader): attempting to create built-in role assignments
|
140 | 2023-10-04T22:29:48.506Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
141 | 2023-10-04T22:29:48.506Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
142 | 2023-10-04T22:29:48.532Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
143 | 2023-10-04T22:29:48.535Z | DEBG | nexus (BackgroundTasks): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_internal
dns_group = internal
resource = Fleet
result = Ok(())
|
144 | 2023-10-04T22:29:48.535Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
145 | 2023-10-04T22:29:48.535Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_internal
dns_group = internal
resource = Database
result = Ok(())
|
146 | 2023-10-04T22:29:48.544Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
147 | 2023-10-04T22:29:48.545Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
148 | 2023-10-04T22:29:48.545Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
149 | 2023-10-04T22:29:48.547Z | DEBG | nexus (BackgroundTasks): authorize result
action = ListChildren
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = Fleet
result = Ok(())
|
150 | 2023-10-04T22:29:48.548Z | DEBG | nexus (BackgroundTasks): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_external
dns_group = external
resource = Fleet
result = Ok(())
|
151 | 2023-10-04T22:29:48.548Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {} }
|
152 | 2023-10-04T22:29:48.548Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_external
dns_group = external
resource = Database
result = Ok(())
|
153 | 2023-10-04T22:29:48.548Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
154 | 2023-10-04T22:29:48.548Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = Database
result = Ok(())
|
155 | 2023-10-04T22:29:48.549Z | DEBG | nexus (BackgroundTasks): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_external
dns_group = external
resource = DnsConfig
result = Ok(())
|
156 | 2023-10-04T22:29:48.554Z | INFO | nexus (SagaRecoverer): listed sagas (0 total)
file = nexus/db-queries/src/db/saga_recovery.rs:113
|
157 | 2023-10-04T22:29:48.557Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
158 | 2023-10-04T22:29:48.560Z | DEBG | nexus (ServiceBalancer): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Rack { parent: Fleet, key: e5fbec73-499a-49f1-a193-3d3ed00a6ac9, lookup_type: ById(e5fbec73-499a-49f1-a193-3d3ed00a6ac9) }
result = Ok(())
|
159 | 2023-10-04T22:29:48.560Z | INFO | nexus: Still waiting for rack initialization: Rack { identity: RackIdentity { id: e5fbec73-499a-49f1-a193-3d3ed00a6ac9, time_created: 2023-10-04T22:29:28.709241Z, time_modified: 2023-10-04T22:29:28.709241Z }, initialized: false, tuf_base_url: None }
file = nexus/src/app/rack.rs:539
|
160 | 2023-10-04T22:29:48.583Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
161 | 2023-10-04T22:29:48.586Z | INFO | nexus (DataLoader): created 0 built-in role assignments
file = nexus/db-queries/src/db/datastore/role.rs:116
|
162 | 2023-10-04T22:29:48.586Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
163 | 2023-10-04T22:29:48.586Z | DEBG | nexus (BackgroundTasks): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_internal
dns_group = internal
resource = DnsConfig
result = Ok(())
|
164 | 2023-10-04T22:29:48.587Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
165 | 2023-10-04T22:29:48.587Z | DEBG | nexus (DataLoader): attempting to create built-in silos
|
166 | 2023-10-04T22:29:48.587Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
167 | 2023-10-04T22:29:48.587Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
168 | 2023-10-04T22:29:48.596Z | INFO | nexus (BackgroundTasks): found DNS servers (initial)
addresses = DnsServersList { addresses: [] }
background_task = dns_servers_internal
dns_group = internal
file = nexus/src/app/background/dns_servers.rs:147
|
169 | 2023-10-04T22:29:48.596Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_servers_internal
dns_group = internal
elapsed = 143.762856ms
iteration = 1
|
170 | 2023-10-04T22:29:48.596Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_internal
dns_group = internal
iteration = 2
reason = Dependency
|
171 | 2023-10-04T22:29:48.596Z | WARN | nexus (BackgroundTasks): DNS propagation: skipped
background_task = dns_propagation_internal
dns_group = internal
file = nexus/src/app/background/dns_propagation.rs:73
reason = no config
|
172 | 2023-10-04T22:29:48.596Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_internal
dns_group = internal
elapsed = 7.07\u{b5}s
iteration = 2
|
173 | 2023-10-04T22:29:48.604Z | WARN | nexus (BackgroundTasks): failed to read DNS config
background_task = dns_config_external
dns_group = external
error = Internal Error: expected exactly one latest version for DNS group External, found 0
file = nexus/src/app/background/dns_config.rs:76
|
174 | 2023-10-04T22:29:48.604Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_config_external
dns_group = external
elapsed = 151.465665ms
iteration = 1
|
175 | 2023-10-04T22:29:48.608Z | INFO | nexus (BackgroundTasks): found DNS servers (initial)
addresses = DnsServersList { addresses: [] }
background_task = dns_servers_external
dns_group = external
file = nexus/src/app/background/dns_servers.rs:147
|
176 | 2023-10-04T22:29:48.608Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_servers_external
dns_group = external
elapsed = 155.857073ms
iteration = 1
|
177 | 2023-10-04T22:29:48.608Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_external
dns_group = external
iteration = 2
reason = Dependency
|
178 | 2023-10-04T22:29:48.608Z | WARN | nexus (BackgroundTasks): DNS propagation: skipped
background_task = dns_propagation_external
dns_group = external
file = nexus/src/app/background/dns_propagation.rs:73
reason = no config
|
179 | 2023-10-04T22:29:48.608Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_external
dns_group = external
elapsed = 15.39\u{b5}s
iteration = 2
|
180 | 2023-10-04T22:29:48.620Z | WARN | nexus (BackgroundTasks): failed to read DNS config
background_task = dns_config_internal
dns_group = internal
error = Internal Error: expected exactly one latest version for DNS group Internal, found 0
file = nexus/src/app/background/dns_config.rs:76
|
181 | 2023-10-04T22:29:48.620Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_config_internal
dns_group = internal
elapsed = 167.751406ms
iteration = 1
|
182 | 2023-10-04T22:29:48.657Z | INFO | nexus (DataLoader): created 0 built-in silos
file = nexus/db-queries/src/db/datastore/silo.rs:71
|
183 | 2023-10-04T22:29:48.657Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
184 | 2023-10-04T22:29:48.658Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
185 | 2023-10-04T22:29:48.660Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
186 | 2023-10-04T22:29:48.661Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
187 | 2023-10-04T22:29:48.661Z | DEBG | nexus (DataLoader): attempting to create built-in projects
|
188 | 2023-10-04T22:29:48.661Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
189 | 2023-10-04T22:29:48.661Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
190 | 2023-10-04T22:29:48.663Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
191 | 2023-10-04T22:29:48.663Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
192 | 2023-10-04T22:29:48.665Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
193 | 2023-10-04T22:29:48.665Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
194 | 2023-10-04T22:29:48.666Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
195 | 2023-10-04T22:29:48.668Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }
result = Ok(())
|
196 | 2023-10-04T22:29:48.668Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
197 | 2023-10-04T22:29:48.668Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
198 | 2023-10-04T22:29:48.669Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
199 | 2023-10-04T22:29:48.669Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
200 | 2023-10-04T22:29:48.697Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
201 | 2023-10-04T22:29:48.698Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }
result = Ok(())
|
202 | 2023-10-04T22:29:48.698Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
203 | 2023-10-04T22:29:48.698Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
204 | 2023-10-04T22:29:48.705Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
205 | 2023-10-04T22:29:48.705Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = Database
result = Ok(())
|
206 | 2023-10-04T22:29:48.740Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
207 | 2023-10-04T22:29:48.742Z | INFO | nexus (DataLoader): created built-in services project
file = nexus/db-queries/src/db/datastore/project.rs:124
|
208 | 2023-10-04T22:29:48.742Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
209 | 2023-10-04T22:29:48.742Z | DEBG | nexus (BackgroundTasks): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = DnsConfig
result = Ok(())
|
210 | 2023-10-04T22:29:48.742Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
211 | 2023-10-04T22:29:48.743Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = Database
result = Ok(())
|
212 | 2023-10-04T22:29:48.743Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
213 | 2023-10-04T22:29:48.743Z | DEBG | nexus (DataLoader): attempting to create built-in VPCs
|
214 | 2023-10-04T22:29:48.743Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
215 | 2023-10-04T22:29:48.743Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
216 | 2023-10-04T22:29:48.744Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
217 | 2023-10-04T22:29:48.744Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
218 | 2023-10-04T22:29:48.770Z | WARN | nexus (BackgroundTasks): failed to read Silo/DNS/TLS configuration
background_task = external_endpoints
error = Internal Error: expected at least one external DNS zone
file = nexus/src/app/background/external_endpoints.rs:59
|
219 | 2023-10-04T22:29:48.770Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = external_endpoints
elapsed = 318.046032ms
iteration = 1
|
220 | 2023-10-04T22:29:48.782Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
221 | 2023-10-04T22:29:48.782Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
222 | 2023-10-04T22:29:48.784Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
223 | 2023-10-04T22:29:48.784Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
224 | 2023-10-04T22:29:48.785Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
225 | 2023-10-04T22:29:48.786Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
226 | 2023-10-04T22:29:48.788Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
227 | 2023-10-04T22:29:48.791Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Project { parent: Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }, key: 001de000-4401-4000-8000-000000000000, lookup_type: ById(001de000-4401-4000-8000-000000000000) }
result = Ok(())
|
228 | 2023-10-04T22:29:48.791Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
229 | 2023-10-04T22:29:48.791Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
230 | 2023-10-04T22:29:48.792Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
231 | 2023-10-04T22:29:48.793Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
232 | 2023-10-04T22:29:48.794Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
233 | 2023-10-04T22:29:48.794Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
234 | 2023-10-04T22:29:48.795Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
235 | 2023-10-04T22:29:48.797Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Project { parent: Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }, key: 001de000-4401-4000-8000-000000000000, lookup_type: ById(001de000-4401-4000-8000-000000000000) }
result = Ok(())
|
236 | 2023-10-04T22:29:48.797Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
237 | 2023-10-04T22:29:48.797Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
238 | 2023-10-04T22:29:48.853Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
239 | 2023-10-04T22:29:48.854Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
240 | 2023-10-04T22:29:48.855Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
241 | 2023-10-04T22:29:48.855Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
242 | 2023-10-04T22:29:48.857Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
243 | 2023-10-04T22:29:48.857Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
244 | 2023-10-04T22:29:48.901Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
245 | 2023-10-04T22:29:48.901Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
246 | 2023-10-04T22:29:48.902Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
247 | 2023-10-04T22:29:48.902Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
248 | 2023-10-04T22:29:48.903Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
249 | 2023-10-04T22:29:48.904Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
250 | 2023-10-04T22:29:48.904Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
251 | 2023-10-04T22:29:48.905Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
252 | 2023-10-04T22:29:48.905Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
253 | 2023-10-04T22:29:48.909Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = VpcRouter { parent: Vpc { parent: Project { parent: Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }, key: 001de000-4401-4000-8000-000000000000, lookup_type: ById(001de000-4401-4000-8000-000000000000) }, key: 001de000-074c-4000-8000-000000000000, lookup_type: ById(001de000-074c-4000-8000-000000000000) }, key: 001de000-074c-4000-8000-000000000001, lookup_type: ById(001de000-074c-4000-8000-000000000001) }
result = Ok(())
|
254 | 2023-10-04T22:29:48.909Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
255 | 2023-10-04T22:29:48.909Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
256 | 2023-10-04T22:29:48.910Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
257 | 2023-10-04T22:29:48.910Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
258 | 2023-10-04T22:29:48.911Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
259 | 2023-10-04T22:29:48.911Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
260 | 2023-10-04T22:29:48.912Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
261 | 2023-10-04T22:29:48.915Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = VpcRouter { parent: Vpc { parent: Project { parent: Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }, key: 001de000-4401-4000-8000-000000000000, lookup_type: ById(001de000-4401-4000-8000-000000000000) }, key: 001de000-074c-4000-8000-000000000000, lookup_type: ById(001de000-074c-4000-8000-000000000000) }, key: 001de000-074c-4000-8000-000000000001, lookup_type: ById(001de000-074c-4000-8000-000000000001) }
result = Ok(())
|
262 | 2023-10-04T22:29:48.915Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
263 | 2023-10-04T22:29:48.915Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
264 | 2023-10-04T22:29:49.020Z | DEBG | nexus (DataLoader): attempting to create built-in VPC firewall rules
|
265 | 2023-10-04T22:29:49.020Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
266 | 2023-10-04T22:29:49.020Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
267 | 2023-10-04T22:29:49.021Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
268 | 2023-10-04T22:29:49.021Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
269 | 2023-10-04T22:29:49.022Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
270 | 2023-10-04T22:29:49.022Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
271 | 2023-10-04T22:29:49.023Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
272 | 2023-10-04T22:29:49.024Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
273 | 2023-10-04T22:29:49.025Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
274 | 2023-10-04T22:29:49.025Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
275 | 2023-10-04T22:29:49.026Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
276 | 2023-10-04T22:29:49.026Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
277 | 2023-10-04T22:29:49.027Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
278 | 2023-10-04T22:29:49.030Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Vpc { parent: Project { parent: Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }, key: 001de000-4401-4000-8000-000000000000, lookup_type: ById(001de000-4401-4000-8000-000000000000) }, key: 001de000-074c-4000-8000-000000000000, lookup_type: ById(001de000-074c-4000-8000-000000000000) }
result = Ok(())
|
279 | 2023-10-04T22:29:49.030Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
280 | 2023-10-04T22:29:49.030Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
281 | 2023-10-04T22:29:49.031Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
282 | 2023-10-04T22:29:49.031Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
283 | 2023-10-04T22:29:49.032Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
284 | 2023-10-04T22:29:49.033Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
285 | 2023-10-04T22:29:49.034Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
286 | 2023-10-04T22:29:49.037Z | DEBG | nexus (DataLoader): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Vpc { parent: Project { parent: Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }, key: 001de000-4401-4000-8000-000000000000, lookup_type: ById(001de000-4401-4000-8000-000000000000) }, key: 001de000-074c-4000-8000-000000000000, lookup_type: ById(001de000-074c-4000-8000-000000000000) }
result = Ok(())
|
287 | 2023-10-04T22:29:49.037Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
288 | 2023-10-04T22:29:49.037Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
289 | 2023-10-04T22:29:49.039Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
290 | 2023-10-04T22:29:49.039Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
291 | 2023-10-04T22:29:49.041Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
292 | 2023-10-04T22:29:49.041Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
293 | 2023-10-04T22:29:49.042Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
294 | 2023-10-04T22:29:49.042Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
295 | 2023-10-04T22:29:49.043Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
296 | 2023-10-04T22:29:49.046Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Vpc { parent: Project { parent: Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }, key: 001de000-4401-4000-8000-000000000000, lookup_type: ById(001de000-4401-4000-8000-000000000000) }, key: 001de000-074c-4000-8000-000000000000, lookup_type: ById(001de000-074c-4000-8000-000000000000) }
result = Ok(())
|
297 | 2023-10-04T22:29:49.047Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
298 | 2023-10-04T22:29:49.047Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
299 | 2023-10-04T22:29:49.174Z | INFO | nexus (DataLoader): created built-in VPC firewall rules
file = nexus/db-queries/src/db/datastore/vpc.rs:212
|
300 | 2023-10-04T22:29:49.174Z | DEBG | nexus (DataLoader): attempting to create built-in VPC Subnets
|
301 | 2023-10-04T22:29:49.174Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
302 | 2023-10-04T22:29:49.174Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
303 | 2023-10-04T22:29:49.209Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
304 | 2023-10-04T22:29:49.209Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
305 | 2023-10-04T22:29:49.210Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
306 | 2023-10-04T22:29:49.211Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
307 | 2023-10-04T22:29:49.212Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
308 | 2023-10-04T22:29:49.212Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
309 | 2023-10-04T22:29:49.213Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
310 | 2023-10-04T22:29:49.213Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
311 | 2023-10-04T22:29:49.214Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
312 | 2023-10-04T22:29:49.214Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
313 | 2023-10-04T22:29:49.247Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
314 | 2023-10-04T22:29:49.249Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Vpc { parent: Project { parent: Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }, key: 001de000-4401-4000-8000-000000000000, lookup_type: ById(001de000-4401-4000-8000-000000000000) }, key: 001de000-074c-4000-8000-000000000000, lookup_type: ById(001de000-074c-4000-8000-000000000000) }
result = Ok(())
|
315 | 2023-10-04T22:29:49.249Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
316 | 2023-10-04T22:29:49.250Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
317 | 2023-10-04T22:29:49.251Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
318 | 2023-10-04T22:29:49.251Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
319 | 2023-10-04T22:29:49.252Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
320 | 2023-10-04T22:29:49.252Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
321 | 2023-10-04T22:29:49.253Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
322 | 2023-10-04T22:29:49.253Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
323 | 2023-10-04T22:29:49.255Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
324 | 2023-10-04T22:29:49.255Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
325 | 2023-10-04T22:29:49.256Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
326 | 2023-10-04T22:29:49.256Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
327 | 2023-10-04T22:29:49.257Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
328 | 2023-10-04T22:29:49.257Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
329 | 2023-10-04T22:29:49.258Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
330 | 2023-10-04T22:29:49.262Z | DEBG | nexus (DataLoader): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = VpcSubnet { parent: Vpc { parent: Project { parent: Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }, key: 001de000-4401-4000-8000-000000000000, lookup_type: ById(001de000-4401-4000-8000-000000000000) }, key: 001de000-074c-4000-8000-000000000000, lookup_type: ById(001de000-074c-4000-8000-000000000000) }, key: 001de000-c470-4000-8000-000000000001, lookup_type: ById(001de000-c470-4000-8000-000000000001) }
result = Ok(())
|
331 | 2023-10-04T22:29:49.262Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
332 | 2023-10-04T22:29:49.262Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
333 | 2023-10-04T22:29:49.263Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
334 | 2023-10-04T22:29:49.263Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
335 | 2023-10-04T22:29:49.264Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
336 | 2023-10-04T22:29:49.264Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
337 | 2023-10-04T22:29:49.265Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
338 | 2023-10-04T22:29:49.265Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
339 | 2023-10-04T22:29:49.266Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
340 | 2023-10-04T22:29:49.267Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
341 | 2023-10-04T22:29:49.267Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
342 | 2023-10-04T22:29:49.268Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
343 | 2023-10-04T22:29:49.268Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
344 | 2023-10-04T22:29:49.269Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
345 | 2023-10-04T22:29:49.269Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
346 | 2023-10-04T22:29:49.273Z | DEBG | nexus (DataLoader): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = VpcSubnet { parent: Vpc { parent: Project { parent: Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }, key: 001de000-4401-4000-8000-000000000000, lookup_type: ById(001de000-4401-4000-8000-000000000000) }, key: 001de000-074c-4000-8000-000000000000, lookup_type: ById(001de000-074c-4000-8000-000000000000) }, key: 001de000-c470-4000-8000-000000000002, lookup_type: ById(001de000-c470-4000-8000-000000000002) }
result = Ok(())
|
347 | 2023-10-04T22:29:49.273Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
348 | 2023-10-04T22:29:49.273Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
349 | 2023-10-04T22:29:49.274Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
350 | 2023-10-04T22:29:49.274Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
351 | 2023-10-04T22:29:49.275Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
352 | 2023-10-04T22:29:49.275Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
353 | 2023-10-04T22:29:49.276Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
354 | 2023-10-04T22:29:49.276Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
355 | 2023-10-04T22:29:49.278Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
356 | 2023-10-04T22:29:49.278Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
357 | 2023-10-04T22:29:49.278Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
358 | 2023-10-04T22:29:49.279Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
359 | 2023-10-04T22:29:49.279Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
360 | 2023-10-04T22:29:49.280Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
361 | 2023-10-04T22:29:49.280Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
362 | 2023-10-04T22:29:49.284Z | DEBG | nexus (DataLoader): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = VpcSubnet { parent: Vpc { parent: Project { parent: Silo { parent: Fleet, key: 001de000-5110-4000-8000-000000000001, lookup_type: ById(001de000-5110-4000-8000-000000000001) }, key: 001de000-4401-4000-8000-000000000000, lookup_type: ById(001de000-4401-4000-8000-000000000000) }, key: 001de000-074c-4000-8000-000000000000, lookup_type: ById(001de000-074c-4000-8000-000000000000) }, key: 001de000-c470-4000-8000-000000000003, lookup_type: ById(001de000-c470-4000-8000-000000000003) }
result = Ok(())
|
363 | 2023-10-04T22:29:49.284Z | INFO | nexus (DataLoader): created built-in services vpc subnets
file = nexus/db-queries/src/db/datastore/vpc.rs:255
|
364 | 2023-10-04T22:29:49.284Z | INFO | nexus (DataLoader): created built-in services vpc
file = nexus/db-queries/src/db/datastore/vpc.rs:158
|
365 | 2023-10-04T22:29:49.284Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
366 | 2023-10-04T22:29:49.285Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
367 | 2023-10-04T22:29:49.285Z | DEBG | nexus (DataLoader): attempting to create silo users
|
368 | 2023-10-04T22:29:49.285Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
369 | 2023-10-04T22:29:49.285Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
370 | 2023-10-04T22:29:49.286Z | INFO | nexus (DataLoader): created 0 silo users
file = nexus/db-queries/src/db/datastore/silo_user.rs:419
|
371 | 2023-10-04T22:29:49.286Z | DEBG | nexus (DataLoader): attempting to create silo user role assignments
|
372 | 2023-10-04T22:29:49.286Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
373 | 2023-10-04T22:29:49.286Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
374 | 2023-10-04T22:29:49.287Z | INFO | nexus (DataLoader): created 0 silo user role assignments
file = nexus/db-queries/src/db/datastore/silo_user.rs:444
|
375 | 2023-10-04T22:29:49.287Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
376 | 2023-10-04T22:29:49.287Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
377 | 2023-10-04T22:29:49.288Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
378 | 2023-10-04T22:29:49.289Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
379 | 2023-10-04T22:29:49.321Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
380 | 2023-10-04T22:29:49.321Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
381 | 2023-10-04T22:29:49.322Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
382 | 2023-10-04T22:29:49.323Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = IpPoolList
result = Ok(())
|
383 | 2023-10-04T22:29:49.323Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
384 | 2023-10-04T22:29:49.323Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
385 | 2023-10-04T22:29:49.324Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
386 | 2023-10-04T22:29:49.324Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
387 | 2023-10-04T22:29:49.325Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
388 | 2023-10-04T22:29:49.326Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = IpPoolList
result = Ok(())
|
389 | 2023-10-04T22:29:49.326Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
390 | 2023-10-04T22:29:49.326Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
391 | 2023-10-04T22:29:49.328Z | INFO | nexus: populate complete; activating background tasks
file = nexus/src/app/mod.rs:372
|
392 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): activating
background_task = external_endpoints
iteration = 2
reason = Signaled
|
393 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_external
dns_group = external
iteration = 3
reason = Signaled
|
394 | 2023-10-04T22:29:49.328Z | WARN | nexus (BackgroundTasks): DNS propagation: skipped
background_task = dns_propagation_external
dns_group = external
file = nexus/src/app/background/dns_propagation.rs:73
reason = no config
|
395 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
396 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_external
dns_group = external
elapsed = 6.04\u{b5}s
iteration = 3
|
397 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_config_internal
dns_group = internal
iteration = 2
reason = Signaled
|
398 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_config_external
dns_group = external
iteration = 2
reason = Signaled
|
399 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): reading DNS version
background_task = dns_config_internal
dns_group = internal
|
400 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): reading DNS version
background_task = dns_config_external
dns_group = external
|
401 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
402 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {} }
|
403 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_servers_external
dns_group = external
iteration = 2
reason = Signaled
|
404 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_servers_internal
dns_group = internal
iteration = 2
reason = Signaled
|
405 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {} }
|
406 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
407 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_internal
dns_group = internal
iteration = 3
reason = Signaled
|
408 | 2023-10-04T22:29:49.328Z | WARN | nexus (BackgroundTasks): DNS propagation: skipped
background_task = dns_propagation_internal
dns_group = internal
file = nexus/src/app/background/dns_propagation.rs:73
reason = no config
|
409 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_internal
dns_group = internal
elapsed = 24.731\u{b5}s
iteration = 3
|
410 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = Database
result = Ok(())
|
411 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_internal
dns_group = internal
resource = Database
result = Ok(())
|
412 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_external
dns_group = external
resource = Database
result = Ok(())
|
413 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_external
dns_group = external
resource = Database
result = Ok(())
|
414 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_internal
dns_group = internal
resource = Database
result = Ok(())
|
415 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {} }
|
416 | 2023-10-04T22:29:49.328Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_external
dns_group = external
resource = Database
result = Ok(())
|
417 | 2023-10-04T22:29:49.329Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
418 | 2023-10-04T22:29:49.329Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
419 | 2023-10-04T22:29:49.329Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
420 | 2023-10-04T22:29:49.329Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_internal
dns_group = internal
resource = Database
result = Ok(())
|
421 | 2023-10-04T22:29:49.329Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
422 | 2023-10-04T22:29:49.329Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
423 | 2023-10-04T22:29:49.330Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
424 | 2023-10-04T22:29:49.333Z | DEBG | nexus (BackgroundTasks): authorize result
action = ListChildren
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = Fleet
result = Ok(())
|
425 | 2023-10-04T22:29:49.333Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
426 | 2023-10-04T22:29:49.333Z | DEBG | nexus (BackgroundTasks): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_internal
dns_group = internal
resource = Fleet
result = Ok(())
|
427 | 2023-10-04T22:29:49.333Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
428 | 2023-10-04T22:29:49.333Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_internal
dns_group = internal
resource = Database
result = Ok(())
|
429 | 2023-10-04T22:29:49.333Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = Database
result = Ok(())
|
430 | 2023-10-04T22:29:49.334Z | DEBG | nexus (BackgroundTasks): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_external
dns_group = external
resource = Fleet
result = Ok(())
|
431 | 2023-10-04T22:29:49.334Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {} }
|
432 | 2023-10-04T22:29:49.334Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_servers_external
dns_group = external
resource = Database
result = Ok(())
|
433 | 2023-10-04T22:29:49.334Z | DEBG | nexus (BackgroundTasks): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_external
dns_group = external
resource = DnsConfig
result = Ok(())
|
434 | 2023-10-04T22:29:49.335Z | DEBG | nexus (BackgroundTasks): found DNS servers (no change)
addresses = DnsServersList { addresses: [] }
background_task = dns_servers_external
current_servers = DnsServersList { addresses: [] }
dns_group = external
|
435 | 2023-10-04T22:29:49.335Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_servers_external
dns_group = external
elapsed = 7.18168ms
iteration = 2
|
436 | 2023-10-04T22:29:49.335Z | DEBG | nexus (BackgroundTasks): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = dns_config_internal
dns_group = internal
resource = DnsConfig
result = Ok(())
|
437 | 2023-10-04T22:29:49.336Z | WARN | nexus (BackgroundTasks): failed to read DNS config
background_task = dns_config_internal
dns_group = internal
error = Internal Error: expected exactly one latest version for DNS group Internal, found 0
file = nexus/src/app/background/dns_config.rs:76
|
438 | 2023-10-04T22:29:49.336Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_config_internal
dns_group = internal
elapsed = 8.318638ms
iteration = 2
|
439 | 2023-10-04T22:29:49.336Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
440 | 2023-10-04T22:29:49.336Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = Database
result = Ok(())
|
441 | 2023-10-04T22:29:49.337Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
442 | 2023-10-04T22:29:49.340Z | DEBG | nexus (BackgroundTasks): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = DnsConfig
result = Ok(())
|
443 | 2023-10-04T22:29:49.340Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
444 | 2023-10-04T22:29:49.340Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = external_endpoints
resource = Database
result = Ok(())
|
445 | 2023-10-04T22:29:49.368Z | DEBG | nexus (BackgroundTasks): found DNS servers (no change)
addresses = DnsServersList { addresses: [] }
background_task = dns_servers_internal
current_servers = DnsServersList { addresses: [] }
dns_group = internal
|
446 | 2023-10-04T22:29:49.368Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_servers_internal
dns_group = internal
elapsed = 40.736128ms
iteration = 2
|
447 | 2023-10-04T22:29:49.369Z | WARN | nexus (BackgroundTasks): failed to read DNS config
background_task = dns_config_external
dns_group = external
error = Internal Error: expected exactly one latest version for DNS group External, found 0
file = nexus/src/app/background/dns_config.rs:76
|
448 | 2023-10-04T22:29:49.369Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_config_external
dns_group = external
elapsed = 41.540821ms
iteration = 2
|
449 | 2023-10-04T22:29:49.375Z | WARN | nexus (BackgroundTasks): failed to read Silo/DNS/TLS configuration
background_task = external_endpoints
error = Internal Error: expected at least one external DNS zone
file = nexus/src/app/background/external_endpoints.rs:59
|
450 | 2023-10-04T22:29:49.375Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = external_endpoints
elapsed = 47.256408ms
iteration = 2
|
451 | 2023-10-04T22:29:50.555Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
452 | 2023-10-04T22:29:50.555Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
453 | 2023-10-04T22:29:50.556Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
454 | 2023-10-04T22:29:50.556Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
455 | 2023-10-04T22:29:50.557Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
456 | 2023-10-04T22:29:50.560Z | DEBG | nexus (ServiceBalancer): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Rack { parent: Fleet, key: e5fbec73-499a-49f1-a193-3d3ed00a6ac9, lookup_type: ById(e5fbec73-499a-49f1-a193-3d3ed00a6ac9) }
result = Ok(())
|
457 | 2023-10-04T22:29:50.560Z | INFO | nexus: Still waiting for rack initialization: Rack { identity: RackIdentity { id: e5fbec73-499a-49f1-a193-3d3ed00a6ac9, time_created: 2023-10-04T22:29:28.709241Z, time_modified: 2023-10-04T22:29:28.709241Z }, initialized: false, tuf_base_url: None }
file = nexus/src/app/rack.rs:539
|
458 | 2023-10-04T22:29:51.738Z | INFO | nexus (dropshot_internal): accepted connection
file = /home/build/.cargo/git/checkouts/dropshot-a4a923d29dccc492/fa728d0/dropshot/src/server.rs:769
local_addr = [fd00:1122:3344:101::b]:12221
remote_addr = [fd00:1122:3344:101::d]:62370
|
459 | 2023-10-04T22:29:51.764Z | INFO | nexus: registered new oximeter metric collection server
address = [fd00:1122:3344:101::d]:12223
collector_id = 7540d58c-49bc-4ae5-8ded-5a15b67c1541
file = nexus/src/app/oximeter.rs:83
|
460 | 2023-10-04T22:29:51.789Z | INFO | nexus (dropshot_internal): request completed
file = /home/build/.cargo/git/checkouts/dropshot-a4a923d29dccc492/fa728d0/dropshot/src/server.rs:853
latency_us = 51680
local_addr = [fd00:1122:3344:101::b]:12221
method = POST
remote_addr = [fd00:1122:3344:101::d]:62370
req_id = 07299d25-00d1-4cad-9a6a-1b1a32850d72
response_code = 204
uri = /metrics/collectors
|
461 | 2023-10-04T22:29:52.555Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
462 | 2023-10-04T22:29:52.556Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
463 | 2023-10-04T22:29:52.557Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
464 | 2023-10-04T22:29:52.557Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
465 | 2023-10-04T22:29:52.558Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
466 | 2023-10-04T22:29:52.560Z | DEBG | nexus (ServiceBalancer): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Rack { parent: Fleet, key: e5fbec73-499a-49f1-a193-3d3ed00a6ac9, lookup_type: ById(e5fbec73-499a-49f1-a193-3d3ed00a6ac9) }
result = Ok(())
|
467 | 2023-10-04T22:29:52.560Z | INFO | nexus: Rack initialized
file = nexus/src/app/rack.rs:536
|