1 | | [ Nov 9 00:29:34 Disabled. ] |
2 | | [ Nov 9 00:29:34 Rereading configuration. ] |
3 | | [ Nov 9 00:29:37 Rereading configuration. ] |
4 | | [ Nov 9 00:29:58 Enabled. ] |
5 | | [ Nov 9 00:29:58 Executing start method ("ctrun -l child -o noorphan,regent /opt/oxide/nexus/bin/nexus /var/svc/manifest/site/nexus/config.toml &"). ] |
6 | | [ Nov 9 00:29:58 Method "start" exited with status 0. ] |
7 | | note: configured to log to "/dev/stdout" |
8 | 2023-11-09T00:29:58.769Z | DEBG | nexus: registered DTrace probes
|
9 | 2023-11-09T00:29:58.771Z | INFO | nexus: setting up nexus server
file = nexus/src/lib.rs:88
|
10 | 2023-11-09T00:29:58.783Z | INFO | nexus (ServerContext): registering Oso class
class = Action
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
11 | 2023-11-09T00:29:58.783Z | INFO | nexus (ServerContext): registering Oso class
class = AnyActor
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
12 | 2023-11-09T00:29:58.783Z | INFO | nexus (ServerContext): registering Oso class
class = AuthenticatedActor
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
13 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = Database
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
14 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = DnsConfig
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
15 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = Fleet
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
16 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = Inventory
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
17 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = IpPoolList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
18 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = ConsoleSessionList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
19 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = DeviceAuthRequestList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
20 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = SiloCertificateList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
21 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = SiloIdentityProviderList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
22 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = SiloUserList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
23 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = Project
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
24 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = Disk
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
25 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = Snapshot
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
26 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = ProjectImage
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
27 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = Instance
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
28 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = IpPool
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
29 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = InstanceNetworkInterface
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
30 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = Vpc
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
31 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = VpcRouter
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
32 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = RouterRoute
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
33 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = VpcSubnet
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
34 | 2023-11-09T00:29:58.784Z | INFO | nexus (ServerContext): registering Oso class
class = Image
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
35 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = SiloImage
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
36 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = AddressLot
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
37 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = LoopbackAddress
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
38 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = Certificate
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
39 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = ConsoleSession
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
40 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = DeviceAuthRequest
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
41 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = DeviceAccessToken
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
42 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = PhysicalDisk
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
43 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = Rack
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
44 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = RoleBuiltin
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
45 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = SshKey
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
46 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = Silo
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
47 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = SiloUser
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
48 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = SiloGroup
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
49 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = IdentityProvider
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
50 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = SamlIdentityProvider
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
51 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = Sled
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
52 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = Zpool
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
53 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = Service
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
54 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = UpdateArtifact
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
55 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = UserBuiltin
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
56 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = SystemUpdate
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
57 | 2023-11-09T00:29:58.785Z | INFO | nexus (ServerContext): registering Oso class
class = UpdateDeployment
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
58 | 2023-11-09T00:29:58.785Z | 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 reading and modifying low-level inventory\nresource Inventory {\n\tpermissions = [ "read", "modify" ];\n\trelations = { parent_fleet: Fleet };\n\t"read" if "viewer" on "parent_fleet";\n\t"modify" if "admin" on "parent_fleet";\n}\nhas_relation(fleet: Fleet, "parent_fleet", inventory: Inventory)\n\tif inventory.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
|
59 | 2023-11-09T00:29:58.799Z | 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
|
60 | 2023-11-09T00:29:58.801Z | 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
|
61 | 2023-11-09T00:29:58.803Z | INFO | nexus (ServerContext): Accessing DB url from DNS
file = nexus/src/context.rs:171
|
62 | 2023-11-09T00:29:58.810Z | 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("0ee9db5f-8495-4f07-8a13-7051cc719c33.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("74a81a37-7a41-4825-8981-fa89abc82e76.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("dbe43835-1982-4725-9a5b-78fdd55db4ab.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("ebe5b952-ab39-4df9-ab4f-e47413c39a38.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("f947c6fb-d684-4bf6-9b80-08124cb82651.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("f947c6fb-d684-4bf6-9b80-08124cb82651.host.control-plane.oxide.internal."), rr_type: AAAA, dns_class: IN, ttl: 0, rdata: Some(AAAA(fd00:1122:3344:101::5)) }], valid_until: Instant { tv_sec: 678, tv_nsec: 337094739 } })
|
63 | 2023-11-09T00:29:58.812Z | INFO | nexus (ServerContext): DB addresses: [fd00:1122:3344:101::7]:32221,[fd00:1122:3344:101::3]:32221,[fd00:1122:3344:101::4]:32221,[fd00:1122:3344:101::6]:32221,[fd00:1122:3344:101::5]:32221
file = nexus/src/context.rs:201
|
64 | 2023-11-09T00:29:58.813Z | INFO | nexus (db::Pool): database connection pool
database_url = postgresql://root@[fd00:1122:3344:101::7]:32221,[fd00:1122:3344:101::3]:32221,[fd00:1122:3344:101::4]:32221,[fd00:1122:3344:101::6]:32221,[fd00:1122:3344:101::5]:32221/omicron?sslmode=disable
file = nexus/db-queries/src/db/pool.rs:75
|
65 | 2023-11-09T00:29:58.879Z | INFO | nexus: Compatible database schema: 9.0.0
file = nexus/db-queries/src/db/datastore/db_metadata.rs:110
|
66 | 2023-11-09T00:29:58.882Z | 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 = bc4fa146-8747-4e63-8af3-da3c92c2b78e
|
67 | 2023-11-09T00:29:58.882Z | 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-0ea37ba6-c1ed-4a88-a12f-3a5a22ce733b.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("dendrite-0ea37ba6-c1ed-4a88-a12f-3a5a22ce733b.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: 678, tv_nsec: 409624271 } })
|
68 | 2023-11-09T00:29:58.883Z | INFO | nexus (Nexus): Determining switch slots managed by switch zones
file = nexus/src/app/mod.rs:847
|
69 | 2023-11-09T00:29:58.932Z | INFO | nexus (Nexus): determining switch slot managed by dendrite zone
file = nexus/src/app/mod.rs:855
zone_address = fd00:1122:3344:101::2
|
70 | 2023-11-09T00:29:58.933Z | DEBG | nexus (MgsClient): client request
body = None
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/local/switch-id
|
71 | 2023-11-09T00:29:58.935Z | 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": "8159c7f0-c0a3-425c-811c-0e231c8bcffe", "content-length": "26", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
72 | 2023-11-09T00:29:58.937Z | INFO | nexus (Nexus): identified switch slot for dendrite zone
file = nexus/src/app/mod.rs:860
slot = SpIdentifier {\n slot: 0,\n type_: Switch,\n}
zone_address = fd00:1122:3344:101::2
|
73 | 2023-11-09T00:29:58.938Z | INFO | nexus (Nexus): completed mapping dendrite zones to switch slots
file = nexus/src/app/mod.rs:892
mappings = {\n Switch0: fd00:1122:3344:101::2,\n}
|
74 | 2023-11-09T00:29:58.970Z | 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-0ea37ba6-c1ed-4a88-a12f-3a5a22ce733b.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("dendrite-0ea37ba6-c1ed-4a88-a12f-3a5a22ce733b.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: 678, tv_nsec: 497235227 } })
|
75 | 2023-11-09T00:29:58.970Z | INFO | nexus (Nexus): Determining switch slots managed by switch zones
file = nexus/src/app/mod.rs:847
|
76 | 2023-11-09T00:29:59.003Z | INFO | nexus (Nexus): determining switch slot managed by dendrite zone
file = nexus/src/app/mod.rs:855
zone_address = fd00:1122:3344:101::2
|
77 | 2023-11-09T00:29:59.003Z | DEBG | nexus (MgsClient): client request
body = None
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/local/switch-id
|
78 | 2023-11-09T00:29:59.004Z | 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": "6d99ede6-a4dd-4827-b524-99e5ec822474", "content-length": "26", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
79 | 2023-11-09T00:29:59.004Z | INFO | nexus (Nexus): identified switch slot for dendrite zone
file = nexus/src/app/mod.rs:860
slot = SpIdentifier {\n slot: 0,\n type_: Switch,\n}
zone_address = fd00:1122:3344:101::2
|
80 | 2023-11-09T00:29:59.005Z | INFO | nexus (Nexus): completed mapping dendrite zones to switch slots
file = nexus/src/app/mod.rs:892
mappings = {\n Switch0: fd00:1122:3344:101::2,\n}
|
81 | 2023-11-09T00:29:59.044Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
82 | 2023-11-09T00:29:59.046Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_config_internal
dns_group = internal
iteration = 1
reason = Timeout
|
83 | 2023-11-09T00:29:59.046Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_servers_internal
dns_group = internal
iteration = 1
reason = Timeout
|
84 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
85 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_servers_external
dns_group = external
iteration = 1
reason = Timeout
|
86 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): activating
background_task = inventory_collection
iteration = 1
reason = Timeout
|
87 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): activating
background_task = external_endpoints
iteration = 1
reason = Timeout
|
88 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {} }
|
89 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_config_external
dns_group = external
iteration = 1
reason = Timeout
|
90 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {} }
|
91 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): reading DNS version
background_task = dns_config_internal
dns_group = internal
|
92 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): reading DNS version
background_task = dns_config_external
dns_group = external
|
93 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
94 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {} }
|
95 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_internal
dns_group = internal
iteration = 1
reason = Timeout
|
96 | 2023-11-09T00:29:59.047Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_external
dns_group = external
iteration = 1
reason = Timeout
|
97 | 2023-11-09T00:29:59.048Z | 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
|
98 | 2023-11-09T00:29:59.048Z | 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
|
99 | 2023-11-09T00:29:59.050Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_external
dns_group = external
elapsed = 1.698547ms
iteration = 1
|
100 | 2023-11-09T00:29:59.051Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_internal
dns_group = internal
elapsed = 3.666474ms
iteration = 1
|
101 | 2023-11-09T00:29:59.051Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
102 | 2023-11-09T00:29:59.052Z | INFO | nexus (SagaRecoverer): start saga recovery
file = nexus/db-queries/src/db/saga_recovery.rs:77
|
103 | 2023-11-09T00:29:59.054Z | 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(())
|
104 | 2023-11-09T00:29:59.057Z | 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(())
|
105 | 2023-11-09T00:29:59.058Z | 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(())
|
106 | 2023-11-09T00:29:59.059Z | 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(())
|
107 | 2023-11-09T00:29:59.060Z | 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(())
|
108 | 2023-11-09T00:29:59.060Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
109 | 2023-11-09T00:29:59.060Z | DEBG | nexus (DataLoader): attempting to create built-in users
|
110 | 2023-11-09T00:29:59.061Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = inventory_collection
resource = Database
result = Ok(())
|
111 | 2023-11-09T00:29:59.061Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
112 | 2023-11-09T00:29:59.061Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
113 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = GET
path = /artifacts/{kind}/{name}/{version}
|
114 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = GET
path = /bgtasks
|
115 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = GET
path = /bgtasks/{bgtask_name}
|
116 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = POST
path = /disk/{disk_id}/remove-read-only-parent
|
117 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = PUT
path = /disks/{disk_id}
|
118 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = PUT
path = /instances/{instance_id}
|
119 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = GET
path = /metrics/collect/{producer_id}
|
120 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = POST
path = /metrics/collectors
|
121 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = POST
path = /metrics/producers
|
122 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = DELETE
path = /physical-disk
|
123 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = PUT
path = /physical-disk
|
124 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = PUT
path = /racks/{rack_id}/initialization-complete
|
125 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = GET
path = /sagas
|
126 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = GET
path = /sagas/{saga_id}
|
127 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = POST
path = /sled-agents/{sled_id}
|
128 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = PUT
path = /sled-agents/{sled_id}/zpools/{zpool_id}
|
129 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = PUT
path = /switch/{switch_id}
|
130 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::a]:12221
method = POST
path = /volume/{volume_id}/remove-read-only-parent
|
131 | 2023-11-09T00:29:59.062Z | 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::a]:12221
|
132 | 2023-11-09T00:29:59.062Z | DEBG | nexus (dropshot_internal): successfully registered DTrace USDT probes
local_addr = [fd00:1122:3344:101::a]:12221
|
133 | 2023-11-09T00:29:59.063Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
134 | 2023-11-09T00:29:59.064Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {} }
|
135 | 2023-11-09T00:29:59.070Z | 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-11-09T00:29:59.070Z | 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(())
|
137 | 2023-11-09T00:29:59.074Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
138 | 2023-11-09T00:29:59.075Z | 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(())
|
139 | 2023-11-09T00:29:59.095Z | INFO | nexus (DataLoader): created 5 built-in users
file = nexus/db-queries/src/db/datastore/silo_user.rs:394
|
140 | 2023-11-09T00:29:59.095Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
141 | 2023-11-09T00:29:59.096Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
142 | 2023-11-09T00:29:59.096Z | DEBG | nexus (DataLoader): attempting to create built-in roles
|
143 | 2023-11-09T00:29:59.096Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
144 | 2023-11-09T00:29:59.096Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
145 | 2023-11-09T00:29:59.099Z | WARN | nexus: Cannot look up rack: Object (of type ById(618eb599-e747-4176-9fc1-e73bbb1eb92b)) not found: rack
file = nexus/src/app/rack.rs:567
|
146 | 2023-11-09T00:29:59.109Z | INFO | nexus (DataLoader): created 10 built-in roles
file = nexus/db-queries/src/db/datastore/role.rs:87
|
147 | 2023-11-09T00:29:59.109Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
148 | 2023-11-09T00:29:59.110Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
149 | 2023-11-09T00:29:59.110Z | DEBG | nexus (DataLoader): attempting to create built-in role assignments
|
150 | 2023-11-09T00:29:59.110Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
151 | 2023-11-09T00:29:59.110Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
152 | 2023-11-09T00:29:59.132Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {} }
|
153 | 2023-11-09T00:29:59.132Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {} }
|
154 | 2023-11-09T00:29:59.132Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
155 | 2023-11-09T00:29:59.132Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {} }
|
156 | 2023-11-09T00:29:59.132Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
157 | 2023-11-09T00:29:59.132Z | INFO | nexus (SagaRecoverer): listed sagas (0 total)
file = nexus/db-queries/src/db/saga_recovery.rs:113
|
158 | 2023-11-09T00:29:59.136Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
159 | 2023-11-09T00:29:59.136Z | 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 = Err(Forbidden)
|
160 | 2023-11-09T00:29:59.136Z | WARN | nexus (BackgroundTasks): failed to read list of DNS servers
background_task = dns_servers_internal
dns_group = internal
error = Forbidden
file = nexus/src/app/background/dns_servers.rs:102
|
161 | 2023-11-09T00:29:59.136Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_servers_internal
dns_group = internal
elapsed = 90.210279ms
iteration = 1
|
162 | 2023-11-09T00:29:59.136Z | 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 = Err(Forbidden)
|
163 | 2023-11-09T00:29:59.136Z | WARN | nexus (BackgroundTasks): failed to read list of DNS servers
background_task = dns_servers_external
dns_group = external
error = Forbidden
file = nexus/src/app/background/dns_servers.rs:102
|
164 | 2023-11-09T00:29:59.136Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_servers_external
dns_group = external
elapsed = 89.265353ms
iteration = 1
|
165 | 2023-11-09T00:29:59.136Z | DEBG | nexus (BackgroundTasks): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = inventory_collection
resource = Inventory
result = Err(Forbidden)
|
166 | 2023-11-09T00:29:59.136Z | WARN | nexus (BackgroundTasks): inventory collection failed
background_task = inventory_collection
error = failed to collect inventory: pruning old collections: Forbidden
file = nexus/src/app/background/inventory_collection.rs:69
|
167 | 2023-11-09T00:29:59.136Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = inventory_collection
elapsed = 89.48879ms
iteration = 1
|
168 | 2023-11-09T00:29:59.137Z | 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 = Err(Forbidden)
|
169 | 2023-11-09T00:29:59.138Z | WARN | nexus (BackgroundTasks): failed to read DNS config
background_task = dns_config_external
dns_group = external
error = Forbidden
file = nexus/src/app/background/dns_config.rs:76
|
170 | 2023-11-09T00:29:59.138Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_config_external
dns_group = external
elapsed = 90.614151ms
iteration = 1
|
171 | 2023-11-09T00:29:59.138Z | 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 = Err(Forbidden)
|
172 | 2023-11-09T00:29:59.138Z | WARN | nexus (BackgroundTasks): failed to read Silo/DNS/TLS configuration
background_task = external_endpoints
error = Forbidden
file = nexus/src/app/background/external_endpoints.rs:59
|
173 | 2023-11-09T00:29:59.138Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = external_endpoints
elapsed = 91.29284ms
iteration = 1
|
174 | 2023-11-09T00:29:59.139Z | 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 = Err(Forbidden)
|
175 | 2023-11-09T00:29:59.139Z | WARN | nexus (BackgroundTasks): failed to read DNS config
background_task = dns_config_internal
dns_group = internal
error = Forbidden
file = nexus/src/app/background/dns_config.rs:76
|
176 | 2023-11-09T00:29:59.139Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_config_internal
dns_group = internal
elapsed = 93.311447ms
iteration = 1
|
177 | 2023-11-09T00:29:59.152Z | INFO | nexus (DataLoader): created 4 built-in role assignments
file = nexus/db-queries/src/db/datastore/role.rs:116
|
178 | 2023-11-09T00:29:59.152Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
179 | 2023-11-09T00:29:59.153Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
180 | 2023-11-09T00:29:59.153Z | DEBG | nexus (DataLoader): attempting to create built-in silos
|
181 | 2023-11-09T00:29:59.153Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
182 | 2023-11-09T00:29:59.153Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
183 | 2023-11-09T00:29:59.218Z | INFO | nexus (DataLoader): created 2 built-in silos
file = nexus/db-queries/src/db/datastore/silo.rs:70
|
184 | 2023-11-09T00:29:59.218Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
185 | 2023-11-09T00:29:59.218Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
186 | 2023-11-09T00:29:59.228Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
187 | 2023-11-09T00:29:59.229Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
188 | 2023-11-09T00:29:59.229Z | DEBG | nexus (DataLoader): attempting to create built-in projects
|
189 | 2023-11-09T00:29:59.229Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
190 | 2023-11-09T00:29:59.229Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
191 | 2023-11-09T00:29:59.234Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
192 | 2023-11-09T00:29:59.234Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
193 | 2023-11-09T00:29:59.235Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
194 | 2023-11-09T00:29:59.235Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
195 | 2023-11-09T00:29:59.236Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
196 | 2023-11-09T00:29:59.238Z | 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(())
|
197 | 2023-11-09T00:29:59.238Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
198 | 2023-11-09T00:29:59.238Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
199 | 2023-11-09T00:29:59.266Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
200 | 2023-11-09T00:29:59.266Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
201 | 2023-11-09T00:29:59.267Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
202 | 2023-11-09T00:29:59.268Z | 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(())
|
203 | 2023-11-09T00:29:59.269Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
204 | 2023-11-09T00:29:59.269Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
205 | 2023-11-09T00:29:59.287Z | INFO | nexus (DataLoader): created built-in services project
file = nexus/db-queries/src/db/datastore/project.rs:122
|
206 | 2023-11-09T00:29:59.287Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
207 | 2023-11-09T00:29:59.288Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
208 | 2023-11-09T00:29:59.288Z | DEBG | nexus (DataLoader): attempting to create built-in VPCs
|
209 | 2023-11-09T00:29:59.288Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
210 | 2023-11-09T00:29:59.288Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
211 | 2023-11-09T00:29:59.294Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
212 | 2023-11-09T00:29:59.294Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
213 | 2023-11-09T00:29:59.295Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
214 | 2023-11-09T00:29:59.296Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
215 | 2023-11-09T00:29:59.297Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
216 | 2023-11-09T00:29:59.297Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
217 | 2023-11-09T00:29:59.298Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
218 | 2023-11-09T00:29:59.298Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
219 | 2023-11-09T00:29:59.299Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
220 | 2023-11-09T00:29:59.301Z | 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(())
|
221 | 2023-11-09T00:29:59.301Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
222 | 2023-11-09T00:29:59.301Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
223 | 2023-11-09T00:29:59.302Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
224 | 2023-11-09T00:29:59.302Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
225 | 2023-11-09T00:29:59.303Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
226 | 2023-11-09T00:29:59.303Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
227 | 2023-11-09T00:29:59.304Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
228 | 2023-11-09T00:29:59.307Z | 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(())
|
229 | 2023-11-09T00:29:59.307Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
230 | 2023-11-09T00:29:59.307Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
231 | 2023-11-09T00:29:59.327Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
232 | 2023-11-09T00:29:59.327Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
233 | 2023-11-09T00:29:59.334Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
234 | 2023-11-09T00:29:59.334Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
235 | 2023-11-09T00:29:59.362Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
236 | 2023-11-09T00:29:59.363Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
237 | 2023-11-09T00:29:59.364Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
238 | 2023-11-09T00:29:59.364Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
239 | 2023-11-09T00:29:59.365Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
240 | 2023-11-09T00:29:59.368Z | 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: ByName("oxide-services") }
result = Ok(())
|
241 | 2023-11-09T00:29:59.368Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
242 | 2023-11-09T00:29:59.368Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
243 | 2023-11-09T00:29:59.400Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
244 | 2023-11-09T00:29:59.401Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
245 | 2023-11-09T00:29:59.402Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
246 | 2023-11-09T00:29:59.402Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
247 | 2023-11-09T00:29:59.403Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
248 | 2023-11-09T00:29:59.403Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
249 | 2023-11-09T00:29:59.404Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
250 | 2023-11-09T00:29:59.407Z | 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: ByName("oxide-services") }, key: 001de000-074c-4000-8000-000000000001, lookup_type: ById(001de000-074c-4000-8000-000000000001) }
result = Ok(())
|
251 | 2023-11-09T00:29:59.407Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
252 | 2023-11-09T00:29:59.407Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
253 | 2023-11-09T00:29:59.449Z | DEBG | nexus (DataLoader): attempting to create built-in VPC firewall rules
|
254 | 2023-11-09T00:29:59.449Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
255 | 2023-11-09T00:29:59.449Z | 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-11-09T00:29:59.451Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
257 | 2023-11-09T00:29:59.451Z | 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-11-09T00:29:59.452Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
259 | 2023-11-09T00:29:59.452Z | 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-11-09T00:29:59.453Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
261 | 2023-11-09T00:29:59.453Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
262 | 2023-11-09T00:29:59.454Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
263 | 2023-11-09T00:29:59.454Z | 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-11-09T00:29:59.455Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
265 | 2023-11-09T00:29:59.455Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
266 | 2023-11-09T00:29:59.456Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
267 | 2023-11-09T00:29:59.458Z | 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(())
|
268 | 2023-11-09T00:29:59.458Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
269 | 2023-11-09T00:29:59.459Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
270 | 2023-11-09T00:29:59.460Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
271 | 2023-11-09T00:29:59.460Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
272 | 2023-11-09T00:29:59.460Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
273 | 2023-11-09T00:29:59.461Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
274 | 2023-11-09T00:29:59.461Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
275 | 2023-11-09T00:29:59.464Z | 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(())
|
276 | 2023-11-09T00:29:59.464Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
277 | 2023-11-09T00:29:59.464Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
278 | 2023-11-09T00:29:59.471Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
279 | 2023-11-09T00:29:59.472Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
280 | 2023-11-09T00:29:59.472Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
281 | 2023-11-09T00:29:59.473Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
282 | 2023-11-09T00:29:59.504Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
283 | 2023-11-09T00:29:59.504Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
284 | 2023-11-09T00:29:59.506Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
285 | 2023-11-09T00:29:59.508Z | 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(())
|
286 | 2023-11-09T00:29:59.508Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
287 | 2023-11-09T00:29:59.508Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
288 | 2023-11-09T00:29:59.586Z | INFO | nexus (DataLoader): created built-in VPC firewall rules
file = nexus/db-queries/src/db/datastore/vpc.rs:219
|
289 | 2023-11-09T00:29:59.586Z | DEBG | nexus (DataLoader): attempting to create built-in VPC Subnets
|
290 | 2023-11-09T00:29:59.586Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
291 | 2023-11-09T00:29:59.587Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
292 | 2023-11-09T00:29:59.594Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
293 | 2023-11-09T00:29:59.594Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
294 | 2023-11-09T00:29:59.595Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
295 | 2023-11-09T00:29:59.595Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
296 | 2023-11-09T00:29:59.596Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
297 | 2023-11-09T00:29:59.596Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
298 | 2023-11-09T00:29:59.597Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
299 | 2023-11-09T00:29:59.597Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
300 | 2023-11-09T00:29:59.598Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
301 | 2023-11-09T00:29:59.599Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
302 | 2023-11-09T00:29:59.599Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
303 | 2023-11-09T00:29:59.602Z | 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(())
|
304 | 2023-11-09T00:29:59.602Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
305 | 2023-11-09T00:29:59.602Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
306 | 2023-11-09T00:29:59.608Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
307 | 2023-11-09T00:29:59.608Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
308 | 2023-11-09T00:29:59.609Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
309 | 2023-11-09T00:29:59.609Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
310 | 2023-11-09T00:29:59.610Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
311 | 2023-11-09T00:29:59.611Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
312 | 2023-11-09T00:29:59.612Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
313 | 2023-11-09T00:29:59.614Z | 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(())
|
314 | 2023-11-09T00:29:59.618Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
315 | 2023-11-09T00:29:59.618Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
316 | 2023-11-09T00:29:59.619Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
317 | 2023-11-09T00:29:59.619Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
318 | 2023-11-09T00:29:59.620Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
319 | 2023-11-09T00:29:59.620Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
320 | 2023-11-09T00:29:59.621Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
321 | 2023-11-09T00:29:59.621Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
322 | 2023-11-09T00:29:59.622Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
323 | 2023-11-09T00:29:59.624Z | 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(())
|
324 | 2023-11-09T00:29:59.627Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
325 | 2023-11-09T00:29:59.627Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
326 | 2023-11-09T00:29:59.628Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
327 | 2023-11-09T00:29:59.628Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
328 | 2023-11-09T00:29:59.629Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
329 | 2023-11-09T00:29:59.629Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
330 | 2023-11-09T00:29:59.630Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
331 | 2023-11-09T00:29:59.630Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
332 | 2023-11-09T00:29:59.631Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
333 | 2023-11-09T00:29:59.633Z | 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(())
|
334 | 2023-11-09T00:29:59.636Z | INFO | nexus (DataLoader): created built-in services vpc subnets
file = nexus/db-queries/src/db/datastore/vpc.rs:262
|
335 | 2023-11-09T00:29:59.636Z | INFO | nexus (DataLoader): created built-in services vpc
file = nexus/db-queries/src/db/datastore/vpc.rs:165
|
336 | 2023-11-09T00:29:59.636Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
337 | 2023-11-09T00:29:59.636Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
338 | 2023-11-09T00:29:59.637Z | DEBG | nexus (DataLoader): attempting to create silo users
|
339 | 2023-11-09T00:29:59.637Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
340 | 2023-11-09T00:29:59.637Z | 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-11-09T00:29:59.644Z | INFO | nexus (DataLoader): created 2 silo users
file = nexus/db-queries/src/db/datastore/silo_user.rs:419
|
342 | 2023-11-09T00:29:59.644Z | DEBG | nexus (DataLoader): attempting to create silo user role assignments
|
343 | 2023-11-09T00:29:59.644Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
344 | 2023-11-09T00:29:59.644Z | 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-11-09T00:29:59.646Z | INFO | nexus (DataLoader): created 2 silo user role assignments
file = nexus/db-queries/src/db/datastore/silo_user.rs:444
|
346 | 2023-11-09T00:29:59.646Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
347 | 2023-11-09T00:29:59.646Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
348 | 2023-11-09T00:29:59.648Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
349 | 2023-11-09T00:29:59.649Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
350 | 2023-11-09T00:29:59.652Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
351 | 2023-11-09T00:29:59.652Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
352 | 2023-11-09T00:29:59.653Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
353 | 2023-11-09T00:29:59.653Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = IpPoolList
result = Ok(())
|
354 | 2023-11-09T00:29:59.653Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
355 | 2023-11-09T00:29:59.654Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
356 | 2023-11-09T00:29:59.663Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
357 | 2023-11-09T00:29:59.663Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
358 | 2023-11-09T00:29:59.664Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
359 | 2023-11-09T00:29:59.665Z | DEBG | nexus (DataLoader): authorize result
action = CreateChild
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = IpPoolList
result = Ok(())
|
360 | 2023-11-09T00:29:59.665Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
361 | 2023-11-09T00:29:59.665Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
362 | 2023-11-09T00:29:59.667Z | INFO | nexus: populate complete; activating background tasks
file = nexus/src/app/mod.rs:448
|
363 | 2023-11-09T00:29:59.667Z | DEBG | nexus (Bootstore): roles
roles = RoleSet { roles: {} }
|
364 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_external
dns_group = external
iteration = 2
reason = Signaled
|
365 | 2023-11-09T00:29:59.667Z | 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
|
366 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_external
dns_group = external
elapsed = 8.761\u{b5}s
iteration = 2
|
367 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_config_external
dns_group = external
iteration = 2
reason = Signaled
|
368 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): reading DNS version
background_task = dns_config_external
dns_group = external
|
369 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {} }
|
370 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_servers_external
dns_group = external
iteration = 2
reason = Signaled
|
371 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {} }
|
372 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_servers_internal
dns_group = internal
iteration = 2
reason = Signaled
|
373 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
374 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): activating
background_task = external_endpoints
iteration = 2
reason = Signaled
|
375 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
376 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_internal
dns_group = internal
iteration = 2
reason = Signaled
|
377 | 2023-11-09T00:29:59.667Z | 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
|
378 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_internal
dns_group = internal
elapsed = 14.6\u{b5}s
iteration = 2
|
379 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_config_internal
dns_group = internal
iteration = 2
reason = Signaled
|
380 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): reading DNS version
background_task = dns_config_internal
dns_group = internal
|
381 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
382 | 2023-11-09T00:29:59.667Z | DEBG | nexus (Bootstore): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
resource = Database
result = Ok(())
|
383 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): activating
background_task = inventory_collection
iteration = 2
reason = Signaled
|
384 | 2023-11-09T00:29:59.667Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {} }
|
385 | 2023-11-09T00:29:59.668Z | 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(())
|
386 | 2023-11-09T00:29:59.668Z | 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(())
|
387 | 2023-11-09T00:29:59.668Z | 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(())
|
388 | 2023-11-09T00:29:59.668Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = inventory_collection
resource = Database
result = Ok(())
|
389 | 2023-11-09T00:29:59.668Z | 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(())
|
390 | 2023-11-09T00:29:59.668Z | 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(())
|
391 | 2023-11-09T00:29:59.668Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {} }
|
392 | 2023-11-09T00:29:59.668Z | 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(())
|
393 | 2023-11-09T00:29:59.668Z | DEBG | nexus (Bootstore): roles
roles = RoleSet { roles: {} }
|
394 | 2023-11-09T00:29:59.668Z | DEBG | nexus (Bootstore): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
resource = Database
result = Ok(())
|
395 | 2023-11-09T00:29:59.668Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
396 | 2023-11-09T00:29:59.668Z | 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(())
|
397 | 2023-11-09T00:29:59.669Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
398 | 2023-11-09T00:29:59.669Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
399 | 2023-11-09T00:29:59.669Z | DEBG | nexus (Bootstore): roles
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
400 | 2023-11-09T00:29:59.670Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
401 | 2023-11-09T00:29:59.670Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
402 | 2023-11-09T00:29:59.670Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
403 | 2023-11-09T00:29:59.670Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
404 | 2023-11-09T00:29:59.673Z | 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(())
|
405 | 2023-11-09T00:29:59.673Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {} }
|
406 | 2023-11-09T00:29:59.673Z | 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(())
|
407 | 2023-11-09T00:29:59.675Z | DEBG | nexus (BackgroundTasks): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = inventory_collection
resource = Inventory
result = Ok(())
|
408 | 2023-11-09T00:29:59.675Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {} }
|
409 | 2023-11-09T00:29:59.675Z | 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(())
|
410 | 2023-11-09T00:29:59.675Z | 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(())
|
411 | 2023-11-09T00:29:59.675Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
412 | 2023-11-09T00:29:59.675Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
413 | 2023-11-09T00:29:59.675Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = inventory_collection
resource = Database
result = Ok(())
|
414 | 2023-11-09T00:29:59.675Z | 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-11-09T00:29:59.675Z | 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(())
|
416 | 2023-11-09T00:29:59.675Z | 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(())
|
417 | 2023-11-09T00:29:59.675Z | 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(())
|
418 | 2023-11-09T00:29:59.675Z | DEBG | nexus (Bootstore): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
resource = Rack { parent: Fleet, key: 618eb599-e747-4176-9fc1-e73bbb1eb92b, lookup_type: ById(618eb599-e747-4176-9fc1-e73bbb1eb92b) }
result = Ok(())
|
419 | 2023-11-09T00:29:59.675Z | DEBG | nexus (Bootstore): roles
roles = RoleSet { roles: {} }
|
420 | 2023-11-09T00:29:59.675Z | DEBG | nexus (Bootstore): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
resource = Database
result = Ok(())
|
421 | 2023-11-09T00:29:59.678Z | DEBG | nexus (Bootstore): roles
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
422 | 2023-11-09T00:29:59.680Z | DEBG | nexus (Bootstore): authorize result
action = ListChildren
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
resource = Fleet
result = Ok(())
|
423 | 2023-11-09T00:29:59.680Z | DEBG | nexus (Bootstore): roles
roles = RoleSet { roles: {} }
|
424 | 2023-11-09T00:29:59.680Z | DEBG | nexus (Bootstore): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
resource = Database
result = Ok(())
|
425 | 2023-11-09T00:29:59.684Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
426 | 2023-11-09T00:29:59.685Z | 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(())
|
427 | 2023-11-09T00:29:59.686Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
428 | 2023-11-09T00:29:59.689Z | 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(())
|
429 | 2023-11-09T00:29:59.689Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
430 | 2023-11-09T00:29:59.689Z | 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(())
|
431 | 2023-11-09T00:29:59.690Z | ERRO | nexus: failed to run bootstore sync: Internal Error: no sleds at time of bootstore sync
file = nexus/src/app/mod.rs:459
|
432 | 2023-11-09T00:29:59.706Z | DEBG | nexus (BackgroundTasks): inventory_prune_one: nothing eligible for removal (too few)
background_task = inventory_collection
candidates = []
|
433 | 2023-11-09T00:29:59.707Z | DEBG | nexus (DnsResolver): lookup_all_socket_v6 srv
dns_name = _mgs._tcp.control-plane.oxide.internal
response = SrvLookup(Lookup { query: Query { name: Name("_mgs._tcp.control-plane.oxide.internal"), query_type: SRV, query_class: IN }, records: [Record { name_labels: Name("_mgs._tcp.control-plane.oxide.internal."), rr_type: SRV, dns_class: IN, ttl: 0, rdata: Some(SRV(SRV { priority: 0, weight: 0, port: 12225, target: Name("dendrite-0ea37ba6-c1ed-4a88-a12f-3a5a22ce733b.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("dendrite-0ea37ba6-c1ed-4a88-a12f-3a5a22ce733b.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: 679, tv_nsec: 234475109 } })
|
434 | 2023-11-09T00:29:59.724Z | 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
|
435 | 2023-11-09T00:29:59.724Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_config_internal
dns_group = internal
elapsed = 56.46925ms
iteration = 2
|
436 | 2023-11-09T00:29:59.724Z | 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
|
437 | 2023-11-09T00:29:59.724Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_config_external
dns_group = external
elapsed = 56.662025ms
iteration = 2
|
438 | 2023-11-09T00:29:59.724Z | 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
|
439 | 2023-11-09T00:29:59.724Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_servers_internal
dns_group = internal
elapsed = 57.094598ms
iteration = 2
|
440 | 2023-11-09T00:29:59.724Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_internal
dns_group = internal
iteration = 3
reason = Dependency
|
441 | 2023-11-09T00:29:59.724Z | 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
|
442 | 2023-11-09T00:29:59.724Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_internal
dns_group = internal
elapsed = 4\u{b5}s
iteration = 3
|
443 | 2023-11-09T00:29:59.725Z | 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
|
444 | 2023-11-09T00:29:59.725Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_servers_external
dns_group = external
elapsed = 57.307393ms
iteration = 2
|
445 | 2023-11-09T00:29:59.725Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_external
dns_group = external
iteration = 3
reason = Dependency
|
446 | 2023-11-09T00:29:59.725Z | 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
|
447 | 2023-11-09T00:29:59.725Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_external
dns_group = external
elapsed = 6.4\u{b5}s
iteration = 3
|
448 | 2023-11-09T00:29:59.729Z | 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
|
449 | 2023-11-09T00:29:59.729Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = external_endpoints
elapsed = 61.46437ms
iteration = 2
|
450 | 2023-11-09T00:29:59.746Z | DEBG | nexus (BackgroundTasks): begin collection
background_task = inventory_collection
|
451 | 2023-11-09T00:29:59.746Z | DEBG | nexus (BackgroundTasks): begin collection from MGS
background_task = inventory_collection
mgs_url = http://[fd00:1122:3344:101::2]:12225
|
452 | 2023-11-09T00:29:59.746Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = None
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/ignition
|
453 | 2023-11-09T00:29:59.747Z | DEBG | nexus (BackgroundTasks): client response
background_task = inventory_collection
gateway_url = http://[fd00:1122:3344:101::2]:12225
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: "/ignition", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "8501e574-d8f3-4767-934c-139e54ebdb86", "content-length": "476", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
454 | 2023-11-09T00:29:59.747Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = None
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/switch/0
|
455 | 2023-11-09T00:29:59.748Z | DEBG | nexus (BackgroundTasks): client response
background_task = inventory_collection
gateway_url = http://[fd00:1122:3344:101::2]:12225
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: "/sp/switch/0", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "43044c8a-52b6-4a98-9f66-98b0506bec30", "content-length": "387", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
456 | 2023-11-09T00:29:59.748Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = None
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/switch/0/component/sp/caboose?firmware_slot=0
|
457 | 2023-11-09T00:29:59.748Z | DEBG | nexus (BackgroundTasks): client response
background_task = inventory_collection
gateway_url = http://[fd00:1122:3344:101::2]:12225
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: "/sp/switch/0/component/sp/caboose", query: Some("firmware_slot=0"), fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "7c3530d0-f3f3-4a48-ad5f-5a864ee71880", "content-length": "86", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
458 | 2023-11-09T00:29:59.748Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = None
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/switch/0/component/sp/caboose?firmware_slot=1
|
459 | 2023-11-09T00:29:59.749Z | DEBG | nexus (BackgroundTasks): client response
background_task = inventory_collection
gateway_url = http://[fd00:1122:3344:101::2]:12225
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: "/sp/switch/0/component/sp/caboose", query: Some("firmware_slot=1"), fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "95db2cb1-5e46-4c9f-b4a3-71a77748efbc", "content-length": "86", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
460 | 2023-11-09T00:29:59.749Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = None
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/switch/0/component/rot/caboose?firmware_slot=0
|
461 | 2023-11-09T00:29:59.749Z | DEBG | nexus (BackgroundTasks): client response
background_task = inventory_collection
gateway_url = http://[fd00:1122:3344:101::2]:12225
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: "/sp/switch/0/component/rot/caboose", query: Some("firmware_slot=0"), fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "857e6bc1-e2b4-4bac-b089-90a5d696afbf", "content-length": "87", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
462 | 2023-11-09T00:29:59.749Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = None
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/switch/0/component/rot/caboose?firmware_slot=1
|
463 | 2023-11-09T00:29:59.749Z | DEBG | nexus (BackgroundTasks): client response
background_task = inventory_collection
gateway_url = http://[fd00:1122:3344:101::2]:12225
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: "/sp/switch/0/component/rot/caboose", query: Some("firmware_slot=1"), fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "df8c98fa-0d3d-4fa8-9449-8407c6191e41", "content-length": "87", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
464 | 2023-11-09T00:29:59.749Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = None
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/sled/0
|
465 | 2023-11-09T00:29:59.750Z | DEBG | nexus (BackgroundTasks): client response
background_task = inventory_collection
gateway_url = http://[fd00:1122:3344:101::2]:12225
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: "/sp/sled/0", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "7572ce21-7055-457f-bb06-572fbd62a2a4", "content-length": "385", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
466 | 2023-11-09T00:29:59.750Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = None
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/sled/0/component/sp/caboose?firmware_slot=0
|
467 | 2023-11-09T00:29:59.750Z | DEBG | nexus (BackgroundTasks): client response
background_task = inventory_collection
gateway_url = http://[fd00:1122:3344:101::2]:12225
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: "/sp/sled/0/component/sp/caboose", query: Some("firmware_slot=0"), fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "c2520e1c-c619-4746-8f5c-1a2e940589f9", "content-length": "84", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
468 | 2023-11-09T00:29:59.750Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = None
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/sled/0/component/sp/caboose?firmware_slot=1
|
469 | 2023-11-09T00:29:59.750Z | DEBG | nexus (BackgroundTasks): client response
background_task = inventory_collection
gateway_url = http://[fd00:1122:3344:101::2]:12225
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: "/sp/sled/0/component/sp/caboose", query: Some("firmware_slot=1"), fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "03d2f3ff-c453-4d0f-9e7a-37ac5e3910c6", "content-length": "84", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
470 | 2023-11-09T00:29:59.750Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = None
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/sled/0/component/rot/caboose?firmware_slot=0
|
471 | 2023-11-09T00:29:59.750Z | DEBG | nexus (BackgroundTasks): client response
background_task = inventory_collection
gateway_url = http://[fd00:1122:3344:101::2]:12225
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: "/sp/sled/0/component/rot/caboose", query: Some("firmware_slot=0"), fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "145f1aac-398f-4a55-be76-24d6f1591cf3", "content-length": "85", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
472 | 2023-11-09T00:29:59.750Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = None
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/sled/0/component/rot/caboose?firmware_slot=1
|
473 | 2023-11-09T00:29:59.751Z | DEBG | nexus (BackgroundTasks): client response
background_task = inventory_collection
gateway_url = http://[fd00:1122:3344:101::2]:12225
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: "/sp/sled/0/component/rot/caboose", query: Some("firmware_slot=1"), fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "9dbdd593-1cf1-407e-9c17-e8fda47be1f1", "content-length": "85", "date": "Thu, 09 Nov 2023 00:29:58 GMT"} })
|
474 | 2023-11-09T00:29:59.751Z | DEBG | nexus (BackgroundTasks): finished collection
background_task = inventory_collection
|
475 | 2023-11-09T00:29:59.751Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {} }
|
476 | 2023-11-09T00:29:59.751Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = inventory_collection
resource = Database
result = Ok(())
|
477 | 2023-11-09T00:29:59.753Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
478 | 2023-11-09T00:29:59.754Z | DEBG | nexus (BackgroundTasks): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = inventory_collection
resource = Inventory
result = Ok(())
|
479 | 2023-11-09T00:29:59.755Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {} }
|
480 | 2023-11-09T00:29:59.755Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = inventory_collection
resource = Database
result = Ok(())
|
481 | 2023-11-09T00:29:59.873Z | INFO | nexus (BackgroundTasks): inserted inventory collection
background_task = inventory_collection
collection_id = 61e5909c-200e-43fc-9f15-c2ffbadd398c
file = nexus/db-queries/src/db/datastore/inventory.rs:486
|
482 | 2023-11-09T00:29:59.874Z | DEBG | nexus (BackgroundTasks): inventory collection complete
background_task = inventory_collection
collection_id = 61e5909c-200e-43fc-9f15-c2ffbadd398c
time_started = 2023-11-09 00:29:59.743188 UTC
|
483 | 2023-11-09T00:29:59.874Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = inventory_collection
elapsed = 206.641827ms
iteration = 2
|