API does two DB accesses when getting node, port
Bug #1547139 reported by
Ruby Loo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Triaged
|
Medium
|
Unassigned |
Bug Description
The API sometimes does two DB accesses when getting node and port (and portgroup) objects. This is a performance issue when getting thousands of nodes. (Noticed by Yahoo.)
The problem is that our nodes have a chassis ID. The API though, only exposes the chassis UUID so it will get the chassis object in order to get the UUID:
Jim Rollenhagen said that he has addressed this with his port changes:
https:/
(I'm guessing https:/
Similarly, our ports and portgroups have node IDs.
description: | updated |
Changed in ironic: | |
status: | New → Triaged |
tags: | added: db |
To post a comment you must log in.