Re: The agent doesn't reconnect if there are stopped VMs

2015-08-20 Thread Vladimir Melnik
I'll gladly send it, but where to find it? I don't have more information in the log-file :( On Thu, Aug 20, 2015 at 03:49:25PM +, Somesh Naidu wrote: > > 2015-08-18 06:24:46,542 DEBUG [c.c.c.CapacityManagerImpl] > > (AgentConnectTaskPool-213:ctx-76903ef6) Found 1 VM, not running on host 27 >

Re: The agent doesn't reconnect if there are stopped VMs

2015-08-20 Thread Vladimir Melnik
If you mean "dynamic scaleable" offerings - no I don't have any. If you mean offerings with "custom" parameters - yes, I use them. Thanks! On Thu, Aug 20, 2015 at 03:21:14PM +, Simon Weller wrote: > Do you have any dynamic service offerings? > > > Fr

Re: duplicate use of tips?

2015-08-20 Thread Abhinandan Prateek
If you are manually assigning the ips better use the ips that are outside the cidr that cloudstack manages. The ips assigned by cloudstack dhcp are as per cloudstack assignments anything that happen outside VR’s dhcp is unknown to cloudstack. > On 20-Aug-2015, at 11:29 pm, Frank Louwers wrote:

Re: VM stuck in a failing Host

2015-08-20 Thread Jaime Orlando Rojas Sanchez
Hello, I already tried he force stop check, unfortunately it didn't work VM keeps starting in failing host. I am trying to force vm to stop from xen server with no results. [root@dc1fdtptgcx02 /]# xe vm-shutdown name-label=i-574-14584-VM --force You attempted an operation which involves a host w

RE: VM stuck in a failing Host

2015-08-20 Thread Somesh Naidu
Thanks I just realized that the job was a stop command and not start command that I was looking for. The stop command failed to stop the VM leaving the VM in Running state: 2015-08-20 05:45:27,513 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-21:null) submit async job-45973 = [ d3ed77b

RE: VM stuck in a failing Host

2015-08-20 Thread Jaime Orlando Rojas Sanchez
Hello, I am attaching the logs http://jrojas-test.s3.kumo.com.co/management-server.log?AWSAccessKeyId=0099c1623d6704f9f5d5&Expires=1440711480&Signature=CFYwowzsJ3x%2B7XXfpAHDLM%2F022A%3D&x-amz-pt=N2ZiYjcyOTk4MTQ0MDEwMzEwNTQ5MA We have a second manage server but it doesn't execute any task. Reg

RE: VM stuck in a failing Host

2015-08-20 Thread Somesh Naidu
Jaime, Those are not complete logs I need. I need complete logs (no grep) between "2015-08-20 05:45:27,513" and when the job (job-45973) finished (I can't tell from the logs you shared earlier). Also, do you have more than 1 management server? Regards, Somesh -Original Message- From:

Re: VM stuck in a failing Host

2015-08-20 Thread Jaime Orlando Rojas Sanchez
We ran the command without the space with no results. In the second message I sent, I pasted the logs. You can find it in this mail chain at the beginning. Cordialmente, Jaime Rojas Sent from my iPhone On 20/08/2015, at 1:37 p.m., Somesh Naidu mailto:somesh.na...@citrix.com>> wrote: We do n

RE: VM stuck in a failing Host

2015-08-20 Thread Somesh Naidu
We do not need to take a snapshot. Just extract the VHD from storage (you could use vdi-copy if it is on block storage) and then register it in CS as a template from UI. > xe vm-list name-label= i-574-14584-VM The command you tried above has space after "=". Did you try without the space? Also

Re: VM stuck in a failing Host

2015-08-20 Thread Jaime Orlando Rojas Sanchez
We already did all of that and VM keeps trying to start on failed host. Template is not possible we tried to take a snapshot but it return an error. Cordialmente, Jaime Rojas > On 20/08/2015, at 12:19 p.m., Somesh Naidu wrote: > > I do not believe that should happen as the VM is primarily

duplicate use of tips?

2015-08-20 Thread Frank Louwers
Hi, In a zone with Basic Networking, I’ve assigned a certain netblock x.y.z.0/24 to the Guest network in CloudStack. I have a VM-A that has primary ip address x.y.z.92 and secondary address on the same nic x.y.z.52. For various reasons, *both* ips were configured manually, so not using the VR’

RE: VM stuck in a failing Host

2015-08-20 Thread Somesh Naidu
I do not believe that should happen as the VM is primarily tied to the storage. But just to avoid taking any chances, we could do this: 1. Put the failed host in to maintenance. 2. Set host_id and last_host_id to NULL in vm_instance table for that VM. 3. Make sure the XS pool doesn't have any stal

Re: VM stuck in a failing Host

2015-08-20 Thread Jaime Orlando Rojas Sanchez
Yes we could , but I'm not sure if maybe I lost the VM because it is tied to that host. Cordialmente, Jaime Rojas > On 20/08/2015, at 11:47 a.m., Somesh Naidu wrote: > > Can you not remove the failed host from CCP and XS cluster? > > Regards, > Somesh > > > -Original Message- >

RE: VM stuck in a failing Host

2015-08-20 Thread Somesh Naidu
Can you not remove the failed host from CCP and XS cluster? Regards, Somesh -Original Message- From: Jaime Orlando Rojas Sanchez [mailto:jaime.ro...@kumo.com.co] Sent: Thursday, August 20, 2015 12:38 PM To: users@cloudstack.apache.org Subject: RE: VM stuck in a failing Host Hello, sta

RE: VM stuck in a failing Host

2015-08-20 Thread Jaime Orlando Rojas Sanchez
Hello, state/status of the failed host in CS? = Disconnected We run the command in the 2 remaining host with no results. [root@dc1fdtptgcx04 /]# xe vm-list name-label= i-574-14584-VM [root@dc1fdtptgcx04 /]# [root@dc1fdtptgcx02 /]# xe vm-list name-label= i-574-14584-VM [root@dc1fdtptgcx02 /]#

RE: VM stuck in a failing Host

2015-08-20 Thread Somesh Naidu
Quick question, what is the state/status of the failed host in CS? Also, look up the particular VM on XS pool (xe vm-list name-label= i-574-14584-VM), what does it say? Regards, Somesh -Original Message- From: Jaime Orlando Rojas Sanchez [mailto:jaime.ro...@kumo.com.co] Sent: Thursday

RE: The agent doesn't reconnect if there are stopped VMs

2015-08-20 Thread Somesh Naidu
> 2015-08-18 06:24:46,542 DEBUG [c.c.c.CapacityManagerImpl] > (AgentConnectTaskPool-213:ctx-76903ef6) Found 1 VM, not running on host 27 > 2015-08-18 06:24:46,544 ERROR [c.c.a.m.AgentManagerImpl] > (AgentConnectTaskPool-213:ctx-76903ef6) Monitor ComputeCapacityListener says > there is an error i

RE: VM stuck in a failing Host

2015-08-20 Thread Jaime Orlando Rojas Sanchez
Following the logs when I click 'run' in ACS after did the following in the DB - Change the state to 'stopped' - Change host ID to a working host - Change last host ID to a working host - Check VR is up and running on a working host -bash-4.1# tail -f mana

Re: The agent doesn't reconnect if there are stopped VMs

2015-08-20 Thread Simon Weller
Do you have any dynamic service offerings? From: Vladimir Melnik Sent: Thursday, August 20, 2015 8:20 AM To: users@cloudstack.apache.org Subject: Re: The agent doesn't reconnect if there are stopped VMs Oh, I'm sorry, I should have initially send the DEBU

VM stuck in a failing Host

2015-08-20 Thread Jaime Orlando Rojas Sanchez
Hello, We have a 4.2.1 ACS, running on XenServer 6.2.0, we have a zone with a pool of 3 host, yesterday 1 host crash and OS get corrupted. I think we lost that host and have to reinstall it, but the issue is that we had a couple of VM and VR running on that host. The failing host was the maste

Re: The agent doesn't reconnect if there are stopped VMs

2015-08-20 Thread Vladimir Melnik
Oh, I'm sorry, I should have initially send the DEBUG-log! Here is an example: --- 8< --- 2015-07-29 00:53:42,988 INFO [utils.nio.NioClient] (Agent-Selector:null) Connecting to ***.***.***.***:8250 2015-07-29 00:53:44,254 INFO [utils.nio.NioClient] (Agent-Selector:null) SSL: Handshake done 20

Re: The agent doesn't reconnect if there are stopped VMs

2015-08-20 Thread Simon Weller
Vladimir, Could you turn up debugging on the agent and post another agent log? You can do this by running: sed -i 's/INFO/DEBUG/g' /etc/cloudstack/agent/log4j-cloud.xml Then restart the agent. - Si From: Vladimir Melnik Sent: Thursday, August 20, 2015 4

Re: how to disable CPVM http trace and disable sslV3 poodle security issue

2015-08-20 Thread Prashant Kumar Mishra
You need to upgrade system vm templates , check the https://blogs.apache.org/cloudstack/ for mote details Related info thought might help 1. does changing in httpd.conf reflects the setting for apache2? Use the nmap script as suggested below to identify ssl versions on installed system vm temp

The agent doesn't reconnect if there are stopped VMs

2015-08-20 Thread Vladimir Melnik
Dear colleagues, I have a simple setup where the management server (CentOS-6.6 + ACS-4.5.1) is orchestrating a bunch of KVM hosts (each of them is running CentOS-6.6 + ACS-4.5.1 as well). Any host with at least one VM in the "Stopped" state can't reconnect to the management server. It has the "Al