RE: Security Groups

2013-09-19 Thread Sanjeev Neelarapu
By default xen6.0.2 comes with openvswitch. Set it to bridge mode by using : 
"xe-switch-network-backend bridge" command on xenserver.

-Original Message-
From: Michael Phillips [mailto:mphilli7...@hotmail.com] 
Sent: Thursday, September 19, 2013 10:16 AM
To: users@cloudstack.apache.org
Subject: RE: Security Groups

Sorry posted the wrong thing...please view this.
http://pastebin.com/NF28fpq7

> From: jayapalreddy.ur...@citrix.com
> To: users@cloudstack.apache.org
> Subject: Re: Security Groups
> Date: Thu, 19 Sep 2013 04:40:14 +
> 
> There are no cloudstack configured  iptables rules on your xen host.
> It seems iptables are stopped on the host ? 
> 
> Please check is CSP installed correctly not he host.
> Please try to force connect or host once.
> 
> 
> Thanks,
> Jayapal
> 
> 
> 
> On 19-Sep-2013, at 9:50 AM, Michael Phillips 
>  wrote:
> 
> > http://pastebin.com/xf9SBzVY
> > 
> >> From: jayapalreddy.ur...@citrix.com
> >> To: users@cloudstack.apache.org
> >> Subject: Re: Security Groups
> >> Date: Thu, 19 Sep 2013 03:54:51 +
> >> 
> >> Hi,
> >> Can you please share  host 'iptables -L -nv' output on pastebin
> >> 
> >> Thanks,
> >> Jayapal
> >> 
> >> On 19-Sep-2013, at 8:04 AM, Michael Phillips 
> >> 
> >> wrote:
> >> 
> >>> Having troubles getting security groups to function My "test" 
> >>> environment is as follows:
> >>> Cloudstack 4.1.1 on centos6.4Xen Server 6.0.2, CSP installed, 
> >>> iptables running...not sure if it needs to be but it is by default, all 
> >>> xen patches installed.Primary Storage = iscsiSecondary Storage = nfs on 
> >>> mgmt serverSystem VM's and router are running as expected.Network = flat 
> >>> 192.168.50.0/24 I then create 2 instances(vm's) based on the centos5.6 
> >>> template provided and assign them to the "default" security group. The 
> >>> instances are able to "ping" each other, and I thought the expected 
> >>> behavior is that they should not be able to, since the default security 
> >>> group has 0 ingress rules which should block all inbound traffic.
> >>> What could I be missing??
> >>> 
> >>> 
> >>> 
> >>> 
> >> 
> >   
> 
  


Cloudmonkey removeNicFromVirtualMachine

2013-09-19 Thread Koen Vanoppen
Dear,

I have the following problem when I try to remove a second NIC from a vm on
cloudstack:

Unable to execute API command removenicfromvirtualmachine due to invalid
value. Invalid parameter nicid value=5039b914-0eef-4596-849e-d2ad7050217c
due to incorrect long value format, or entity does not exist or due to
incorrect parameter annotation for the field in api cmd class.

Any Ideas?

Kind Regards,
Koen


Re: Cloudmonkey removeNicFromVirtualMachine

2013-09-19 Thread Koen Vanoppen
Nevermind... TYPO :-)


2013/9/19 Koen Vanoppen 

> Dear,
>
> I have the following problem when I try to remove a second NIC from a vm
> on cloudstack:
>
> Unable to execute API command removenicfromvirtualmachine due to invalid
> value. Invalid parameter nicid value=5039b914-0eef-4596-849e-d2ad7050217c
> due to incorrect long value format, or entity does not exist or due to
> incorrect parameter annotation for the field in api cmd class.
>
> Any Ideas?
>
> Kind Regards,
> Koen
>


Re: Usage Server is running but DB is empty

2013-09-19 Thread Harikrishna Patnala
Hi,
Did you set the global configuration parameters related to this.
Link: 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html

-Harikrishna

On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov  wrote:

> Hello, 
> we've built a deb package for the usage server 
> cloudstack-usage_4.1.1-0.0.snapshot_all.deb, 
> installed it and started the cloudstack-usage service. 
> But it seems it is not working, I mean there are no logs in 
> /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b 
> 
> Any ideas, how to troubleshoot it? 
> 
> Thanks and best regards,
> Niki



Re: Usage Server is running but DB is empty

2013-09-19 Thread Stanislav Petrov
Hi,

Check your db.properties file for access user credentials. This file is
located at /etc/cloudstack/usage/db.properties.


On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
harikrishna.patn...@citrix.com> wrote:

> Hi,
> Did you set the global configuration parameters related to this.
> Link:
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html
>
> -Harikrishna
>
> On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov  wrote:
>
> > Hello,
> > we've built a deb package for the usage server
> cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > installed it and started the cloudstack-usage service.
> > But it seems it is not working, I mean there are no logs in
> /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> >
> > Any ideas, how to troubleshoot it?
> >
> > Thanks and best regards,
> > Niki
>
>


-- 
Поздрави,
Станислав Петров


Re: Usage Server is running but DB is empty

2013-09-19 Thread Nikolay Kabadjov
Thanks Stanislav!
The issue is solved. 

It was a matter of missing DB properties configuration. 

Regards,
Niki



 From: Stanislav Petrov 
To: users@cloudstack.apache.org 
Cc: Nikolay Kabadjov  
Sent: Thursday, September 19, 2013 2:44 PM
Subject: Re: Usage Server is running but DB is empty
 

Hi,

Check your db.properties file for access user credentials. This file is
located at /etc/cloudstack/usage/db.properties.


On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
harikrishna.patn...@citrix.com> wrote:

> Hi,
> Did you set the global configuration parameters related to this.
> Link:
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html
>
> -Harikrishna
>
> On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov  wrote:
>
> > Hello,
> > we've built a deb package for the usage server
> cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > installed it and started the cloudstack-usage service.
> > But it seems it is not working, I mean there are no logs in
> /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> >
> > Any ideas, how to troubleshoot it?
> >
> > Thanks and best regards,
> > Niki
>
>


-- 
Поздрави,
Станислав Петров

"errortext": "Unable to create a deployment for VM[User|test53]"

2013-09-19 Thread Nikolay Kabadjov
Hello, 
when I tried to deploy 100 VM at once I've got only 14 of them successfully 
deployed. 
For the jobs of the rest I've got the folloing error code: 
{
"queryasyncjobresultresponse": {
"accountid": "20427bfa-1971-11e3-b487-005056a04c9e",
"userid": "2043cdd5-1971-11e3-b487-005056a04c9e",
"cmd": "org.apache.cloudstack.api.command.user.vm.DeployVMCmd",
"jobstatus": 2,
"jobprocstatus": 0,
"jobresultcode": 530,
"jobresulttype": "object",
"jobresult": {
"errorcode": 533,
"errortext": "Unable to create a deployment for VM[User|test53]"
},
"created": "2013-09-19T13:21:54+0200",
"jobid": "ded32163-87d3-404f-b1cd-3c7242452b8f"
}
}

Any idea how could I find out the root cause of this failure? 

Thanks and best Regards,
Niki 

RE: Security Groups

2013-09-19 Thread mphilli7823
Did that already.


Sent via the Samsung Galaxy S™III, an AT&T 4G LTE smartphoneSanjeev Neelarapu 
 wrote:
By default xen6.0.2 comes with openvswitch. Set it to bridge mode by using : 
"xe-switch-network-backend bridge" command on xenserver.

-Original Message-
From: Michael Phillips [mailto:mphilli7...@hotmail.com]
Sent: Thursday, September 19, 2013 10:16 AM
To: users@cloudstack.apache.org
Subject: RE: Security Groups

Sorry posted the wrong thing...please view this.
http://pastebin.com/NF28fpq7

> From: jayapalreddy.ur...@citrix.com
> To: users@cloudstack.apache.org
> Subject: Re: Security Groups
> Date: Thu, 19 Sep 2013 04:40:14 +
>
> There are no cloudstack configured  iptables rules on your xen host.
> It seems iptables are stopped on the host ?
>
> Please check is CSP installed correctly not he host.
> Please try to force connect or host once.
>
>
> Thanks,
> Jayapal
>
>
>
> On 19-Sep-2013, at 9:50 AM, Michael Phillips 
>  wrote:
>
> > http://pastebin.com/xf9SBzVY
> >
> >> From: jayapalreddy.ur...@citrix.com
> >> To: users@cloudstack.apache.org
> >> Subject: Re: Security Groups
> >> Date: Thu, 19 Sep 2013 03:54:51 +
> >>
> >> Hi,
> >> Can you please share  host 'iptables -L -nv' output on pastebin
> >>
> >> Thanks,
> >> Jayapal
> >>
> >> On 19-Sep-2013, at 8:04 AM, Michael Phillips
> >> 
> >> wrote:
> >>
> >>> Having troubles getting security groups to function My "test"
> >>> environment is as follows:
> >>> Cloudstack 4.1.1 on centos6.4Xen Server 6.0.2, CSP installed,
> >>> iptables running...not sure if it needs to be but it is by default, all 
> >>> xen patches installed.Primary Storage = iscsiSecondary Storage = nfs on 
> >>> mgmt serverSystem VM's and router are running as expected.Network = flat 
> >>> 192.168.50.0/24 I then create 2 instances(vm's) based on the centos5.6 
> >>> template provided and assign them to the "default" security group. The 
> >>> instances are able to "ping" each other, and I thought the expected 
> >>> behavior is that they should not be able to, since the default security 
> >>> group has 0 ingress rules which should block all inbound traffic.
> >>> What could I be missing??
> >>>
> >>>
> >>>
> >>>
> >>
> >
>



RE: Security Groups

2013-09-19 Thread Michael Phillips
I'm wondering is it because of the network. Like I mentioned I am using a flat 
network for testing in which the mgmt server, hypervisor, and guests are on the 
same subnet 192.168.69.0/24.

Date: Thu, 19 Sep 2013 07:34:35 -0500
Subject: RE: Security Groups
From: mphilli7...@hotmail.com
To: users@cloudstack.apache.org






Did that already.







Sent via the Samsung Galaxy S™III, an AT&T 4G LTE smartphone



Sanjeev Neelarapu  wrote:


By default xen6.0.2 comes with openvswitch. Set it to bridge mode by using : 
"xe-switch-network-backend bridge" command on xenserver.



-Original Message-

From: Michael Phillips [mailto:mphilli7...@hotmail.com]


Sent: Thursday, September 19, 2013 10:16 AM

To: users@cloudstack.apache.org

Subject: RE: Security Groups



Sorry posted the wrong thing...please view this.

http://pastebin.com/NF28fpq7



> From: jayapalreddy.ur...@citrix.com

> To: users@cloudstack.apache.org

> Subject: Re: Security Groups

> Date: Thu, 19 Sep 2013 04:40:14 +

> 

> There are no cloudstack configured  iptables rules on your xen host.

> It seems iptables are stopped on the host ? 

> 

> Please check is CSP installed correctly not he host.

> Please try to force connect or host once.

> 

> 

> Thanks,

> Jayapal

> 

> 

> 

> On 19-Sep-2013, at 9:50 AM, Michael Phillips 

>  wrote:

> 

> > http://pastebin.com/xf9SBzVY

> > 

> >> From: jayapalreddy.ur...@citrix.com

> >> To: users@cloudstack.apache.org

> >> Subject: Re: Security Groups

> >> Date: Thu, 19 Sep 2013 03:54:51 +

> >> 

> >> Hi,

> >> Can you please share  host 'iptables -L -nv' output on pastebin

> >> 

> >> Thanks,

> >> Jayapal

> >> 

> >> On 19-Sep-2013, at 8:04 AM, Michael Phillips 

> >> 

> >> wrote:

> >> 

> >>> Having troubles getting security groups to function My "test" 

> >>> environment is as follows:

> >>> Cloudstack 4.1.1 on centos6.4Xen Server 6.0.2, CSP installed, 

> >>> iptables running...not sure if it needs to be but it is by default, all 
> >>> xen patches installed.Primary Storage = iscsiSecondary Storage = nfs on 
> >>> mgmt serverSystem VM's and router are running as expected.Network = flat 
> >>> 192.168.50.0/24 I then create 2 instances(vm's)
 based on the centos5.6 template provided and assign them to the "default" 
security group. The instances are able to "ping" each other, and I thought the 
expected behavior is that they should not be able to, since the default 
security group has 0 ingress rules
 which should block all inbound traffic.

> >>> What could I be missing??

> >>> 

> >>> 

> >>> 

> >>>  

> >> 

> >

> 

   


  

Re: Security Groups

2013-09-19 Thread Lynch, Gerard
Check your XenServer /etc/sysctl.conf settings

I don't know about Xen 6.0.2 with CSP, but in XenServer 6.1 and XenServer
6.2 they disable iptables over bridge interfaces by default.

# Disable *tables rules for bridge traffic to increase performance
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-arptables = 0


Should be

# Disable *tables rules for bridge traffic to increase performance
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-arptables = 1




You can check whether your traffic is hitting rules by accessing the host
console, and tracing traffic through the iptables chains (while performing
a ping to/from the VM), e.g.

iptables -Z && watch -n .5 iptables -nvL
iptables -Z && watch -n .5 iptables -nvL BRIDGE-FIREWALL
iptables -Z && watch -n .5 iptables -nvL i-2-8-def

Where i-2-8-def is the machine identifier.





On 19/09/2013 14:11, "Michael Phillips"  wrote:

>I'm wondering is it because of the network. Like I mentioned I am using a
>flat network for testing in which the mgmt server, hypervisor, and guests
>are on the same subnet 192.168.69.0/24.
>
>Date: Thu, 19 Sep 2013 07:34:35 -0500
>Subject: RE: Security Groups
>From: mphilli7...@hotmail.com
>To: users@cloudstack.apache.org
>
>
>
>
>
>
>Did that already.
>
>
>
>
>
>
>
>Sent via the Samsung Galaxy SIII, an AT&T 4G LTE smartphone
>
>
>
>Sanjeev Neelarapu  wrote:
>
>
>By default xen6.0.2 comes with openvswitch. Set it to bridge mode by
>using : "xe-switch-network-backend bridge" command on xenserver.
>
>
>
>-Original Message-
>
>From: Michael Phillips [mailto:mphilli7...@hotmail.com]
>
>
>Sent: Thursday, September 19, 2013 10:16 AM
>
>To: users@cloudstack.apache.org
>
>Subject: RE: Security Groups
>
>
>
>Sorry posted the wrong thing...please view this.
>
>http://pastebin.com/NF28fpq7
>
>
>
>> From: jayapalreddy.ur...@citrix.com
>
>> To: users@cloudstack.apache.org
>
>> Subject: Re: Security Groups
>
>> Date: Thu, 19 Sep 2013 04:40:14 +
>
>> 
>
>> There are no cloudstack configured  iptables rules on your xen host.
>
>> It seems iptables are stopped on the host ?
>
>> 
>
>> Please check is CSP installed correctly not he host.
>
>> Please try to force connect or host once.
>
>> 
>
>> 
>
>> Thanks,
>
>> Jayapal
>
>> 
>
>> 
>
>> 
>
>> On 19-Sep-2013, at 9:50 AM, Michael Phillips 
>
>>  wrote:
>
>> 
>
>> > http://pastebin.com/xf9SBzVY
>
>> > 
>
>> >> From: jayapalreddy.ur...@citrix.com
>
>> >> To: users@cloudstack.apache.org
>
>> >> Subject: Re: Security Groups
>
>> >> Date: Thu, 19 Sep 2013 03:54:51 +
>
>> >> 
>
>> >> Hi,
>
>> >> Can you please share  host 'iptables -L -nv' output on pastebin
>
>> >> 
>
>> >> Thanks,
>
>> >> Jayapal
>
>> >> 
>
>> >> On 19-Sep-2013, at 8:04 AM, Michael Phillips
>
>> >> 
>
>> >> wrote:
>
>> >> 
>
>> >>> Having troubles getting security groups to function My "test"
>
>> >>> environment is as follows:
>
>> >>> Cloudstack 4.1.1 on centos6.4Xen Server 6.0.2, CSP installed,
>
>> >>> iptables running...not sure if it needs to be but it is by default,
>>all xen patches installed.Primary Storage = iscsiSecondary Storage = nfs
>>on mgmt serverSystem VM's and router are running as expected.Network =
>>flat 192.168.50.0/24 I then create 2 instances(vm's)
> based on the centos5.6 template provided and assign them to the
>"default" security group. The instances are able to "ping" each other,
>and I thought the expected behavior is that they should not be able to,
>since the default security group has 0 ingress rules
> which should block all inbound traffic.
>
>> >>> What could I be missing??
>
>> >>> 
>
>> >>> 
>
>> >>> 
>
>> >>> 
>
>> >> 
>
>> >   
>
>> 
>
>  
>
>
> 


Information in this email including any attachments may be privileged, 
confidential and is intended exclusively for the addressee. The views expressed 
may not be official policy, but the personal views of the originator. If you 
have received it in error, please notify the sender by return e-mail and delete 
it from your system. You should not reproduce, distribute, store, retransmit, 
use or disclose its contents to anyone. Please note we reserve the right to 
monitor all e-mail communication through our internal and external networks. 
SKY and the SKY marks are trademarks of British Sky Broadcasting Group plc and 
Sky International AG and are used under licence. British Sky Broadcasting 
Limited (Registration No. 2906991), Sky-In-Home Service Limited (Registration 
No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) 
are direct or indirect subsidiaries of British Sky Broadcasting Group plc 
(Registration No. 2247735). All of the companies mentioned in this paragraph 
are incorporated in England and Wales and share the same registered office at 
Grant Way, Isleworth, Middlesex TW7 5QD.




What about adding Linux Containers to Cloudstack

2013-09-19 Thread Old, Curtis
Have been looking in to containers as an alternative to KVM/Xen virtual 
machines, has anyone thought about adding support to manage hosts running 
OpenVZ or LXC via CloudStack?

Curtis Old



Re: What about adding Linux Containers to Cloudstack

2013-09-19 Thread Dean Kamali
currently not supported


On Thu, Sep 19, 2013 at 9:50 AM, Old, Curtis  wrote:

> Have been looking in to containers as an alternative to KVM/Xen virtual
> machines, has anyone thought about adding support to manage hosts running
> OpenVZ or LXC via CloudStack?
>
> Curtis Old
>
>


Re: Usage Server is running but DB is empty

2013-09-19 Thread Steven Liang
Hi Niki,

I have the same issue. Could you share how to solve it?
Thank you.

Steven


On Thu, Sep 19, 2013 at 8:24 AM, Nikolay Kabadjov  wrote:

> Thanks Stanislav!
> The issue is solved.
>
> It was a matter of missing DB properties configuration.
>
> Regards,
> Niki
>
>
> 
>  From: Stanislav Petrov 
> To: users@cloudstack.apache.org
> Cc: Nikolay Kabadjov 
> Sent: Thursday, September 19, 2013 2:44 PM
> Subject: Re: Usage Server is running but DB is empty
>
>
> Hi,
>
> Check your db.properties file for access user credentials. This file is
> located at /etc/cloudstack/usage/db.properties.
>
>
> On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
> harikrishna.patn...@citrix.com> wrote:
>
> > Hi,
> > Did you set the global configuration parameters related to this.
> > Link:
> >
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html
> >
> > -Harikrishna
> >
> > On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov  wrote:
> >
> > > Hello,
> > > we've built a deb package for the usage server
> > cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > > installed it and started the cloudstack-usage service.
> > > But it seems it is not working, I mean there are no logs in
> > /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> > >
> > > Any ideas, how to troubleshoot it?
> > >
> > > Thanks and best regards,
> > > Niki
> >
> >
>
>
> --
> Поздрави,
> Станислав Петров
>


Re: "errortext": "Unable to create a deployment for VM[User|test53]"

2013-09-19 Thread Daan Hoogland
Did you check the management-server.log?

SMLog at the hypervisor might help as well.

On Thu, Sep 19, 2013 at 2:28 PM, Nikolay Kabadjov  wrote:
> Hello,
> when I tried to deploy 100 VM at once I've got only 14 of them successfully 
> deployed.
> For the jobs of the rest I've got the folloing error code:
> {
> "queryasyncjobresultresponse": {
> "accountid": "20427bfa-1971-11e3-b487-005056a04c9e",
> "userid": "2043cdd5-1971-11e3-b487-005056a04c9e",
> "cmd": "org.apache.cloudstack.api.command.user.vm.DeployVMCmd",
> "jobstatus": 2,
> "jobprocstatus": 0,
> "jobresultcode": 530,
> "jobresulttype": "object",
> "jobresult": {
> "errorcode": 533,
> "errortext": "Unable to create a deployment for VM[User|test53]"
> },
> "created": "2013-09-19T13:21:54+0200",
> "jobid": "ded32163-87d3-404f-b1cd-3c7242452b8f"
> }
> }
>
> Any idea how could I find out the root cause of this failure?
>
> Thanks and best Regards,
> Niki


Re: Security Groups

2013-09-19 Thread Jayapal Reddy Uradi
Hi,

Your host iptables are not configured with the security group rules.

To check the below reference post for security group rules.

http://jayapalu.blogspot.com/2013/09/security-groups-in-cloudstack.html


Thanks,
Jayapal

On 19-Sep-2013, at 10:15 AM, Michael Phillips 
mailto:mphilli7...@hotmail.com>> wrote:

Sorry posted the wrong thing...please view this.
http://pastebin.com/NF28fpq7

From: jayapalreddy.ur...@citrix.com
To: users@cloudstack.apache.org
Subject: Re: Security Groups
Date: Thu, 19 Sep 2013 04:40:14 +

There are no cloudstack configured  iptables rules on your xen host.
It seems iptables are stopped on the host ?

Please check is CSP installed correctly not he host.
Please try to force connect or host once.


Thanks,
Jayapal



On 19-Sep-2013, at 9:50 AM, Michael Phillips 
wrote:

http://pastebin.com/xf9SBzVY

From: jayapalreddy.ur...@citrix.com
To: users@cloudstack.apache.org
Subject: Re: Security Groups
Date: Thu, 19 Sep 2013 03:54:51 +

Hi,
Can you please share  host 'iptables -L -nv' output on pastebin

Thanks,
Jayapal

On 19-Sep-2013, at 8:04 AM, Michael Phillips 
wrote:

Having troubles getting security groups to function
My "test" environment is as follows:
Cloudstack 4.1.1 on centos6.4Xen Server 6.0.2, CSP installed, iptables 
running...not sure if it needs to be but it is by default, all xen patches 
installed.Primary Storage = iscsiSecondary Storage = nfs on mgmt serverSystem 
VM's and router are running as expected.Network = flat 192.168.50.0/24
I then create 2 instances(vm's) based on the centos5.6 template provided and 
assign them to the "default" security group. The instances are able to "ping" 
each other, and I thought the expected behavior is that they should not be able 
to, since the default security group has 0 ingress rules which should block all 
inbound traffic.
What could I be missing??











Re: Cloudstack 4.1.1 + XCP 1.6 fresh install

2013-09-19 Thread Carlos Reategui
Are you positive you had vhd-util in /usr/share/cloudstack-common/
scripts/vm/hypervisor/xenserver/ prior to adding the hosts to CS?  Also was
it chmod +x? If so, this is a bug that should be filed in Jira.  In my case
I'm mostly sure I had it in there but not with the executable bit set so
wasn't sure if it was user error on my part (although I guess that should
be considered a documentation bug then).


On Wed, Sep 18, 2013 at 11:56 PM, Vadim Kimlaychuk <
vadim.kimlayc...@elion.ee> wrote:

> Thank you all - indeed the probleem was at vhd-util missing on the Host.
> Problem solved !
>
> Vadim.
>
> -Original Message-
> From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of
> Carlos Reategui
> Sent: Wednesday, September 18, 2013 9:05 PM
> To: users@cloudstack.apache.org
> Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install
>
> Hi Vadim,
> As Kousik mentioned, please check /opt/xensource/bin/ to see that it got
> copied there when the hosts were added to CS (along with several other CS
> scripts).  It should have been.  If not, that is likely the problem.
>
>
>
> On Wed, Sep 18, 2013 at 10:45 AM, Koushik Das  >wrote:
>
> > Yes. vhd-util needs to be copied in the hypervisor host under
> > /opt/xensource/bin
> >
> > -Koushik
> >
> > On 18-Sep-2013, at 8:55 PM, Vadim Kimlaychuk
> > 
> > wrote:
> >
> > > Do you mean I have to copy vhd-util to the server where XCP is
> > installed? What should be the right path there?
> > >
>


4.2 Test failed - HA does not work on KVM Hypervisor

2013-09-19 Thread Ivan Gladenko

4.2 Test failed -  HA does not work on KVM Hypervisor

Hello,
I ask for assistance.
We try several installation of CS4.2 on different hardware.
HA does not work neither for Virtual Router nor Virtual Machine with HA
enable compute offering.
We test configuration with 2 KVM hypervisor.
Need assistance.
Thank you in advance



Re: What about adding Linux Containers to Cloudstack

2013-09-19 Thread Nux!

On 19.09.2013 14:50, Old, Curtis wrote:

Have been looking in to containers as an alternative to KVM/Xen
virtual machines, has anyone thought about adding support to manage
hosts running OpenVZ or LXC via CloudStack?

Curtis Old


+1 !

Over 60% of my VMs could easily be LXC containers and there is strong 
trend towards containers (Docker has just been integrated with 
Openshift, openstack supports has lxc & docker drivers etc).


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Unable to start DomR CS 4.1 VMware esxi 5.1

2013-09-19 Thread John Skinner
My problem was some one has changed router.extra.public.nics in global config 
from 2 to 5. Once changed back to 2, routers launch just fine.


- Original Message -
From: "John Skinner" 
To: users@cloudstack.apache.org
Sent: Wednesday, September 18, 2013 3:22:16 PM
Subject: Re: Unable to start DomR CS 4.1 VMware esxi 5.1

Ok so here is something interesting. I just destroyed the console proxy system 
VM, and it recreated successfully. However, Domain routers will not create.


- Original Message -
From: "John Skinner" 
To: users@cloudstack.apache.org
Sent: Wednesday, September 18, 2013 2:08:41 PM
Subject: Re: Unable to start DomR CS 4.1 VMware esxi 5.1

Ok. So we stopped CloudStack management, changed the permissions on the .ova 
for the systemvm template, and removed the references from template_spool_ref 
to force CloudStack to send the template to vCenter again. We are still seeing 
this error when trying to start the Domain Router: 


2013-09-18 13:59:29,732 ERROR [vmware.mo.VirtualMachineMO] 
(DirectAgent-42:10.0.97.105) VMware reconfigVM_Task failed due to A specified 
parameter was not correct. 
com.vmware.vim25.InvalidArgument 


- Original Message -

From: "Kelven Yang"  
To: users@cloudstack.apache.org 
Sent: Wednesday, September 18, 2013 12:05:49 PM 
Subject: Re: Unable to start DomR CS 4.1 VMware esxi 5.1 

John, 

Yes, the bottom of the disk chain for system VM lands to the template, if 
for some reason it is not accessible, it will lead to corrupted disk 
content and fail the VM bootstrap process 

Kelven 

On 9/18/13 9:19 AM, "John Skinner"  wrote: 

>I'll take a look at that. I am wondering if the problem is it is unable 
>to pull the systemvm template. I noticed that the permissions for the 
>systemvm .ova file on secondary storage have a different ownership then 
>the rest of the files on secondary storage. Second thing I noticed, the 
>template on the vCenter side has a network associated to it that is not 
>be used by CloudStack and isn't routable in the network at all... and I 
>am not sure how that happened. 
> 
>John Skinner 
>Senior Systems Administrator | Appcore - the business of cloud computing(R) 
> 
>Office +1.800.735.7104 
>Direct +1.515.612.7783 | Mobile +1.515.745.0248 
>john.skin...@appcore.com | www.appcore.com 
>-- 
>The information in this message is intended for the named recipients 
>only. It may contain information that is privileged, confidential or 
>otherwise protected from disclosure. If you are not the intended 
>recipient, you are hereby notified that any disclosure, copying, 
>distribution, or the taking of any action in reliance on the contents of 
>this message is strictly prohibited. If you have received this e-mail in 
>error, do not print it or disseminate it or its contents. In such event, 
>please notify the sender by return e-mail and delete the e-mail file 
>immediately thereafter. Thank you. 
> 
> 
>- Original Message - 
>From: "Kelven Yang"  
>To: users@cloudstack.apache.org 
>Sent: Tuesday, September 17, 2013 5:13:54 PM 
>Subject: Re: Unable to start DomR CS 4.1 VMware esxi 5.1 
> 
>It looks like that the disk image of the VM is corrupted. Do following, 
> 
>1) Locate the datastore in vCenter on which the system VM is running 
>2) Open datastore-browse window 
>3) In the meantime, right click on the problem VM in vCenter (int host 
>view), chose "Edit SettingsŠ" to bring up VM configuration dialog 
>4) Find the VMDK location from the dialog in step 3 
>5) cross-check your findings about the VMDK in datastore, first check if 
>the file does exist on datastore 
> 
>If it is a problem caused by disk corruption, you will need to destroy the 
>system and let CloudStack recreate it 
> 
>Kelven 
> 
>On 9/17/13 2:31 PM, "John Skinner"  wrote: 
> 
>>Yes, however on the console it just comes up with "Operating System Not 
>>Found" error. This is really strange since this was all working fine last 
>>week. 
>> 
>>John Skinner 
>>Senior Systems Administrator | Appcore - the business of cloud computing(R) 
>> 
>>Office +1.800.735.7104 
>>Direct +1.515.612.7783 | Mobile +1.515.745.0248 
>>john.skin...@appcore.com | www.appcore.com 
>>-- 
>>The information in this message is intended for the named recipients 
>>only. It may contain information that is privileged, confidential or 
>>otherwise protected from disclosure. If you are not the intended 
>>recipient, you are hereby notified that any disclosure, copying, 
>>distribution, or the taking of any action in reliance on the contents of 
>>this message is strictly prohibited. If you have received this e-mail in 
>>error, do not print it or disseminate it or its contents. In such event, 
>>please notify the sender by return e-mail and delete the e-mail file 
>>immediately thereafter. Thank you. 
>> 
>> 
>>- Original Message - 
>>From: "Kelven

Re: What about adding Linux Containers to Cloudstack

2013-09-19 Thread Old, Curtis
Cool, I am about to setup a new Cloudstack environment in my other lab,
I'll look into it, Thanks!!!

Curtis Old 
Neustar, Inc. / Neustarlabs / Senior Research Engineer
46000 Center Oak Plaza Sterling, VA 20166
Office: +1.571.434.5384 Mobile: +1.540.532.2230 / curtis@neustar.biz
/ www.neustar.biz 



The information contained in this e-mail message is intended only for the
use of the recipient(s) named above and may contain confidential and/or
privileged information. If you are not the intended recipient you have
received this e-mail message in error and any review, dissemination,
distribution, or copying of this message is strictly prohibited. If you
have received this communication in error, please notify us immediately
and delete the original message.





On 9/19/13 3:51 PM, "Sebastien Goasguen"  wrote:

>
>On Sep 19, 2013, at 2:23 PM, Nux!  wrote:
>
>> On 19.09.2013 14:50, Old, Curtis wrote:
>>> Have been looking in to containers as an alternative to KVM/Xen
>>> virtual machines, has anyone thought about adding support to manage
>>> hosts running OpenVZ or LXC via CloudStack?
>>> Curtis Old
>> 
>> +1 !
>> 
>> Over 60% of my VMs could easily be LXC containers and there is strong
>>trend towards containers (Docker has just been integrated with
>>Openshift, openstack supports has lxc & docker drivers etc).
>> 
>
>I believe it's there, if not 4.2 it's in master
>
>
>> -- 
>> Sent from the Delta quadrant using Borg technology!
>> 
>> Nux!
>> www.nux.ro
>



Re: 4.2 Test failed - HA does not work on KVM Hypervisor

2013-09-19 Thread Jan Rendos
as far as I know this is known bug(feature :D)

fro what I read about it, it was disabled at one point when they realized
that there isn't a solid way to prevent split brain on KVM hosts.
HA works for ESX and Xen servers I think. If you search a little bit,
you'll find how to enable the HA forcibly.

Rendy


On Thu, Sep 19, 2013 at 7:09 PM, Ivan Gladenko wrote:

> 4.2 Test failed -  HA does not work on KVM Hypervisor
>
> Hello,
> I ask for assistance.
> We try several installation of CS4.2 on different hardware.
> HA does not work neither for Virtual Router nor Virtual Machine with HA
> enable compute offering.
> We test configuration with 2 KVM hypervisor.
> Need assistance.
> Thank you in advance
>
>


Re: What about adding Linux Containers to Cloudstack

2013-09-19 Thread Old, Curtis
I have Docker and OpenVZ setup in my lab, been focusing on OpenVZ right
now, will look into docker soon.  I see ways to integrate with Jenkins,
puppet|chef for a Continuous Deployment env.  Standing up containers using
the UI via Cloudstack would be a great tool for my users/team having only
a single interface to provide the resources they need.  Cloudstack has
KVM, Xen, VMware, OVM, and Bare Metal clusters, lets get a Container
cluster ;-)

Curtis Old 
Neustar, Inc. / Neustarlabs / Senior Research Engineer
46000 Center Oak Plaza Sterling, VA 20166
Office: +1.571.434.5384 Mobile: +1.540.532.2230 / curtis@neustar.biz
/ www.neustar.biz 



The information contained in this e-mail message is intended only for the
use of the recipient(s) named above and may contain confidential and/or
privileged information. If you are not the intended recipient you have
received this e-mail message in error and any review, dissemination,
distribution, or copying of this message is strictly prohibited. If you
have received this communication in error, please notify us immediately
and delete the original message.





On 9/19/13 2:23 PM, "Nux!"  wrote:

>On 19.09.2013 14:50, Old, Curtis wrote:
>> Have been looking in to containers as an alternative to KVM/Xen
>> virtual machines, has anyone thought about adding support to manage
>> hosts running OpenVZ or LXC via CloudStack?
>> 
>> Curtis Old
>
>+1 !
>
>Over 60% of my VMs could easily be LXC containers and there is strong
>trend towards containers (Docker has just been integrated with
>Openshift, openstack supports has lxc & docker drivers etc).
>
>-- 
>Sent from the Delta quadrant using Borg technology!
>
>Nux!
>www.nux.ro



Re: What about adding Linux Containers to Cloudstack

2013-09-19 Thread Sebastien Goasguen

On Sep 19, 2013, at 2:23 PM, Nux!  wrote:

> On 19.09.2013 14:50, Old, Curtis wrote:
>> Have been looking in to containers as an alternative to KVM/Xen
>> virtual machines, has anyone thought about adding support to manage
>> hosts running OpenVZ or LXC via CloudStack?
>> Curtis Old
> 
> +1 !
> 
> Over 60% of my VMs could easily be LXC containers and there is strong trend 
> towards containers (Docker has just been integrated with Openshift, openstack 
> supports has lxc & docker drivers etc).
> 

I believe it's there, if not 4.2 it's in master


> -- 
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro



Re: 4.2 Test failed - HA does not work on KVM Hypervisor

2013-09-19 Thread Ivan Gladenko

Hello Rendy,
thank you for you answer.
As I know it have to be featured in version 4.2. The issue what you 
describes,

related to version 4.0 and 4.1. There was not KVM host investigator but for
now the problem is not to find out which host is down - it's functions,
the problem is that stopped VM doesn’t start automatically on available 
resources, it stays in stopped state and you have to turn it on 
manually, virtual router too.
In general I don't understand why there is not function to set host down 
manual or via api.
The admin or external monitoring system could mark host as down and send 
the command to management to start VM's on available host.




as far as I know this is known bug(feature :D)

fro what I read about it, it was disabled at one point when they realized
that there isn't a solid way to prevent split brain on KVM hosts.
HA works for ESX and Xen servers I think. If you search a little bit,
you'll find how to enable the HA forcibly.

Rendy


On Thu, Sep 19, 2013 at 7:09 PM, Ivan Gladenko wrote:


4.2 Test failed -  HA does not work on KVM Hypervisor

Hello,
I ask for assistance.
We try several installation of CS4.2 on different hardware.
HA does not work neither for Virtual Router nor Virtual Machine with HA
enable compute offering.
We test configuration with 2 KVM hypervisor.
Need assistance.
Thank you in advance






Re: Support for multiple Local Storage volumes

2013-09-19 Thread Kirk Kosinski
SharedMountPoint will let you add it, but I believe the allocator will
still consider it as shared, even in a single-host cluster.  There is
the same issue with the similar PreSetup option on XenServer.

This adds a lot of confusion.  For example, to use the local storage you
will need to use disk/compute offerings with shared = true.  I filed an
enhancement request to add proper support for this:

https://issues.apache.org/jira/browse/CLOUDSTACK-4712

Best regards,
Kirk

On 09/13/2013 01:48 PM, Edison Su wrote:
> 
> 
>> -Original Message-
>> From: David Ortiz [mailto:dpor...@outlook.com]
>> Sent: Friday, September 13, 2013 1:33 PM
>> To: users@cloudstack.apache.org
>> Subject: RE: Support for multiple Local Storage volumes
>>
>> That's actually how I have my primary storage setup using a gfs2 cluster.  In
>> this case I want the storage to only be local to that host though.  I have 
>> some
>> VMs running that will work better if they have exclusive access to a spindle.
>> Just wanted to make sure this feature isn't already there before I start
>> poking around to figure out how to add the ability.
> Only one local storage per host is supported out-of-box. 
> 
> In order to workaround the limitation, you can use one host one cluster, then 
> add a lot of "SharedMount" primary storages per cluster.
> As you are using local storage, you don't need live migration, thus, no need 
> to group hosts into a cluster.
> 
>> Thanks, Dave
>>
>>> From: edison...@citrix.com
>>> To: users@cloudstack.apache.org
>>> Subject: RE: Support for multiple Local Storage volumes
>>> Date: Fri, 13 Sep 2013 18:48:31 +
>>>
>>> You can always use "SharedMount" in KVM:
>>>
>>> KVM supports "Shared Mountpoint" storage. A shared mountpoint is a
>>> file system path local to each server in a given cluster. The path
>>> must be the same across all Hosts in the cluster, for example
>>> /mnt/primary1. This shared mountpoint is assumed to be a clustered
>>> filesystem such as OCFS2. In this case the CloudStack does not attempt
>>> to mount or unmount the storage as is done with NFS. The CloudStack
>>> requires that the administrator insure that the storage is available
>>>
>>> http://people.apache.org/~ke4qqq/docs2/en-
>> US/Apache_CloudStack/4.0/htm
>>> l/Admin_Guide/hypervisor-support-for-primarystorage.html
>>>
 -Original Message-
 From: David Ortiz [mailto:dpor...@outlook.com]
 Sent: Friday, September 13, 2013 5:12 AM
 To: users@cloudstack.apache.org
 Subject: Support for multiple Local Storage volumes

 Hello,
  I know as of Cloudstack 4.0.1 it was not possible to set up
 multiple local storage volumes on a cloudstack host.  Is this still
 the case?  I am looking to provide multiple drives as separate
 volumes to simulate the kind of disk passthrough features that are
>> supported by VMWare.
 Thanks, David Ortiz
>>


Re: What about adding Linux Containers to Cloudstack

2013-09-19 Thread Sebastien Goasguen

On Sep 19, 2013, at 4:02 PM, "Old, Curtis"  wrote:

> Cool, I am about to setup a new Cloudstack environment in my other lab,
> I'll look into it, Thanks!!!

I can't check the links (bad internet) but see:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/LXC+Support+in+Cloudstack

and

http://tech.gilt.com/post/41713823209/adding-lxc-support-to-cloudstack


> 
> Curtis Old 
> Neustar, Inc. / Neustarlabs / Senior Research Engineer
> 46000 Center Oak Plaza Sterling, VA 20166
> Office: +1.571.434.5384 Mobile: +1.540.532.2230 / curtis@neustar.biz
> / www.neustar.biz 
> 
> 
> 
> The information contained in this e-mail message is intended only for the
> use of the recipient(s) named above and may contain confidential and/or
> privileged information. If you are not the intended recipient you have
> received this e-mail message in error and any review, dissemination,
> distribution, or copying of this message is strictly prohibited. If you
> have received this communication in error, please notify us immediately
> and delete the original message.
> 
> 
> 
> 
> 
> On 9/19/13 3:51 PM, "Sebastien Goasguen"  wrote:
> 
>> 
>> On Sep 19, 2013, at 2:23 PM, Nux!  wrote:
>> 
>>> On 19.09.2013 14:50, Old, Curtis wrote:
 Have been looking in to containers as an alternative to KVM/Xen
 virtual machines, has anyone thought about adding support to manage
 hosts running OpenVZ or LXC via CloudStack?
 Curtis Old
>>> 
>>> +1 !
>>> 
>>> Over 60% of my VMs could easily be LXC containers and there is strong
>>> trend towards containers (Docker has just been integrated with
>>> Openshift, openstack supports has lxc & docker drivers etc).
>>> 
>> 
>> I believe it's there, if not 4.2 it's in master
>> 
>> 
>>> -- 
>>> Sent from the Delta quadrant using Borg technology!
>>> 
>>> Nux!
>>> www.nux.ro
>> 
> 



RE: Cloudstack 4.1.1 + XCP 1.6 fresh install

2013-09-19 Thread Vadim Kimlaychuk
Yes, I am sure it was there prior to adding host and it had +x bit set. I have 
also mentioned that heartbit at host has +x flag missing. So I actually copied 
vhd-util to /opt/xensource/bin/ manually and set missing +x flag to haeartbit 
manually.  After that I had no errors at management log.
Do you think I should create JIRA story at bug-tracker ?

Vadim Kimlaychuk


-Original Message-
From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of Carlos 
Reategui
Sent: Thursday, September 19, 2013 8:15 PM
To: users@cloudstack.apache.org
Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install

Are you positive you had vhd-util in /usr/share/cloudstack-common/ 
scripts/vm/hypervisor/xenserver/ prior to adding the hosts to CS?  Also was it 
chmod +x? If so, this is a bug that should be filed in Jira.  In my case I'm 
mostly sure I had it in there but not with the executable bit set so wasn't 
sure if it was user error on my part (although I guess that should be 
considered a documentation bug then).


On Wed, Sep 18, 2013 at 11:56 PM, Vadim Kimlaychuk < vadim.kimlayc...@elion.ee> 
wrote:

> Thank you all - indeed the probleem was at vhd-util missing on the Host.
> Problem solved !
>
> Vadim.
>
> -Original Message-
> From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of 
> Carlos Reategui
> Sent: Wednesday, September 18, 2013 9:05 PM
> To: users@cloudstack.apache.org
> Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install
>
> Hi Vadim,
> As Kousik mentioned, please check /opt/xensource/bin/ to see that it 
> got copied there when the hosts were added to CS (along with several 
> other CS scripts).  It should have been.  If not, that is likely the problem.
>
>
>
> On Wed, Sep 18, 2013 at 10:45 AM, Koushik Das  >wrote:
>
> > Yes. vhd-util needs to be copied in the hypervisor host under 
> > /opt/xensource/bin
> >
> > -Koushik
> >
> > On 18-Sep-2013, at 8:55 PM, Vadim Kimlaychuk 
> > 
> > wrote:
> >
> > > Do you mean I have to copy vhd-util to the server where XCP is
> > installed? What should be the right path there?
> > >
>


RE: Usage Server is running but DB is empty

2013-09-19 Thread Vadim Kimlaychuk
The same issue for me. Usage server installed without errors, I have checked 
/etc/cloudstack/usage/db.properties file and it has correct connection 
properties, but database is empty. No errors in error log either. Actually I 
have no log files under /var/log/cloudstack/usage. It is strange isn't it?

Vadim 

-Original Message-
From: Steven Liang [mailto:stevenliang2...@gmail.com] 
Sent: Thursday, September 19, 2013 5:57 PM
To: users@cloudstack.apache.org; Nikolay Kabadjov
Subject: Re: Usage Server is running but DB is empty

Hi Niki,

I have the same issue. Could you share how to solve it?
Thank you.

Steven


On Thu, Sep 19, 2013 at 8:24 AM, Nikolay Kabadjov  wrote:

> Thanks Stanislav!
> The issue is solved.
>
> It was a matter of missing DB properties configuration.
>
> Regards,
> Niki
>
>
> 
>  From: Stanislav Petrov 
> To: users@cloudstack.apache.org
> Cc: Nikolay Kabadjov 
> Sent: Thursday, September 19, 2013 2:44 PM
> Subject: Re: Usage Server is running but DB is empty
>
>
> Hi,
>
> Check your db.properties file for access user credentials. This file 
> is located at /etc/cloudstack/usage/db.properties.
>
>
> On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala < 
> harikrishna.patn...@citrix.com> wrote:
>
> > Hi,
> > Did you set the global configuration parameters related to this.
> > Link:
> >
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/A
> dmin_Guide/configure-usage-server.html
> >
> > -Harikrishna
> >
> > On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov  wrote:
> >
> > > Hello,
> > > we've built a deb package for the usage server
> > cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > > installed it and started the cloudstack-usage service.
> > > But it seems it is not working, I mean there are no logs in
> > /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> > >
> > > Any ideas, how to troubleshoot it?
> > >
> > > Thanks and best regards,
> > > Niki
> >
> >
>
>
> --
> Поздрави,
> Станислав Петров
>


Re: Volunteers to Complete the 4.2 Release Notes

2013-09-19 Thread Indra Pramana
Hi Radhika,

May I know how can I view the release notes in normal HTML format, instead
of the original XML format?

Does it specifically contain migration steps from 4.1.1 to 4.2.0?

Would like to try again to upgrade my current CloudStack 4.1.1 to 4.2.0,
provided I can get the detailed instruction on what to do. Last time I
tried to follow the existing documentation on the .tar.bz2 file (provided
by Animesh when he started the vote) and some of the steps seem to be not
applicable anymore, and I might have missed out some other steps which are
actually required.

Looking forward to your reply, thank you.

Cheers.



On Thu, Sep 19, 2013 at 2:42 PM, Radhika Puthiyetath <
radhika.puthiyet...@citrix.com> wrote:

> This has been updated. Could someone please validate the API section ?
>
> -Original Message-
> From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
> Sent: Sunday, September 15, 2013 4:16 AM
> To: 
> Cc: d...@cloudstack.apache.org; users@cloudstack.apache.org
> Subject: Re: Volunteers to Complete the 4.2 Release Notes
>
> I have added a public filters for known issues and fixed issues that we
> can put in release notes. This way the data is dynamic and up to date
>
> Thanks
> Animesh
>
> On Sep 13, 2013, at 8:53 AM, "Radhika Puthiyetath" <
> radhika.puthiyet...@citrix.com> wrote:
>
> > Who is volunteering to provide the list of Fixed issues for the RN?
> >
> > -Original Message-
> > From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
> > Sent: Wednesday, August 28, 2013 4:40 AM
> > To: d...@cloudstack.apache.org; users@cloudstack.apache.org
> > Subject: RE: Volunteers to Complete the 4.2 Release Notes
> >
> > Community help is needed to fix up the release notes, any volunteers
> >
> > Animesh
> >
> >> -Original Message-
> >> From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com]
> >> Sent: Tuesday, August 13, 2013 1:01 AM
> >> To: d...@cloudstack.apache.org; users@cloudstack.apache.org
> >> Subject: Volunteers to Complete the 4.2 Release Notes
> >>
> >> Hi,
> >>
> >> Looking for volunteers to help me with the 4.2 Release Notes.
> >>
> >> I have started filling in the new feature section, and checked in to the
> >> 4.2 branch.
> >>
> >> A defect is filed https://issues.apache.org/jira/browse/CLOUDSTACK-4245
> .
> >>
> >> Thanks for the help
> >> -Radhika
>


Re: Usage Server is running but DB is empty

2013-09-19 Thread Nikolay Kabadjov
Hello Steven, 
in our case it was a matter of missing DB credentials set in the config file: 

db.cloud.username=
db.cloud.password=


Regards,
Niki



 From: Steven Liang 
To: users@cloudstack.apache.org; Nikolay Kabadjov  
Sent: Thursday, September 19, 2013 4:51 PM
Subject: Re: Usage Server is running but DB is empty
 


Hi Niki,

I have the same issue. Could you share how to solve it? 
Thank you.

Steven




On Thu, Sep 19, 2013 at 8:24 AM, Nikolay Kabadjov  wrote:

Thanks Stanislav!
>The issue is solved. 
>
>It was a matter of missing DB properties configuration. 
>
>Regards,
>Niki
>
>
>
>
> From: Stanislav Petrov 
>To: users@cloudstack.apache.org
>Cc: Nikolay Kabadjov 
>Sent: Thursday, September 19, 2013 2:44 PM
>Subject: Re: Usage Server is running but DB is empty
>
>
>
>Hi,
>
>Check your db.properties file for access user credentials. This file is
>located at /etc/cloudstack/usage/db.properties.
>
>
>On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
>harikrishna.patn...@citrix.com> wrote:
>
>> Hi,
>> Did you set the global configuration parameters related to this.
>> Link:
>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html
>>
>> -Harikrishna
>>
>> On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov  wrote:
>>
>> > Hello,
>> > we've built a deb package for the usage server
>> cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
>> > installed it and started the cloudstack-usage service.
>> > But it seems it is not working, I mean there are no logs in
>> /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
>> >
>> > Any ideas, how to troubleshoot it?
>> >
>> > Thanks and best regards,
>> > Niki
>>
>>
>
>
>--
>Поздрави,
>Станислав Петров

Re: Usage Server is running but DB is empty

2013-09-19 Thread Nikolay Kabadjov
Hello Vadim, 
do you have the usage_job table empty as well? 

What I did in addition to setting DB properties is changing the following 
global 
usage.sanity.check.interval= 1


according to 
http://www.mail-archive.com/users@cloudstack.apache.org/msg01342.html

Best Regards,
Niki




 From: Vadim Kimlaychuk 
To: "users@cloudstack.apache.org" ; Nikolay 
Kabadjov  
Sent: Friday, September 20, 2013 8:53 AM
Subject: RE: Usage Server is running but DB is empty
 

The same issue for me. Usage server installed without errors, I have checked 
/etc/cloudstack/usage/db.properties file and it has correct connection 
properties, but database is empty. No errors in error log either. Actually I 
have no log files under /var/log/cloudstack/usage. It is strange isn't it?

Vadim 

-Original Message-
From: Steven Liang [mailto:stevenliang2...@gmail.com] 
Sent: Thursday, September 19, 2013 5:57 PM
To: users@cloudstack.apache.org; Nikolay Kabadjov
Subject: Re: Usage Server is running but DB is empty

Hi Niki,

I have the same issue. Could you share how to solve it?
Thank you.

Steven


On Thu, Sep 19, 2013 at 8:24 AM, Nikolay Kabadjov  wrote:

> Thanks Stanislav!
> The issue is solved.
>
> It was a matter of missing DB properties configuration.
>
> Regards,
> Niki
>
>
> 
>  From: Stanislav Petrov 
> To: users@cloudstack.apache.org
> Cc: Nikolay Kabadjov 
> Sent: Thursday, September 19, 2013 2:44 PM
> Subject: Re: Usage Server is running but DB is empty
>
>
> Hi,
>
> Check your db.properties file for access user credentials. This file 
> is located at /etc/cloudstack/usage/db.properties.
>
>
> On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala < 
> harikrishna.patn...@citrix.com> wrote:
>
> > Hi,
> > Did you set the global configuration parameters related to this.
> > Link:
> >
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/A
> dmin_Guide/configure-usage-server.html
> >
> > -Harikrishna
> >
> > On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov  wrote:
> >
> > > Hello,
> > > we've built a deb package for the usage server
> > cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > > installed it and started the cloudstack-usage service.
> > > But it seems it is not working, I mean there are no logs in
> > /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> > >
> > > Any ideas, how to troubleshoot it?
> > >
> > > Thanks and best regards,
> > > Niki
> >
> >
>
>
> --
> Поздрави,
> Станислав Петров
>

Console Proxy VM Unable to Be Recreated

2013-09-19 Thread Ryan Shafer
I am currently using cloudstack 4.1.1 with Vmware 5.0 Hypervisor with 96gb ram 
and primary iscsi storage of 11TB.  Secondary storage is an NFS server with 
300gb allocated.  None of these have over 50% of their resources allocated.Many 
devs were having issues accessing the consoles of instances.  After 
troubleshooting the console proxy vm the logical next step was to attempt to 
recreate the console proxy vm.  After destroying the non-working console proxy 
vm a new instance was created in cloudstack gui however the new vm was never 
created on the VMWare host.  The logs from the time cloudstack figured out the 
console proxy was gone until the new console proxy fails to start is provided 
below.  Any help pointing me in the right direction would be helpful, I need 
fresh eyes on this, thank you.



2013-09-20 00:12:18,793 INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl] 
(consoleproxy-1:null) No stopped console proxy is available, need to allocate
a new console proxy
2013-09-20 00:12:18,793 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] 
(consoleproxy-1:null) Assign console proxy from a newly started instance for r
equest from data center : 1
2013-09-20 00:12:18,843 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Found existing network configuration for offering 
[Network Offerin
g [1-Public-System-Public-Network]: Ntwk[200|Public|1]
2013-09-20 00:12:18,843 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Releasing lock for Acct[1-system]
2013-09-20 00:12:18,846 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Found existing network configuration for offering 
[Network Offering [3-Control-System-Control-Network]: Ntwk[202|Control|3]
2013-09-20 00:12:18,846 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Releasing lock for Acct[1-system]
2013-09-20 00:12:18,850 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Found existing network configuration for offering 
[Network Offering [2-Management-System-Management-Network]: 
Ntwk[201|Management|2]
2013-09-20 00:12:18,850 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Releasing lock for Acct[1-system]
2013-09-20 00:12:18,854 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(consoleproxy-1:null) Allocating entries for VM: VM[ConsoleProxy|v-1963-VM]
2013-09-20 00:12:18,857 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(consoleproxy-1:null) Allocating nics for VM[ConsoleProxy|v-1963-VM]
2013-09-20 00:12:18,858 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Allocating nic for vm VM[ConsoleProxy|v-1963-VM] in 
network Ntwk[200|Public|1] with requested profile NicProfile[0-0-null-null-null
2013-09-20 00:12:18,869 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Allocating nic for vm VM[ConsoleProxy|v-1963-VM] in 
network Ntwk[202|Control|3] with requested profile null
2013-09-20 00:12:18,877 DEBUG [agent.transport.Request] (Timer-68:null) Seq 
3-571413470: Sending  { Cmd , MgmtId: 345049484006, via: 3, Ver: v1, Flags: 
100011, 
[{"storage.DownloadProgressCommand":{"jobId":"84f2bded-54e8-4ea4-88d0-020a18c8a9f8","request":"GET_STATUS","hvm":true,"description":"Fedora
 18 
x86","checksum":"0e32be24b38cba98bd62260896963b43","maxDownloadSizeInBytes":53687091200,"id":483,"resourceType":"TEMPLATE","url":"http://download.fedoraproject.org/pub/fedora/linux/releases/18/Live/x86_64/Fedora-18-x86_64-Live-Desktop.iso","format":"ISO","accountId":361,"name":"483-361-39559626-1509-3df7-8e8c-8b5a42dbd5d2","secUrl":"nfs://10.199.0.91/storage/secondary","wait":0}}]
 }
2013-09-20 00:12:18,882 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Allocating nic for vm VM[ConsoleProxy|v-1963-VM] in 
network Ntwk[201|Management|2] with requested profile null
2013-09-20 00:12:18,888 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(consoleproxy-1:null) Allocaing disks for VM[ConsoleProxy|v-1963-VM]
2013-09-20 00:12:18,892 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(consoleproxy-1:null) Allocation completed for VM: VM[ConsoleProxy|v-1963-VM]
2013-09-20 00:12:18,894 DEBUG [cloud.alert.ConsoleProxyAlertAdapter] 
(consoleproxy-1:null) received console proxy alert
2013-09-20 00:12:18,894 DEBUG [cloud.alert.ConsoleProxyAlertAdapter] 
(consoleproxy-1:null) New console proxy created, zone: Advanced-IT, proxy: 
v-1963-VM, public IP: null, private IP: null
2013-09-20 00:12:18,901 DEBUG [cloud.capacity.CapacityManagerImpl] 
(consoleproxy-1:null) VM state transitted from :Stopped to Starting with event: 
StartRequestedvm's original host id: null new host id: null host id before 
state transition: null
2013-09-20 00:12:18,901 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(consoleproxy-1:null) Successfully transitioned to start state for 
VM[ConsoleProxy|v-1963-VM] reservation id = 73b5aebe-b72d-4f6a-9337-62c34566e9ff
2013-09-20 00:12:18,903 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(consoleproxy-1:null) Trying to deploy VM, vm has dcId: 1 and podId: null
2013-09-20 00:12:18