package loading makes repeat API calls
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
Critical
|
Steve McLellan |
Bug Description
When the engine processes a job there are numerous API calls made (this is during an environment deletion, but i think the process is the same for any action):
GET http://
GET http://
Then, from principal_
http://
http://
http://
Then from system_objects, these calls all result in 200 responses followed by "Error loading package %name" (because they're defined in code)
http://
http://
http://
http://
http://
http://
http://
These classes are imported from code subsequently.
This results in 12 API calls when only 2 of them (the first two) have any effect. The package loader should be smarter and a) cache package information so it doesn't need to keep going to the API and b) don't make requests for packages that are defined in the engine code itself.
EDIT - this actually happens again once networking components are requested; I think at least 4 more requests are made for networking, then 2 or 3 more for security groups.
description: | updated |
description: | updated |
Changed in murano: | |
milestone: | juno-3 → none |
Changed in murano: | |
milestone: | none → juno-3 |
importance: | High → Critical |
Changed in murano: | |
assignee: | nobody → Stan Lagun (slagun) |
Changed in murano: | |
status: | In Progress → Fix Committed |
Changed in murano: | |
status: | Fix Committed → Fix Released |
Changed in murano: | |
milestone: | juno-3 → 2014.2 |
We need to improve our PackageLoader/ PackageClassLoa der