Sailaja Mada created CLOUDSTACK-2143:
----------------------------------------
Summary: Primary storage is not getting decremented when the
instances are failed to deploy after the ROOT volume is created
Key: CLOUDSTACK-2143
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2143
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.2.0
Environment: Setup : Advanced Networking Zone, Xen 6.1 , MS -RHel 6.3
Reporter: Sailaja Mada
Fix For: 4.2.0
Steps:
1. Tried to deploy instance using ROOT Admin
2. It failed to deploy instance as it failed to copy the template from
secondary to primary But it had created the ROOT volume before this failure.
3. ROOT volume got deleted when deploy instance failed.
4. Verify the primary storage usage using list accounts: Note; Cpu & Memory
got decremented but not primary storage.
http://localhost:8096/client/api?command=listAccounts&listAll=true
<cpulimit>Unlimited</cpulimit>
<cputotal>1</cputotal>
<cpuavailable>Unlimited</cpuavailable>
<memorylimit>Unlimited</memorylimit>
<memorytotal>512</memorytotal>
<memoryavailable>Unlimited</memoryavailable>
<primarystoragelimit>Unlimited</primarystoragelimit>
<primarystoragetotal>105</primarystoragetotal>
<primarystorageavailable>Unlimited</primarystorageavailable>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira