Volume Instance IDs

2014-06-20 Thread Matt Spurlin
I have been poking around at the code for deploying VMs and noticed that it appears volumes need an instance ID in order to be chosen as a suitable volume for the VM. When I create a volume through the API it does not have an instance ID. How do volumes get this instance ID? Thanks, Matt

CloudStack-3831

2014-06-13 Thread Matt Spurlin
I have created a patch for CloudStack-3831, but unfortunately I am having an issue getting it submitted to the review board. Upon submission I get the following error: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request

Re: UI Development

2014-06-05 Thread Matt Spurlin
I was able to get this working. It appears that my UI files were not properly being carried over to my tomcat server when I published in Eclipse. On Thu, Jun 5, 2014 at 9:18 AM, Matt Spurlin wrote: > I also added an entry in messages.properties as it appears that is > being used for locali

Re: UI Development

2014-06-05 Thread Matt Spurlin
I also added an entry in messages.properties as it appears that is being used for localization. I am still not seeing the additional field in my interface. Does anyone have any recommendations as to what could be happening? On Tue, Jun 3, 2014 at 4:13 PM, Matt Spurlin wrote: > Adding a col

Re: UI Development

2014-06-03 Thread Matt Spurlin
der" of the listView is already getting this column as part of the > current API response (eg. debug it with FireBug or see the API), you are > done. If not then the dataProvider needs to be changed as well. > > What is the new column that you plan to add? I would recommend discussi

UI Development

2014-06-03 Thread Matt Spurlin
I am trying to get a grasp on how the UI is generated for CloudStack. Are there any good documented resources for the UI? For example, say I wanted to add another column to the table of storage devices, is there any documentation that would help me figure this out?

Re: Plugin Changes 4.3 to 4.4

2014-05-27 Thread Matt Spurlin
ich wrote: > I'm not quite sure I follow. Are you able to access the API directly, > but it isn't showing up in CloudMonkey? Do your APIs show up if you > look at the API list at > "http://:8096/api?command=listApis"? > > On Fri, May 23, 2014 at 5:10 PM, Mat

Plugin Changes 4.3 to 4.4

2014-05-23 Thread Matt Spurlin
I have a plugin that was working previously in 4.3. It uses new plugin discovery system, so as long as it is on the classpath it is loaded. In 4.4 however I am not able to get the APIs to appear in CloudMonkey. It appears to be loading just fine, but my root admin account cannot access the APIs. Do

Re: UserVmService & createBasicSecurityGroupVirtualMachine

2014-05-23 Thread Matt Spurlin
This is in UserVmManagerImpl on line 2274. On Fri, May 23, 2014 at 8:38 AM, Alex Hitchins wrote: > Can someone show me where createBasicSecurityGroupVirtualMachine is defined? > I'm searching on GitHub (as it's quicker than a local search). I'm following > through the layers however I can't see w

Creating New Host

2014-05-13 Thread Matt Spurlin
Hi all, I am working on creating a new hypervisor. I have a Discoverer and ResourceBase class for my new hypervisor. With this I have been able to add a host through the API after adding a new entry to the HypervisorType enum in Hypervisor.java. After I add the host however, it always goes into an

listVirtualMachine API With Name Parameter Set

2014-05-01 Thread Matt Spurlin
Hi all, I am looking at CLOUDSTACK-6555. I am wondering if the name parameter is meant to return only one result if there is an exact match or if returning all results that include the specified value is the expected behavior. Thanks, Matt

Plugins in 4.3+

2014-04-23 Thread Matt Spurlin
I have tried to follow the changes in https://cwiki.apache.org/confluence/display/CLOUDSTACK/Plug-ins%2C+Modules%2C+and+Extensions in addition to the directions I found at http://ianduffy.ie/cloudstack/CreatingAPlugin.pdf I added a resources folder with the structure: /resources/META-INF/cloud

CloudStack 4.3+ Plugins

2014-04-23 Thread Matt Spurlin
In version 4.2 and below to get a plugin to work, I was adding a dependency in the pom.xml of the Client project and modifying applicationContext.xml.inand commands.properties.in. 4.3 appears to have introduces discoverable plugins. What needs to be done differently in order to take advantage of

CloudStack call to KVM

2014-04-07 Thread Matt Spurlin
I have been looking at the code trying to figure out where the API call "deployVirtualMachine" would send the command to a KVM hypervisor to create a new virtual machine. I've found where the API call happens, but so far I have not seen where the logic is that sends the command to the hypervisor to

Plugin Architecture

2014-01-28 Thread Matt Spurlin
I am new to CloudStack development. I have been looking at the plugin architecture and trying to follow the guide athttps://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+API+Development I am getting a response of "{ "errorresponse" : {"uuidList":[],"errorcode":432,"cserrorcode":