Querying the API for private templates

2015-04-17 Thread Kyle Flavin
Is it possible to create an account that can see all templates in the database through the API? We've done some automation around our Cloudstack installation, and we query the API to get values such as the operating system from the template. Unfortunately, it looks like private templates, or

RE: CloudStack hands out IP address of a stopped VM

2015-04-16 Thread Kyle Flavin
| ++-+---+-+-+-+ | 21 | 10 | 02:00:27:80:00:06 | 10.1.1.250 | 2015-02-24 10:06:10 | 1 | ++-+---+-+-+-+ 1 row in set (0.00 sec) Thanks, Jayapal On 15-Apr-2015, at 3:27 AM, Kyle Flavin kyle.fla...@citrix.com

RE: CloudStack hands out IP address of a stopped VM

2015-04-14 Thread Kyle Flavin
, Kyle Flavin kyle.fla...@citrix.com wrote: Jayapal, Is it safe for me to attempt to re-add the entry through the database, since the VM is still in use? Also, I've noticed that there are expunged VM's with entries still in the NIC table. Should that be the case? Or should the record

RE: CloudStack hands out IP address of a stopped VM

2015-04-14 Thread Kyle Flavin
at some point and then recovered manually or via recoverVirtualMachine API. Somesh CloudPlatform Escalations Citrix Systems, Inc. -Original Message- From: Kyle Flavin [mailto:kyle.fla...@citrix.com] Sent: Tuesday, April 14, 2015 12:10 PM To: users@cloudstack.apache.org Subject: RE

RE: CloudStack hands out IP address of a stopped VM

2015-04-14 Thread Kyle Flavin
. Anyway, at this point, just make sure that the IP/MAC in nics and vm_instance table matches. Also, the IP you are manually setting isn't assigned to any other nic. Regards, Somesh -Original Message- From: Kyle Flavin [mailto:kyle.fla...@citrix.com] Sent: Tuesday, April 14, 2015 2:49 PM

RE: CloudStack hands out IP address of a stopped VM

2015-04-13 Thread Kyle Flavin
as removed. It might be deleted manually from the DB. Thanks, Jayapal On 11-Apr-2015, at 1:49 AM, Kyle Flavin kyle.fla...@citrix.com wrote: Jayapal, Is there a reason why would the nic entry be empty? When is the entry cleared? It looks like it must have been cleared after the VM was stopped

RE: CloudStack hands out IP address of a stopped VM

2015-04-10 Thread Kyle Flavin
, at 9:20 AM, Sanjeev N sanj...@apache.org wrote: CS would not hand out the IPs of a stopped vm since the lease time is infinite. If you are able to reproduce is consistently please open a JIRA ticket. On Fri, Apr 10, 2015 at 4:17 AM, Kyle Flavin kyle.fla...@citrix.com wrote: Hi Jayapal

CloudStack hands out IP address of a stopped VM

2015-04-08 Thread Kyle Flavin
I'm trying to get some help understanding the following behavior. Yesterday we had an instance of CloudStack giving out the IP address of a stopped VM to a newly created VM. The existing server was found in the MySQL database with the assigned IP (sanitized outputs): mysql select

Altering VM names upon build

2015-03-30 Thread Kyle Flavin
We have an issue where puppet breaks when the first letter of the host name is capitalized, and I'd like to force all hostnames to be lowercase. Is there a way to hook into Cloudstack, with a script, to alter the hostname before the template gets deployed?

Sending Notifications Back to the User via UI

2015-03-05 Thread Kyle Flavin
I'm using the event notification framework to handle post tasks for VM creation and deletion. Following a VM create, I do a post task, which in the case where this post task fails, I go back and remove the VM that was just created, using the API. I'd like to be able to notify the user through

RE: Removing a host from a cluster and adding it to another

2015-01-28 Thread Kyle Flavin
Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Kyle Flavin [mailto:kyle.fla...@citrix.com] Sent: 28 January 2015 17:20 To: users@cloudstack.apache.org Subject: RE: Removing a host from a cluster and adding

RE: Removing a host from a cluster and adding it to another

2015-01-28 Thread Kyle Flavin
as removed. -Original Message- From: Kyle Flavin [mailto:kyle.fla...@citrix.com] Sent: Wednesday, January 28, 2015 9:46 AM To: users@cloudstack.apache.org Subject: RE: Removing a host from a cluster and adding it to another Got it. Option #1 is probably what I'll end up doing

RE: Removing a host from a cluster and adding it to another

2015-01-28 Thread Kyle Flavin
:49 am, Kyle Flavin kyle.fla...@citrix.com wrote: Ah, yes I can confirm that there is a host tag with the following query on the CS database. Here is the sanitized output from the host_tags table: select * from host_tags where host_id=host_id; +-+-++ | id

RE: Removing a host from a cluster and adding it to another

2015-01-28 Thread Kyle Flavin
20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Kyle Flavin [mailto:kyle.fla...@citrix.com] Sent: 28 January 2015 16:50 To: users@cloudstack.apache.org Subject: RE: Removing a host from a cluster and adding it to another I

Removing a host from a cluster and adding it to another

2015-01-27 Thread Kyle Flavin
I've removed a host from one Cloudstack cluster, and I'm attempting to add it to a new cluster. It will be the only host in the cluster, and used for testing purposes. I put the host into maintenance mode, removed it from its original cluster within the Cloudstack UI, then deleted it from the

RE: Removing a host from a cluster and adding it to another

2015-01-27 Thread Kyle Flavin
, January 27, 2015 5:20 PM To: users@cloudstack.apache.org Subject: RE: Removing a host from a cluster and adding it to another Yes, check what's in the tags parameter of that host. Cleaning it should resolve the issue. Regards, Somesh -Original Message- From: Kyle Flavin [mailto:kyle.fla

RE: Clearing template cache on primary storage

2015-01-22 Thread Kyle Flavin
CloudPlatform Escalations Citrix Systems, Inc. -Original Message- From: Kyle Flavin [mailto:kyle.fla...@citrix.com] Sent: Wednesday, January 21, 2015 4:53 PM To: users@cloudstack.apache.org Subject: Clearing template cache on primary storage Is it possible to clear template cache on primary

RE: Clearing template cache on primary storage

2015-01-22 Thread Kyle Flavin
. -Original Message- From: Kyle Flavin [mailto:kyle.fla...@citrix.com] Sent: Thursday, January 22, 2015 6:06 PM To: users@cloudstack.apache.org Subject: RE: Clearing template cache on primary storage Hi Somesh, Is it possible to have multiple templates that are just pointers to the existing

RE: Clearing template cache on primary storage

2015-01-22 Thread Kyle Flavin
/ You can double check Install Guide under section Prepare System VM Tempate. Somesh CloudPlatform Escalations Citrix Systems, Inc. -Original Message- From: Kyle Flavin [mailto:kyle.fla...@citrix.com] Sent: Thursday, January 22, 2015 7:00 PM To: users@cloudstack.apache.org Subject: RE

Clearing template cache on primary storage

2015-01-21 Thread Kyle Flavin
Is it possible to clear template cache on primary storage prior to VM deployment, via cloudmonkey or some other method? I'm doing some performance tests on one of our Cloudstack clusters that is running Xenserver. For testing purposes, I'd like to force the copy of the template from secondary