Re: Cloudstack:: cloud_usage table empty

2014-05-23 Thread Pierre-Luc Dion
I've fixed this issue on centos by installing java-1.6.0 yum install java-1.6.0 Le vendredi 23 mai 2014, Hollman Enciso R. a écrit : > Any idea with this error ? > > Starting CloudStack Usage Monitor cloudstack-usage23/05/2014 15:15:22 7 > jsvc error: Cannot locate Java Home > cat: /var/ru

Re: cloudstack_api_key and cloudstack_api_secret

2014-05-23 Thread Antone Heyward
The way I have been able to get this is by: 1. enabling the integration api port using a sql query. 2. using the api to generate the keys using "http://cloudmanagementserver:8096/client/api?command=registerUserKeys&id=2&response=json” <— Notice id=2, this is base on me knowing what the admin use

Re: cloudstack_api_key and cloudstack_api_secret

2014-05-23 Thread Ove Ewerlid
Good catch! You are not the first that asks this question. /Ove On 05/24/2014 01:56 AM, rammohan ganapavarapu wrote: Nevermind, i was able to figure it out how to generate them. from UI: Click accounts -> Click admin -> click view users -> click admin -> click generate keys. Ram On Fri, May

Re: cloudstack_api_key and cloudstack_api_secret

2014-05-23 Thread Ove Ewerlid
Keys need to be explicitly generated. You would use this API call available for ROOT/DOMAIN/USER; http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/registerUserKeys.html /Ove On 05/24/2014 01:51 AM, rammohan ganapavarapu wrote: Also those values are NULL in db, how do i generate t

Re: cloudstack_api_key and cloudstack_api_secret

2014-05-23 Thread Ove Ewerlid
On 05/24/2014 01:17 AM, rammohan ganapavarapu wrote: Hi, I am trying to use vagrant to automate my cloudstack virtual infrastructure but i dont know how to get cloudstack_api_key and secret, can some one please let me know how to get those? Thanks, Ram A possible way to approach this; 1) i

cloudstack_api_key and cloudstack_api_secret

2014-05-23 Thread rammohan ganapavarapu
Hi, I am trying to use vagrant to automate my cloudstack virtual infrastructure but i dont know how to get cloudstack_api_key and secret, can some one please let me know how to get those? Thanks, Ram

Re: Cloudstack:: cloud_usage table empty

2014-05-23 Thread Hollman Enciso R.
Any idea with this error ? Starting CloudStack Usage Monitor cloudstack-usage23/05/2014 15:15:22 7 jsvc error: Cannot locate Java Home cat: /var/run/cloudstack-usage.pid: No such file or directory [FAILED] It's show starting the daemon cloudstack-usage. On Thu, May 22, 2014 at 11:37 PM, R

Re: local storage for system VMs

2014-05-23 Thread Andrija Panic
Destroy it, it will be recreated... Sent from Google Nexus 4 On May 23, 2014 8:33 PM, "Ian Young" wrote: > My CloudStack 4.3 system is a single server (for the time being, at least). > Since a system VM malfunction is a show-stopper, I would like to host > those on local storage to avoid issues

local storage for system VMs

2014-05-23 Thread Ian Young
My CloudStack 4.3 system is a single server (for the time being, at least). Since a system VM malfunction is a show-stopper, I would like to host those on local storage to avoid issues with NFS mounts. I have changed the value system.vm.use.local.storage to true. I don't see an option for use.lo

Re: console proxy times out

2014-05-23 Thread Ian Young
I'm still getting a lot of these, though. 2014-05-23 10:52:27,908 INFO [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-3:ctx-838a6dc4 work-873) HA on VM[ConsoleProxy|v-2-VM] 2014-05-23 10:52:27,908 INFO [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-3:ctx-838a6dc4 work-873) VM VM[ConsoleProxy|v-2

Re: console proxy times out

2014-05-23 Thread Ian Young
I destroyed the SSVM and then tried hacking the database to make CloudStack realize that the console proxy is in fact stopped. mysql> update vm_instance set state='Stopped' where name='v-2-VM'; mysql> update host set status='Up' where name='v-2-VM'; Now they're both running and I can see the cons

Re: console proxy times out

2014-05-23 Thread Ian Young
Also, is this normal? Every time the server is rebooted, it adds another record to the mshost table but the "removed" field is always NULL. http://pastebin.com/q5zDCu4b On Fri, May 23, 2014 at 10:39 AM, Ian Young wrote: > The SSVM is stopped. If I try to start it, it complains about > insuff

Re: API call expiration

2014-05-23 Thread sebgoa
On May 23, 2014, at 1:40 PM, Phillip Kent wrote: > Dear all, > > I am trying out the API call expiration option and my experience does > not agree with the documentation. > [see > http://docs.cloudstack.apache.org/en/master/dev.html#the-cloudstack-api > ] > > Can anyone confirm my experience?

Re: console proxy times out

2014-05-23 Thread Ian Young
The SSVM is stopped. If I try to start it, it complains about insufficient capacity. CPU? RAM? I have plenty of both available. 2014-05-23 10:36:51,196 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-2:ctx-ababac38 ctx-0906d3c3) Listing clusters in order of aggregate capacity, that have (atleast o

Re: console proxy times out

2014-05-23 Thread Ian Young
I rebooted it and now it's in an even more broken state. It's repeatedly trying to stop the console proxy but can't because its state is "Starting." Here is an excerpt from the management log: http://pastebin.com/FiaDzKXb The agent log keeps repeating these messages: http://pastebin.com/yDidSb

Re: Upgrade 4.1 to 4.2.1

2014-05-23 Thread Rodrigo D. Lopez
I am gona give a shot to CS 4.3 Thanks On 05/23/2014 09:54 AM, Pierre-Luc Dion wrote: I think this release-note is not clear, cloudstack-agent run on KVM hypervisor, following the installation steps does not install agent on the mangement server ( http://docs.cloudstack.apache.org/projec

OVS and GRE Isolation

2014-05-23 Thread Samuel Winchenbach
Hi all, I have installed CloudStack with both basic and advanced networking now I am playing around with OVS. When setting up the physical network what does the "Isolation Method" do? Is that how Management, Public, Guest and Storage are isolated if they are on the same physical network? What

Re: Upgrade 4.1 to 4.2.1

2014-05-23 Thread Pierre-Luc Dion
I think this release-note is not clear, cloudstack-agent run on KVM hypervisor, following the installation steps does not install agent on the mangement server ( http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html ). The 4.3 release note refer the agent u

API call expiration

2014-05-23 Thread Phillip Kent
Dear all, I am trying out the API call expiration option and my experience does not agree with the documentation. [see http://docs.cloudstack.apache.org/en/master/dev.html#the-cloudstack-api ] Can anyone confirm my experience? The doc suggests that the timestamp can be sent in the URL in the un-

Re: update/shrink "guest" IP range

2014-05-23 Thread Andrija Panic
So Sanjeev, any thoughts for my proposed solution ? Thanks On 22 May 2014 11:58, Andrija Panic wrote: > Hi Sanjeev - sorry for missunderstanding - but good point :) I could have > used it some time ago :) > > I'm using Advanced networking - and (accidentally) I have subet x.y.z.0/24 > whose IP