1 | | [ Dec 7 05:43:30 Disabled. ] |
2 | | [ Dec 7 05:43:30 Rereading configuration. ] |
3 | | [ Dec 7 05:43:59 Rereading configuration. ] |
4 | | [ Dec 7 05:44:06 Enabled. ] |
5 | | [ Dec 7 05:44:06 Executing start method ("ctrun -l child -o noorphan,regent /opt/oxide/nexus/bin/nexus /var/svc/manifest/site/nexus/config.toml &"). ] |
6 | | [ Dec 7 05:44:06 Method "start" exited with status 0. ] |
7 | | note: configured to log to "/dev/stdout" |
8 | 2023-12-07T05:44:06.813Z | DEBG | nexus: registered DTrace probes
|
9 | 2023-12-07T05:44:06.813Z | INFO | nexus: setting up nexus server
file = nexus/src/lib.rs:88
|
10 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Action
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
11 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = AnyActor
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
12 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = AuthenticatedActor
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
13 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Database
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
14 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = DnsConfig
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
15 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Fleet
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
16 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Inventory
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
17 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = IpPoolList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
18 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = ConsoleSessionList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
19 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = DeviceAuthRequestList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
20 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = SiloCertificateList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
21 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = SiloIdentityProviderList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
22 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = SiloUserList
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
23 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Project
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
24 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Disk
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
25 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Snapshot
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
26 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = ProjectImage
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
27 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Instance
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
28 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = IpPool
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
29 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = InstanceNetworkInterface
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
30 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Vpc
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
31 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = VpcRouter
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
32 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = RouterRoute
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
33 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = VpcSubnet
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
34 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Image
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
35 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = SiloImage
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
36 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = AddressLot
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
37 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = LoopbackAddress
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
38 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Certificate
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
39 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = ConsoleSession
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
40 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = DeviceAuthRequest
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
41 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = DeviceAccessToken
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
42 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = PhysicalDisk
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
43 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Rack
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
44 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = RoleBuiltin
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
45 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = SshKey
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
46 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Silo
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
47 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = SiloUser
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
48 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = SiloGroup
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
49 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = IdentityProvider
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
50 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = SamlIdentityProvider
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
51 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Sled
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
52 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Zpool
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
53 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = Service
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
54 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = UpdateArtifact
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
55 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = UserBuiltin
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
56 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = SystemUpdate
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
57 | 2023-12-07T05:44:06.826Z | INFO | nexus (ServerContext): registering Oso class
class = UpdateDeployment
file = nexus/db-queries/src/authz/oso_generic.rs:68
|
58 | 2023-12-07T05:44:06.826Z | 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-12-07T05:44:06.841Z | 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-12-07T05:44:06.845Z | 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-12-07T05:44:06.846Z | INFO | nexus (ServerContext): Accessing DB url from DNS
file = nexus/src/context.rs:171
|
62 | 2023-12-07T05:44:06.855Z | 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("3ad5ba46-d825-47d4-bd18-8bbf69c06d03.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("88b78c70-a8bf-423f-ba5a-1131ec9728b5.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("924955aa-23e1-495c-a53e-eaeddc43ab8c.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("a071a8d7-ba84-46ad-a945-ae7b05cb64e4.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("feef012b-d339-46ea-b67e-b97f180bf03e.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("feef012b-d339-46ea-b67e-b97f180bf03e.host.control-plane.oxide.internal."), rr_type: AAAA, dns_class: IN, ttl: 0, rdata: Some(AAAA(fd00:1122:3344:101::4)) }], valid_until: Instant { tv_sec: 1168, tv_nsec: 356735609 } })
|
63 | 2023-12-07T05:44:06.858Z | INFO | nexus (ServerContext): DB addresses: [fd00:1122:3344:101::7]:32221,[fd00:1122:3344:101::6]:32221,[fd00:1122:3344:101::5]:32221,[fd00:1122:3344:101::3]:32221,[fd00:1122:3344:101::4]:32221
file = nexus/src/context.rs:201
|
64 | 2023-12-07T05:44:06.859Z | INFO | nexus (db::Pool): database connection pool
database_url = postgresql://root@[fd00:1122:3344:101::7]:32221,[fd00:1122:3344:101::6]:32221,[fd00:1122:3344:101::5]:32221,[fd00:1122:3344:101::3]:32221,[fd00:1122:3344:101::4]:32221/omicron?sslmode=disable
file = nexus/db-queries/src/db/pool.rs:75
|
65 | 2023-12-07T05:44:06.881Z | INFO | nexus: Compatible database schema: 18.0.0
file = nexus/db-queries/src/db/datastore/db_metadata.rs:181
|
66 | 2023-12-07T05:44:06.883Z | 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 = 9662baa0-af1b-4748-b7a3-2756377245b6
|
67 | 2023-12-07T05:44:06.883Z | 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-9c6d53d5-84a3-4977-a16c-0b4f46aaa1aa.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("dendrite-9c6d53d5-84a3-4977-a16c-0b4f46aaa1aa.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: 1168, tv_nsec: 385623176 } })
|
68 | 2023-12-07T05:44:06.884Z | INFO | nexus (Nexus): Determining switch slots managed by switch zones
file = nexus/src/app/mod.rs:848
|
69 | 2023-12-07T05:44:06.934Z | INFO | nexus (Nexus): determining switch slot managed by dendrite zone
file = nexus/src/app/mod.rs:856
zone_address = fd00:1122:3344:101::2
|
70 | 2023-12-07T05:44:06.934Z | DEBG | nexus (MgsClient): client request
body = None
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/local/switch-id
|
71 | 2023-12-07T05:44:06.952Z | 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": "84180600-64eb-4fb5-ba48-33718f8ee1b1", "content-length": "26", "date": "Thu, 07 Dec 2023 05:44:06 GMT"} })
|
72 | 2023-12-07T05:44:06.953Z | INFO | nexus (Nexus): identified switch slot for dendrite zone
file = nexus/src/app/mod.rs:861
slot = SpIdentifier {\n slot: 0,\n type_: Switch,\n}
zone_address = fd00:1122:3344:101::2
|
73 | 2023-12-07T05:44:06.954Z | INFO | nexus (Nexus): completed mapping dendrite zones to switch slots
file = nexus/src/app/mod.rs:893
mappings = {\n Switch0: fd00:1122:3344:101::2,\n}
|
74 | 2023-12-07T05:44:06.986Z | 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-9c6d53d5-84a3-4977-a16c-0b4f46aaa1aa.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("dendrite-9c6d53d5-84a3-4977-a16c-0b4f46aaa1aa.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: 1168, tv_nsec: 488199669 } })
|
75 | 2023-12-07T05:44:06.986Z | INFO | nexus (Nexus): Determining switch slots managed by switch zones
file = nexus/src/app/mod.rs:848
|
76 | 2023-12-07T05:44:07.019Z | INFO | nexus (Nexus): determining switch slot managed by dendrite zone
file = nexus/src/app/mod.rs:856
zone_address = fd00:1122:3344:101::2
|
77 | 2023-12-07T05:44:07.019Z | DEBG | nexus (MgsClient): client request
body = None
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/local/switch-id
|
78 | 2023-12-07T05:44:07.020Z | 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": "e466774d-a8cd-40ac-bfba-ad923ccd54fd", "content-length": "26", "date": "Thu, 07 Dec 2023 05:44:06 GMT"} })
|
79 | 2023-12-07T05:44:07.020Z | INFO | nexus (Nexus): identified switch slot for dendrite zone
file = nexus/src/app/mod.rs:861
slot = SpIdentifier {\n slot: 0,\n type_: Switch,\n}
zone_address = fd00:1122:3344:101::2
|
80 | 2023-12-07T05:44:07.020Z | INFO | nexus (Nexus): completed mapping dendrite zones to switch slots
file = nexus/src/app/mod.rs:893
mappings = {\n Switch0: fd00:1122:3344:101::2,\n}
|
81 | 2023-12-07T05:44:07.064Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
82 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = external_endpoints
iteration = 1
reason = Timeout
|
83 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_servers_external
dns_group = external
iteration = 1
reason = Timeout
|
84 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_servers_internal
dns_group = internal
iteration = 1
reason = Timeout
|
85 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_internal
dns_group = internal
iteration = 1
reason = Timeout
|
86 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_config_internal
dns_group = internal
iteration = 1
reason = Timeout
|
87 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_external
dns_group = external
iteration = 1
reason = Timeout
|
88 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_config_external
dns_group = external
iteration = 1
reason = Timeout
|
89 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): reading DNS version
background_task = dns_config_internal
dns_group = internal
|
90 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): reading DNS version
background_task = dns_config_external
dns_group = external
|
91 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {} }
|
92 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
93 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = inventory_collection
iteration = 1
reason = Timeout
|
94 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = phantom_disks
iteration = 1
reason = Timeout
|
95 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = nat_v4_garbage_collector
iteration = 1
reason = Timeout
|
96 | 2023-12-07T05:44:07.065Z | WARN | nexus (BackgroundTasks): phantom disk task started
background_task = phantom_disks
file = nexus/src/app/background/phantom_disks.rs:50
|
97 | 2023-12-07T05:44:07.065Z | DEBG | nexus (BackgroundTasks): roles
background_task = nat_v4_garbage_collector
roles = RoleSet { roles: {} }
|
98 | 2023-12-07T05:44:07.066Z | 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
|
99 | 2023-12-07T05:44:07.066Z | 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
|
100 | 2023-12-07T05:44:07.066Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_external
dns_group = external
elapsed = 2.403026ms
iteration = 1
|
101 | 2023-12-07T05:44:07.066Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_internal
dns_group = internal
elapsed = 2.387176ms
iteration = 1
|
102 | 2023-12-07T05:44:07.068Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
103 | 2023-12-07T05:44:07.068Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
104 | 2023-12-07T05:44:07.068Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {} }
|
105 | 2023-12-07T05:44:07.068Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {} }
|
106 | 2023-12-07T05:44:07.073Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = nat_v4_garbage_collector
resource = Database
result = Ok(())
|
107 | 2023-12-07T05:44:07.073Z | 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(())
|
108 | 2023-12-07T05:44:07.073Z | 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(())
|
109 | 2023-12-07T05:44:07.073Z | 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(())
|
110 | 2023-12-07T05:44:07.077Z | 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(())
|
111 | 2023-12-07T05:44:07.079Z | INFO | nexus (SagaRecoverer): start saga recovery
file = nexus/db-queries/src/db/saga_recovery.rs:77
|
112 | 2023-12-07T05:44:07.079Z | 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(())
|
113 | 2023-12-07T05:44:07.079Z | 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(())
|
114 | 2023-12-07T05:44:07.080Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
115 | 2023-12-07T05:44:07.080Z | DEBG | nexus (DataLoader): attempting to create built-in users
|
116 | 2023-12-07T05:44:07.080Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
117 | 2023-12-07T05:44:07.081Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
118 | 2023-12-07T05:44:07.082Z | WARN | nexus (BackgroundTasks): phantom disk task done
background_task = phantom_disks
file = nexus/src/app/background/phantom_disks.rs:96
|
119 | 2023-12-07T05:44:07.082Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = phantom_disks
elapsed = 16.522327ms
iteration = 1
|
120 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = GET
path = /artifacts/{kind}/{name}/{version}
|
121 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = GET
path = /bgtasks
|
122 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = GET
path = /bgtasks/{bgtask_name}
|
123 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = POST
path = /disk/{disk_id}/remove-read-only-parent
|
124 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = PUT
path = /disks/{disk_id}
|
125 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = PUT
path = /instances/{instance_id}
|
126 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = GET
path = /metrics/collect/{producer_id}
|
127 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = POST
path = /metrics/collectors
|
128 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = POST
path = /metrics/producers
|
129 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = GET
path = /nat/ipv4/changeset/{from_gen}
|
130 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = DELETE
path = /physical-disk
|
131 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = PUT
path = /physical-disk
|
132 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = PUT
path = /racks/{rack_id}/initialization-complete
|
133 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = GET
path = /sagas
|
134 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = GET
path = /sagas/{saga_id}
|
135 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = POST
path = /sled-agents/{sled_id}
|
136 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = PUT
path = /sled-agents/{sled_id}/zpools/{zpool_id}
|
137 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = PUT
path = /switch/{switch_id}
|
138 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): registered endpoint
local_addr = [fd00:1122:3344:101::c]:12221
method = POST
path = /volume/{volume_id}/remove-read-only-parent
|
139 | 2023-12-07T05:44:07.098Z | INFO | nexus (dropshot_internal): listening
file = /home/build/.cargo/git/checkouts/dropshot-a4a923d29dccc492/ff87a01/dropshot/src/server.rs:195
local_addr = [fd00:1122:3344:101::c]:12221
|
140 | 2023-12-07T05:44:07.098Z | DEBG | nexus (dropshot_internal): successfully registered DTrace USDT probes
local_addr = [fd00:1122:3344:101::c]:12221
|
141 | 2023-12-07T05:44:07.099Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
142 | 2023-12-07T05:44:07.101Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
143 | 2023-12-07T05:44:07.102Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {} }
|
144 | 2023-12-07T05:44:07.103Z | 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(())
|
145 | 2023-12-07T05:44:07.107Z | DEBG | nexus (DpdClient): client request
body = None
method = GET
uri = http://[fd00:1122:3344:101::2]:12224/rpw/nat/ipv4/gen
|
146 | 2023-12-07T05:44:07.107Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
147 | 2023-12-07T05:44:07.108Z | 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(())
|
148 | 2023-12-07T05:44:07.109Z | DEBG | nexus (DpdClient): 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(12224), path: "/rpw/nat/ipv4/gen", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "5dc5e89c-cf3b-4bb5-a016-905b63173405", "content-length": "1", "date": "Thu, 07 Dec 2023 05:44:06 GMT"} })
|
149 | 2023-12-07T05:44:07.109Z | DEBG | nexus (BackgroundTasks): roles
background_task = nat_v4_garbage_collector
roles = RoleSet { roles: {} }
|
150 | 2023-12-07T05:44:07.109Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = nat_v4_garbage_collector
resource = Database
result = Ok(())
|
151 | 2023-12-07T05:44:07.133Z | INFO | nexus (DataLoader): created 0 built-in users
file = nexus/db-queries/src/db/datastore/silo_user.rs:394
|
152 | 2023-12-07T05:44:07.133Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
153 | 2023-12-07T05:44:07.135Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
154 | 2023-12-07T05:44:07.135Z | DEBG | nexus (DataLoader): attempting to create built-in roles
|
155 | 2023-12-07T05:44:07.135Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
156 | 2023-12-07T05:44:07.135Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
157 | 2023-12-07T05:44:07.156Z | WARN | nexus: Cannot look up rack: Object (of type ById(3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8)) not found: rack
file = nexus/src/app/rack.rs:721
|
158 | 2023-12-07T05:44:07.182Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
159 | 2023-12-07T05:44:07.184Z | 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(())
|
160 | 2023-12-07T05:44:07.184Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {} }
|
161 | 2023-12-07T05:44:07.185Z | 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(())
|
162 | 2023-12-07T05:44:07.185Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
163 | 2023-12-07T05:44:07.187Z | INFO | nexus (DataLoader): created 0 built-in roles
file = nexus/db-queries/src/db/datastore/role.rs:87
|
164 | 2023-12-07T05:44:07.187Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
165 | 2023-12-07T05:44:07.187Z | 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(())
|
166 | 2023-12-07T05:44:07.188Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
167 | 2023-12-07T05:44:07.188Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
168 | 2023-12-07T05:44:07.188Z | DEBG | nexus (DataLoader): attempting to create built-in role assignments
|
169 | 2023-12-07T05:44:07.188Z | 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(())
|
170 | 2023-12-07T05:44:07.188Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
171 | 2023-12-07T05:44:07.188Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = nat_v4_garbage_collector
elapsed = 122.90406ms
iteration = 1
|
172 | 2023-12-07T05:44:07.188Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
173 | 2023-12-07T05:44:07.189Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
174 | 2023-12-07T05:44:07.192Z | 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(())
|
175 | 2023-12-07T05:44:07.192Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_external
dns_group = external
roles = RoleSet { roles: {} }
|
176 | 2023-12-07T05:44:07.192Z | 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(())
|
177 | 2023-12-07T05:44:07.193Z | INFO | nexus (SagaRecoverer): listed sagas (0 total)
file = nexus/db-queries/src/db/saga_recovery.rs:113
|
178 | 2023-12-07T05:44:07.196Z | DEBG | nexus (BackgroundTasks): inventory_prune_one: nothing eligible for removal (too few)
background_task = inventory_collection
candidates = []
|
179 | 2023-12-07T05:44:07.196Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
180 | 2023-12-07T05:44:07.196Z | 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(())
|
181 | 2023-12-07T05:44:07.201Z | 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-9c6d53d5-84a3-4977-a16c-0b4f46aaa1aa.host.control-plane.oxide.internal.") })) }, Record { name_labels: Name("dendrite-9c6d53d5-84a3-4977-a16c-0b4f46aaa1aa.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: 1168, tv_nsec: 703075434 } })
|
182 | 2023-12-07T05:44:07.208Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
183 | 2023-12-07T05:44:07.211Z | 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(())
|
184 | 2023-12-07T05:44:07.212Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_servers_internal
dns_group = internal
roles = RoleSet { roles: {} }
|
185 | 2023-12-07T05:44:07.212Z | 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(())
|
186 | 2023-12-07T05:44:07.212Z | INFO | nexus (dropshot_internal): accepted connection
file = /home/build/.cargo/git/checkouts/dropshot-a4a923d29dccc492/ff87a01/dropshot/src/server.rs:769
local_addr = [fd00:1122:3344:101::c]:12221
remote_addr = [fd00:1122:3344:101::d]:36506
|
187 | 2023-12-07T05:44:07.215Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_internal
dns_group = internal
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
188 | 2023-12-07T05:44:07.219Z | 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(())
|
189 | 2023-12-07T05:44:07.245Z | DEBG | nexus (BackgroundTasks): begin collection
background_task = inventory_collection
|
190 | 2023-12-07T05:44:07.245Z | DEBG | nexus (BackgroundTasks): begin collection from MGS
background_task = inventory_collection
mgs_url = http://[fd00:1122:3344:101::2]:12225
|
191 | 2023-12-07T05:44:07.245Z | 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
|
192 | 2023-12-07T05:44:07.247Z | 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": "cda5bb51-df22-4b49-9f15-c247068ed8a0", "content-length": "476", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
193 | 2023-12-07T05:44:07.250Z | 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
|
194 | 2023-12-07T05:44:07.251Z | 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": "a4c76451-feff-4f91-ae81-c5f4e1f61963", "content-length": "387", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
195 | 2023-12-07T05:44:07.251Z | 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
|
196 | 2023-12-07T05:44:07.252Z | 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": "800e0960-8385-47af-a170-a1ec209cb1f6", "content-length": "86", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
197 | 2023-12-07T05:44:07.252Z | 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
|
198 | 2023-12-07T05:44:07.253Z | 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": "e6b99beb-129e-43f1-aab3-d0f2aeb25cea", "content-length": "86", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
199 | 2023-12-07T05:44:07.253Z | 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
|
200 | 2023-12-07T05:44:07.254Z | 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": "edc045da-0bcf-40b3-b72e-bfe4f05857cf", "content-length": "80", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
201 | 2023-12-07T05:44:07.254Z | 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
|
202 | 2023-12-07T05:44:07.254Z | 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": "80f5f335-08db-42cc-b09d-d2092d0b99a6", "content-length": "80", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
203 | 2023-12-07T05:44:07.254Z | 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/cmpa
|
204 | 2023-12-07T05:44:07.254Z | 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/cmpa", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "f69ca40d-7dca-48d8-884d-9bf0aa660563", "content-length": "702", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
205 | 2023-12-07T05:44:07.255Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = Some(Body)
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/switch/0/component/rot/cfpa
|
206 | 2023-12-07T05:44:07.256Z | 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/cfpa", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "93fdd93d-3e70-4c22-b4a1-dab2bb47ea96", "content-length": "727", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
207 | 2023-12-07T05:44:07.256Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = Some(Body)
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/switch/0/component/rot/cfpa
|
208 | 2023-12-07T05:44:07.256Z | 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/cfpa", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "da6fcd11-67ba-4742-972b-8a82f1c87729", "content-length": "729", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
209 | 2023-12-07T05:44:07.256Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = Some(Body)
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/switch/0/component/rot/cfpa
|
210 | 2023-12-07T05:44:07.256Z | 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/cfpa", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "392ce7c5-e45e-49f1-a321-f1dc63be5470", "content-length": "728", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
211 | 2023-12-07T05:44:07.256Z | 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
|
212 | 2023-12-07T05:44:07.257Z | 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": "73e52db4-59c2-4d7c-968f-375c34c7a2df", "content-length": "385", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
213 | 2023-12-07T05:44:07.257Z | 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
|
214 | 2023-12-07T05:44:07.258Z | 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": "d995e212-4c7a-426d-98ae-87f27498a2de", "content-length": "84", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
215 | 2023-12-07T05:44:07.258Z | 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
|
216 | 2023-12-07T05:44:07.259Z | 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": "cbab5695-583b-4f82-b597-596f1fcb0f54", "content-length": "84", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
217 | 2023-12-07T05:44:07.259Z | 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
|
218 | 2023-12-07T05:44:07.260Z | 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": "7d68ffc7-836e-4d92-b1eb-696f963169be", "content-length": "79", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
219 | 2023-12-07T05:44:07.260Z | 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
|
220 | 2023-12-07T05:44:07.260Z | 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": "5a4fbb9e-955a-4522-9790-6b24cd6e00d0", "content-length": "79", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
221 | 2023-12-07T05:44:07.260Z | 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/cmpa
|
222 | 2023-12-07T05:44:07.260Z | 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/cmpa", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "2b772b3b-2a85-4ee2-b67c-b5070fe85d3c", "content-length": "702", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
223 | 2023-12-07T05:44:07.260Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = Some(Body)
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/sled/0/component/rot/cfpa
|
224 | 2023-12-07T05:44:07.262Z | 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/cfpa", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "2412ef8e-d43b-4dfc-afb5-74ee1fb48222", "content-length": "727", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
225 | 2023-12-07T05:44:07.262Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = Some(Body)
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/sled/0/component/rot/cfpa
|
226 | 2023-12-07T05:44:07.262Z | 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/cfpa", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "a5d63026-0541-4378-ba34-d9137b4114e3", "content-length": "729", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
227 | 2023-12-07T05:44:07.262Z | DEBG | nexus (BackgroundTasks): client request
background_task = inventory_collection
body = Some(Body)
gateway_url = http://[fd00:1122:3344:101::2]:12225
method = GET
uri = http://[fd00:1122:3344:101::2]:12225/sp/sled/0/component/rot/cfpa
|
228 | 2023-12-07T05:44:07.262Z | 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/cfpa", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "fa64410e-c71b-4811-94cd-82ea90c2dea6", "content-length": "728", "date": "Thu, 07 Dec 2023 05:44:07 GMT"} })
|
229 | 2023-12-07T05:44:07.262Z | DEBG | nexus (BackgroundTasks): finished collection
background_task = inventory_collection
|
230 | 2023-12-07T05:44:07.262Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {} }
|
231 | 2023-12-07T05:44:07.263Z | 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(())
|
232 | 2023-12-07T05:44:07.265Z | INFO | nexus (DataLoader): created 0 built-in role assignments
file = nexus/db-queries/src/db/datastore/role.rs:116
|
233 | 2023-12-07T05:44:07.265Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
234 | 2023-12-07T05:44:07.265Z | DEBG | nexus (BackgroundTasks): roles
background_task = dns_config_external
dns_group = external
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
235 | 2023-12-07T05:44:07.266Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
236 | 2023-12-07T05:44:07.266Z | DEBG | nexus (DataLoader): attempting to create built-in silos
|
237 | 2023-12-07T05:44:07.266Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
238 | 2023-12-07T05:44:07.266Z | 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-12-07T05:44:07.268Z | INFO | nexus: registered new oximeter metric collection server
address = [fd00:1122:3344:101::d]:12223
collector_id = 72c33d85-0e56-4a11-ab89-caca9e25a9f5
file = nexus/src/app/oximeter.rs:83
|
240 | 2023-12-07T05:44:07.268Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
241 | 2023-12-07T05:44:07.269Z | 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(())
|
242 | 2023-12-07T05:44:07.272Z | 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(())
|
243 | 2023-12-07T05:44:07.275Z | DEBG | nexus (BackgroundTasks): roles
background_task = inventory_collection
roles = RoleSet { roles: {} }
|
244 | 2023-12-07T05:44:07.275Z | 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(())
|
245 | 2023-12-07T05:44:07.286Z | 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
|
246 | 2023-12-07T05:44:07.286Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_config_internal
dns_group = internal
elapsed = 222.459792ms
iteration = 1
|
247 | 2023-12-07T05:44:07.300Z | 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
|
248 | 2023-12-07T05:44:07.300Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_servers_internal
dns_group = internal
elapsed = 235.790865ms
iteration = 1
|
249 | 2023-12-07T05:44:07.300Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_internal
dns_group = internal
iteration = 2
reason = Dependency
|
250 | 2023-12-07T05:44:07.300Z | 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
|
251 | 2023-12-07T05:44:07.300Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_internal
dns_group = internal
elapsed = 5.43\u{b5}s
iteration = 2
|
252 | 2023-12-07T05:44:07.303Z | INFO | nexus: registered oximeter collector client
file = nexus/src/app/oximeter.rs:374
id = 72c33d85-0e56-4a11-ab89-caca9e25a9f5
|
253 | 2023-12-07T05:44:07.307Z | 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
|
254 | 2023-12-07T05:44:07.307Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_servers_external
dns_group = external
elapsed = 242.877181ms
iteration = 1
|
255 | 2023-12-07T05:44:07.307Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
256 | 2023-12-07T05:44:07.307Z | DEBG | nexus (BackgroundTasks): activating
background_task = dns_propagation_external
dns_group = external
iteration = 2
reason = Dependency
|
257 | 2023-12-07T05:44:07.307Z | 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
|
258 | 2023-12-07T05:44:07.307Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_propagation_external
dns_group = external
elapsed = 3.39\u{b5}s
iteration = 2
|
259 | 2023-12-07T05:44:07.310Z | 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(())
|
260 | 2023-12-07T05:44:07.310Z | DEBG | nexus (BackgroundTasks): roles
background_task = external_endpoints
roles = RoleSet { roles: {} }
|
261 | 2023-12-07T05:44:07.310Z | 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(())
|
262 | 2023-12-07T05:44:07.310Z | INFO | nexus (dropshot_internal): request completed
file = /home/build/.cargo/git/checkouts/dropshot-a4a923d29dccc492/ff87a01/dropshot/src/server.rs:853
latency_us = 97698
local_addr = [fd00:1122:3344:101::c]:12221
method = POST
remote_addr = [fd00:1122:3344:101::d]:36506
req_id = 14ffee75-ad47-4fd3-9fd5-ea7e09bc91f2
response_code = 204
uri = /metrics/collectors
|
263 | 2023-12-07T05:44:07.311Z | 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
|
264 | 2023-12-07T05:44:07.311Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = dns_config_external
dns_group = external
elapsed = 247.664413ms
iteration = 1
|
265 | 2023-12-07T05:44:07.353Z | 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
|
266 | 2023-12-07T05:44:07.353Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = external_endpoints
elapsed = 288.989691ms
iteration = 1
|
267 | 2023-12-07T05:44:07.357Z | INFO | nexus (DataLoader): created 0 built-in silos
file = nexus/db-queries/src/db/datastore/silo.rs:71
|
268 | 2023-12-07T05:44:07.357Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
269 | 2023-12-07T05:44:07.358Z | 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-12-07T05:44:07.360Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
271 | 2023-12-07T05:44:07.361Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
272 | 2023-12-07T05:44:07.361Z | DEBG | nexus (DataLoader): attempting to create built-in projects
|
273 | 2023-12-07T05:44:07.361Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
274 | 2023-12-07T05:44:07.362Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
275 | 2023-12-07T05:44:07.365Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
276 | 2023-12-07T05:44:07.365Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
277 | 2023-12-07T05:44:07.366Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
278 | 2023-12-07T05:44:07.366Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
279 | 2023-12-07T05:44:07.367Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
280 | 2023-12-07T05:44:07.369Z | 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(())
|
281 | 2023-12-07T05:44:07.369Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
282 | 2023-12-07T05:44:07.369Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
283 | 2023-12-07T05:44:07.370Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
284 | 2023-12-07T05:44:07.370Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
285 | 2023-12-07T05:44:07.371Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
286 | 2023-12-07T05:44:07.373Z | 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(())
|
287 | 2023-12-07T05:44:07.373Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
288 | 2023-12-07T05:44:07.373Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
289 | 2023-12-07T05:44:07.392Z | INFO | nexus (DataLoader): created built-in services project
file = nexus/db-queries/src/db/datastore/project.rs:122
|
290 | 2023-12-07T05:44:07.392Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
291 | 2023-12-07T05:44:07.393Z | DEBG | nexus (DataLoader): authorize result
action = Modify
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
292 | 2023-12-07T05:44:07.393Z | DEBG | nexus (DataLoader): attempting to create built-in VPCs
|
293 | 2023-12-07T05:44:07.393Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
294 | 2023-12-07T05:44:07.394Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
295 | 2023-12-07T05:44:07.405Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
296 | 2023-12-07T05:44:07.406Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
297 | 2023-12-07T05:44:07.414Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
298 | 2023-12-07T05:44:07.414Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
299 | 2023-12-07T05:44:07.415Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
300 | 2023-12-07T05:44:07.415Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
301 | 2023-12-07T05:44:07.457Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
302 | 2023-12-07T05:44:07.457Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
303 | 2023-12-07T05:44:07.458Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
304 | 2023-12-07T05:44:07.461Z | 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(())
|
305 | 2023-12-07T05:44:07.461Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
306 | 2023-12-07T05:44:07.461Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
307 | 2023-12-07T05:44:07.462Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
308 | 2023-12-07T05:44:07.462Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
309 | 2023-12-07T05:44:07.463Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
310 | 2023-12-07T05:44:07.463Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
311 | 2023-12-07T05:44:07.464Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
312 | 2023-12-07T05:44:07.466Z | 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(())
|
313 | 2023-12-07T05:44:07.466Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
314 | 2023-12-07T05:44:07.466Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
315 | 2023-12-07T05:44:07.474Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
316 | 2023-12-07T05:44:07.474Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
317 | 2023-12-07T05:44:07.475Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
318 | 2023-12-07T05:44:07.475Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
319 | 2023-12-07T05:44:07.476Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
320 | 2023-12-07T05:44:07.476Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
321 | 2023-12-07T05:44:07.477Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
322 | 2023-12-07T05:44:07.478Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
323 | 2023-12-07T05:44:07.478Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
324 | 2023-12-07T05:44:07.482Z | 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(())
|
325 | 2023-12-07T05:44:07.482Z | DEBG | nexus (DataLoader): roles
roles = RoleSet { roles: {} }
|
326 | 2023-12-07T05:44:07.482Z | DEBG | nexus (DataLoader): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000001, .. })
resource = Database
result = Ok(())
|
327 | 2023-12-07T05:44:07.530Z | ERRO | nexus (DataLoader): gave up trying to populate built-in PopulateBuiltinVpcs
error_message = InternalError { internal_message: "Unknown diesel error creating VpcRouter called \\"system\\": Record not found" }
file = nexus/src/populate.rs:126
|
328 | 2023-12-07T05:44:07.530Z | ERRO | nexus: populate failed
file = nexus/src/app/mod.rs:464
|
329 | 2023-12-07T05:44:07.640Z | INFO | nexus (BackgroundTasks): inserted inventory collection
background_task = inventory_collection
collection_id = 1cb9b948-981a-4009-acc8-7b65c2565632
file = nexus/db-queries/src/db/datastore/inventory.rs:590
|
330 | 2023-12-07T05:44:07.641Z | DEBG | nexus (BackgroundTasks): inventory collection complete
background_task = inventory_collection
collection_id = 1cb9b948-981a-4009-acc8-7b65c2565632
time_started = 2023-12-07 05:44:07.243122 UTC
|
331 | 2023-12-07T05:44:07.641Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = inventory_collection
elapsed = 575.620417ms
iteration = 1
|
332 | 2023-12-07T05:44:09.157Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
333 | 2023-12-07T05:44:09.157Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
334 | 2023-12-07T05:44:09.158Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
335 | 2023-12-07T05:44:09.158Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
336 | 2023-12-07T05:44:09.159Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
337 | 2023-12-07T05:44:09.163Z | DEBG | nexus (ServiceBalancer): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Rack { parent: Fleet, key: 3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8, lookup_type: ById(3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8) }
result = Ok(())
|
338 | 2023-12-07T05:44:09.163Z | INFO | nexus: Still waiting for rack initialization: Rack { identity: RackIdentity { id: 3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8, time_created: 2023-12-07T05:44:07.768949Z, time_modified: 2023-12-07T05:44:07.768949Z }, initialized: false, tuf_base_url: None, rack_subnet: None }
file = nexus/src/app/rack.rs:715
|
339 | 2023-12-07T05:44:11.164Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
340 | 2023-12-07T05:44:11.164Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
341 | 2023-12-07T05:44:11.165Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
342 | 2023-12-07T05:44:11.165Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
343 | 2023-12-07T05:44:11.197Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
344 | 2023-12-07T05:44:11.200Z | DEBG | nexus (ServiceBalancer): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Rack { parent: Fleet, key: 3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8, lookup_type: ById(3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8) }
result = Ok(())
|
345 | 2023-12-07T05:44:11.200Z | INFO | nexus: Still waiting for rack initialization: Rack { identity: RackIdentity { id: 3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8, time_created: 2023-12-07T05:44:07.768949Z, time_modified: 2023-12-07T05:44:07.768949Z }, initialized: false, tuf_base_url: None, rack_subnet: None }
file = nexus/src/app/rack.rs:715
|
346 | 2023-12-07T05:44:13.201Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
347 | 2023-12-07T05:44:13.201Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
348 | 2023-12-07T05:44:13.202Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
349 | 2023-12-07T05:44:13.203Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
350 | 2023-12-07T05:44:13.204Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
351 | 2023-12-07T05:44:13.206Z | DEBG | nexus (ServiceBalancer): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Rack { parent: Fleet, key: 3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8, lookup_type: ById(3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8) }
result = Ok(())
|
352 | 2023-12-07T05:44:13.206Z | INFO | nexus: Still waiting for rack initialization: Rack { identity: RackIdentity { id: 3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8, time_created: 2023-12-07T05:44:07.768949Z, time_modified: 2023-12-07T05:44:07.768949Z }, initialized: false, tuf_base_url: None, rack_subnet: None }
file = nexus/src/app/rack.rs:715
|
353 | 2023-12-07T05:44:15.207Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
354 | 2023-12-07T05:44:15.207Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
355 | 2023-12-07T05:44:15.208Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
356 | 2023-12-07T05:44:15.209Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
357 | 2023-12-07T05:44:15.209Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
358 | 2023-12-07T05:44:15.212Z | DEBG | nexus (ServiceBalancer): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Rack { parent: Fleet, key: 3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8, lookup_type: ById(3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8) }
result = Ok(())
|
359 | 2023-12-07T05:44:15.212Z | INFO | nexus: Still waiting for rack initialization: Rack { identity: RackIdentity { id: 3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8, time_created: 2023-12-07T05:44:07.768949Z, time_modified: 2023-12-07T05:44:07.768949Z }, initialized: false, tuf_base_url: None, rack_subnet: None }
file = nexus/src/app/rack.rs:715
|
360 | 2023-12-07T05:44:17.213Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
361 | 2023-12-07T05:44:17.213Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
362 | 2023-12-07T05:44:17.214Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
363 | 2023-12-07T05:44:17.214Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
364 | 2023-12-07T05:44:17.215Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
365 | 2023-12-07T05:44:17.218Z | DEBG | nexus (ServiceBalancer): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Rack { parent: Fleet, key: 3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8, lookup_type: ById(3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8) }
result = Ok(())
|
366 | 2023-12-07T05:44:17.218Z | INFO | nexus: Still waiting for rack initialization: Rack { identity: RackIdentity { id: 3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8, time_created: 2023-12-07T05:44:07.768949Z, time_modified: 2023-12-07T05:44:07.768949Z }, initialized: false, tuf_base_url: None, rack_subnet: None }
file = nexus/src/app/rack.rs:715
|
367 | 2023-12-07T05:44:19.219Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
368 | 2023-12-07T05:44:19.219Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
369 | 2023-12-07T05:44:19.220Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {} }
|
370 | 2023-12-07T05:44:19.220Z | DEBG | nexus (ServiceBalancer): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Database
result = Ok(())
|
371 | 2023-12-07T05:44:19.221Z | DEBG | nexus (ServiceBalancer): roles
roles = RoleSet { roles: {(Fleet, 001de000-1334-4000-8000-000000000000, "admin")} }
|
372 | 2023-12-07T05:44:19.223Z | DEBG | nexus (ServiceBalancer): authorize result
action = Read
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-00000000bac3, .. })
resource = Rack { parent: Fleet, key: 3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8, lookup_type: ById(3f420c79-8cb4-4b5a-ab88-8a43e4fca2c8) }
result = Ok(())
|
373 | 2023-12-07T05:44:19.223Z | INFO | nexus: Rack initialized
file = nexus/src/app/rack.rs:712
|
374 | 2023-12-07T05:44:37.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = nat_v4_garbage_collector
iteration = 2
reason = Timeout
|
375 | 2023-12-07T05:44:37.065Z | DEBG | nexus (BackgroundTasks): roles
background_task = nat_v4_garbage_collector
roles = RoleSet { roles: {} }
|
376 | 2023-12-07T05:44:37.065Z | DEBG | nexus (BackgroundTasks): activating
background_task = phantom_disks
iteration = 2
reason = Timeout
|
377 | 2023-12-07T05:44:37.065Z | WARN | nexus (BackgroundTasks): phantom disk task started
background_task = phantom_disks
file = nexus/src/app/background/phantom_disks.rs:50
|
378 | 2023-12-07T05:44:37.065Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = nat_v4_garbage_collector
resource = Database
result = Ok(())
|
379 | 2023-12-07T05:44:37.067Z | DEBG | nexus (DpdClient): client request
body = None
method = GET
uri = http://[fd00:1122:3344:101::2]:12224/rpw/nat/ipv4/gen
|
380 | 2023-12-07T05:44:37.067Z | DEBG | nexus (DpdClient): 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(12224), path: "/rpw/nat/ipv4/gen", query: None, fragment: None }, status: 200, headers: {"content-type": "application/json", "x-request-id": "82c0a00c-7020-4ff8-b966-eac1c367b5d1", "content-length": "1", "date": "Thu, 07 Dec 2023 05:44:36 GMT"} })
|
381 | 2023-12-07T05:44:37.067Z | DEBG | nexus (BackgroundTasks): roles
background_task = nat_v4_garbage_collector
roles = RoleSet { roles: {} }
|
382 | 2023-12-07T05:44:37.067Z | DEBG | nexus (BackgroundTasks): authorize result
action = Query
actor = Some(Actor::UserBuiltin { user_builtin_id: 001de000-05e4-4000-8000-000000000002, .. })
background_task = nat_v4_garbage_collector
resource = Database
result = Ok(())
|
383 | 2023-12-07T05:44:37.068Z | WARN | nexus (BackgroundTasks): phantom disk task done
background_task = phantom_disks
file = nexus/src/app/background/phantom_disks.rs:96
|
384 | 2023-12-07T05:44:37.068Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = phantom_disks
elapsed = 2.800406ms
iteration = 2
|
385 | 2023-12-07T05:44:37.068Z | DEBG | nexus (BackgroundTasks): activation complete
background_task = nat_v4_garbage_collector
elapsed = 3.519193ms
iteration = 2
|
386 | 2023-12-07T05:44:44.648Z | INFO | nexus (dropshot_internal): accepted connection
file = /home/build/.cargo/git/checkouts/dropshot-a4a923d29dccc492/ff87a01/dropshot/src/server.rs:769
local_addr = [fd00:1122:3344:101::c]:12221
remote_addr = [fd00:1122:3344:101::22]:53845
|
387 | 2023-12-07T05:44:44.683Z | INFO | nexus: registered oximeter collector client
file = nexus/src/app/oximeter.rs:374
id = 72c33d85-0e56-4a11-ab89-caca9e25a9f5
|
388 | 2023-12-07T05:44:44.724Z | DEBG | nexus: client request
body = Some(Body)
method = POST
oximeter-collector = 72c33d85-0e56-4a11-ab89-caca9e25a9f5
uri = http://[fd00:1122:3344:101::d]:12223/producers
|
389 | 2023-12-07T05:44:44.724Z | DEBG | nexus: client response
oximeter-collector = 72c33d85-0e56-4a11-ab89-caca9e25a9f5
result = Ok(Response { url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv6(fd00:1122:3344:101::d)), port: Some(12223), path: "/producers", query: None, fragment: None }, status: 204, headers: {"x-request-id": "3cc622a3-3be4-41d0-8878-fe7c2e22bed5", "date": "Thu, 07 Dec 2023 05:44:44 GMT"} })
|
390 | 2023-12-07T05:44:44.724Z | INFO | nexus: assigned collector to new producer
collector_id = 72c33d85-0e56-4a11-ab89-caca9e25a9f5
file = nexus/src/app/oximeter.rs:193
producer_id = 5205574e-1c71-414e-abd9-5d155f792bc0
|
391 | 2023-12-07T05:44:44.724Z | INFO | nexus (dropshot_internal): request completed
file = /home/build/.cargo/git/checkouts/dropshot-a4a923d29dccc492/ff87a01/dropshot/src/server.rs:853
latency_us = 76442
local_addr = [fd00:1122:3344:101::c]:12221
method = POST
remote_addr = [fd00:1122:3344:101::22]:53845
req_id = 029be9e3-61bb-4138-bb8f-eadd832ddf1b
response_code = 204
uri = /metrics/producers
|