Bug #5518

Cost calculations take into account only the base template (oneFlow)

Added by Abel Coronado about 3 years ago. Updated about 3 years ago.

Status:PendingStart date:10/31/2017
Priority:NormalDue date:
Assignee:Abel Coronado% Done:

100%

Category:Sunstone
Target version:Release 5.4.4
Resolution:fixed Pull request:
Affected Versions:Development

Description

If you add the vm_template_content attribute in service template, the cost calculation (before instantiating the service) doesn't take it into account.

"vm_template_contents": "APPEND=\"NIC,DISK\"\nDISK=[TYPE=\"FS\",SIZE=\"1024\"]\nDISK=[TYPE=\"FS\",SIZE=\"1024\"]\nNIC=[NETWORK_ID=\"1\"]\nCPU=\"2\"\nMEMORY=\"6144\""

Calculates the cost with the disks, cpu and ram of the base template.

Associated revisions

Revision e8be19ff
Added by Abel Coronado about 3 years ago

B #5518: Cost calculations take into account only the base template (oneFlow)

Revision c823ab59
Added by Abel Coronado about 3 years ago

B #5518: Cost calculations take into account only the base template (oneFlow)

(cherry picked from commit e8be19ff53819ab9bca851f22d8a154da88468a1)

Revision 890b5636
Added by Juan Jose Montiel Cano about 3 years ago

B #5518: Sent MEMORY_COST and DIS_COST to OpenNebula in MB (#552)

Revision 22f85b80
Added by Juan Jose Montiel Cano about 3 years ago

B #5518: Sent MEMORY_COST and DIS_COST to OpenNebula in MB (#552)

(cherry picked from commit 890b5636d4f81564fdbff050856aba154cf33d10)

History

#1 Updated by Tino Vázquez about 3 years ago

  • Target version changed from Release 5.4.4 to Release 5.4.3

#2 Updated by OpenNebula Systems Support Team about 3 years ago

  • Target version changed from Release 5.4.3 to Release 5.4.4

Also available in: Atom PDF