Re: Question: Error when creating templates from ROOT volumes in the Simulator

2013-11-12 Thread David Grizzanti
Ok, thanks Prasanna.  I'm going to create a bug in Jira so we can keep track of the changes (when/if they are needed). --  David Grizzanti Software Engineer Sungard Availability Services e: david.grizza...@sungard.com w: 215.446.1431 c: 570.575.0315 On November 7, 2013 at 3:02:09 PM, David Griz

Re: Question: Error when creating templates from ROOT volumes in the Simulator

2013-11-11 Thread Prasanna Santhanam
David, I took a little closer look today. I think that the way CloudStack chooses the motion service to detect that the simulator should copy over a mock template to a mock location needs intercepting. I'm not fully privy of the changes to storage code (both in master and 4.2) but will troubleshoo

Re: Question: Error when creating templates from ROOT volumes in the Simulator

2013-11-07 Thread David Grizzanti
Prasanna, I took a look at the SimulatorImageStoreDriverImpl, but it seems like it's setting size correctly in that case. Also, in trying to step through the code, that section doesn't appear to be called when creating a template from a ROOT volume (I could be doing something wrong though when st

Re: Question: Error when creating templates from ROOT volumes in the Simulator

2013-11-05 Thread David Grizzanti
Ok, thanks Prasanna. Will have a look and let you know what I find. On Tuesday, November 5, 2013, Prasanna Santhanam wrote: > This is a bug. Likely something I missed when adopting the simulator > to the storage refactor in 4.2. You'd want to look at the > SimulatorImageStoreDriverImpl.java#creat

Re: Question: Error when creating templates from ROOT volumes in the Simulator

2013-11-05 Thread Prasanna Santhanam
This is a bug. Likely something I missed when adopting the simulator to the storage refactor in 4.2. You'd want to look at the SimulatorImageStoreDriverImpl.java#createTemplate() and see how the template gets registered with 0 size. On Tue, Nov 05, 2013 at 02:54:00AM -0500, Sebastien Goasguen wrot

Re: Question: Error when creating templates from ROOT volumes in the Simulator

2013-11-04 Thread Sebastien Goasguen
Pinging Prasanna on this, On Oct 31, 2013, at 5:07 PM, David Grizzanti wrote: > Hi All, > > I have been seeing an issue with the Simulator that I was hoping someone > could provide some insight into. > > Some background. I'm running from the 4.2.0 tag on rhel 6.3, building from > source/enab

Question: Error when creating templates from ROOT volumes in the Simulator

2013-10-31 Thread David Grizzanti
Hi All, I have been seeing an issue with the Simulator that I was hoping someone could provide some insight into. Some background. I'm running from the 4.2.0 tag on rhel 6.3, building from source/enabling the simulator. Overall, most operations seem to work fine, however, I noticed that when cre