You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "punith (JIRA)" <ji...@apache.org> on 2014/06/27 08:27:25 UTC
[jira] [Created] (CLOUDSTACK-7003) Arithmetic exception while
creating a vdi on nfs volume in managed storage.
punith created CLOUDSTACK-7003:
----------------------------------
Summary: Arithmetic exception while creating a vdi on nfs volume in managed storage.
Key: CLOUDSTACK-7003
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7003
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.5.0
Reporter: punith
it seems we have a bug while creating a nfs disk on managed storage,
file - CitrixResourceBase.java
api - createVdi
long unavailableSrSpace = sr.getPhysicalUtilisation(conn);
6216 long maxNumberOfTries = (totalSrSpace / unavailableSrSpace >= 1) ? (totalSrSpace / unavailableSrSpace) : 1;
since while creation nfs disk does not have a meta data written on it like in iscsi , unavailableSrSpace might turn out to be 0(zero), hence throwing an divide bt zero exception.
sometimes the unavailable
--
This message was sent by Atlassian JIRA
(v6.2#6252)
Fwd: [jira] [Created] (CLOUDSTACK-7003) Arithmetic exception while
creating a vdi on nfs volume in managed storage.
Posted by Punith S <pu...@cloudbyte.com>.
hi mike,
can you take a look at this logic, today i met an arithmetic exception(/ by
0) while creating a nfs volume.
any suggestions to calculate the maxNumberOfTries if the unavailableSrSpace
is equal to zero.
thanks
---------- Forwarded message ----------
From: punith (JIRA) <ji...@apache.org>
Date: Fri, Jun 27, 2014 at 11:57 AM
Subject: [jira] [Created] (CLOUDSTACK-7003) Arithmetic exception while
creating a vdi on nfs volume in managed storage.
To: cloudstack-issues@incubator.apache.org
punith created CLOUDSTACK-7003:
----------------------------------
Summary: Arithmetic exception while creating a vdi on nfs
volume in managed storage.
Key: CLOUDSTACK-7003
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7003
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the
default.)
Components: Management Server
Affects Versions: 4.5.0
Reporter: punith
it seems we have a bug while creating a nfs disk on managed storage,
file - CitrixResourceBase.java
api - createVdi
long unavailableSrSpace = sr.getPhysicalUtilisation(conn);
6216 long maxNumberOfTries = (totalSrSpace / unavailableSrSpace >= 1) ?
(totalSrSpace / unavailableSrSpace) : 1;
since while creation nfs disk does not have a meta data written on it like
in iscsi , unavailableSrSpace might turn out to be 0(zero), hence throwing
an divide bt zero exception.
sometimes the unavailable
--
This message was sent by Atlassian JIRA
(v6.2#6252)
--
regards,
punith s
cloudbyte.com