RE: Querying the API for private templates

2015-04-17 Thread Kyle Flavin
be able to see all templates if you also add listall and isrecursive So, using CloudMonkey, under an Admin user keys, "list templates templatefilter=all listall=true isrecursive=true" should list all templates for every domain and project. On Fri, 2015-04-17 at 17:03 +0000, Kyle Fl

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 t

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 wro

RE: CloudStack hands out IP address of a stopped VM

2015-04-14 Thread Kyle Flavin
e reason (error condition), 2. It was manually removed. 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.fl

RE: CloudStack hands out IP address of a stopped VM

2015-04-14 Thread Kyle Flavin
/mac_address in nics table should match. It would be interesting to check if this VM was destroyed 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...@

RE: CloudStack hands out IP address of a stopped VM

2015-04-14 Thread Kyle Flavin
s. Thanks, Jayapal On 14-Apr-2015, at 9:18 AM, Sanjeev N wrote: > When a vm is in expunging state, NIC table entry should be marked as > removed in DB. If you are sure about the IP address rendered by CS to > the VM , you can try adding the entry in db. > > On Tue, Apr 14,

RE: CloudStack hands out IP address of a stopped VM

2015-04-13 Thread Kyle Flavin
ight be deleted manually from the DB. Thanks, Jayapal On 11-Apr-2015, at 1:49 AM, Kyle Flavin 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
: > 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 wrote: > >> Hi Jayapal, >> The first query against th

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 name,private

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
tname in the "host" table, although it's shown 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 anot

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

2015-01-28 Thread Kyle Flavin
t recommended. Regards Geoff 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 hos

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

2015-01-28 Thread Kyle Flavin
eoff 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 16:50 To: users@cloudstack.apache.org Subject: RE: Removing a host from a cluster an

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

2015-01-28 Thread Kyle Flavin
om > On 28-Jan-2015, at 9:49 am, Kyle Flavin 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=; > >

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

2015-01-27 Thread Kyle Flavin
: 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...@ci

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: 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

RE: Clearing template cache on primary storage

2015-01-22 Thread Kyle Flavin
Platform Escalations Citrix Systems, Inc. -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

RE: Clearing template cache on primary storage

2015-01-22 Thread Kyle Flavin
new template each time. Somesh 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 t

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