RE: Copying template from one zone to another…errors

2013-07-17 Thread Sanjeev Neelarapu
Hi,

Also make sure that /var/www/html/.htaccess file in SSVMs has the public ip 
addresses of each other ssvm.
This is to enable the trust between  the SSVMs.

Thanks,
sanjeev

-Original Message-
From: Jayapal Reddy Uradi [mailto:jayapalreddy.ur...@citrix.com] 
Sent: Thursday, July 18, 2013 10:41 AM
To: 
Subject: Re: Copying template from one zone to another…errors

Hi,

Please check systemvm of zone-b is reachable from the systemvm of zone-a.
Also check routes on the ssvm.

Please refer similar bug the 
https://issues.apache.org/jira/browse/CLOUDSTACK-1337 

Thanks,
Jayapal
On 18-Jul-2013, at 3:47 AM, Caleb Call  wrote:

> I'm trying to copy a template from one zone to another (let's call them 
> zone-a to zone-b).  I'm getting an error saying no route to host.  What hosts 
> would this be?  Would this be from the ssvm in zone-b to the MS?  From the 
> ssvm in zone-b to the ssvm in zone-a?
> 
> Thanks



Re: Not able to add kvm host to cluster

2013-07-17 Thread Jayapal Reddy Uradi
Hi,

Please see the templates are downloaded or not in UI templates tab.
If templates are not downloaded then in ssvm please run the following command 
for troubleshooting.
/usr/local/cloud/systemvm/ssvm-check.sh

Please refer the below for more trouble shooting.
https://cwiki.apache.org/CLOUDSTACK/ssvm-templates-secondary-storage-troubleshooting.html

Thanks,
Jayapal

On 17-Jul-2013, at 11:18 PM, Shivaprasad Katta 
mailto:shivaprasadka...@outlook.com>> wrote:

Hi, Thanks a lot for the response. The issue was due to the cloud-agent failed 
to start. The logs pointed with an error message "nics  not configured". After 
configuring the network, I was able to add the kvm host to cluster and two 
system vms are running.Now the other problem was, not able to create instance. 
I added couple of templates and iso. however those are not visible in the 
create instance wizard.Any pointers for this issue ? Will post the logs shortly.
Thanks, Shivaprasad Katta

From: jayapalreddy.ur...@citrix.com
To: users@cloudstack.apache.org
Subject: Re: Not able to add kvm host to cluster
Date: Wed, 17 Jul 2013 10:01:43 +

Hi,

Please check kvm installed correctly in your host.
lsmod | grep kvm

Also observe logs, /var/log/cloudstack/management/management-server.log and 
agent log /var/log/cloudstack/agent/agent.log for errors.

Thanks,
Jayapal

On 17-Jul-2013, at 2:53 PM, Shivaprasad Katta 
mailto:shivaprasadka...@outlook.com>>
wrote:

Hello Cloudstackers,
I am new to Cloudstack and trying to understand.I just deployed cloudstack 
4.0.2 on CentOS 6.3 x86_64. The manager installation was smooth and was trying 
to create the zone (not through the wizard). The overall process failed while 
adding the kvm host (CentOS 6.3 x86_64). Below is the exception in catalina.out 
on manger. Any pointers to move forward ?
WARN  [cloud.api.ApiDispatcher] (catalina-exec-8:) class 
com.cloud.api.ServerApiException : Unable to add the hostINFO  
[cloud.resource.ResourceManagerImpl] (catalina-exec-7:) Trying to add a new 
host at http://192.168.10.101 in data center 1WARN  
[cloud.resource.ResourceManagerImpl] (catalina-exec-7:) Unable to find the 
server resources at http://192.168.10.101WARN  [api.commands.AddHostCmd] 
(catalina-exec-7:) Exception:com.cloud.exception.DiscoveryException: Unable to 
add the hostat 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:737)
at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)   
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)at 
com.cloud.api.ApiServer.queueCommand(ApiServer.java:544)at 
com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)at 
com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312)at 
com.cloud.api.ApiServlet.doGet(ApiServlet.java:64)at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)   
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)   
 at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)   
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 
   at 
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
   at java.lang.Thread.run(Thread.java:679)WARN  [cloud.api.ApiDispatcher] 
(catalina-exec-7:) class com.cloud.api.ServerApiException : Unable to add the 
host

Thanks, Shivaprasad Katta






Re: Copying template from one zone to another…errors

2013-07-17 Thread Jayapal Reddy Uradi
Hi,

Please check systemvm of zone-b is reachable from the systemvm of zone-a.
Also check routes on the ssvm.

Please refer similar bug the 
https://issues.apache.org/jira/browse/CLOUDSTACK-1337 

Thanks,
Jayapal
On 18-Jul-2013, at 3:47 AM, Caleb Call  wrote:

> I'm trying to copy a template from one zone to another (let's call them 
> zone-a to zone-b).  I'm getting an error saying no route to host.  What hosts 
> would this be?  Would this be from the ssvm in zone-b to the MS?  From the 
> ssvm in zone-b to the ssvm in zone-a?
> 
> Thanks



RE: Generating OS Templates

2013-07-17 Thread Sanjay Tripathi
If you have VMs running with the mentioned OS types, first stop those VMs then 
go to "Storage" tab in the CS UI and select the ROOT disk of the VM for which 
you want to create the template.
There you'll get the option to  create template from that ROOT volume.

And VM should have xenserver tools installed to reflect it in the template.

--Sanjay

> -Original Message-
> From: celso.fernan...@gmail.com [mailto:celso.fernan...@gmail.com] On
> Behalf Of Celso Fernandes
> Sent: Thursday, July 18, 2013 6:21 AM
> To: users@cloudstack.apache.org
> Subject: Generating OS Templates
> 
> I know its an novice question, but I haven't found in the documentation the
> best way to get this.
> 
> I'd like to generate template for CentOS 6.4 / Debian 7.1 / Ubuntu
> 12.04 with xenserver tools installed and password enabled.
> 
> What is the best way to generate this templates? Any documentation or
> tutorial some could point would help very much.
> 
> Thank you,
> Celso Fernandes
> 
> www.zertico.com
> 
> +55 35 4105-0922
> Av. BPS, 1303 - PCE - PCTI - Sala 10


Re: Ceph RBD With Xen Server

2013-07-17 Thread Prasanna Santhanam
It was only a week ago [1] that Ceph+XenServer announced support for
Ceph as primary storage. So AFAIK, no one is working on this front. So
it's good timing along with storage changes made in cloudstack to pick
this up.

[1] http://ceph.com/community/xenserver-support-for-rbd/
On Thu, Jul 18, 2013 at 11:46:59AM +0800, Punit Dambiwal wrote:
> Hi,
> 
> As i know this question is novicebecause we already aware that
> cloudstack RBD work with KVM HV onlyi want to know is there any work
> around to use Ceph RBD with XenServer..
> 
> Thanks,
> Punit

-- 
Prasanna.,


Powered by BigRock.com



Ceph RBD With Xen Server

2013-07-17 Thread Punit Dambiwal
Hi,

As i know this question is novicebecause we already aware that
cloudstack RBD work with KVM HV onlyi want to know is there any work
around to use Ceph RBD with XenServer..

Thanks,
Punit


Re: Storage tag for ROOT volume

2013-07-17 Thread Indra Pramana
Dear all,

Managed to find the option. I need to create a new compute offering (also
under service offerings) and put the storage tags with the tag we want
(e.g. "rbd"). This causes the ROOT disk of the VM to also use the primary
storage that we want (e.g. the Ceph RBD storage disk).

Thank you.



On Thu, Jul 18, 2013 at 10:03 AM, Indra Pramana  wrote:

> Dear all,
>
> In CloudStack, I can create disk offering (under service offering) with a
> specific tag to force creation of DATADISK volume to use primary storage
> with that specific tag (e.g. "rbd").
>
> Hoe can I do to do the same for the ROOT volume?
>
> Looking forward to your reply, thank you.
>
> Cheers
>


Re: Using Vcenter to hypervisor,how to added Cloudstack4.0

2013-07-17 Thread Kirk Kosinski
Right, the "Unable to setup custom field facility" error likely
indicates a permissions issue.  In vCenter, make sure the user has full
administrator rights at the vCenter server level and below.  Having
admin rights for the datacenter or cluster level is not enough.

Best regards,
Kirk

On 07/17/2013 07:41 PM, Musayev, Ilya wrote:
> Jerry
> 
> Does user "yuntest" has sufficient privileges in VC?
> 
> I'd suggest testing this with admin or admin like user.
> 
> Regards
> ilya
> 
>> -Original Message-
>> From: Jerry Jiang [mailto:jerry.ji...@sjcloud.cn]
>> Sent: Wednesday, July 17, 2013 10:05 PM
>> To: users@cloudstack.apache.org
>> Subject: Re: Using Vcenter to hypervisor,how to added Cloudstack4.0
>>
>> Hello ahmad,
>>
>> I am working with Bin to figure out how to resolve this issue.
>>
>> I paste the key info from management-server.log here. Hope to get any
>> result.
>>
>> 2013-07-17 18:49:32,071 DEBUG
>> [network.router.VirtualNetworkApplianceManagerImpl]
>> (RouterStatusMonitor-1:null) Found 0 routers.
>> 2013-07-17 18:49:46,743 DEBUG [cloud.server.StatsCollector]
>> (StatsCollector-2:null) VmStatsCollector is running...
>> 2013-07-17 18:49:46,744 DEBUG [cloud.server.StatsCollector]
>> (StatsCollector-1:null) HostStatsCollector is running...
>> 2013-07-17 18:49:46,963 DEBUG [cloud.server.StatsCollector]
>> (StatsCollector-3:null) StorageCollector is running...
>> 2013-07-17 18:49:50,069 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null)
>> Invalid paramemter in URL found. param: username=
>> 2013-07-17 18:49:50,069 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null)
>> Invalid paramemter in URL found. param: password=
>> 2013-07-17 18:49:50,092 INFO  [cloud.resource.ResourceManagerImpl]
>> (catalina-exec-8:null) Trying to add a new host at
>> http://10.196.37.1/yuntest/cpic/10.196.28.41 in data center 1
>> 2013-07-17 18:49:50,093 INFO
>> [hypervisor.vmware.VmwareServerDiscoverer]
>> (catalina-exec-8:null) Discover host. dc: 1, pod: 1, cluster: 1, uri host:
>> 10.196.37.1
>> 2013-07-17 18:49:50,102 DEBUG [vmware.resource.VmwareContextFactory]
>> (catalina-exec-8:null) initialize VmwareContext. url:
>> https://10.196.37.1/sdk/vimService, username: yuntest, password:
>> C***
>> 2013-07-17 18:49:52,763 INFO  [vmware.mo.HypervisorHostHelper]
>> (catalina-exec-8:null) Network cloud.private.untagged.0.1-vSwitch0 is ready
>> on vSwitch vSwitch0
>> 2013-07-17 18:49:54,228 DEBUG [vmware.resource.VmwareContextFactory]
>> (catalina-exec-8:null) initialize VmwareContext. url:
>> https://10.196.37.1/sdk/vimService, username: yuntest, password:
>> C***
>> 2013-07-17 18:49:56,993 ERROR [vmware.resource.VmwareResource]
>> (catalina-exec-8:null) Unexpected Exception
>> java.lang.Exception: Unable to setup custom field facility for
>> Datastore:cloud.uuid
>>  at
>> com.cloud.hypervisor.vmware.mo.CustomFieldsManagerMO.ensureCustom
>> FieldDef(Cu
>> stomFieldsManagerMO.java:80)
>>  at
>> com.cloud.hypervisor.vmware.resource.VmwareResource.configure(Vmwar
>> eResource
>> .java:4723)
>>  at
>> com.cloud.hypervisor.vmware.VmwareServerDiscoverer.find(VmwareServe
>> rDiscover
>> er.java:225)
>>  at
>> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceMan
>> agerImpl
>> .java:687)
>>  at
>> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManager
>> Impl.jav
>> a:544)
>>  at
>> com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
>>  at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>>  at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
>>  at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422)
>>  at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
>>  at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:290)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:206)
>>  at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> alve.ja
>> va:233)
>>  at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
>> ve.ja
>> va:191)
>>  at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
>> 127
>> )
>>  at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>> 02
>> )
>>  at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>>  at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>> java
>> :109)
>>  at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
>> 98)
>>  at
>> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.j
>> ava:
>> 889)
>>  at
>> org.apache.coyote.http11.

Re: cloudstack-management service auto-start?

2013-07-17 Thread Indra Pramana
Dean,

Good day to you, and thank you for your e-mail.

I tried your suggestion, but it didn't work.

apt-get install chkconfig
chkconfig cloudstack-management on

root@cs-mgmt-01:/home/indra# chkconfig | grep cloudstack-management
cloudstack-managementon

Rebooted the management server.

After reboot, the cloudstack-management service is still not started by
default. I still need to start manually.

===
root@cs-mgmt-01:/home/indra# service cloudstack-management status
 * CloudStack-specific Tomcat servlet engine is not running.

root@cs-mgmt-01:/home/indra# service cloudstack-management start
 * Starting CloudStack-specific Tomcat servlet engine
cloudstack-management
[ OK ]

root@cs-mgmt-01:/home/indra# service cloudstack-management status
 * CloudStack-specific Tomcat servlet engine is running with pid 1751
===

Any other suggestions?

Looking forward to your reply, thank you.

Cheers.



On Wed, Jul 17, 2013 at 9:56 PM, Dean Kamali  wrote:

> Try and use chkconfig on Ubuntu
>
> apt-get install chkconfig
>
> chkconfig cloudstack-management on
>
> That should do it.
>
>
> On Wed, Jul 17, 2013 at 6:19 AM, Indra Pramana  wrote:
>
> > Dear all,
> >
> > I am running CloudStack 4.1.0 on a Ubuntu 12.04.2 server. May I know how
> > can I make the cloudstack-management service to auto-start upon
> booting-up?
> > Tried to use this command:
> >
> > sudo update-rc.d cloudstack-management defaults
> >
> > but it doesn't work. Do I need to write the upstart config script
> manually
> > and add it into /etc/init and/or etc/default? Anyone has an existing
> > upstart config script for cloudstack-management service which everyone
> can
> > use?
> >
> > Looking forward to your reply, thank you.
> >
> > Cheers.
> >
>


Re: Advanced Zone Network offering without NAT

2013-07-17 Thread Punit Dambiwal
Hi Sanjeev,

Thanks for your updates...

1. One Management Network (also a public facing network as i don't want

NAT) for the host machines and CS MGmt server and system VM's (Suppose i
have 202.0.0.0/28) :- Vlan 20 2. Guest Public :- For Vm to get the public
access. (172.235.0.0/28) Vlan :- 40

[Sanjeev]: Create a physical network with Public,Management,Guest and
Storage Traffic Types.

Cloudstack does not support tagged traffic for management network, so I
think you can't use CIDR 202.0.0.0/28 with vlan 20 for management traffic.

*Punit :- Ok..I hv changed the Management network untagged.*

For the system VMs to get public access use CIDR  202.0.0.0/28 with Vlan 20
in the Public Traffic.

*Punit :- Can i use 202.0.0.0/28 untagegd and use 172.235.0.0/28 for the
public.*

3. Guest Private :- For VM to Vm communication (10.0.1.0/23). Vlan :- 50

[Sanjeev]: Create two shared networks say N1 and N2 with CIDRs
172.235.0.0/28) Vlan :- 40 and 10.0.1.0/23). Vlan :- 50

Deploy guest vm with these two networks and choose N1 as the default
network while deploying the vm

4. Storage :- For NFS and iscsi Storage (10.10.0.0/22) Vlan :- 60

As i have created the VLAN on the host NIC,so in the cloudstack need to be
untagged..
[Sanjeev]:Create storage traffic with CIDR 202.0.0.0/28 withount vlan id.

*Punit :- But i want to use storage traffic on
10.10.0.0/22...storageshould be in private network...
*
*
*
*
*
*In Summery:-*
*
*
*1. Management Network :- 202.0.0.0/28 untagged.*
*2. Public :- 172.235.0.0/28 *
*3. Guest Public :- **172.235.0.0/28*
*4. Guest Private :- 10.0.1.0/23*
*5. Storage :- 10.10.0.0/22*
*
*
*
*


On Thu, Jul 18, 2013 at 8:09 AM, Musayev, Ilya  wrote:

> While CloudStack does not support tagged management network, I've seen a
> setup where if you define the virtual switch name and separate it with coma
> in physical network, i.e. for vmware it would look something like
> vswitch0,1922.
>
> While I have not tried it personally, another person I met at cloudstack
> conference claimed it works.
>
> I need to try this out as well, but if you do get to it, please let me
> know.
>
> > -Original Message-
> > From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com]
> > Sent: Wednesday, July 17, 2013 8:09 AM
> > To: users@cloudstack.apache.org
> > Subject: RE: Advanced Zone Network offering without NAT
> >
> > Hi,
> >
> >
> >
> > Please find the response inline.
> >
> >
> >
> > -Sanjeev
> >
> > -Original Message-
> > From: punit hongkong [mailto:hypu...@gmail.com]
> > Sent: Wednesday, July 17, 2013 4:02 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: Advanced Zone Network offering without NAT
> >
> >
> >
> > Hi Sanjeev,
> >
> >
> >
> > I want to use cloudstack with the following network offering :-
> >
> >
> >
> > 1. One Management Network (also a public facing network as i don't want
> >
> > NAT) for the host machines and CS MGmt server and system VM's (Suppose i
> > have 202.0.0.0/28) :- Vlan 20 2. Guest Public :- For Vm to get the
> public
> > access. (172.235.0.0/28) Vlan
> >
> > :- 40
> >
> > [Sanjeev]: Create a physical network with Public,Management,Guest and
> > Storage Traffic Types
> >
> > Cloudstack does not support tagged traffic for management network, so I
> > think you can't use CIDR 202.0.0.0/28 with vlan 20 for management
> traffic.
> >
> > For the system VMs to get public access  use CIDR  202.0.0.0/28 with
> Vlan 20
> > in the Public Traffic.
> >
> >
> >
> > 3. Guest Private :- For VM to Vm communication (10.0.1.0/23). Vlan :- 50
> >
> > [Sanjeev]: Create two shared networks say N1 and N2 with CIDRs
> > 172.235.0.0/28) Vlan
> >
> > :- 40 and 10.0.1.0/23). Vlan :- 50
> >
> > Deploy guest vm with these two networks and choose N1 as the default
> > network while deploying the vm
> >
> > 4. Storage :- For NFS and iscsi Storage (10.10.0.0/22) Vlan :- 60
> >
> > As i have created the VLAN on the host NIC,so in the cloudstack need to
> be
> > untagged..
> > [Sanjeev]:Create storage traffic with CIDR 202.0.0.0/28 withount vlan
> id.
> >
> >
> >
> > Please suggest me how i can achieve this through Cloudstack...
> >
> >
> >
> >
> >
> > On Wed, Jul 17, 2013 at 5:00 PM, Sanjeev Neelarapu <
> > sanjeev.neelar...@citrix.com>
> > wrote:
> >
> >
> >
> > > Hi Punit,
> >
> > >
> >
> > > In advanced zone we can create shared network offering without any NAT
> >
> > > service.
> >
> > >
> >
> > > Thanks,
> >
> > > Sanjeev
> >
> > >
> >
> > > -Original Message-
> >
> > > From: punit hongkong [mailto:hypu...@gmail.com]
> >
> > > Sent: Wednesday, July 17, 2013 12:33 PM
> >
> > > To: users@cloudstack.apache.org
> >
> > > Subject: Advanced Zone Network offering without NAT
> >
> > >
> >
> > > Hi,
> >
> > >
> >
> > > I want to deploy the cloudstack with Advanced Zone...and the network
> >
> > > offering should be without Any NAT...is it possible to create network
> >
> > > offering with any NAT for shared network.
> >
> > >
> >
> > > Th

RE: Using Vcenter to hypervisor,how to added Cloudstack4.0

2013-07-17 Thread Musayev, Ilya
Jerry

Does user "yuntest" has sufficient privileges in VC?

I'd suggest testing this with admin or admin like user.

Regards
ilya

> -Original Message-
> From: Jerry Jiang [mailto:jerry.ji...@sjcloud.cn]
> Sent: Wednesday, July 17, 2013 10:05 PM
> To: users@cloudstack.apache.org
> Subject: Re: Using Vcenter to hypervisor,how to added Cloudstack4.0
> 
> Hello ahmad,
> 
> I am working with Bin to figure out how to resolve this issue.
> 
> I paste the key info from management-server.log here. Hope to get any
> result.
> 
> 2013-07-17 18:49:32,071 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 routers.
> 2013-07-17 18:49:46,743 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-2:null) VmStatsCollector is running...
> 2013-07-17 18:49:46,744 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-1:null) HostStatsCollector is running...
> 2013-07-17 18:49:46,963 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-3:null) StorageCollector is running...
> 2013-07-17 18:49:50,069 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null)
> Invalid paramemter in URL found. param: username=
> 2013-07-17 18:49:50,069 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null)
> Invalid paramemter in URL found. param: password=
> 2013-07-17 18:49:50,092 INFO  [cloud.resource.ResourceManagerImpl]
> (catalina-exec-8:null) Trying to add a new host at
> http://10.196.37.1/yuntest/cpic/10.196.28.41 in data center 1
> 2013-07-17 18:49:50,093 INFO
> [hypervisor.vmware.VmwareServerDiscoverer]
> (catalina-exec-8:null) Discover host. dc: 1, pod: 1, cluster: 1, uri host:
> 10.196.37.1
> 2013-07-17 18:49:50,102 DEBUG [vmware.resource.VmwareContextFactory]
> (catalina-exec-8:null) initialize VmwareContext. url:
> https://10.196.37.1/sdk/vimService, username: yuntest, password:
> C***
> 2013-07-17 18:49:52,763 INFO  [vmware.mo.HypervisorHostHelper]
> (catalina-exec-8:null) Network cloud.private.untagged.0.1-vSwitch0 is ready
> on vSwitch vSwitch0
> 2013-07-17 18:49:54,228 DEBUG [vmware.resource.VmwareContextFactory]
> (catalina-exec-8:null) initialize VmwareContext. url:
> https://10.196.37.1/sdk/vimService, username: yuntest, password:
> C***
> 2013-07-17 18:49:56,993 ERROR [vmware.resource.VmwareResource]
> (catalina-exec-8:null) Unexpected Exception
> java.lang.Exception: Unable to setup custom field facility for
> Datastore:cloud.uuid
>   at
> com.cloud.hypervisor.vmware.mo.CustomFieldsManagerMO.ensureCustom
> FieldDef(Cu
> stomFieldsManagerMO.java:80)
>   at
> com.cloud.hypervisor.vmware.resource.VmwareResource.configure(Vmwar
> eResource
> .java:4723)
>   at
> com.cloud.hypervisor.vmware.VmwareServerDiscoverer.find(VmwareServe
> rDiscover
> er.java:225)
>   at
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceMan
> agerImpl
> .java:687)
>   at
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManager
> Impl.jav
> a:544)
>   at
> com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
>   at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>   at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
>   at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422)
>   at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
>   at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:290)
>   at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:206)
>   at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.ja
> va:233)
>   at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> ve.ja
> va:191)
>   at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
> 127
> )
>   at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> 02
> )
>   at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>   at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java
> :109)
>   at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 98)
>   at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.j
> ava:
> 889)
>   at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.pro
> cess(H
> ttp11NioProtocol.java:721)
>   at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.j
> ava:
> 2268)
>   at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> a:11
> 10)
>   at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:6
> 03)
>   at java.lang.Thread.run(Thread.java:722)
> 2013

Memory Modules

2013-07-17 Thread Mario Loewenhaupt
Hi guys!

I´ve testing Cloudstack for a while now and planing to go live with it for
some of our clients.

As cloudstack claims that it runs from standard hardware, my question is:

Is it necessary for a live depoyment to strictly use "Reg ECC" memory, or
can normal memory modules be used (non-ECC).

What are you experience?

Best regards

Mario


Re: Using Vcenter to hypervisor,how to added Cloudstack4.0

2013-07-17 Thread Jerry Jiang
Hello ahmad,

I am working with Bin to figure out how to resolve this issue.

I paste the key info from management-server.log here. Hope to get any
result.

2013-07-17 18:49:32,071 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers. 
2013-07-17 18:49:46,743 DEBUG [cloud.server.StatsCollector]
(StatsCollector-2:null) VmStatsCollector is running...
2013-07-17 18:49:46,744 DEBUG [cloud.server.StatsCollector]
(StatsCollector-1:null) HostStatsCollector is running...
2013-07-17 18:49:46,963 DEBUG [cloud.server.StatsCollector]
(StatsCollector-3:null) StorageCollector is running...
2013-07-17 18:49:50,069 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null)
Invalid paramemter in URL found. param: username=
2013-07-17 18:49:50,069 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null)
Invalid paramemter in URL found. param: password=
2013-07-17 18:49:50,092 INFO  [cloud.resource.ResourceManagerImpl]
(catalina-exec-8:null) Trying to add a new host at
http://10.196.37.1/yuntest/cpic/10.196.28.41 in data center 1
2013-07-17 18:49:50,093 INFO  [hypervisor.vmware.VmwareServerDiscoverer]
(catalina-exec-8:null) Discover host. dc: 1, pod: 1, cluster: 1, uri host:
10.196.37.1
2013-07-17 18:49:50,102 DEBUG [vmware.resource.VmwareContextFactory]
(catalina-exec-8:null) initialize VmwareContext. url:
https://10.196.37.1/sdk/vimService, username: yuntest, password: C***
2013-07-17 18:49:52,763 INFO  [vmware.mo.HypervisorHostHelper]
(catalina-exec-8:null) Network cloud.private.untagged.0.1-vSwitch0 is ready
on vSwitch vSwitch0
2013-07-17 18:49:54,228 DEBUG [vmware.resource.VmwareContextFactory]
(catalina-exec-8:null) initialize VmwareContext. url:
https://10.196.37.1/sdk/vimService, username: yuntest, password: C***
2013-07-17 18:49:56,993 ERROR [vmware.resource.VmwareResource]
(catalina-exec-8:null) Unexpected Exception 
java.lang.Exception: Unable to setup custom field facility for
Datastore:cloud.uuid
at
com.cloud.hypervisor.vmware.mo.CustomFieldsManagerMO.ensureCustomFieldDef(Cu
stomFieldsManagerMO.java:80)
at
com.cloud.hypervisor.vmware.resource.VmwareResource.configure(VmwareResource
.java:4723)
at
com.cloud.hypervisor.vmware.VmwareServerDiscoverer.find(VmwareServerDiscover
er.java:225)
at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl
.java:687)
at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.jav
a:544)
at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102
)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:
889)
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(H
ttp11NioProtocol.java:721)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:
2268)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:11
10)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
03)
at java.lang.Thread.run(Thread.java:722)
2013-07-17 18:49:56,996 INFO  [vmware.resource.VmwareResource]
(catalina-exec-8:null) VmwareResource network configuration info. private
vSwitch: vSwitch0, public vSwitch: vSwitch0, guest network: vSwitch0
2013-07-17 18:49:58,202 INFO  [vmware.resource.VmwareResource]
(catalina-exec-8:null) Startup report on host hardware info.
{"memoryBytes":274825125888,"cpuCount":256,"cpuSpeed":2099}
2013-07-17 18:49:58,872 INFO  [vmware.resource.VmwareResource]
(catalina-exec-8:null) Startup report on host network info.
{"hostIp":"10.196.28.41","hostNetmask":"255.255.255.0","ho

Storage tag for ROOT volume

2013-07-17 Thread Indra Pramana
Dear all,

In CloudStack, I can create disk offering (under service offering) with a
specific tag to force creation of DATADISK volume to use primary storage
with that specific tag (e.g. "rbd").

Hoe can I do to do the same for the ROOT volume?

Looking forward to your reply, thank you.

Cheers


Generating OS Templates

2013-07-17 Thread Celso Fernandes
I know its an novice question, but I haven't found in the
documentation the best way to get this.

I'd like to generate template for CentOS 6.4 / Debian 7.1 / Ubuntu
12.04 with xenserver tools installed and password enabled.

What is the best way to generate this templates? Any documentation or
tutorial some could point would help very much.

Thank you,
Celso Fernandes

www.zertico.com

+55 35 4105-0922
Av. BPS, 1303 - PCE - PCTI - Sala 10


RE: Move a vm to a different project

2013-07-17 Thread Brian Galura
Done
https://issues.apache.org/jira/browse/CLOUDSTACK-3613

From: Alena Prokharchyk
Sent: Wednesday, July 17, 2013 3:31 PM
To: users@cloudstack.apache.org; Brian Galura
Subject: Re: Move a vm to a different project

Brian, currently assignVirtualMachine API doesn't support assigning the vm to 
another project. You can file an enhancement request.

-Alena.

From: Brian Galura mailto:brian.gal...@citrix.com>>
Reply-To: "users@cloudstack.apache.org" 
mailto:users@cloudstack.apache.org>>
Date: Wednesday, July 17, 2013 2:43 PM
To: "users@cloudstack.apache.org" 
mailto:users@cloudstack.apache.org>>
Subject: Move a vm to a different project

I checked some documentation and found an API call that would let me change the 
owner of a vm but nothing about moving from one project to another.


Is this possible?



RE: Advanced Zone Network offering without NAT

2013-07-17 Thread Musayev, Ilya
While CloudStack does not support tagged management network, I've seen a setup 
where if you define the virtual switch name and separate it with coma in 
physical network, i.e. for vmware it would look something like vswitch0,1922.

While I have not tried it personally, another person I met at cloudstack 
conference claimed it works.

I need to try this out as well, but if you do get to it, please let me know.

> -Original Message-
> From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com]
> Sent: Wednesday, July 17, 2013 8:09 AM
> To: users@cloudstack.apache.org
> Subject: RE: Advanced Zone Network offering without NAT
> 
> Hi,
> 
> 
> 
> Please find the response inline.
> 
> 
> 
> -Sanjeev
> 
> -Original Message-
> From: punit hongkong [mailto:hypu...@gmail.com]
> Sent: Wednesday, July 17, 2013 4:02 PM
> To: users@cloudstack.apache.org
> Subject: Re: Advanced Zone Network offering without NAT
> 
> 
> 
> Hi Sanjeev,
> 
> 
> 
> I want to use cloudstack with the following network offering :-
> 
> 
> 
> 1. One Management Network (also a public facing network as i don't want
> 
> NAT) for the host machines and CS MGmt server and system VM's (Suppose i
> have 202.0.0.0/28) :- Vlan 20 2. Guest Public :- For Vm to get the public
> access. (172.235.0.0/28) Vlan
> 
> :- 40
> 
> [Sanjeev]: Create a physical network with Public,Management,Guest and
> Storage Traffic Types
> 
> Cloudstack does not support tagged traffic for management network, so I
> think you can't use CIDR 202.0.0.0/28 with vlan 20 for management traffic.
> 
> For the system VMs to get public access  use CIDR  202.0.0.0/28 with Vlan 20
> in the Public Traffic.
> 
> 
> 
> 3. Guest Private :- For VM to Vm communication (10.0.1.0/23). Vlan :- 50
> 
> [Sanjeev]: Create two shared networks say N1 and N2 with CIDRs
> 172.235.0.0/28) Vlan
> 
> :- 40 and 10.0.1.0/23). Vlan :- 50
> 
> Deploy guest vm with these two networks and choose N1 as the default
> network while deploying the vm
> 
> 4. Storage :- For NFS and iscsi Storage (10.10.0.0/22) Vlan :- 60
> 
> As i have created the VLAN on the host NIC,so in the cloudstack need to be
> untagged..
> [Sanjeev]:Create storage traffic with CIDR 202.0.0.0/28 withount vlan id.
> 
> 
> 
> Please suggest me how i can achieve this through Cloudstack...
> 
> 
> 
> 
> 
> On Wed, Jul 17, 2013 at 5:00 PM, Sanjeev Neelarapu <
> sanjeev.neelar...@citrix.com>
> wrote:
> 
> 
> 
> > Hi Punit,
> 
> >
> 
> > In advanced zone we can create shared network offering without any NAT
> 
> > service.
> 
> >
> 
> > Thanks,
> 
> > Sanjeev
> 
> >
> 
> > -Original Message-
> 
> > From: punit hongkong [mailto:hypu...@gmail.com]
> 
> > Sent: Wednesday, July 17, 2013 12:33 PM
> 
> > To: users@cloudstack.apache.org
> 
> > Subject: Advanced Zone Network offering without NAT
> 
> >
> 
> > Hi,
> 
> >
> 
> > I want to deploy the cloudstack with Advanced Zone...and the network
> 
> > offering should be without Any NAT...is it possible to create network
> 
> > offering with any NAT for shared network.
> 
> >
> 
> > Thanks,
> 
> > Punit Dambiwal
> 
> >



RE: Create Guest network for a user

2013-07-17 Thread Jessica Tomechak
Dean, replies inline. Let me take a crack at this, just from reading the docs, 
although I might be off base (anyone: please correct me if so). 

Maybe either our docs have the info you need...or else you have discovered a 
need for doc enhancement.
- Jessica T.

From: Dean Kamali [dean.kam...@gmail.com]
Sent: Wednesday, July 17, 2013 12:04 PM
To: users@cloudstack.apache.org
Subject: Re: Create Guest network for a user

Thank you, forgive my horrible spelling, as I have sent that email from my
phone and stupid keyboard has auto correct enabled, which apparently messed
things up.

As for the "global network" I went to service offerings and I found an
option to create a shared network as you mentioned, 


(JT) Do you mean as described here: [1]
>> "4. Click Add Network Offering.
5. In the dialog, make the following choices:
...
Guest Type. Choose whether the guest network is isolated or shared."



but I couldn't find any
option to make it public.


(JT) That might be available through some of the other choices in that same Add 
Network Offering dialog:

Supported Services. Select one or more of the possible network services. 
...

System Offering. If the service provider for any of the services selected in 
Supported Services is a virtual router, the System Offering field appears. 
Choose the system service offering that you want virtual routers to use in this 
network
For more information, see Section 8.2, “System Service Offerings”.

Section 8.2 is here: [2]
It describes creating a new system service offering. There is a checkbox there 
for Public. In System VM Type in the same dialog, I assume you'd have to pick 
Virtual Router.

As for how/whether you can create a public (aka, available in all domains) 
network if you're not using the CloudStack virtual router...I'm not sure!


(JT) Footnotes:
[1] 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html-single/Admin_Guide/index.html#creating-network-offerings
[2] 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html-single/Admin_Guide/index.html#system-service-offerings


Dean


On Wed, Jul 17, 2013 at 2:53 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Hi Dean,
>
> Answers in line
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 +442036030540>| M: +447968161581
>
> geoff.higginbot...@shapeblue.com
> |www.shapeblue.com | Twitter:@shapeblue
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
> On 17 Jul 2013, at 18:52, "Dean Kamali"  dean.kam...@gmail.com>> wrote:
>
> Hello everyone
>
> 1. Is it possible could create and assign a guest network to a specific
> user without knowing his / her password via cloudmonkey?
>
> Yes. Use the API Directly or via CloudMonkey, create a network and assign
> it to the Account.
>
> 2. Is it possible to create a global guest network, that will be available
> to all users?
>
> Yes.  Create a shared network and mark it as Public.  Be aware that by
> doing this you are effectively providing a mechanism to connect all VMs in
> your Cloud, breaking any isolation.
>
> So each new account will be able to see that network?
>
> Yes
>
> Dean
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>


Re: Move a vm to a different project

2013-07-17 Thread Alena Prokharchyk
Brian, currently assignVirtualMachine API doesn't support assigning the vm to 
another project. You can file an enhancement request.

-Alena.

From: Brian Galura mailto:brian.gal...@citrix.com>>
Reply-To: "users@cloudstack.apache.org" 
mailto:users@cloudstack.apache.org>>
Date: Wednesday, July 17, 2013 2:43 PM
To: "users@cloudstack.apache.org" 
mailto:users@cloudstack.apache.org>>
Subject: Move a vm to a different project

I checked some documentation and found an API call that would let me change the 
owner of a vm but nothing about moving from one project to another.


Is this possible?



Copying template from one zone to another…errors

2013-07-17 Thread Caleb Call
I'm trying to copy a template from one zone to another (let's call them zone-a 
to zone-b).  I'm getting an error saying no route to host.  What hosts would 
this be?  Would this be from the ssvm in zone-b to the MS?  From the ssvm in 
zone-b to the ssvm in zone-a?

Thanks

Move a vm to a different project

2013-07-17 Thread Brian Galura
I checked some documentation and found an API call that would let me change the 
owner of a vm but nothing about moving from one project to another.


Is this possible?


Re: Secondary Storage Error

2013-07-17 Thread Dean Kamali
>From my experience, I never had much success using NFSv4, I suggest you try
and disable NFSv4 and get your NFS server to use v3 only.


On Wed, Jul 17, 2013 at 4:31 PM, Celso Fernandes wrote:

> Btw, I'm using Cloudstack 4.2 SNAPSHOT build the packages today.
>
> Thank you,
> Celso Fernandes
>
> www.zertico.com
>
> +55 35 4105-0922
> Av. BPS, 1303 - PCE - PCTI - Sala 10
>
>
> On Wed, Jul 17, 2013 at 5:30 PM, Celso Fernandes 
> wrote:
> > Hi Guys,
> >
> > I'm experiencing some Secondary Storage error when creating the zone.
> >
> > My NFS is ok, checked mounting in many ways from my xenserver host:
> >
> > [root@xenserver1 ~]# mount -v -t nfs
> > 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
> > mount: trying 192.168.0.1 prog 13 vers 3 prot tcp port 2049
> > mount: trying 192.168.0.1 prog 15 vers 3 prot udp port 892
> > [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
> > [root@xenserver1 ~]# cat /tmp/secondary/textfile
> > teststring
> > [root@xenserver1 ~]# rm /tmp/secondary/textfile
> > rm: remove arquivo comum `/tmp/secondary/textfile'? y
> > [root@xenserver1 ~]# umount /tmp/secondary
> >
> > and using NFSv4
> >
> > [root@xenserver1 ~]# mount -v -t nfs4
> > 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
> > mount: pinging: prog 13 vers 4 prot tcp port 2049
> > [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
> > [root@xenserver1 ~]# cat /tmp/secondary/textfile
> > teststring
> > [root@xenserver1 ~]# rm /tmp/secondary/textfile
> > rm: remove arquivo comum `/tmp/secondary/textfile'? y
> > [root@xenserver1 ~]# umount /tmp/secondary
> >
> > filtered the exceptions from my log with:
> >
> > [root@cloudstack export]# egrep --context 3 -i "^2013-07-17
> > 17.*exception" /var/log/cloudstack/management/management-server.log
> > and putted in http://pastebin.com/p32Rgc05
> >
> > Any help is really appreciated, and if someone needs further info to
> > help I can paste more from the log on pastebin
> >
> > Thank you,
> > Celso Fernandes
> >
> > www.zertico.com
> >
> > +55 35 4105-0922
> > Av. BPS, 1303 - PCE - PCTI - Sala 10
>


Re: Secondary Storage Error

2013-07-17 Thread Celso Fernandes
Btw, I'm using Cloudstack 4.2 SNAPSHOT build the packages today.

Thank you,
Celso Fernandes

www.zertico.com

+55 35 4105-0922
Av. BPS, 1303 - PCE - PCTI - Sala 10


On Wed, Jul 17, 2013 at 5:30 PM, Celso Fernandes  wrote:
> Hi Guys,
>
> I'm experiencing some Secondary Storage error when creating the zone.
>
> My NFS is ok, checked mounting in many ways from my xenserver host:
>
> [root@xenserver1 ~]# mount -v -t nfs
> 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
> mount: trying 192.168.0.1 prog 13 vers 3 prot tcp port 2049
> mount: trying 192.168.0.1 prog 15 vers 3 prot udp port 892
> [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
> [root@xenserver1 ~]# cat /tmp/secondary/textfile
> teststring
> [root@xenserver1 ~]# rm /tmp/secondary/textfile
> rm: remove arquivo comum `/tmp/secondary/textfile'? y
> [root@xenserver1 ~]# umount /tmp/secondary
>
> and using NFSv4
>
> [root@xenserver1 ~]# mount -v -t nfs4
> 192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
> mount: pinging: prog 13 vers 4 prot tcp port 2049
> [root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
> [root@xenserver1 ~]# cat /tmp/secondary/textfile
> teststring
> [root@xenserver1 ~]# rm /tmp/secondary/textfile
> rm: remove arquivo comum `/tmp/secondary/textfile'? y
> [root@xenserver1 ~]# umount /tmp/secondary
>
> filtered the exceptions from my log with:
>
> [root@cloudstack export]# egrep --context 3 -i "^2013-07-17
> 17.*exception" /var/log/cloudstack/management/management-server.log
> and putted in http://pastebin.com/p32Rgc05
>
> Any help is really appreciated, and if someone needs further info to
> help I can paste more from the log on pastebin
>
> Thank you,
> Celso Fernandes
>
> www.zertico.com
>
> +55 35 4105-0922
> Av. BPS, 1303 - PCE - PCTI - Sala 10


Secondary Storage Error

2013-07-17 Thread Celso Fernandes
Hi Guys,

I'm experiencing some Secondary Storage error when creating the zone.

My NFS is ok, checked mounting in many ways from my xenserver host:

[root@xenserver1 ~]# mount -v -t nfs
192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
mount: trying 192.168.0.1 prog 13 vers 3 prot tcp port 2049
mount: trying 192.168.0.1 prog 15 vers 3 prot udp port 892
[root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
[root@xenserver1 ~]# cat /tmp/secondary/textfile
teststring
[root@xenserver1 ~]# rm /tmp/secondary/textfile
rm: remove arquivo comum `/tmp/secondary/textfile'? y
[root@xenserver1 ~]# umount /tmp/secondary

and using NFSv4

[root@xenserver1 ~]# mount -v -t nfs4
192.168.0.1:/export/secondary/template/tmpl/1/1 /tmp/secondary
mount: pinging: prog 13 vers 4 prot tcp port 2049
[root@xenserver1 ~]# echo "teststring" > /tmp/secondary/textfile
[root@xenserver1 ~]# cat /tmp/secondary/textfile
teststring
[root@xenserver1 ~]# rm /tmp/secondary/textfile
rm: remove arquivo comum `/tmp/secondary/textfile'? y
[root@xenserver1 ~]# umount /tmp/secondary

filtered the exceptions from my log with:

[root@cloudstack export]# egrep --context 3 -i "^2013-07-17
17.*exception" /var/log/cloudstack/management/management-server.log
and putted in http://pastebin.com/p32Rgc05

Any help is really appreciated, and if someone needs further info to
help I can paste more from the log on pastebin

Thank you,
Celso Fernandes

www.zertico.com

+55 35 4105-0922
Av. BPS, 1303 - PCE - PCTI - Sala 10


Re: NFS directories

2013-07-17 Thread Bradley Hieber
http://pastebin.com/yGMJBA8M

Current Management log


On Wed, Jul 17, 2013 at 3:21 PM, Carlos Reategui wrote:

> There may be a setting then in the nfs server that allows for that then,  I
> created 2 exports 1 for primary and 1 for secondary.  I also did that
> because I wanted separate spindles for both (i.e. separate raid 10).
>
>
> On Wed, Jul 17, 2013 at 12:11 PM, Bradley Hieber  >wrote:
>
> > You see, and that is the odd thing. The documentation lists /export only
> > and then they expect it to work. I am finding that to be the opposite.
> >
> >
> > On Wed, Jul 17, 2013 at 3:09 PM, Carlos Reategui  > >wrote:
> >
> > > I'm not an nfs expert but I believe you can only mount paths that have
> > been
> > > explicitly exported.  Your export is /export not /export/primary.
> > >
> > >
> > > On Wed, Jul 17, 2013 at 11:59 AM, Bradley Hieber  > > >wrote:
> > >
> > > > Jul 17 14:57:51 master rpc.mountd[31341]: authenticated mount request
> > > from
> > > > 192.168.2.114:840 for /export/primary (/export)
> > > > Jul 17 14:57:51 master rpc.mountd[31341]: request to export directory
> > > > /export/primary below nearest filesystem /export
> > > >
> > > >
> > > >
> > > > On Wed, Jul 17, 2013 at 2:47 PM, Bradley Hieber <
> mercsni...@gmail.com
> > > > >wrote:
> > > >
> > > > > [root@xenserver-01 ~]# showmount -e 192.168.2.123
> > > > > Export list for 192.168.2.123:
> > > > > /export *
> > > > > [root@xenserver-01 ~]# mount -t nfs 192.168.2.123:/export/primary
> > > > > /primarymount/
> > > > > mount: 192.168.2.123:/export/primary failed, reason given by
> server:
> > > > > Permission denied
> > > > > [root@xenserver-01 ~]#
> > > > >
> > > > >
> > > > >
> > > > > On Wed, Jul 17, 2013 at 2:10 PM, Bradley Hieber <
> > mercsni...@gmail.com
> > > > >wrote:
> > > > >
> > > > >> Should that also happen if I list /export/ for /export/primary and
> > > > >> /export/secondary also? Then I am confused as to why I am getting
> > NFS
> > > > >> permission denied errors then.
> > > > >>
> > > > >>
> > > > >> On Wed, Jul 17, 2013 at 2:06 PM, Dean Kamali <
> dean.kam...@gmail.com
> > > > >wrote:
> > > > >>
> > > > >>> When you list /etc/primary in /etc/exports it will export all
> > content
> > > > of
> > > > >>> that folder, so you don't have to worry about sub-folders.
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>> On Wed, Jul 17, 2013 at 2:00 PM, Bradley Hieber <
> > > mercsni...@gmail.com
> > > > >>> >wrote:
> > > > >>>
> > > > >>> > I can mount /export but it keeps telling me permission denied
> > when
> > > I
> > > > >>> try to
> > > > >>> > mount /export/primary or /export/secondary. The only way I have
> > > been
> > > > >>> able
> > > > >>> > to stop it is manually listing /export/primary and
> > > > /export/secondary. I
> > > > >>> > can't manually list every folder though. That is why it is
> having
> > > > >>> issues
> > > > >>> > mounting /export/secondary/template/templ/1/1 to
> /var/run/cloud/
> > > > >>> Thoughts?
> > > > >>> >
> > > > >>> >
> > > > >>> > On Tue, Jul 16, 2013 at 9:09 PM, Jijun 
> > wrote:
> > > > >>> >
> > > > >>> > > hi,
> > > > >>> > > so i think you can test it in your hypervisor host
> > > > >>> > >
> > > > >>> > > do it as root
> > > > >>> > >
> > > > >>> > > mount -t nfs 192.168.2.114:/export  /mnt
> > > > >>> > >
> > > > >>> > > and tell us the result.
> > > > >>> > >
> > > > >>> > >
> > > > >>> > >
> > > > >>> > > On 07/17/2013 02:02 AM, Bradley Hieber wrote:
> > > > >>> > >
> > > > >>> > >> drwxr-xr-x   4 root root  4096 Jul 16 13:15 export
> > > > >>> > >> /export
> > > > >>> > >> drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary
> > > > >>> > >> drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary
> > > > >>> > >>
> > > > >>> > >>
> > > > >>> > >>
> > > > >>> > >> On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali <
> > > > dean.kam...@gmail.com
> > > > >>> >
> > > > >>> > >> wrote:
> > > > >>> > >>
> > > > >>> > >>  what is the permissions on /export ?
> > > > >>> > >>>
> > > > >>> > >>>
> > > > >>> > >>> On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber <
> > > > >>> mercsni...@gmail.com
> > > > >>> > >>>
> > > > >>> >  wrote:
> > > > >>> >  [root@xenserver-01 /]# showmount -e 192.168.2.123
> > > > >>> >  Export list for 192.168.2.123:
> > > > >>> >  /export 192.168.2.114
> > > > >>> > 
> > > > >>> >  Restarting the service did not do anything productive. I
> > > already
> > > > >>> did
> > > > >>> > an
> > > > >>> >  exportfs -ra before.
> > > > >>> > 
> > > > >>> > 
> > > > >>> >  On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali <
> > > > >>> dean.kam...@gmail.com>
> > > > >>> >  wrote:
> > > > >>> > 
> > > > >>> >   Did you restart nfs service after modifying /etc/export ?
> > > > >>> > >
> > > > >>> > >  From your hypervisor run showmount -e IP_ADDR_OF_NFS
> > > > >>> > >
> > > > >>> > > what dose it show?
> > > > >>> > >
> > > > >>> > >
> > > > >>> > >
> > > > >>> > >
> > > > >>> > > On Tue, Ju

Re: Memory Overcommit + KVM

2013-07-17 Thread Bryan Whitehead
Jump into your mysql cloud db. Run this:
select op.id, name, total_capacity from op_host_capacity op, host h
where op.capacity_type=0 and op.host_id=h.id;
(my example output from a test cloud)
++-++
| id | name| total_capacity |
++-++
|  8 | node0.cloud |50373124096 |
| 10 | node1.cloud |50373124096 |
++-++
2 rows in set (0.00 sec)


After, just run an update to double up the capacity for each host you
want to over-commit.

Example:
update op_host_capacity set total_capacity=50373124096 where id=8;
update op_host_capacity set total_capacity=50373124096 where id=10;

Note: I've already doubled up the capacity on these boxes.

On Wed, Jul 17, 2013 at 3:32 AM, Arnaud Gaillard
 wrote:
> Currently, if you really want to overcommit RAM, there is a workaround with
> KVM, but it involves to modify the value reported by the host directly in
> the database.
>
>
>
>
>
> On Wed, Jul 17, 2013 at 12:14 PM, Tao Lin  wrote:
>
>> Hi,Andreas,
>> Memory over-committing has not been support yet.Take a look at the
>> following links:
>>
>>
>> [1] http://markmail.org/message/u6i5mdwyf42icsff
>> [2] https://cwiki.apache.org/CLOUDSTACK/cpu-and-ram-overcommit.html
>>
>>
>> 2013/7/17 Andreas Huser 
>>
>> > Hello at all,
>> >
>> > i have two KVM Hypervisors with equal RAM à 16GB
>> > In the Cloudstack zone resource tab can i read "Allocated: 15.30 GB /
>> > 31.13 GB".
>> >
>> > When i configure memory overcommit *2 and restart the Cloud Manager. I
>> see
>> > the same "Allocated: 15.30 GB / 31.13 GB"
>> > Must this not now like e.g "Allocated: 15.30 GB / 62.26GB"  to be?
>> >
>> > many thanks
>> > Regards Andreas
>> >
>> >
>> >
>> >
>> >
>> > Mit freundlichen Grüßen
>> >
>> > Andreas Huser
>> > Geschäftsführer
>> > System Engineer / Consultant
>> > (Cisco Certified Solaris, Linux)
>> >
>> > ---
>> > Zellerstraße 28 - 77654 Offenburg
>> > Tel: +49(781) 1278689 0
>> > Mobil: +49(176) 10308549
>> > ahu...@7five-edv.de
>> >
>> >
>> >
>> >
>> >
>>
>
>
>
> --
> *Arnaud Gaillard*
> CTO
> Mobile : +41 78 674 58 95
>
> 


Re: NFS directories

2013-07-17 Thread Carlos Reategui
There may be a setting then in the nfs server that allows for that then,  I
created 2 exports 1 for primary and 1 for secondary.  I also did that
because I wanted separate spindles for both (i.e. separate raid 10).


On Wed, Jul 17, 2013 at 12:11 PM, Bradley Hieber wrote:

> You see, and that is the odd thing. The documentation lists /export only
> and then they expect it to work. I am finding that to be the opposite.
>
>
> On Wed, Jul 17, 2013 at 3:09 PM, Carlos Reategui  >wrote:
>
> > I'm not an nfs expert but I believe you can only mount paths that have
> been
> > explicitly exported.  Your export is /export not /export/primary.
> >
> >
> > On Wed, Jul 17, 2013 at 11:59 AM, Bradley Hieber  > >wrote:
> >
> > > Jul 17 14:57:51 master rpc.mountd[31341]: authenticated mount request
> > from
> > > 192.168.2.114:840 for /export/primary (/export)
> > > Jul 17 14:57:51 master rpc.mountd[31341]: request to export directory
> > > /export/primary below nearest filesystem /export
> > >
> > >
> > >
> > > On Wed, Jul 17, 2013 at 2:47 PM, Bradley Hieber  > > >wrote:
> > >
> > > > [root@xenserver-01 ~]# showmount -e 192.168.2.123
> > > > Export list for 192.168.2.123:
> > > > /export *
> > > > [root@xenserver-01 ~]# mount -t nfs 192.168.2.123:/export/primary
> > > > /primarymount/
> > > > mount: 192.168.2.123:/export/primary failed, reason given by server:
> > > > Permission denied
> > > > [root@xenserver-01 ~]#
> > > >
> > > >
> > > >
> > > > On Wed, Jul 17, 2013 at 2:10 PM, Bradley Hieber <
> mercsni...@gmail.com
> > > >wrote:
> > > >
> > > >> Should that also happen if I list /export/ for /export/primary and
> > > >> /export/secondary also? Then I am confused as to why I am getting
> NFS
> > > >> permission denied errors then.
> > > >>
> > > >>
> > > >> On Wed, Jul 17, 2013 at 2:06 PM, Dean Kamali  > > >wrote:
> > > >>
> > > >>> When you list /etc/primary in /etc/exports it will export all
> content
> > > of
> > > >>> that folder, so you don't have to worry about sub-folders.
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>> On Wed, Jul 17, 2013 at 2:00 PM, Bradley Hieber <
> > mercsni...@gmail.com
> > > >>> >wrote:
> > > >>>
> > > >>> > I can mount /export but it keeps telling me permission denied
> when
> > I
> > > >>> try to
> > > >>> > mount /export/primary or /export/secondary. The only way I have
> > been
> > > >>> able
> > > >>> > to stop it is manually listing /export/primary and
> > > /export/secondary. I
> > > >>> > can't manually list every folder though. That is why it is having
> > > >>> issues
> > > >>> > mounting /export/secondary/template/templ/1/1 to /var/run/cloud/
> > > >>> Thoughts?
> > > >>> >
> > > >>> >
> > > >>> > On Tue, Jul 16, 2013 at 9:09 PM, Jijun 
> wrote:
> > > >>> >
> > > >>> > > hi,
> > > >>> > > so i think you can test it in your hypervisor host
> > > >>> > >
> > > >>> > > do it as root
> > > >>> > >
> > > >>> > > mount -t nfs 192.168.2.114:/export  /mnt
> > > >>> > >
> > > >>> > > and tell us the result.
> > > >>> > >
> > > >>> > >
> > > >>> > >
> > > >>> > > On 07/17/2013 02:02 AM, Bradley Hieber wrote:
> > > >>> > >
> > > >>> > >> drwxr-xr-x   4 root root  4096 Jul 16 13:15 export
> > > >>> > >> /export
> > > >>> > >> drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary
> > > >>> > >> drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary
> > > >>> > >>
> > > >>> > >>
> > > >>> > >>
> > > >>> > >> On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali <
> > > dean.kam...@gmail.com
> > > >>> >
> > > >>> > >> wrote:
> > > >>> > >>
> > > >>> > >>  what is the permissions on /export ?
> > > >>> > >>>
> > > >>> > >>>
> > > >>> > >>> On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber <
> > > >>> mercsni...@gmail.com
> > > >>> > >>>
> > > >>> >  wrote:
> > > >>> >  [root@xenserver-01 /]# showmount -e 192.168.2.123
> > > >>> >  Export list for 192.168.2.123:
> > > >>> >  /export 192.168.2.114
> > > >>> > 
> > > >>> >  Restarting the service did not do anything productive. I
> > already
> > > >>> did
> > > >>> > an
> > > >>> >  exportfs -ra before.
> > > >>> > 
> > > >>> > 
> > > >>> >  On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali <
> > > >>> dean.kam...@gmail.com>
> > > >>> >  wrote:
> > > >>> > 
> > > >>> >   Did you restart nfs service after modifying /etc/export ?
> > > >>> > >
> > > >>> > >  From your hypervisor run showmount -e IP_ADDR_OF_NFS
> > > >>> > >
> > > >>> > > what dose it show?
> > > >>> > >
> > > >>> > >
> > > >>> > >
> > > >>> > >
> > > >>> > > On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber <
> > > >>> > mercsni...@gmail.com
> > > >>> > >
> > > >>> > >> wrote:
> > > >>> > >> Hello community,
> > > >>> > >>
> > > >>> > >> The installation documentation for CS 4.1 says to use
> > /export
> > > >>> > >> *(rw,async,no_root_squash)  for my options. I am having
> > > >>> difficulties
> > > >>> > >> mounting the /export/primary folder on my hypervisor as a
> > > test.
> > > >>> > >>

Re: NFS directories

2013-07-17 Thread Bradley Hieber
You see, and that is the odd thing. The documentation lists /export only
and then they expect it to work. I am finding that to be the opposite.


On Wed, Jul 17, 2013 at 3:09 PM, Carlos Reategui wrote:

> I'm not an nfs expert but I believe you can only mount paths that have been
> explicitly exported.  Your export is /export not /export/primary.
>
>
> On Wed, Jul 17, 2013 at 11:59 AM, Bradley Hieber  >wrote:
>
> > Jul 17 14:57:51 master rpc.mountd[31341]: authenticated mount request
> from
> > 192.168.2.114:840 for /export/primary (/export)
> > Jul 17 14:57:51 master rpc.mountd[31341]: request to export directory
> > /export/primary below nearest filesystem /export
> >
> >
> >
> > On Wed, Jul 17, 2013 at 2:47 PM, Bradley Hieber  > >wrote:
> >
> > > [root@xenserver-01 ~]# showmount -e 192.168.2.123
> > > Export list for 192.168.2.123:
> > > /export *
> > > [root@xenserver-01 ~]# mount -t nfs 192.168.2.123:/export/primary
> > > /primarymount/
> > > mount: 192.168.2.123:/export/primary failed, reason given by server:
> > > Permission denied
> > > [root@xenserver-01 ~]#
> > >
> > >
> > >
> > > On Wed, Jul 17, 2013 at 2:10 PM, Bradley Hieber  > >wrote:
> > >
> > >> Should that also happen if I list /export/ for /export/primary and
> > >> /export/secondary also? Then I am confused as to why I am getting NFS
> > >> permission denied errors then.
> > >>
> > >>
> > >> On Wed, Jul 17, 2013 at 2:06 PM, Dean Kamali  > >wrote:
> > >>
> > >>> When you list /etc/primary in /etc/exports it will export all content
> > of
> > >>> that folder, so you don't have to worry about sub-folders.
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> On Wed, Jul 17, 2013 at 2:00 PM, Bradley Hieber <
> mercsni...@gmail.com
> > >>> >wrote:
> > >>>
> > >>> > I can mount /export but it keeps telling me permission denied when
> I
> > >>> try to
> > >>> > mount /export/primary or /export/secondary. The only way I have
> been
> > >>> able
> > >>> > to stop it is manually listing /export/primary and
> > /export/secondary. I
> > >>> > can't manually list every folder though. That is why it is having
> > >>> issues
> > >>> > mounting /export/secondary/template/templ/1/1 to /var/run/cloud/
> > >>> Thoughts?
> > >>> >
> > >>> >
> > >>> > On Tue, Jul 16, 2013 at 9:09 PM, Jijun  wrote:
> > >>> >
> > >>> > > hi,
> > >>> > > so i think you can test it in your hypervisor host
> > >>> > >
> > >>> > > do it as root
> > >>> > >
> > >>> > > mount -t nfs 192.168.2.114:/export  /mnt
> > >>> > >
> > >>> > > and tell us the result.
> > >>> > >
> > >>> > >
> > >>> > >
> > >>> > > On 07/17/2013 02:02 AM, Bradley Hieber wrote:
> > >>> > >
> > >>> > >> drwxr-xr-x   4 root root  4096 Jul 16 13:15 export
> > >>> > >> /export
> > >>> > >> drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary
> > >>> > >> drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary
> > >>> > >>
> > >>> > >>
> > >>> > >>
> > >>> > >> On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali <
> > dean.kam...@gmail.com
> > >>> >
> > >>> > >> wrote:
> > >>> > >>
> > >>> > >>  what is the permissions on /export ?
> > >>> > >>>
> > >>> > >>>
> > >>> > >>> On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber <
> > >>> mercsni...@gmail.com
> > >>> > >>>
> > >>> >  wrote:
> > >>> >  [root@xenserver-01 /]# showmount -e 192.168.2.123
> > >>> >  Export list for 192.168.2.123:
> > >>> >  /export 192.168.2.114
> > >>> > 
> > >>> >  Restarting the service did not do anything productive. I
> already
> > >>> did
> > >>> > an
> > >>> >  exportfs -ra before.
> > >>> > 
> > >>> > 
> > >>> >  On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali <
> > >>> dean.kam...@gmail.com>
> > >>> >  wrote:
> > >>> > 
> > >>> >   Did you restart nfs service after modifying /etc/export ?
> > >>> > >
> > >>> > >  From your hypervisor run showmount -e IP_ADDR_OF_NFS
> > >>> > >
> > >>> > > what dose it show?
> > >>> > >
> > >>> > >
> > >>> > >
> > >>> > >
> > >>> > > On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber <
> > >>> > mercsni...@gmail.com
> > >>> > >
> > >>> > >> wrote:
> > >>> > >> Hello community,
> > >>> > >>
> > >>> > >> The installation documentation for CS 4.1 says to use
> /export
> > >>> > >> *(rw,async,no_root_squash)  for my options. I am having
> > >>> difficulties
> > >>> > >> mounting the /export/primary folder on my hypervisor as a
> > test.
> > >>> > >>
> > >>> > > Syslog
> > >>> > >>>
> > >>> >  is
> > >>> > 
> > >>> > > reporting "permisison denied" on the hypervisor. The
> management
> > >>> > >>
> > >>> > > server
> > >>> > >>>
> > >>> >  is
> > >>> > 
> > >>> > > Ubuntu 12.04.02 and the hard drives are attached and mounted.
> > Any
> > >>> > >> assistance?
> > >>> > >>
> > >>> > >> --
> > >>> > >> Brad
> > >>> > >>
> > >>> > >>
> > >>> > 
> > >>> >  --
> > >>> >  Brad
> > >>> > 
> > >>> > 
> > >>> > >>
> > >>> > >>
> > >>> > >
> > >>> > > --
> > >

Re: NFS directories

2013-07-17 Thread Carlos Reategui
I'm not an nfs expert but I believe you can only mount paths that have been
explicitly exported.  Your export is /export not /export/primary.


On Wed, Jul 17, 2013 at 11:59 AM, Bradley Hieber wrote:

> Jul 17 14:57:51 master rpc.mountd[31341]: authenticated mount request from
> 192.168.2.114:840 for /export/primary (/export)
> Jul 17 14:57:51 master rpc.mountd[31341]: request to export directory
> /export/primary below nearest filesystem /export
>
>
>
> On Wed, Jul 17, 2013 at 2:47 PM, Bradley Hieber  >wrote:
>
> > [root@xenserver-01 ~]# showmount -e 192.168.2.123
> > Export list for 192.168.2.123:
> > /export *
> > [root@xenserver-01 ~]# mount -t nfs 192.168.2.123:/export/primary
> > /primarymount/
> > mount: 192.168.2.123:/export/primary failed, reason given by server:
> > Permission denied
> > [root@xenserver-01 ~]#
> >
> >
> >
> > On Wed, Jul 17, 2013 at 2:10 PM, Bradley Hieber  >wrote:
> >
> >> Should that also happen if I list /export/ for /export/primary and
> >> /export/secondary also? Then I am confused as to why I am getting NFS
> >> permission denied errors then.
> >>
> >>
> >> On Wed, Jul 17, 2013 at 2:06 PM, Dean Kamali  >wrote:
> >>
> >>> When you list /etc/primary in /etc/exports it will export all content
> of
> >>> that folder, so you don't have to worry about sub-folders.
> >>>
> >>>
> >>>
> >>>
> >>> On Wed, Jul 17, 2013 at 2:00 PM, Bradley Hieber  >>> >wrote:
> >>>
> >>> > I can mount /export but it keeps telling me permission denied when I
> >>> try to
> >>> > mount /export/primary or /export/secondary. The only way I have been
> >>> able
> >>> > to stop it is manually listing /export/primary and
> /export/secondary. I
> >>> > can't manually list every folder though. That is why it is having
> >>> issues
> >>> > mounting /export/secondary/template/templ/1/1 to /var/run/cloud/
> >>> Thoughts?
> >>> >
> >>> >
> >>> > On Tue, Jul 16, 2013 at 9:09 PM, Jijun  wrote:
> >>> >
> >>> > > hi,
> >>> > > so i think you can test it in your hypervisor host
> >>> > >
> >>> > > do it as root
> >>> > >
> >>> > > mount -t nfs 192.168.2.114:/export  /mnt
> >>> > >
> >>> > > and tell us the result.
> >>> > >
> >>> > >
> >>> > >
> >>> > > On 07/17/2013 02:02 AM, Bradley Hieber wrote:
> >>> > >
> >>> > >> drwxr-xr-x   4 root root  4096 Jul 16 13:15 export
> >>> > >> /export
> >>> > >> drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary
> >>> > >> drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary
> >>> > >>
> >>> > >>
> >>> > >>
> >>> > >> On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali <
> dean.kam...@gmail.com
> >>> >
> >>> > >> wrote:
> >>> > >>
> >>> > >>  what is the permissions on /export ?
> >>> > >>>
> >>> > >>>
> >>> > >>> On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber <
> >>> mercsni...@gmail.com
> >>> > >>>
> >>> >  wrote:
> >>> >  [root@xenserver-01 /]# showmount -e 192.168.2.123
> >>> >  Export list for 192.168.2.123:
> >>> >  /export 192.168.2.114
> >>> > 
> >>> >  Restarting the service did not do anything productive. I already
> >>> did
> >>> > an
> >>> >  exportfs -ra before.
> >>> > 
> >>> > 
> >>> >  On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali <
> >>> dean.kam...@gmail.com>
> >>> >  wrote:
> >>> > 
> >>> >   Did you restart nfs service after modifying /etc/export ?
> >>> > >
> >>> > >  From your hypervisor run showmount -e IP_ADDR_OF_NFS
> >>> > >
> >>> > > what dose it show?
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> >>> > > On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber <
> >>> > mercsni...@gmail.com
> >>> > >
> >>> > >> wrote:
> >>> > >> Hello community,
> >>> > >>
> >>> > >> The installation documentation for CS 4.1 says to use /export
> >>> > >> *(rw,async,no_root_squash)  for my options. I am having
> >>> difficulties
> >>> > >> mounting the /export/primary folder on my hypervisor as a
> test.
> >>> > >>
> >>> > > Syslog
> >>> > >>>
> >>> >  is
> >>> > 
> >>> > > reporting "permisison denied" on the hypervisor. The management
> >>> > >>
> >>> > > server
> >>> > >>>
> >>> >  is
> >>> > 
> >>> > > Ubuntu 12.04.02 and the hard drives are attached and mounted.
> Any
> >>> > >> assistance?
> >>> > >>
> >>> > >> --
> >>> > >> Brad
> >>> > >>
> >>> > >>
> >>> > 
> >>> >  --
> >>> >  Brad
> >>> > 
> >>> > 
> >>> > >>
> >>> > >>
> >>> > >
> >>> > > --
> >>> > > Thanks,
> >>> > > Jijun
> >>> > >
> >>> > >
> >>> >
> >>> >
> >>> > --
> >>> > Brad
> >>> >
> >>>
> >>
> >>
> >>
> >> --
> >> Brad
> >>
> >
> >
> >
> > --
> > Brad
> >
>
>
>
> --
> Brad
>


Re: NFS directories

2013-07-17 Thread Bradley Hieber
[root@xenserver-01 ~]# mount -t nfs -v 192.168.2.123:/export/primary
/primarymount/
mount: trying 192.168.2.123 prog 13 vers 3 prot tcp port 2049
mount: trying 192.168.2.123 prog 15 vers 3 prot udp port 892
mount: 192.168.2.123:/export/primary failed, reason given by server:
Permission denied



On Wed, Jul 17, 2013 at 2:59 PM, Bradley Hieber wrote:

> Jul 17 14:57:51 master rpc.mountd[31341]: authenticated mount request from
> 192.168.2.114:840 for /export/primary (/export)
> Jul 17 14:57:51 master rpc.mountd[31341]: request to export directory
> /export/primary below nearest filesystem /export
>
>
>
> On Wed, Jul 17, 2013 at 2:47 PM, Bradley Hieber wrote:
>
>> [root@xenserver-01 ~]# showmount -e 192.168.2.123
>> Export list for 192.168.2.123:
>> /export *
>> [root@xenserver-01 ~]# mount -t nfs 192.168.2.123:/export/primary
>> /primarymount/
>> mount: 192.168.2.123:/export/primary failed, reason given by server:
>> Permission denied
>> [root@xenserver-01 ~]#
>>
>>
>>
>> On Wed, Jul 17, 2013 at 2:10 PM, Bradley Hieber wrote:
>>
>>> Should that also happen if I list /export/ for /export/primary and
>>> /export/secondary also? Then I am confused as to why I am getting NFS
>>> permission denied errors then.
>>>
>>>
>>> On Wed, Jul 17, 2013 at 2:06 PM, Dean Kamali wrote:
>>>
 When you list /etc/primary in /etc/exports it will export all content of
 that folder, so you don't have to worry about sub-folders.




 On Wed, Jul 17, 2013 at 2:00 PM, Bradley Hieber >>> >wrote:

 > I can mount /export but it keeps telling me permission denied when I
 try to
 > mount /export/primary or /export/secondary. The only way I have been
 able
 > to stop it is manually listing /export/primary and /export/secondary.
 I
 > can't manually list every folder though. That is why it is having
 issues
 > mounting /export/secondary/template/templ/1/1 to /var/run/cloud/
 Thoughts?
 >
 >
 > On Tue, Jul 16, 2013 at 9:09 PM, Jijun  wrote:
 >
 > > hi,
 > > so i think you can test it in your hypervisor host
 > >
 > > do it as root
 > >
 > > mount -t nfs 192.168.2.114:/export  /mnt
 > >
 > > and tell us the result.
 > >
 > >
 > >
 > > On 07/17/2013 02:02 AM, Bradley Hieber wrote:
 > >
 > >> drwxr-xr-x   4 root root  4096 Jul 16 13:15 export
 > >> /export
 > >> drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary
 > >> drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary
 > >>
 > >>
 > >>
 > >> On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali <
 dean.kam...@gmail.com>
 > >> wrote:
 > >>
 > >>  what is the permissions on /export ?
 > >>>
 > >>>
 > >>> On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber <
 mercsni...@gmail.com
 > >>>
 >  wrote:
 >  [root@xenserver-01 /]# showmount -e 192.168.2.123
 >  Export list for 192.168.2.123:
 >  /export 192.168.2.114
 > 
 >  Restarting the service did not do anything productive. I already
 did
 > an
 >  exportfs -ra before.
 > 
 > 
 >  On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali <
 dean.kam...@gmail.com>
 >  wrote:
 > 
 >   Did you restart nfs service after modifying /etc/export ?
 > >
 > >  From your hypervisor run showmount -e IP_ADDR_OF_NFS
 > >
 > > what dose it show?
 > >
 > >
 > >
 > >
 > > On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber <
 > mercsni...@gmail.com
 > >
 > >> wrote:
 > >> Hello community,
 > >>
 > >> The installation documentation for CS 4.1 says to use /export
 > >> *(rw,async,no_root_squash)  for my options. I am having
 difficulties
 > >> mounting the /export/primary folder on my hypervisor as a test.
 > >>
 > > Syslog
 > >>>
 >  is
 > 
 > > reporting "permisison denied" on the hypervisor. The management
 > >>
 > > server
 > >>>
 >  is
 > 
 > > Ubuntu 12.04.02 and the hard drives are attached and mounted.
 Any
 > >> assistance?
 > >>
 > >> --
 > >> Brad
 > >>
 > >>
 > 
 >  --
 >  Brad
 > 
 > 
 > >>
 > >>
 > >
 > > --
 > > Thanks,
 > > Jijun
 > >
 > >
 >
 >
 > --
 > Brad
 >

>>>
>>>
>>>
>>> --
>>> Brad
>>>
>>
>>
>>
>> --
>> Brad
>>
>
>
>
> --
> Brad
>



-- 
Brad


Re: Create Guest network for a user

2013-07-17 Thread Dean Kamali
Thank you, forgive my horrible spelling, as I have sent that email from my
phone and stupid keyboard has auto correct enabled, which apparently messed
things up.

As for the "global network" I went to service offerings and I found an
option to create a shared network as you mentioned, but I couldn't find any
option to make it public.

Dean


On Wed, Jul 17, 2013 at 2:53 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Hi Dean,
>
> Answers in line
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 +442036030540>| M: +447968161581
>
> geoff.higginbot...@shapeblue.com
> |www.shapeblue.com | Twitter:@shapeblue
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
> On 17 Jul 2013, at 18:52, "Dean Kamali"  dean.kam...@gmail.com>> wrote:
>
> Hello everyone
>
> 1. Is it possible could create and assign a guest network to a specific
> user without knowing his / her password via cloudmonkey?
>
> Yes. Use the API Directly or via CloudMonkey, create a network and assign
> it to the Account.
>
> 2. Is it possible to create a global guest network, that will be available
> to all users?
>
> Yes.  Create a shared network and mark it as Public.  Be aware that by
> doing this you are effectively providing a mechanism to connect all VMs in
> your Cloud, breaking any isolation.
>
> So each new account will be able to see that network?
>
> Yes
>
> Dean
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>


Re: NFS directories

2013-07-17 Thread Bradley Hieber
Jul 17 14:57:51 master rpc.mountd[31341]: authenticated mount request from
192.168.2.114:840 for /export/primary (/export)
Jul 17 14:57:51 master rpc.mountd[31341]: request to export directory
/export/primary below nearest filesystem /export



On Wed, Jul 17, 2013 at 2:47 PM, Bradley Hieber wrote:

> [root@xenserver-01 ~]# showmount -e 192.168.2.123
> Export list for 192.168.2.123:
> /export *
> [root@xenserver-01 ~]# mount -t nfs 192.168.2.123:/export/primary
> /primarymount/
> mount: 192.168.2.123:/export/primary failed, reason given by server:
> Permission denied
> [root@xenserver-01 ~]#
>
>
>
> On Wed, Jul 17, 2013 at 2:10 PM, Bradley Hieber wrote:
>
>> Should that also happen if I list /export/ for /export/primary and
>> /export/secondary also? Then I am confused as to why I am getting NFS
>> permission denied errors then.
>>
>>
>> On Wed, Jul 17, 2013 at 2:06 PM, Dean Kamali wrote:
>>
>>> When you list /etc/primary in /etc/exports it will export all content of
>>> that folder, so you don't have to worry about sub-folders.
>>>
>>>
>>>
>>>
>>> On Wed, Jul 17, 2013 at 2:00 PM, Bradley Hieber >> >wrote:
>>>
>>> > I can mount /export but it keeps telling me permission denied when I
>>> try to
>>> > mount /export/primary or /export/secondary. The only way I have been
>>> able
>>> > to stop it is manually listing /export/primary and /export/secondary. I
>>> > can't manually list every folder though. That is why it is having
>>> issues
>>> > mounting /export/secondary/template/templ/1/1 to /var/run/cloud/
>>> Thoughts?
>>> >
>>> >
>>> > On Tue, Jul 16, 2013 at 9:09 PM, Jijun  wrote:
>>> >
>>> > > hi,
>>> > > so i think you can test it in your hypervisor host
>>> > >
>>> > > do it as root
>>> > >
>>> > > mount -t nfs 192.168.2.114:/export  /mnt
>>> > >
>>> > > and tell us the result.
>>> > >
>>> > >
>>> > >
>>> > > On 07/17/2013 02:02 AM, Bradley Hieber wrote:
>>> > >
>>> > >> drwxr-xr-x   4 root root  4096 Jul 16 13:15 export
>>> > >> /export
>>> > >> drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary
>>> > >> drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary
>>> > >>
>>> > >>
>>> > >>
>>> > >> On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali >> >
>>> > >> wrote:
>>> > >>
>>> > >>  what is the permissions on /export ?
>>> > >>>
>>> > >>>
>>> > >>> On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber <
>>> mercsni...@gmail.com
>>> > >>>
>>> >  wrote:
>>> >  [root@xenserver-01 /]# showmount -e 192.168.2.123
>>> >  Export list for 192.168.2.123:
>>> >  /export 192.168.2.114
>>> > 
>>> >  Restarting the service did not do anything productive. I already
>>> did
>>> > an
>>> >  exportfs -ra before.
>>> > 
>>> > 
>>> >  On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali <
>>> dean.kam...@gmail.com>
>>> >  wrote:
>>> > 
>>> >   Did you restart nfs service after modifying /etc/export ?
>>> > >
>>> > >  From your hypervisor run showmount -e IP_ADDR_OF_NFS
>>> > >
>>> > > what dose it show?
>>> > >
>>> > >
>>> > >
>>> > >
>>> > > On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber <
>>> > mercsni...@gmail.com
>>> > >
>>> > >> wrote:
>>> > >> Hello community,
>>> > >>
>>> > >> The installation documentation for CS 4.1 says to use /export
>>> > >> *(rw,async,no_root_squash)  for my options. I am having
>>> difficulties
>>> > >> mounting the /export/primary folder on my hypervisor as a test.
>>> > >>
>>> > > Syslog
>>> > >>>
>>> >  is
>>> > 
>>> > > reporting "permisison denied" on the hypervisor. The management
>>> > >>
>>> > > server
>>> > >>>
>>> >  is
>>> > 
>>> > > Ubuntu 12.04.02 and the hard drives are attached and mounted. Any
>>> > >> assistance?
>>> > >>
>>> > >> --
>>> > >> Brad
>>> > >>
>>> > >>
>>> > 
>>> >  --
>>> >  Brad
>>> > 
>>> > 
>>> > >>
>>> > >>
>>> > >
>>> > > --
>>> > > Thanks,
>>> > > Jijun
>>> > >
>>> > >
>>> >
>>> >
>>> > --
>>> > Brad
>>> >
>>>
>>
>>
>>
>> --
>> Brad
>>
>
>
>
> --
> Brad
>



-- 
Brad


RE: Not able to create instance

2013-07-17 Thread Shivaprasad Katta
Dean, Thanks a lot for the quick response. It is hosted locally. The manager 
and the database are on the same host.
Thanks, Shivaprasad Katta

> From: dean.kam...@gmail.com
> Date: Wed, 17 Jul 2013 14:56:44 -0400
> Subject: Re: Not able to create instance
> To: users@cloudstack.apache.org
> 
> I checked your logs, there seems to be an issue connecting to the database,
> is your database hosted locally or on a remote location?
> 
> 
> On Wed, Jul 17, 2013 at 2:53 PM, Shivaprasad Katta <
> shivaprasadka...@outlook.com> wrote:
> 
> > Hi Cloudstackers,
> >
> > I just installed cs 4.0.2 on Cent OS 6.3 x86_64 and added one kvm host
> > (cent os 6.3 x86_64).  The system vms are running. However, I could not
> > create any instances. During the instance creation, in the wizard, no
> > template or iso are listed. I have uploaded couple of templates and iso to
> > the manager. The upload process was quick (less than a minute). However,
> > these uploaded images are not visible in the instance creation wizard. 
> > Attached
> > the logs from the manager.
> >
> > Any pointers to move forward ? or what could be reason for this wired
> > behaviour ?
> >
> >
> > Thanks, Shivaprasad Katta
> >
  

Re: Not able to create instance

2013-07-17 Thread Dean Kamali
I checked your logs, there seems to be an issue connecting to the database,
is your database hosted locally or on a remote location?


On Wed, Jul 17, 2013 at 2:53 PM, Shivaprasad Katta <
shivaprasadka...@outlook.com> wrote:

> Hi Cloudstackers,
>
> I just installed cs 4.0.2 on Cent OS 6.3 x86_64 and added one kvm host
> (cent os 6.3 x86_64).  The system vms are running. However, I could not
> create any instances. During the instance creation, in the wizard, no
> template or iso are listed. I have uploaded couple of templates and iso to
> the manager. The upload process was quick (less than a minute). However,
> these uploaded images are not visible in the instance creation wizard. 
> Attached
> the logs from the manager.
>
> Any pointers to move forward ? or what could be reason for this wired
> behaviour ?
>
>
> Thanks, Shivaprasad Katta
>


Re: Create Guest network for a user

2013-07-17 Thread Geoff Higginbottom
Hi Dean,

Answers in line

Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542 | S: +44 20 3603 
0540| M: +447968161581

geoff.higginbot...@shapeblue.com 
|www.shapeblue.com | Twitter:@shapeblue

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS


On 17 Jul 2013, at 18:52, "Dean Kamali" 
mailto:dean.kam...@gmail.com>> wrote:

Hello everyone

1. Is it possible could create and assign a guest network to a specific
user without knowing his / her password via cloudmonkey?

Yes. Use the API Directly or via CloudMonkey, create a network and assign it to 
the Account.

2. Is it possible to create a global guest network, that will be available
to all users?

Yes.  Create a shared network and mark it as Public.  Be aware that by doing 
this you are effectively providing a mechanism to connect all VMs in your 
Cloud, breaking any isolation.

So each new account will be able to see that network?

Yes

Dean
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: NFS directories

2013-07-17 Thread Bradley Hieber
[root@xenserver-01 ~]# showmount -e 192.168.2.123
Export list for 192.168.2.123:
/export *
[root@xenserver-01 ~]# mount -t nfs 192.168.2.123:/export/primary
/primarymount/
mount: 192.168.2.123:/export/primary failed, reason given by server:
Permission denied
[root@xenserver-01 ~]#



On Wed, Jul 17, 2013 at 2:10 PM, Bradley Hieber wrote:

> Should that also happen if I list /export/ for /export/primary and
> /export/secondary also? Then I am confused as to why I am getting NFS
> permission denied errors then.
>
>
> On Wed, Jul 17, 2013 at 2:06 PM, Dean Kamali wrote:
>
>> When you list /etc/primary in /etc/exports it will export all content of
>> that folder, so you don't have to worry about sub-folders.
>>
>>
>>
>>
>> On Wed, Jul 17, 2013 at 2:00 PM, Bradley Hieber > >wrote:
>>
>> > I can mount /export but it keeps telling me permission denied when I
>> try to
>> > mount /export/primary or /export/secondary. The only way I have been
>> able
>> > to stop it is manually listing /export/primary and /export/secondary. I
>> > can't manually list every folder though. That is why it is having issues
>> > mounting /export/secondary/template/templ/1/1 to /var/run/cloud/
>> Thoughts?
>> >
>> >
>> > On Tue, Jul 16, 2013 at 9:09 PM, Jijun  wrote:
>> >
>> > > hi,
>> > > so i think you can test it in your hypervisor host
>> > >
>> > > do it as root
>> > >
>> > > mount -t nfs 192.168.2.114:/export  /mnt
>> > >
>> > > and tell us the result.
>> > >
>> > >
>> > >
>> > > On 07/17/2013 02:02 AM, Bradley Hieber wrote:
>> > >
>> > >> drwxr-xr-x   4 root root  4096 Jul 16 13:15 export
>> > >> /export
>> > >> drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary
>> > >> drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary
>> > >>
>> > >>
>> > >>
>> > >> On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali 
>> > >> wrote:
>> > >>
>> > >>  what is the permissions on /export ?
>> > >>>
>> > >>>
>> > >>> On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber <
>> mercsni...@gmail.com
>> > >>>
>> >  wrote:
>> >  [root@xenserver-01 /]# showmount -e 192.168.2.123
>> >  Export list for 192.168.2.123:
>> >  /export 192.168.2.114
>> > 
>> >  Restarting the service did not do anything productive. I already
>> did
>> > an
>> >  exportfs -ra before.
>> > 
>> > 
>> >  On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali <
>> dean.kam...@gmail.com>
>> >  wrote:
>> > 
>> >   Did you restart nfs service after modifying /etc/export ?
>> > >
>> > >  From your hypervisor run showmount -e IP_ADDR_OF_NFS
>> > >
>> > > what dose it show?
>> > >
>> > >
>> > >
>> > >
>> > > On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber <
>> > mercsni...@gmail.com
>> > >
>> > >> wrote:
>> > >> Hello community,
>> > >>
>> > >> The installation documentation for CS 4.1 says to use /export
>> > >> *(rw,async,no_root_squash)  for my options. I am having
>> difficulties
>> > >> mounting the /export/primary folder on my hypervisor as a test.
>> > >>
>> > > Syslog
>> > >>>
>> >  is
>> > 
>> > > reporting "permisison denied" on the hypervisor. The management
>> > >>
>> > > server
>> > >>>
>> >  is
>> > 
>> > > Ubuntu 12.04.02 and the hard drives are attached and mounted. Any
>> > >> assistance?
>> > >>
>> > >> --
>> > >> Brad
>> > >>
>> > >>
>> > 
>> >  --
>> >  Brad
>> > 
>> > 
>> > >>
>> > >>
>> > >
>> > > --
>> > > Thanks,
>> > > Jijun
>> > >
>> > >
>> >
>> >
>> > --
>> > Brad
>> >
>>
>
>
>
> --
> Brad
>



-- 
Brad


Re: Manager on FreeBSD

2013-07-17 Thread Dean Kamali
I don't see a point in doing that anyway.


On Wed, Jul 17, 2013 at 2:11 PM, Dave Dunaway wrote:

> Famous last words "I'd imagine there is no issues since its java based"
>
>
> YMMV depending on who wrote the code :)
>
>
> On Wed, Jul 17, 2013 at 1:56 PM, Ian Duffy  wrote:
>
> > > You mean as a guest?
> >
> > No just for running the manager. I'd imagine there is no issues since
> > its java based but said I'd send a mail to get the community
> > experience if any.
> >
> > On 17 July 2013 18:51, Dean Kamali  wrote:
> > > You mean as a guest? if so, I have tried it on KVM and it works well.
> > >
> > >
> > >
> > >
> > > On Wed, Jul 17, 2013 at 1:50 PM, Ian Duffy  wrote:
> > >
> > >> Hi Guys,
> > >>
> > >> Just a purely out of interest post here.
> > >>
> > >> Has anybody tried running Cloudstack on FreeBSD in a production
> > >> environment?
> > >>
> > >> If so did you encounter any issues?
> > >>
> > >> Thanks,
> > >> Ian
> > >>
> >
>


Re: Manager on FreeBSD

2013-07-17 Thread Chip Childers
The problems are likely in places where the Java code interacts with the OS
itself.  It would be an interesting experiment to try though!


On Wed, Jul 17, 2013 at 2:11 PM, Dave Dunaway wrote:

> Famous last words "I'd imagine there is no issues since its java based"
>
>
> YMMV depending on who wrote the code :)
>
>
> On Wed, Jul 17, 2013 at 1:56 PM, Ian Duffy  wrote:
>
> > > You mean as a guest?
> >
> > No just for running the manager. I'd imagine there is no issues since
> > its java based but said I'd send a mail to get the community
> > experience if any.
> >
> > On 17 July 2013 18:51, Dean Kamali  wrote:
> > > You mean as a guest? if so, I have tried it on KVM and it works well.
> > >
> > >
> > >
> > >
> > > On Wed, Jul 17, 2013 at 1:50 PM, Ian Duffy  wrote:
> > >
> > >> Hi Guys,
> > >>
> > >> Just a purely out of interest post here.
> > >>
> > >> Has anybody tried running Cloudstack on FreeBSD in a production
> > >> environment?
> > >>
> > >> If so did you encounter any issues?
> > >>
> > >> Thanks,
> > >> Ian
> > >>
> >
>


Re: Manager on FreeBSD

2013-07-17 Thread Dave Dunaway
Famous last words "I'd imagine there is no issues since its java based"


YMMV depending on who wrote the code :)


On Wed, Jul 17, 2013 at 1:56 PM, Ian Duffy  wrote:

> > You mean as a guest?
>
> No just for running the manager. I'd imagine there is no issues since
> its java based but said I'd send a mail to get the community
> experience if any.
>
> On 17 July 2013 18:51, Dean Kamali  wrote:
> > You mean as a guest? if so, I have tried it on KVM and it works well.
> >
> >
> >
> >
> > On Wed, Jul 17, 2013 at 1:50 PM, Ian Duffy  wrote:
> >
> >> Hi Guys,
> >>
> >> Just a purely out of interest post here.
> >>
> >> Has anybody tried running Cloudstack on FreeBSD in a production
> >> environment?
> >>
> >> If so did you encounter any issues?
> >>
> >> Thanks,
> >> Ian
> >>
>


Re: NFS directories

2013-07-17 Thread Bradley Hieber
Should that also happen if I list /export/ for /export/primary and
/export/secondary also? Then I am confused as to why I am getting NFS
permission denied errors then.


On Wed, Jul 17, 2013 at 2:06 PM, Dean Kamali  wrote:

> When you list /etc/primary in /etc/exports it will export all content of
> that folder, so you don't have to worry about sub-folders.
>
>
>
>
> On Wed, Jul 17, 2013 at 2:00 PM, Bradley Hieber  >wrote:
>
> > I can mount /export but it keeps telling me permission denied when I try
> to
> > mount /export/primary or /export/secondary. The only way I have been able
> > to stop it is manually listing /export/primary and /export/secondary. I
> > can't manually list every folder though. That is why it is having issues
> > mounting /export/secondary/template/templ/1/1 to /var/run/cloud/
> Thoughts?
> >
> >
> > On Tue, Jul 16, 2013 at 9:09 PM, Jijun  wrote:
> >
> > > hi,
> > > so i think you can test it in your hypervisor host
> > >
> > > do it as root
> > >
> > > mount -t nfs 192.168.2.114:/export  /mnt
> > >
> > > and tell us the result.
> > >
> > >
> > >
> > > On 07/17/2013 02:02 AM, Bradley Hieber wrote:
> > >
> > >> drwxr-xr-x   4 root root  4096 Jul 16 13:15 export
> > >> /export
> > >> drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary
> > >> drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary
> > >>
> > >>
> > >>
> > >> On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali 
> > >> wrote:
> > >>
> > >>  what is the permissions on /export ?
> > >>>
> > >>>
> > >>> On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber <
> mercsni...@gmail.com
> > >>>
> >  wrote:
> >  [root@xenserver-01 /]# showmount -e 192.168.2.123
> >  Export list for 192.168.2.123:
> >  /export 192.168.2.114
> > 
> >  Restarting the service did not do anything productive. I already did
> > an
> >  exportfs -ra before.
> > 
> > 
> >  On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali  >
> >  wrote:
> > 
> >   Did you restart nfs service after modifying /etc/export ?
> > >
> > >  From your hypervisor run showmount -e IP_ADDR_OF_NFS
> > >
> > > what dose it show?
> > >
> > >
> > >
> > >
> > > On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber <
> > mercsni...@gmail.com
> > >
> > >> wrote:
> > >> Hello community,
> > >>
> > >> The installation documentation for CS 4.1 says to use /export
> > >> *(rw,async,no_root_squash)  for my options. I am having
> difficulties
> > >> mounting the /export/primary folder on my hypervisor as a test.
> > >>
> > > Syslog
> > >>>
> >  is
> > 
> > > reporting "permisison denied" on the hypervisor. The management
> > >>
> > > server
> > >>>
> >  is
> > 
> > > Ubuntu 12.04.02 and the hard drives are attached and mounted. Any
> > >> assistance?
> > >>
> > >> --
> > >> Brad
> > >>
> > >>
> > 
> >  --
> >  Brad
> > 
> > 
> > >>
> > >>
> > >
> > > --
> > > Thanks,
> > > Jijun
> > >
> > >
> >
> >
> > --
> > Brad
> >
>



-- 
Brad


Re: NFS directories

2013-07-17 Thread Dean Kamali
When you list /etc/primary in /etc/exports it will export all content of
that folder, so you don't have to worry about sub-folders.




On Wed, Jul 17, 2013 at 2:00 PM, Bradley Hieber wrote:

> I can mount /export but it keeps telling me permission denied when I try to
> mount /export/primary or /export/secondary. The only way I have been able
> to stop it is manually listing /export/primary and /export/secondary. I
> can't manually list every folder though. That is why it is having issues
> mounting /export/secondary/template/templ/1/1 to /var/run/cloud/ Thoughts?
>
>
> On Tue, Jul 16, 2013 at 9:09 PM, Jijun  wrote:
>
> > hi,
> > so i think you can test it in your hypervisor host
> >
> > do it as root
> >
> > mount -t nfs 192.168.2.114:/export  /mnt
> >
> > and tell us the result.
> >
> >
> >
> > On 07/17/2013 02:02 AM, Bradley Hieber wrote:
> >
> >> drwxr-xr-x   4 root root  4096 Jul 16 13:15 export
> >> /export
> >> drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary
> >> drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary
> >>
> >>
> >>
> >> On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali 
> >> wrote:
> >>
> >>  what is the permissions on /export ?
> >>>
> >>>
> >>> On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber  >>>
>  wrote:
>  [root@xenserver-01 /]# showmount -e 192.168.2.123
>  Export list for 192.168.2.123:
>  /export 192.168.2.114
> 
>  Restarting the service did not do anything productive. I already did
> an
>  exportfs -ra before.
> 
> 
>  On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali 
>  wrote:
> 
>   Did you restart nfs service after modifying /etc/export ?
> >
> >  From your hypervisor run showmount -e IP_ADDR_OF_NFS
> >
> > what dose it show?
> >
> >
> >
> >
> > On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber <
> mercsni...@gmail.com
> >
> >> wrote:
> >> Hello community,
> >>
> >> The installation documentation for CS 4.1 says to use /export
> >> *(rw,async,no_root_squash)  for my options. I am having difficulties
> >> mounting the /export/primary folder on my hypervisor as a test.
> >>
> > Syslog
> >>>
>  is
> 
> > reporting "permisison denied" on the hypervisor. The management
> >>
> > server
> >>>
>  is
> 
> > Ubuntu 12.04.02 and the hard drives are attached and mounted. Any
> >> assistance?
> >>
> >> --
> >> Brad
> >>
> >>
> 
>  --
>  Brad
> 
> 
> >>
> >>
> >
> > --
> > Thanks,
> > Jijun
> >
> >
>
>
> --
> Brad
>


Re: NFS directories

2013-07-17 Thread Bradley Hieber
I can mount /export but it keeps telling me permission denied when I try to
mount /export/primary or /export/secondary. The only way I have been able
to stop it is manually listing /export/primary and /export/secondary. I
can't manually list every folder though. That is why it is having issues
mounting /export/secondary/template/templ/1/1 to /var/run/cloud/ Thoughts?


On Tue, Jul 16, 2013 at 9:09 PM, Jijun  wrote:

> hi,
> so i think you can test it in your hypervisor host
>
> do it as root
>
> mount -t nfs 192.168.2.114:/export  /mnt
>
> and tell us the result.
>
>
>
> On 07/17/2013 02:02 AM, Bradley Hieber wrote:
>
>> drwxr-xr-x   4 root root  4096 Jul 16 13:15 export
>> /export
>> drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary
>> drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary
>>
>>
>>
>> On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali 
>> wrote:
>>
>>  what is the permissions on /export ?
>>>
>>>
>>> On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber >>
 wrote:
 [root@xenserver-01 /]# showmount -e 192.168.2.123
 Export list for 192.168.2.123:
 /export 192.168.2.114

 Restarting the service did not do anything productive. I already did an
 exportfs -ra before.


 On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali 
 wrote:

  Did you restart nfs service after modifying /etc/export ?
>
>  From your hypervisor run showmount -e IP_ADDR_OF_NFS
>
> what dose it show?
>
>
>
>
> On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber 
>> wrote:
>> Hello community,
>>
>> The installation documentation for CS 4.1 says to use /export
>> *(rw,async,no_root_squash)  for my options. I am having difficulties
>> mounting the /export/primary folder on my hypervisor as a test.
>>
> Syslog
>>>
 is

> reporting "permisison denied" on the hypervisor. The management
>>
> server
>>>
 is

> Ubuntu 12.04.02 and the hard drives are attached and mounted. Any
>> assistance?
>>
>> --
>> Brad
>>
>>

 --
 Brad


>>
>>
>
> --
> Thanks,
> Jijun
>
>


-- 
Brad


Re: Manager on FreeBSD

2013-07-17 Thread Ian Duffy
> You mean as a guest?

No just for running the manager. I'd imagine there is no issues since
its java based but said I'd send a mail to get the community
experience if any.

On 17 July 2013 18:51, Dean Kamali  wrote:
> You mean as a guest? if so, I have tried it on KVM and it works well.
>
>
>
>
> On Wed, Jul 17, 2013 at 1:50 PM, Ian Duffy  wrote:
>
>> Hi Guys,
>>
>> Just a purely out of interest post here.
>>
>> Has anybody tried running Cloudstack on FreeBSD in a production
>> environment?
>>
>> If so did you encounter any issues?
>>
>> Thanks,
>> Ian
>>


Re: 4.1 Documentatiion

2013-07-17 Thread Chip Childers
It's a mistake.

On Jul 17, 2013, at 1:50 PM, Bradley Hieber  wrote:

> Why does the CS 4.1 install guide point people to the 4.0 repo for
> RHEL/Centos distros?
>
> --
> Brad


Re: Manager on FreeBSD

2013-07-17 Thread Dean Kamali
You mean as a guest? if so, I have tried it on KVM and it works well.




On Wed, Jul 17, 2013 at 1:50 PM, Ian Duffy  wrote:

> Hi Guys,
>
> Just a purely out of interest post here.
>
> Has anybody tried running Cloudstack on FreeBSD in a production
> environment?
>
> If so did you encounter any issues?
>
> Thanks,
> Ian
>


Manager on FreeBSD

2013-07-17 Thread Ian Duffy
Hi Guys,

Just a purely out of interest post here.

Has anybody tried running Cloudstack on FreeBSD in a production environment?

If so did you encounter any issues?

Thanks,
Ian


Create Guest network for a user

2013-07-17 Thread Dean Kamali
Hello everyone

1. Is it possible could create and assign a guest network to a specific
user without knowing his / her password via cloudmonkey?

2. Is it possible to create a global guest network, that will be available
to all users?

So each new account will be able to see that network?

Dean


4.1 Documentatiion

2013-07-17 Thread Bradley Hieber
Why does the CS 4.1 install guide point people to the 4.0 repo for
RHEL/Centos distros?

-- 
Brad


RE: Not able to add kvm host to cluster

2013-07-17 Thread Shivaprasad Katta
Hi, Thanks a lot for the response. The issue was due to the cloud-agent failed 
to start. The logs pointed with an error message "nics  not configured". After 
configuring the network, I was able to add the kvm host to cluster and two 
system vms are running.Now the other problem was, not able to create instance. 
I added couple of templates and iso. however those are not visible in the 
create instance wizard.Any pointers for this issue ? Will post the logs shortly.
Thanks, Shivaprasad Katta

> From: jayapalreddy.ur...@citrix.com
> To: users@cloudstack.apache.org
> Subject: Re: Not able to add kvm host to cluster
> Date: Wed, 17 Jul 2013 10:01:43 +
> 
> Hi,
> 
> Please check kvm installed correctly in your host.
> lsmod | grep kvm
> 
> Also observe logs, /var/log/cloudstack/management/management-server.log and 
> agent log /var/log/cloudstack/agent/agent.log for errors.
> 
> Thanks,
> Jayapal
> 
> On 17-Jul-2013, at 2:53 PM, Shivaprasad Katta 
>  wrote:
> 
> > Hello Cloudstackers,
> > I am new to Cloudstack and trying to understand.I just deployed cloudstack 
> > 4.0.2 on CentOS 6.3 x86_64. The manager installation was smooth and was 
> > trying to create the zone (not through the wizard). The overall process 
> > failed while adding the kvm host (CentOS 6.3 x86_64). Below is the 
> > exception in catalina.out on manger. Any pointers to move forward ? 
> > WARN  [cloud.api.ApiDispatcher] (catalina-exec-8:) class 
> > com.cloud.api.ServerApiException : Unable to add the hostINFO  
> > [cloud.resource.ResourceManagerImpl] (catalina-exec-7:) Trying to add a new 
> > host at http://192.168.10.101 in data center 1WARN  
> > [cloud.resource.ResourceManagerImpl] (catalina-exec-7:) Unable to find the 
> > server resources at http://192.168.10.101WARN  [api.commands.AddHostCmd] 
> > (catalina-exec-7:) Exception:com.cloud.exception.DiscoveryException: Unable 
> > to add the hostat 
> > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:737)
> > at 
> > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
> > at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)   
> >  at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
> > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:544)at 
> > com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)at 
> > com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312)at 
> > com.cloud.api.ApiServlet.doGet(ApiServlet.java:64)at 
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:617)at 
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:717)at 
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> > at 
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > at 
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> > at 
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> > at 
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> > at 
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> > at 
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)   
> >  at 
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> > at 
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 
> >at 
> > org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
> > at 
> > org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
> > at 
> > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
> > at 
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> > at 
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > at java.lang.Thread.run(Thread.java:679)WARN  
> > [cloud.api.ApiDispatcher] (catalina-exec-7:) class 
> > com.cloud.api.ServerApiException : Unable to add the host
> > 
> > Thanks, Shivaprasad Katta
> >   
> 
  

Re: Wrong storage capacity issue reported

2013-07-17 Thread Indra Pramana
Hi Wido,

Good day to you, and glad to hear from you again. Thank you for your
e-mail. :)

On Thu, Jul 18, 2013 at 12:28 AM, Wido den Hollander  wrote:

>
> The only issue is that, I noted that only the DATADISK volume is created
>> on the RBD primary storage pool. The ROOT volume of that VM is still
>> created on the NFS primary storage pool.
>>
>> Is there a way to ensure that the ROOT volume will also be created on
>> the RBD primary storage pool instead of the NFS pool?
>>
>>
> Yes, make sure you use the right storage tags to force the ROOT disk on
> the RBD storage pool as well.
>

Can you share how to force the ROOT disk to use the RBD storage pool as
well? I use the disk offering method with the "rbd" tag to force the
DATADISK to use the RBD storage pool, but how about the ROOT disk? Where
can I set the "rbd" tag for the ROOT disk?

Looking forward to your reply, thank you.

Cheers.


Re: Wrong storage capacity issue reported

2013-07-17 Thread Wido den Hollander

Hi,

On 07/17/2013 11:32 AM, Indra Pramana wrote:

Dear Wido and all,

FYI, I managed to resolve the problem by installing latest version of
libvirt. Apparently, the libvirt version that I was using (1.0.2), which
I got from here:

http://blog.widodh.nl/2013/06/a-quick-note-on-running-cloudstack-with-rbd-on-ubuntu-12-04/



Odd, I haven't noticed that.


was the culprit. I downloaded the latest libvirt version (version 1.1.0)
from their FTP site:

ftp://libvirt.org/libvirt/libvirt-1.1.0.tar.gz

Install the latest librbd-dev package:

apt-get install librbd-dev

Then compile libvirt with storage RBD enabled:

./autogen.sh --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--with-storage-rbd

Restart the KVM host after it's done.

virsh pool-info is now showing the correct "Allocation" amount:

root@hv-kvm-02:~# virsh pool-info d433809b-01ea-3947-ba0f-48077244e4d6
Name:   d433809b-01ea-3947-ba0f-48077244e4d6
UUID:   d433809b-01ea-3947-ba0f-48077244e4d6
State:  running
Persistent: no
Autostart:  no
Capacity:   5.47 TiB
Allocation: 328.00 B
Available:  5.47 TiB

Tried to create a VM instance, and now the VM can utilise the RBD
storage pool. No more "insufficient space on pool" error message on the log.

The only issue is that, I noted that only the DATADISK volume is created
on the RBD primary storage pool. The ROOT volume of that VM is still
created on the NFS primary storage pool.

Is there a way to ensure that the ROOT volume will also be created on
the RBD primary storage pool instead of the NFS pool?



Yes, make sure you use the right storage tags to force the ROOT disk on 
the RBD storage pool as well.


Wido


Looking forward to your reply, thank you.

Cheers.



On Wed, Jul 17, 2013 at 12:42 PM, Indra Pramana mailto:in...@sg.or.id>> wrote:

Dear Wido and all,

On Tue, Jul 16, 2013 at 10:49 AM, Indra Pramana mailto:in...@sg.or.id>> wrote:

Hi Prasanna,

On Mon, Jul 15, 2013 at 12:38 PM, Prasanna Santhanam
mailto:t...@apache.org>> wrote:

It might be a bug on ceph but the thread you referenced was
resolved.
See here: http://markmail.org/message/mkm2fqyawmwpufsc

If it still persists, can you please file a bug on JIRA?


As suggested, I have filed a bug on JIRA.

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

Appreciate any advise on how to resolve the problem. Wido, any
comments from your end? :)


Anyone has any clues on how to resolve this problem? It is a
show-stopper for me, I can't proceed further without able to get my
RBD primary storage to work.

Any advice is greatly appreciated.

Looking forward to your reply, thank you.

Cheers.




Re: Bridge creation issue on Management Server for CS 4.1

2013-07-17 Thread Dean Kamali
Well our proof of concept environment ( 8 node cluster xenserver right now,
it used to run KVM few weeks ago, but I switched over to xenserver), they
are all connected to high speed 10G storage network.

For testing I used 1 node.

For networking  each server has 2 X 1G NIC, & 2 X 10G Nic for storage.

When using xenserver

NIC1 - Management (unfortunately we can't trunk it)

NIC2  - bridge - for guest and another bridge for public

NIC3 & NIC4 Bond of 10G NIC = 20G NIC throughput


I'm honestly not sure how bridging should be setup in single NIC
environment.

Dean




On Wed, Jul 17, 2013 at 11:10 AM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Dean,
>
> Can you provide a bit more info on your infrastructure such as number of
> Hosts, number of NICs in each host, versions etc
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: Ahmad Emneina [mailto:aemne...@gmail.com]
> Sent: 17 July 2013 15:50
> To: users@cloudstack.apache.org
> Subject: Re: Bridge creation issue on Management Server for CS 4.1
>
> In a single nic environment; What I do is trunk zone vlans as well as
> public vlans to the hosts... Across all hosts in the zone. each cluster has
> its own subnet mapped to a VLAN, and those are set as the native VLAN for
> their respective hosts on the switch ports. Once you understand the data
> flows and what VLAN is required on which interface, then you can break out
> to separate interfaces. HTH
>
> Ahmad
>
> On Jul 17, 2013, at 5:32 AM, Ashutosh Narayan 
> wrote:
>
> > Hi Geoff,
> >
> > Can you help me iin sorting out the bridge issue ?
> > I am following the doc mentioned in the link below but as soon as I
> > create VLANS the connectivity dies and the management server becomes
> > unreachable.
> >
> > Is there any other way to fix this issue other than what Dean has
> > mentioned ?
> >
> > Thank you,
> >
> > On Fri, Jul 12, 2013 at 10:27 PM, Ashutosh Narayan <
> > aashutoshnara...@gmail.com> wrote:
> >
> >> Hi Dean,
> >>
> >> Can you elaborate a little more please as to how you achieved it ?
> >>
> >> Thank you,
> >>
> >>
> >> On Fri, Jul 12, 2013 at 10:23 PM, Dean Kamali  >wrote:
> >>
> >>> The only way I got it working was by creating a bridge for each
> >>> network / management / guest / public / storage.
> >>>
> >>> Happy Friday
> >>>
> >>>
> >>> On Fri, Jul 12, 2013 at 12:52 PM, Ashutosh Narayan <
> >>> aashutoshnara...@gmail.com> wrote:
> >>>
>  Hi Folks,
> 
>  I have installed KVM hypervisor and libvirtd is also running fine
>  on my management server.
>  I am having issues in setting up bridges. I am following this
>  document
> >>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html
> >>> /Installation_Guide/hypervisor-kvm-install-flow.html
>  Section : 8.1.7.2.1 , Is it mandatory to have three VLANs and two
> >>> bridges ?
>  Is there any other way to achieve this ?
>  Because of this am unable to create hosts for my zone. Any
> suggestions ?
> 
>  Thank you,
>  --
>  Ashutosh Narayan
> 
>  http://ashutoshn.wordpress.com/
> >>
> >>
> >>
> >> --
> >> Ashutosh Narayan
> >>
> >> http://ashutoshn.wordpress.com/
> >
> >
> > --
> > Ashutosh Narayan
> >
> > http://ashutoshn.wordpress.com/
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>
>


RE: Bridge creation issue on Management Server for CS 4.1

2013-07-17 Thread Geoff Higginbottom
Dean,

Can you provide a bit more info on your infrastructure such as number of Hosts, 
number of NICs in each host, versions etc

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Ahmad Emneina [mailto:aemne...@gmail.com]
Sent: 17 July 2013 15:50
To: users@cloudstack.apache.org
Subject: Re: Bridge creation issue on Management Server for CS 4.1

In a single nic environment; What I do is trunk zone vlans as well as public 
vlans to the hosts... Across all hosts in the zone. each cluster has its own 
subnet mapped to a VLAN, and those are set as the native VLAN for their 
respective hosts on the switch ports. Once you understand the data flows and 
what VLAN is required on which interface, then you can break out to separate 
interfaces. HTH

Ahmad

On Jul 17, 2013, at 5:32 AM, Ashutosh Narayan  
wrote:

> Hi Geoff,
>
> Can you help me iin sorting out the bridge issue ?
> I am following the doc mentioned in the link below but as soon as I
> create VLANS the connectivity dies and the management server becomes
> unreachable.
>
> Is there any other way to fix this issue other than what Dean has
> mentioned ?
>
> Thank you,
>
> On Fri, Jul 12, 2013 at 10:27 PM, Ashutosh Narayan <
> aashutoshnara...@gmail.com> wrote:
>
>> Hi Dean,
>>
>> Can you elaborate a little more please as to how you achieved it ?
>>
>> Thank you,
>>
>>
>> On Fri, Jul 12, 2013 at 10:23 PM, Dean Kamali wrote:
>>
>>> The only way I got it working was by creating a bridge for each
>>> network / management / guest / public / storage.
>>>
>>> Happy Friday
>>>
>>>
>>> On Fri, Jul 12, 2013 at 12:52 PM, Ashutosh Narayan <
>>> aashutoshnara...@gmail.com> wrote:
>>>
 Hi Folks,

 I have installed KVM hypervisor and libvirtd is also running fine
 on my management server.
 I am having issues in setting up bridges. I am following this
 document
>>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html
>>> /Installation_Guide/hypervisor-kvm-install-flow.html
 Section : 8.1.7.2.1 , Is it mandatory to have three VLANs and two
>>> bridges ?
 Is there any other way to achieve this ?
 Because of this am unable to create hosts for my zone. Any suggestions ?

 Thank you,
 --
 Ashutosh Narayan

 http://ashutoshn.wordpress.com/
>>
>>
>>
>> --
>> Ashutosh Narayan
>>
>> http://ashutoshn.wordpress.com/
>
>
> --
> Ashutosh Narayan
>
> http://ashutoshn.wordpress.com/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: No internet access to vms behind router, but the router has access

2013-07-17 Thread Geoff Higginbottom
Dean,

Great, thanks for the summary, very helpful.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Dean Kamali [mailto:dean.kam...@gmail.com]
Sent: 17 July 2013 14:55
To: users@cloudstack.apache.org
Subject: Re: No internet access to vms behind router, but the router has access

After upgrading from 4.0.2 to 4.1  I noticed that all of my vms lost access to 
the internet.

I'm able to ping my gateway, but unable to ping any external address.

After checking few things, I found that outgoing traffic is getting blocked.

I had to added ingress rule to my network  0.0.0.0/0 Protocol: All  to allow 
outgoing traffic.

And that resolved my issue.

Dean


On Wed, Jul 17, 2013 at 9:26 AM, Geoff Higginbottom < 
geoff.higginbot...@shapeblue.com> wrote:

> Dean,
>
> For the benefit of the list, can you please confirm exactly what your
> issue was and how it was fixed.
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: Dean Kamali [mailto:dean.kam...@gmail.com]
> Sent: 17 July 2013 13:44
> To: users@cloudstack.apache.org
> Subject: Re: No internet access to vms behind router, but the router
> has access
>
> That did the trick, thanks guys, its working now.
>
>
> On Wed, Jul 17, 2013 at 6:02 AM, Indra Pramana  wrote:
>
> > Hi Dean,
> >
> > By default, the virtual router is also performing firewall function
> > and will block all incoming and outgoing traffic. To allow the VM to
> > gain access to the public network and the Internet, go to Cloudstack
> > GUI > Network > Guest networks > (your network name) > Egress rules.
> > Add this rule to allow all outgoing traffic:
> >
> > Source CIDR: 0.0.0.0/0
> > Protocol: All
> >
> > Hope this helps.
> >
> > Thank you.
> >
> >
> > On Wed, Jul 17, 2013 at 12:54 PM, Dean Kamali
> > 
> > wrote:
> >
> > > Hello everyone
> > >
> > > I have few vms setup in "Advanced zone" a mix of Windows + Linux
> > > vm, they all able to ping default gw 192.168.1.1 however none of
> > > them able to
> > access
> > > the internet.
> > >
> > > I logged in to the router, and I'm able to ping my virtual
> > > machines, and I'm able to ping outside (4.2.2.2 and 8.8.8.8 ).
> > >
> > > [image: Inline image 1]
> > >
> > > I did the following
> > >
> > > 1. reboot the router and later destroy it and it gets recreated again.
> > > 2. Create new network ( which launched new router with different
> > > public
> > IP
> > > from the pool) (same issue)
> > > 3. login to the router and issue iptables -F
> > >
> > > I'm not sure what else to try.
> > >
> > > Your help is highly appreciated.
> > >
> > >
> > >
> >
> This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is addressed.
> Any views or opinions expressed are solely those of the author and do
> not necessarily represent those of Shape Blue Ltd or related
> companies. If you are not the intended recipient of this email, you
> must neither take any action based upon its contents, nor copy or show
> it to anyone. Please contact the sender if you believe you have
> received this email in error. Shape Blue Ltd is a company incorporated
> in England & Wales. ShapeBlue Services India LLP is operated under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>
>
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



Re: Rebuilding management server

2013-07-17 Thread Ahmad Emneina
Ah yes default is 8080 and not ssl.  I imagine your new management server 
wasn't registered properly. If you were rebuilding a MS you'd want to follow 
the install guide instructions for adding additional management servers. 

Ahmad

On Jul 16, 2013, at 10:33 PM, "Leeno Jose.P.A"  wrote:

> https://cwiki.apache.org/CLOUDSTACK/ports-used-by-cloudstack.html
> 
> Port 443 is not listed there for Management server
> 
> 
> On Wed, Jul 17, 2013 at 10:59 AM, Leeno Jose.P.A  wrote:
>> Hi Ahmad,
>> 
>> Thanks for the mail.
>> Telnet failed on port 443 to CS from XS hosts. I did not see any service 
>> listening on 443 on CS management server. Something wrong with management 
>> server?
>> 
>> Thanks 
>> Leeno
>> 
>> 
>> On Tue, Jul 16, 2013 at 11:50 PM, Ahmad Emneina  wrote:
>>> can you check if your hosts can connect back to the management server
>>> (ping, telnet 22,443)? there might be some firewall rules in place, or
>>> routing issues, preventing this.
>>> 
>>> 
>>> On Tue, Jul 16, 2013 at 9:01 AM, Leeno Jose.P.A  wrote:
>>> 
>>> > CS startup logs,
>>> >
>>> > 2013-07-16 11:25:30,702 INFO  [utils.component.ComponentContext]
>>> > (Timer-1:null) Starting
>>> > com.cloud.network.guru.NiciraNvpGuestNetworkGuru_EnhancerByCloudStack_1f6b4bb6
>>> > 2013-07-16 11:25:30,702 INFO  [utils.component.ComponentContext]
>>> > (Timer-1:null) Starting
>>> > com.cloud.server.ManagementServerImpl_EnhancerByCloudStack_d54e1bb1
>>> > 2013-07-16 11:25:30,702 INFO  [cloud.server.ManagementServerImpl]
>>> > (Timer-1:null) Startup CloudStack management server...
>>> > 2013-07-16 11:25:30,707 INFO
>>> > [cloud.cluster.ClusterServiceServletContainer] (Thread-18:null) Cluster
>>> > service servlet container listening on port 9090
>>> > 2013-07-16 11:25:31,832 DEBUG [utils.db.ConnectionConcierge]
>>> > (Cluster-Heartbeat-1:null) Registering a database connection for
>>> > ClusterManagerHeartBeat2
>>> > 2013-07-16 11:25:31,845 INFO  [cloud.cluster.ClusterManagerImpl]
>>> > (Cluster-Heartbeat-1:null) We are good, no orphan management server msid 
>>> > in
>>> > host table is found
>>> > 2013-07-16 11:25:31,845 INFO  [cloud.cluster.ClusterManagerImpl]
>>> > (Cluster-Heartbeat-1:null) Found 1 inactive management server node based 
>>> > on
>>> > timestamp
>>> > 2013-07-16 11:25:31,846 INFO  [cloud.cluster.ClusterManagerImpl]
>>> > (Cluster-Heartbeat-1:null) management server node msid: 130602634328, 
>>> > name:
>>> > cstagcms, service ip: 192.168.10.251, version: 4.1.0
>>> > 2013-07-16 11:25:31,846 INFO  [cloud.cluster.ClusterManagerImpl]
>>> > (Cluster-Heartbeat-1:null) Trying to connect to 192.168.10.251
>>> > 2013-07-16 11:25:31,860 DEBUG [cloud.cluster.ClusterManagerImpl]
>>> > (Cluster-Heartbeat-1:null) Detected management node joined, id:2,
>>> > nodeIP:192.168.10.251
>>> > 2013-07-16 11:25:33,348 DEBUG [cloud.cluster.ClusterManagerImpl]
>>> > (Cluster-Notification-1:null) Notify management server node join to
>>> > listeners.
>>> > 2013-07-16 11:25:33,349 DEBUG [cloud.cluster.ClusterManagerImpl]
>>> > (Cluster-Notification-1:null) Joining node, IP: 192.168.10.251, msid:
>>> > 81375086018793
>>> > 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter]
>>> > (Cluster-Notification-1:null) Receive cluster alert, EventArgs:
>>> > com.cloud.cluster.ClusterNodeJoinEventArgs
>>> > 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter]
>>> > (Cluster-Notification-1:null) Handle cluster node join alert, joined node:
>>> > 192.168.10.251, msidL: 81375086018793
>>> > 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter]
>>> > (Cluster-Notification-1:null) Management server node 192.168.10.251 is up,
>>> > send alert
>>> > 2013-07-16 11:25:33,361 WARN  [cloud.cluster.ClusterManagerImpl]
>>> > (Cluster-Notification-1:null) Notifying management server join event took
>>> > 12 ms
>>> > 2013-07-16 11:25:45,450 DEBUG [cloud.server.StatsCollector]
>>> > (StatsCollector-2:null) HostStatsCollector is running...
>>> > 2013-07-16 11:25:45,452 DEBUG [cloud.server.StatsCollector]
>>> > (StatsCollector-1:null) VmStatsCollector is running...
>>> > 2013-07-16 11:25:45,467 DEBUG [cloud.server.StatsCollector]
>>> > (StatsCollector-3:null) StorageCollector is running...
>>> > 2013-07-16 11:25:45,498 DEBUG [agent.manager.ClusteredAgentManagerImpl]
>>> > (StatsCollector-2:null) create forwarding ClusteredAgentAttache for 39
>>> > 2013-07-16 11:25:45,491 DEBUG [agent.manager.ClusteredAgentManagerImpl]
>>> > (StatsCollector-3:null) create forwarding ClusteredAgentAttache for 50
>>> > 2013-07-16 11:25:45,751 INFO  [agent.manager.ClusteredAgentManagerImpl]
>>> > (StatsCollector-3:null) SSL: Handshake done
>>> > 2013-07-16 11:25:45,752 DEBUG [agent.manager.ClusteredAgentManagerImpl]
>>> > (StatsCollector-3:null) Connection to peer opened: 130602634328, ip:
>>> > 192.168.10.251
>>> > 2013-07-16 11:25:45,757 DEBUG [agent.manager.ClusteredAgentAttache]
>>> > (StatsCollector-2:null) Seq 39-282525697: Forwarding null to 130602634328
>>> > 2013-07-

Re: Using Vcenter to hypervisor,how to added Cloudstack4.0

2013-07-17 Thread 刘彬
sorry ,I am in home! not at company, thanks


2013/7/17 Ahmad Emneina 

> Paste your management-server log into that, then share the link. That way
> we can analyze further. Hopefully finding the root cause to your issue.
>
> Ahmad
>
> On Jul 17, 2013, at 7:08 AM, 刘彬  wrote:
>
> > What to do with the site?
> >
> >
> > 2013/7/17 Ahmad Emneina 
> >
> >> Can you post the full management-server.log file to a site like
> >> pastebin.com?
> >>
> >> Ahmad
> >>
> >> On Jul 17, 2013, at 7:01 AM, 刘彬  wrote:
> >>
> >>> Hello all
> >>>
> >>> Now I would like to deploy CS for production.
> >>>
> >>> - using vmware as hypervisor
> >>> - using SAN as vmware storage and will be primary storage for CS
> >>> - using a NFS server as secondary storage
> >>>
> >>> When I deploy it, the following error occurs
> >>>
> >>>
> >>> com.cloud.utils.exception.CloudRuntimeException: initializing local
> >>> storage failed due to : Exception: java.lang.Exception
> >>> Message: Unable to setup custom field facility
> >>>
> >>> at
> >>
> com.cloud.hypervisor.vmware.resource.VmwareResource.initializeLocalStorage(VmwareResource.java:4045)
> >>> at
> >>
> com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(VmwareResource.java:3993)
> >>> at
> >>
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1598)
> >>> at
> >>
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:720)
> >>> at
> >>
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
> >>> at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
> >>> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
> >>> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
> >>>
> >>>
> >>>
> >>> I do not know how to solve, thanks fro all!
> >>
>


Re: Bridge creation issue on Management Server for CS 4.1

2013-07-17 Thread Ahmad Emneina
In a single nic environment; What I do is trunk zone vlans as well as public 
vlans to the hosts... Across all hosts in the zone. each cluster has its own 
subnet mapped to a VLAN, and those are set as the native VLAN for their 
respective hosts on the switch ports. Once you understand the data flows and 
what VLAN is required on which interface, then you can break out to separate 
interfaces. HTH

Ahmad

On Jul 17, 2013, at 5:32 AM, Ashutosh Narayan  
wrote:

> Hi Geoff,
> 
> Can you help me iin sorting out the bridge issue ?
> I am following the doc mentioned in the link below
> but as soon as I create VLANS the connectivity dies
> and the management server becomes unreachable.
> 
> Is there any other way to fix this issue other than
> what Dean has mentioned ?
> 
> Thank you,
> 
> On Fri, Jul 12, 2013 at 10:27 PM, Ashutosh Narayan <
> aashutoshnara...@gmail.com> wrote:
> 
>> Hi Dean,
>> 
>> Can you elaborate a little more please as to how you achieved it ?
>> 
>> Thank you,
>> 
>> 
>> On Fri, Jul 12, 2013 at 10:23 PM, Dean Kamali wrote:
>> 
>>> The only way I got it working was by creating a bridge for each network /
>>> management / guest / public / storage.
>>> 
>>> Happy Friday
>>> 
>>> 
>>> On Fri, Jul 12, 2013 at 12:52 PM, Ashutosh Narayan <
>>> aashutoshnara...@gmail.com> wrote:
>>> 
 Hi Folks,
 
 I have installed KVM hypervisor and libvirtd is also running fine on my
 management server.
 I am having issues in setting up bridges. I am following this document
>>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/hypervisor-kvm-install-flow.html
 Section : 8.1.7.2.1 , Is it mandatory to have three VLANs and two
>>> bridges ?
 Is there any other way to achieve this ?
 Because of this am unable to create hosts for my zone. Any suggestions ?
 
 Thank you,
 --
 Ashutosh Narayan
 
 http://ashutoshn.wordpress.com/
>> 
>> 
>> 
>> --
>> Ashutosh Narayan
>> 
>> http://ashutoshn.wordpress.com/
> 
> 
> -- 
> Ashutosh Narayan
> 
> http://ashutoshn.wordpress.com/


Re: Using Vcenter to hypervisor,how to added Cloudstack4.0

2013-07-17 Thread Ahmad Emneina
Paste your management-server log into that, then share the link. That way we 
can analyze further. Hopefully finding the root cause to your issue.

Ahmad

On Jul 17, 2013, at 7:08 AM, 刘彬  wrote:

> What to do with the site?
> 
> 
> 2013/7/17 Ahmad Emneina 
> 
>> Can you post the full management-server.log file to a site like
>> pastebin.com?
>> 
>> Ahmad
>> 
>> On Jul 17, 2013, at 7:01 AM, 刘彬  wrote:
>> 
>>> Hello all
>>> 
>>> Now I would like to deploy CS for production.
>>> 
>>> - using vmware as hypervisor
>>> - using SAN as vmware storage and will be primary storage for CS
>>> - using a NFS server as secondary storage
>>> 
>>> When I deploy it, the following error occurs
>>> 
>>> 
>>> com.cloud.utils.exception.CloudRuntimeException: initializing local
>>> storage failed due to : Exception: java.lang.Exception
>>> Message: Unable to setup custom field facility
>>> 
>>> at
>> com.cloud.hypervisor.vmware.resource.VmwareResource.initializeLocalStorage(VmwareResource.java:4045)
>>> at
>> com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(VmwareResource.java:3993)
>>> at
>> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1598)
>>> at
>> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:720)
>>> at
>> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
>>> at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
>>> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>>> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
>>> 
>>> 
>>> 
>>> I do not know how to solve, thanks fro all!
>> 


Re: Wrong storage capacity issue reported

2013-07-17 Thread Dean Kamali
I think we should file another bug for NFS, I'm having the same issue here,
showing double amount of storage, I have a 2TB lun for primary storage,
however in CS Management console its showing 4TB.

CS 4.1


On Wed, Jul 17, 2013 at 5:32 AM, Indra Pramana  wrote:

> Dear Wido and all,
>
> FYI, I managed to resolve the problem by installing latest version of
> libvirt. Apparently, the libvirt version that I was using (1.0.2), which I
> got from here:
>
>
> http://blog.widodh.nl/2013/06/a-quick-note-on-running-cloudstack-with-rbd-on-ubuntu-12-04/
>
> was the culprit. I downloaded the latest libvirt version (version 1.1.0)
> from their FTP site:
>
> ftp://libvirt.org/libvirt/libvirt-1.1.0.tar.gz
>
> Install the latest librbd-dev package:
>
> apt-get install librbd-dev
>
> Then compile libvirt with storage RBD enabled:
>
> ./autogen.sh --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
> --with-storage-rbd
>
> Restart the KVM host after it's done.
>
> virsh pool-info is now showing the correct "Allocation" amount:
>
> root@hv-kvm-02:~# virsh pool-info d433809b-01ea-3947-ba0f-48077244e4d6
> Name:   d433809b-01ea-3947-ba0f-48077244e4d6
> UUID:   d433809b-01ea-3947-ba0f-48077244e4d6
> State:  running
> Persistent: no
> Autostart:  no
> Capacity:   5.47 TiB
> Allocation: 328.00 B
> Available:  5.47 TiB
>
> Tried to create a VM instance, and now the VM can utilise the RBD storage
> pool. No more "insufficient space on pool" error message on the log.
>
> The only issue is that, I noted that only the DATADISK volume is created on
> the RBD primary storage pool. The ROOT volume of that VM is still created
> on the NFS primary storage pool.
>
> Is there a way to ensure that the ROOT volume will also be created on the
> RBD primary storage pool instead of the NFS pool?
>
> Looking forward to your reply, thank you.
>
> Cheers.
>
>
>
> On Wed, Jul 17, 2013 at 12:42 PM, Indra Pramana  wrote:
>
> > Dear Wido and all,
> >
> > On Tue, Jul 16, 2013 at 10:49 AM, Indra Pramana  wrote:
> >
> >> Hi Prasanna,
> >>
> >> On Mon, Jul 15, 2013 at 12:38 PM, Prasanna Santhanam  >wrote:
> >>
> >>> It might be a bug on ceph but the thread you referenced was resolved.
> >>> See here: http://markmail.org/message/mkm2fqyawmwpufsc
> >>>
> >>> If it still persists, can you please file a bug on JIRA?
> >>>
> >>
> >> As suggested, I have filed a bug on JIRA.
> >>
> >> https://issues.apache.org/jira/browse/CLOUDSTACK-3542
> >>
> >> Appreciate any advise on how to resolve the problem. Wido, any comments
> >> from your end? :)
> >>
> >
> > Anyone has any clues on how to resolve this problem? It is a show-stopper
> > for me, I can't proceed further without able to get my RBD primary
> storage
> > to work.
> >
> > Any advice is greatly appreciated.
> >
> > Looking forward to your reply, thank you.
> >
> > Cheers.
> >
> >
>


Re: Using Vcenter to hypervisor,how to added Cloudstack4.0

2013-07-17 Thread 刘彬
What to do with the site?


2013/7/17 Ahmad Emneina 

> Can you post the full management-server.log file to a site like
> pastebin.com?
>
> Ahmad
>
> On Jul 17, 2013, at 7:01 AM, 刘彬  wrote:
>
> > Hello all
> >
> > Now I would like to deploy CS for production.
> >
> > - using vmware as hypervisor
> > - using SAN as vmware storage and will be primary storage for CS
> > - using a NFS server as secondary storage
> >
> > When I deploy it, the following error occurs
> >
> >
> > com.cloud.utils.exception.CloudRuntimeException: initializing local
> > storage failed due to : Exception: java.lang.Exception
> > Message: Unable to setup custom field facility
> >
> > at
> com.cloud.hypervisor.vmware.resource.VmwareResource.initializeLocalStorage(VmwareResource.java:4045)
> > at
> com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(VmwareResource.java:3993)
> > at
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1598)
> > at
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:720)
> > at
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
> > at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
> > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
> > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
> >
> >
> >
> > I do not know how to solve, thanks fro all!
>


Re: Using Vcenter to hypervisor,how to added Cloudstack4.0

2013-07-17 Thread Ahmad Emneina
Can you post the full management-server.log file to a site like pastebin.com?

Ahmad

On Jul 17, 2013, at 7:01 AM, 刘彬  wrote:

> Hello all
> 
> Now I would like to deploy CS for production.
> 
> - using vmware as hypervisor
> - using SAN as vmware storage and will be primary storage for CS
> - using a NFS server as secondary storage
> 
> When I deploy it, the following error occurs
> 
> 
> com.cloud.utils.exception.CloudRuntimeException: initializing local
> storage failed due to : Exception: java.lang.Exception
> Message: Unable to setup custom field facility
> 
> at 
> com.cloud.hypervisor.vmware.resource.VmwareResource.initializeLocalStorage(VmwareResource.java:4045)
> at 
> com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(VmwareResource.java:3993)
> at 
> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1598)
> at 
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:720)
> at 
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
> at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
> 
> 
> 
> I do not know how to solve, thanks fro all!


Using Vcenter to hypervisor,how to added Cloudstack4.0

2013-07-17 Thread 刘彬
Hello all

Now I would like to deploy CS for production.

- using vmware as hypervisor
- using SAN as vmware storage and will be primary storage for CS
- using a NFS server as secondary storage

When I deploy it, the following error occurs


com.cloud.utils.exception.CloudRuntimeException: initializing local
storage failed due to : Exception: java.lang.Exception
Message: Unable to setup custom field facility

at 
com.cloud.hypervisor.vmware.resource.VmwareResource.initializeLocalStorage(VmwareResource.java:4045)
at 
com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(VmwareResource.java:3993)
at 
com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1598)
at 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:720)
at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)



I do not know how to solve, thanks fro all!


Re: cloudstack-management service auto-start?

2013-07-17 Thread Dean Kamali
Try and use chkconfig on Ubuntu

apt-get install chkconfig

chkconfig cloudstack-management on

That should do it.


On Wed, Jul 17, 2013 at 6:19 AM, Indra Pramana  wrote:

> Dear all,
>
> I am running CloudStack 4.1.0 on a Ubuntu 12.04.2 server. May I know how
> can I make the cloudstack-management service to auto-start upon booting-up?
> Tried to use this command:
>
> sudo update-rc.d cloudstack-management defaults
>
> but it doesn't work. Do I need to write the upstart config script manually
> and add it into /etc/init and/or etc/default? Anyone has an existing
> upstart config script for cloudstack-management service which everyone can
> use?
>
> Looking forward to your reply, thank you.
>
> Cheers.
>


Re: No internet access to vms behind router, but the router has access

2013-07-17 Thread Dean Kamali
After upgrading from 4.0.2 to 4.1  I noticed that all of my vms lost access
to the internet.

I'm able to ping my gateway, but unable to ping any external address.

After checking few things, I found that outgoing traffic is getting
blocked.

I had to added ingress rule to my network  0.0.0.0/0 Protocol: All  to
allow outgoing traffic.

And that resolved my issue.

Dean


On Wed, Jul 17, 2013 at 9:26 AM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Dean,
>
> For the benefit of the list, can you please confirm exactly what your
> issue was and how it was fixed.
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: Dean Kamali [mailto:dean.kam...@gmail.com]
> Sent: 17 July 2013 13:44
> To: users@cloudstack.apache.org
> Subject: Re: No internet access to vms behind router, but the router has
> access
>
> That did the trick, thanks guys, its working now.
>
>
> On Wed, Jul 17, 2013 at 6:02 AM, Indra Pramana  wrote:
>
> > Hi Dean,
> >
> > By default, the virtual router is also performing firewall function
> > and will block all incoming and outgoing traffic. To allow the VM to
> > gain access to the public network and the Internet, go to Cloudstack
> > GUI > Network > Guest networks > (your network name) > Egress rules.
> > Add this rule to allow all outgoing traffic:
> >
> > Source CIDR: 0.0.0.0/0
> > Protocol: All
> >
> > Hope this helps.
> >
> > Thank you.
> >
> >
> > On Wed, Jul 17, 2013 at 12:54 PM, Dean Kamali 
> > wrote:
> >
> > > Hello everyone
> > >
> > > I have few vms setup in "Advanced zone" a mix of Windows + Linux vm,
> > > they all able to ping default gw 192.168.1.1 however none of them
> > > able to
> > access
> > > the internet.
> > >
> > > I logged in to the router, and I'm able to ping my virtual machines,
> > > and I'm able to ping outside (4.2.2.2 and 8.8.8.8 ).
> > >
> > > [image: Inline image 1]
> > >
> > > I did the following
> > >
> > > 1. reboot the router and later destroy it and it gets recreated again.
> > > 2. Create new network ( which launched new router with different
> > > public
> > IP
> > > from the pool) (same issue)
> > > 3. login to the router and issue iptables -F
> > >
> > > I'm not sure what else to try.
> > >
> > > Your help is highly appreciated.
> > >
> > >
> > >
> >
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>
>


RE: No internet access to vms behind router, but the router has access

2013-07-17 Thread Geoff Higginbottom
Dean,

For the benefit of the list, can you please confirm exactly what your issue was 
and how it was fixed.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Dean Kamali [mailto:dean.kam...@gmail.com]
Sent: 17 July 2013 13:44
To: users@cloudstack.apache.org
Subject: Re: No internet access to vms behind router, but the router has access

That did the trick, thanks guys, its working now.


On Wed, Jul 17, 2013 at 6:02 AM, Indra Pramana  wrote:

> Hi Dean,
>
> By default, the virtual router is also performing firewall function
> and will block all incoming and outgoing traffic. To allow the VM to
> gain access to the public network and the Internet, go to Cloudstack
> GUI > Network > Guest networks > (your network name) > Egress rules.
> Add this rule to allow all outgoing traffic:
>
> Source CIDR: 0.0.0.0/0
> Protocol: All
>
> Hope this helps.
>
> Thank you.
>
>
> On Wed, Jul 17, 2013 at 12:54 PM, Dean Kamali 
> wrote:
>
> > Hello everyone
> >
> > I have few vms setup in "Advanced zone" a mix of Windows + Linux vm,
> > they all able to ping default gw 192.168.1.1 however none of them
> > able to
> access
> > the internet.
> >
> > I logged in to the router, and I'm able to ping my virtual machines,
> > and I'm able to ping outside (4.2.2.2 and 8.8.8.8 ).
> >
> > [image: Inline image 1]
> >
> > I did the following
> >
> > 1. reboot the router and later destroy it and it gets recreated again.
> > 2. Create new network ( which launched new router with different
> > public
> IP
> > from the pool) (same issue)
> > 3. login to the router and issue iptables -F
> >
> > I'm not sure what else to try.
> >
> > Your help is highly appreciated.
> >
> >
> >
>
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



RE: Cloudstack shows incorrect IP address allocation

2013-07-17 Thread Asmita Vagyani
But, what can I do for CS to free up all the old IP addresses.?

-Original Message-
From: Ahmad Emneina [mailto:aemne...@gmail.com] 
Sent: 17 July 2013 PM 06:40
To: Cloudstack users mailing list
Subject: Re: Cloudstack shows incorrect IP address allocation

you probably have artifacts in your nic's table, i would assume volumes table 
would reference the vm's you deleted as well.


On Wed, Jul 17, 2013 at 6:04 AM, Asmita Vagyani < 
asmita.vagy...@sigma-systems.com> wrote:

> Hi all,
>
> I re-installed the CS 4.0 server
> After re-install, the SSVMs took too long to get created so I deleted 
> their entries  from vm_instance table, so that CS restarts its creation.
> However, I ended up with -
> com.cloud.exception.InsufficientAddressCapacityException
>
> I am not able to understand where all the management IP addresses are 
> getting used up.
> I have given public IP range of 6 IPs, but all get used up.
> THey are not getting freed up.
>
>
> Below is the log trace:
>
> 2013-07-17 08:54:34,537 DEBUG [cloud.network.NetworkManagerImpl]
> (consoleproxy-1:null) Network id=201 is already implemented
> 2013-07-17 08:54:34,537 DEBUG [cloud.network.NetworkManagerImpl]
> (consoleproxy-1:null) Lock is released for network id 201 as a part of 
> network implement
> 2013-07-17 08:54:34,561 DEBUG [db.Transaction.Transaction]
> (consoleproxy-1:null) Rolling back the transaction: Time = 1 Name =  
> -SystemVmLoadScanner$1.run:71-Executors$
>
> RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTa
> sk.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.acc
> ess$301:178-ScheduledThreadP 
> oolExecutor$ScheduledFutureTask.run:293-ThreadPoolExecutor.runWorker:1
> 110-ThreadPoolExecutor$Worker.run:603-Thread.run:722;
> called by -Transaction.rollback:887-DataCent
>
> erIpAddressDaoImpl.takeIpAddress:57-DatabaseCallback.intercept:34-Data
> CenterDaoImpl.allocatePrivateIpAddress:228-DatabaseCallback.intercept:
> 34-PodBasedNetworkGuru.reser
>
> ve:119-NetworkManagerImpl.prepareNic:2143-NetworkManagerImpl.prepare:2
> 113-VirtualMachineManagerImpl.advanceStart:752-VirtualMachineManagerIm
> pl.start:472-VirtualMachineM
> anagerImpl.start:465-ConsoleProxyManagerImpl.startProxy:627
> 2013-07-17 08:54:34,561 INFO  [cloud.vm.VirtualMachineManagerImpl]
> (consoleproxy-1:null) Insufficient capacity
> com.cloud.exception.InsufficientAddressCapacityException: Unable to 
> get a management ip addressScope=interface com.cloud.dc.Pod; id=1
> at
> com.cloud.network.guru.PodBasedNetworkGuru.reserve(PodBasedNetworkGuru.java:121)
> at
> com.cloud.network.NetworkManagerImpl.prepareNic(NetworkManagerImpl.java:2143)
> at
> com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2113)
> at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:752)
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:465)
> at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:627)
> at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1164)
> at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1981)
> at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:173)
> at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:113)
> at
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:34)
> at
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:83)
> at
> com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:73)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> 2013-07-17 08:54:34,567 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (consoleproxy-1:null) Cleaning up resources for the vm 
> VM[ConsoleProxy|v-6-VM] in Starting state
> 2013-07-17 08:54:34,570 DEBUG [agent.transport.Request]
> (consoleproxy-1:null) Seq 1-678428690: Waiting for Seq 678428689
> Scheduling:  { Cmd , MgmtId: 345051758635, via:
> 1, Ver: v1, Flags: 100111,
> [{"StopCommand":{"isProxy":

Re: Cloudstack shows incorrect IP address allocation

2013-07-17 Thread Ahmad Emneina
you probably have artifacts in your nic's table, i would assume volumes
table would reference the vm's you deleted as well.


On Wed, Jul 17, 2013 at 6:04 AM, Asmita Vagyani <
asmita.vagy...@sigma-systems.com> wrote:

> Hi all,
>
> I re-installed the CS 4.0 server
> After re-install, the SSVMs took too long to get created so I deleted
> their entries  from vm_instance table, so that CS restarts its creation.
> However, I ended up with -
> com.cloud.exception.InsufficientAddressCapacityException
>
> I am not able to understand where all the management IP addresses are
> getting used up.
> I have given public IP range of 6 IPs, but all get used up.
> THey are not getting freed up.
>
>
> Below is the log trace:
>
> 2013-07-17 08:54:34,537 DEBUG [cloud.network.NetworkManagerImpl]
> (consoleproxy-1:null) Network id=201 is already implemented
> 2013-07-17 08:54:34,537 DEBUG [cloud.network.NetworkManagerImpl]
> (consoleproxy-1:null) Lock is released for network id 201 as a part of
> network implement
> 2013-07-17 08:54:34,561 DEBUG [db.Transaction.Transaction]
> (consoleproxy-1:null) Rolling back the transaction: Time = 1 Name =
>  -SystemVmLoadScanner$1.run:71-Executors$
>
> RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301:178-ScheduledThreadP
> oolExecutor$ScheduledFutureTask.run:293-ThreadPoolExecutor.runWorker:1110-ThreadPoolExecutor$Worker.run:603-Thread.run:722;
> called by -Transaction.rollback:887-DataCent
>
> erIpAddressDaoImpl.takeIpAddress:57-DatabaseCallback.intercept:34-DataCenterDaoImpl.allocatePrivateIpAddress:228-DatabaseCallback.intercept:34-PodBasedNetworkGuru.reser
>
> ve:119-NetworkManagerImpl.prepareNic:2143-NetworkManagerImpl.prepare:2113-VirtualMachineManagerImpl.advanceStart:752-VirtualMachineManagerImpl.start:472-VirtualMachineM
> anagerImpl.start:465-ConsoleProxyManagerImpl.startProxy:627
> 2013-07-17 08:54:34,561 INFO  [cloud.vm.VirtualMachineManagerImpl]
> (consoleproxy-1:null) Insufficient capacity
> com.cloud.exception.InsufficientAddressCapacityException: Unable to get a
> management ip addressScope=interface com.cloud.dc.Pod; id=1
> at
> com.cloud.network.guru.PodBasedNetworkGuru.reserve(PodBasedNetworkGuru.java:121)
> at
> com.cloud.network.NetworkManagerImpl.prepareNic(NetworkManagerImpl.java:2143)
> at
> com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2113)
> at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:752)
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
> at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:465)
> at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:627)
> at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1164)
> at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1981)
> at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:173)
> at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:113)
> at
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:34)
> at
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:83)
> at
> com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:73)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> 2013-07-17 08:54:34,567 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (consoleproxy-1:null) Cleaning up resources for the vm
> VM[ConsoleProxy|v-6-VM] in Starting state
> 2013-07-17 08:54:34,570 DEBUG [agent.transport.Request]
> (consoleproxy-1:null) Seq 1-678428690: Waiting for Seq 678428689
> Scheduling:  { Cmd , MgmtId: 345051758635, via:
> 1, Ver: v1, Flags: 100111,
> [{"StopCommand":{"isProxy":false,"vmName":"v-6-VM","wait":0}}] }
> 2013-07-17 08:54:34,712 INFO  [vmware.resource.VmwareResource]
> (DirectAgent-33:torvms04lx.sigmasys.net) VM s-8-VM is no longer in vSphere
> 2013-07-17 08:54:34,713 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-33:null) Seq 1-678428689: Response

Cloudstack shows incorrect IP address allocation

2013-07-17 Thread Asmita Vagyani
Hi all,

I re-installed the CS 4.0 server
After re-install, the SSVMs took too long to get created so I deleted their 
entries  from vm_instance table, so that CS restarts its creation.
However, I ended up with - 
com.cloud.exception.InsufficientAddressCapacityException

I am not able to understand where all the management IP addresses are getting 
used up.
I have given public IP range of 6 IPs, but all get used up.
THey are not getting freed up.


Below is the log trace:

2013-07-17 08:54:34,537 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Network id=201 is already implemented
2013-07-17 08:54:34,537 DEBUG [cloud.network.NetworkManagerImpl] 
(consoleproxy-1:null) Lock is released for network id 201 as a part of network 
implement
2013-07-17 08:54:34,561 DEBUG [db.Transaction.Transaction] 
(consoleproxy-1:null) Rolling back the transaction: Time = 1 Name =  
-SystemVmLoadScanner$1.run:71-Executors$
RunnableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAndReset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301:178-ScheduledThreadP
oolExecutor$ScheduledFutureTask.run:293-ThreadPoolExecutor.runWorker:1110-ThreadPoolExecutor$Worker.run:603-Thread.run:722;
 called by -Transaction.rollback:887-DataCent
erIpAddressDaoImpl.takeIpAddress:57-DatabaseCallback.intercept:34-DataCenterDaoImpl.allocatePrivateIpAddress:228-DatabaseCallback.intercept:34-PodBasedNetworkGuru.reser
ve:119-NetworkManagerImpl.prepareNic:2143-NetworkManagerImpl.prepare:2113-VirtualMachineManagerImpl.advanceStart:752-VirtualMachineManagerImpl.start:472-VirtualMachineM
anagerImpl.start:465-ConsoleProxyManagerImpl.startProxy:627
2013-07-17 08:54:34,561 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(consoleproxy-1:null) Insufficient capacity
com.cloud.exception.InsufficientAddressCapacityException: Unable to get a 
management ip addressScope=interface com.cloud.dc.Pod; id=1
at 
com.cloud.network.guru.PodBasedNetworkGuru.reserve(PodBasedNetworkGuru.java:121)
at 
com.cloud.network.NetworkManagerImpl.prepareNic(NetworkManagerImpl.java:2143)
at 
com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2113)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:752)
at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:465)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:627)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1164)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1981)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:173)
at 
com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:113)
at 
com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:34)
at 
com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:83)
at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:73)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
2013-07-17 08:54:34,567 DEBUG [cloud.vm.VirtualMachineManagerImpl] 
(consoleproxy-1:null) Cleaning up resources for the vm VM[ConsoleProxy|v-6-VM] 
in Starting state
2013-07-17 08:54:34,570 DEBUG [agent.transport.Request] (consoleproxy-1:null) 
Seq 1-678428690: Waiting for Seq 678428689 Scheduling:  { Cmd , MgmtId: 
345051758635, via:
1, Ver: v1, Flags: 100111, 
[{"StopCommand":{"isProxy":false,"vmName":"v-6-VM","wait":0}}] }
2013-07-17 08:54:34,712 INFO  [vmware.resource.VmwareResource] 
(DirectAgent-33:torvms04lx.sigmasys.net) VM s-8-VM is no longer in vSphere
2013-07-17 08:54:34,713 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-33:null) Seq 1-678428689: Response Received:
2013-07-17 08:54:34,713 DEBUG [agent.transport.Request] (DirectAgent-33:null) 
Seq 1-678428689: Processing:  { Ans: , MgmtId: 345051758635, via: 1, Ver: v1, 
Flags: 110,
[{"StopAnswer":{"vncPort":0,"result":true,"details":"VM s-8-VM is no longer in 
vSphere","wait":0}}] }
2013-07-17 08:54:34,714 DEBUG [agent.transport.Request] (secstorage-1:null

Re: No internet access to vms behind router, but the router has access

2013-07-17 Thread Dean Kamali
That did the trick, thanks guys, its working now.


On Wed, Jul 17, 2013 at 6:02 AM, Indra Pramana  wrote:

> Hi Dean,
>
> By default, the virtual router is also performing firewall function and
> will block all incoming and outgoing traffic. To allow the VM to gain
> access to the public network and the Internet, go to Cloudstack GUI >
> Network > Guest networks > (your network name) > Egress rules. Add this
> rule to allow all outgoing traffic:
>
> Source CIDR: 0.0.0.0/0
> Protocol: All
>
> Hope this helps.
>
> Thank you.
>
>
> On Wed, Jul 17, 2013 at 12:54 PM, Dean Kamali 
> wrote:
>
> > Hello everyone
> >
> > I have few vms setup in "Advanced zone" a mix of Windows + Linux vm, they
> > all able to ping default gw 192.168.1.1 however none of them able to
> access
> > the internet.
> >
> > I logged in to the router, and I'm able to ping my virtual machines, and
> > I'm able to ping outside (4.2.2.2 and 8.8.8.8 ).
> >
> > [image: Inline image 1]
> >
> > I did the following
> >
> > 1. reboot the router and later destroy it and it gets recreated again.
> > 2. Create new network ( which launched new router with different public
> IP
> > from the pool) (same issue)
> > 3. login to the router and issue iptables -F
> >
> > I'm not sure what else to try.
> >
> > Your help is highly appreciated.
> >
> >
> >
>


Re: Bridge creation issue on Management Server for CS 4.1

2013-07-17 Thread Ashutosh Narayan
Hi Geoff,

Can you help me iin sorting out the bridge issue ?
I am following the doc mentioned in the link below
but as soon as I create VLANS the connectivity dies
and the management server becomes unreachable.

Is there any other way to fix this issue other than
what Dean has mentioned ?

Thank you,

On Fri, Jul 12, 2013 at 10:27 PM, Ashutosh Narayan <
aashutoshnara...@gmail.com> wrote:

> Hi Dean,
>
> Can you elaborate a little more please as to how you achieved it ?
>
> Thank you,
>
>
> On Fri, Jul 12, 2013 at 10:23 PM, Dean Kamali wrote:
>
>> The only way I got it working was by creating a bridge for each network /
>> management / guest / public / storage.
>>
>> Happy Friday
>>
>>
>> On Fri, Jul 12, 2013 at 12:52 PM, Ashutosh Narayan <
>> aashutoshnara...@gmail.com> wrote:
>>
>> > Hi Folks,
>> >
>> > I have installed KVM hypervisor and libvirtd is also running fine on my
>> > management server.
>> > I am having issues in setting up bridges. I am following this document
>> >
>> >
>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/hypervisor-kvm-install-flow.html
>> > Section : 8.1.7.2.1 , Is it mandatory to have three VLANs and two
>> bridges ?
>> > Is there any other way to achieve this ?
>> > Because of this am unable to create hosts for my zone. Any suggestions ?
>> >
>> > Thank you,
>> > --
>> > Ashutosh Narayan
>> >
>> > http://ashutoshn.wordpress.com/
>> >
>>
>
>
>
> --
> Ashutosh Narayan
>
> http://ashutoshn.wordpress.com/
>
>


-- 
Ashutosh Narayan

http://ashutoshn.wordpress.com/


Re: Regarding Repository

2013-07-17 Thread Ron Wheeler
You need to connect to the internet unless you create a yum repo on your 
Centos box and populate it with the distribution kits required.


You need to read up on repositories.

Ron

On 16/07/2013 11:59 PM, Chitra Manjunath wrote:

HI All,

I'm installing cloudstack on centos 6.3 in a VM where there is no internet 
connection.  I tried to install the prerequisites( tomcat 6, openjdk etc..) 
using Yum.
I got the error- invalid base repo. Please tell me the solution for this.

Thanks & Regards
Chitra.M

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are 
not
to copy, disclose, or distribute this e-mail or its contents to any other 
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken
every reasonable precaution to minimize this risk, but is not liable for any 
damage
you may sustain as a result of any virus in this e-mail. You should carry out 
your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this 
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***




--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102



RE: Advanced Zone Network offering without NAT

2013-07-17 Thread Sanjeev Neelarapu
Hi,



Please find the response inline.



-Sanjeev

-Original Message-
From: punit hongkong [mailto:hypu...@gmail.com]
Sent: Wednesday, July 17, 2013 4:02 PM
To: users@cloudstack.apache.org
Subject: Re: Advanced Zone Network offering without NAT



Hi Sanjeev,



I want to use cloudstack with the following network offering :-



1. One Management Network (also a public facing network as i don't want

NAT) for the host machines and CS MGmt server and system VM's (Suppose i have 
202.0.0.0/28) :- Vlan 20 2. Guest Public :- For Vm to get the public access. 
(172.235.0.0/28) Vlan

:- 40

[Sanjeev]: Create a physical network with Public,Management,Guest and Storage 
Traffic Types

Cloudstack does not support tagged traffic for management network, so I think 
you can't use CIDR 202.0.0.0/28 with vlan 20 for management traffic.

For the system VMs to get public access  use CIDR  202.0.0.0/28 with Vlan 20 in 
the Public Traffic.



3. Guest Private :- For VM to Vm communication (10.0.1.0/23). Vlan :- 50

[Sanjeev]: Create two shared networks say N1 and N2 with CIDRs 172.235.0.0/28) 
Vlan

:- 40 and 10.0.1.0/23). Vlan :- 50

Deploy guest vm with these two networks and choose N1 as the default network 
while deploying the vm

4. Storage :- For NFS and iscsi Storage (10.10.0.0/22) Vlan :- 60

As i have created the VLAN on the host NIC,so in the cloudstack need to be 
untagged..
[Sanjeev]:Create storage traffic with CIDR 202.0.0.0/28 withount vlan id.



Please suggest me how i can achieve this through Cloudstack...





On Wed, Jul 17, 2013 at 5:00 PM, Sanjeev Neelarapu < 
sanjeev.neelar...@citrix.com> wrote:



> Hi Punit,

>

> In advanced zone we can create shared network offering without any NAT

> service.

>

> Thanks,

> Sanjeev

>

> -Original Message-

> From: punit hongkong [mailto:hypu...@gmail.com]

> Sent: Wednesday, July 17, 2013 12:33 PM

> To: users@cloudstack.apache.org

> Subject: Advanced Zone Network offering without NAT

>

> Hi,

>

> I want to deploy the cloudstack with Advanced Zone...and the network

> offering should be without Any NAT...is it possible to create network

> offering with any NAT for shared network.

>

> Thanks,

> Punit Dambiwal

>


Re: User management / Roles

2013-07-17 Thread Pablo Endres
Hi Geoff,

thanks. It is more or less what my tests told me, but there is always
someone out their that has more experience.

Best regards / Mit freundlichen Grüßen,
Pablo Endres


On Wed, Jul 17, 2013 at 12:34 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Pablo,
>
> Currently the only type of account that can create new Accounts and Users
> are Root Admins.
>
> Domain Admins are best considered as 'Power Users' as they have no actual
> admin rights.
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: Pablo Endres [mailto:pablo.end...@innovo-cloud.de]
> Sent: 17 July 2013 10:49
> To: users@cloudstack.apache.org
> Subject: User management / Roles
>
> Hi,
>
> I've been trying to find the best way to manage my users in ACS,
> especially to find a way for to be able to create users under an account
> without being root or admin of the whole ACS.
>
> So basically what I'm aiming to have is 4 roles:
>
>1. Admin - ACS SysAdmin
>2. DomainAdmin - Should be able to create accounts in his domian, and
>not be able to see other domains
>3. AccountAdmin - Is the main user of an account. He can create other
>users and manage anything in his account.. -> SysAdmin for an Account
>4. AccountUser - End user for an account. He can create and manage his
>machines or those in a project he takes part of, but not those of other
>users
>
>
> Can anyone give me a tip in the right direction?
> Thanks in advance.
>
>
> Best regards / Mit freundlichen Grüßen,
> Pablo Endres
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>
>


RE: User management / Roles

2013-07-17 Thread Geoff Higginbottom
Pablo,

Currently the only type of account that can create new Accounts and Users are 
Root Admins.

Domain Admins are best considered as 'Power Users' as they have no actual admin 
rights.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Pablo Endres [mailto:pablo.end...@innovo-cloud.de]
Sent: 17 July 2013 10:49
To: users@cloudstack.apache.org
Subject: User management / Roles

Hi,

I've been trying to find the best way to manage my users in ACS, especially to 
find a way for to be able to create users under an account without being root 
or admin of the whole ACS.

So basically what I'm aiming to have is 4 roles:

   1. Admin - ACS SysAdmin
   2. DomainAdmin - Should be able to create accounts in his domian, and
   not be able to see other domains
   3. AccountAdmin - Is the main user of an account. He can create other
   users and manage anything in his account.. -> SysAdmin for an Account
   4. AccountUser - End user for an account. He can create and manage his
   machines or those in a project he takes part of, but not those of other
   users


Can anyone give me a tip in the right direction?
Thanks in advance.


Best regards / Mit freundlichen Grüßen,
Pablo Endres
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



Re: Memory Overcommit + KVM

2013-07-17 Thread Arnaud Gaillard
Currently, if you really want to overcommit RAM, there is a workaround with
KVM, but it involves to modify the value reported by the host directly in
the database.





On Wed, Jul 17, 2013 at 12:14 PM, Tao Lin  wrote:

> Hi,Andreas,
> Memory over-committing has not been support yet.Take a look at the
> following links:
>
>
> [1] http://markmail.org/message/u6i5mdwyf42icsff
> [2] https://cwiki.apache.org/CLOUDSTACK/cpu-and-ram-overcommit.html
>
>
> 2013/7/17 Andreas Huser 
>
> > Hello at all,
> >
> > i have two KVM Hypervisors with equal RAM à 16GB
> > In the Cloudstack zone resource tab can i read "Allocated: 15.30 GB /
> > 31.13 GB".
> >
> > When i configure memory overcommit *2 and restart the Cloud Manager. I
> see
> > the same "Allocated: 15.30 GB / 31.13 GB"
> > Must this not now like e.g "Allocated: 15.30 GB / 62.26GB"  to be?
> >
> > many thanks
> > Regards Andreas
> >
> >
> >
> >
> >
> > Mit freundlichen Grüßen
> >
> > Andreas Huser
> > Geschäftsführer
> > System Engineer / Consultant
> > (Cisco Certified Solaris, Linux)
> >
> > ---
> > Zellerstraße 28 - 77654 Offenburg
> > Tel: +49(781) 1278689 0
> > Mobil: +49(176) 10308549
> > ahu...@7five-edv.de
> >
> >
> >
> >
> >
>



-- 
*Arnaud Gaillard*
CTO
Mobile : +41 78 674 58 95




Re: Advanced Zone Network offering without NAT

2013-07-17 Thread punit hongkong
Hi Sanjeev,

I want to use cloudstack with the following network offering :-

1. One Management Network (also a public facing network as i don't want
NAT) for the host machines and CS MGmt server and system VM's (Suppose i
have 202.0.0.0/28) :- Vlan 20
2. Guest Public :- For Vm to get the public access. (172.235.0.0/28) Vlan
:- 40
3. Guest Private :- For VM to Vm communication (10.0.1.0/23). Vlan :- 50
4. Storage :- For NFS and iscsi Storage (10.10.0.0/22) Vlan :- 60

As i have created the VLAN on the host NIC,so in the cloudstack need to be
untagged..

Please suggest me how i can achieve this through Cloudstack...


On Wed, Jul 17, 2013 at 5:00 PM, Sanjeev Neelarapu <
sanjeev.neelar...@citrix.com> wrote:

> Hi Punit,
>
> In advanced zone we can create shared network offering without any NAT
> service.
>
> Thanks,
> Sanjeev
>
> -Original Message-
> From: punit hongkong [mailto:hypu...@gmail.com]
> Sent: Wednesday, July 17, 2013 12:33 PM
> To: users@cloudstack.apache.org
> Subject: Advanced Zone Network offering without NAT
>
> Hi,
>
> I want to deploy the cloudstack with Advanced Zone...and the network
> offering should be without Any NAT...is it possible to create network
> offering with any NAT for shared network.
>
> Thanks,
> Punit Dambiwal
>


Re: Memory Overcommit + KVM

2013-07-17 Thread Andreas Huser
ahh... I've probably overlooked

Many Thanks! 




Mit freundlichen Grüßen 

Andreas Huser 
Geschäftsführer 
System Engineer / Consultant 
(Cisco Certified Solaris, Linux) 

--- 
Zellerstraße 28 - 77654 Offenburg 
Tel: +49(781) 1278689 0 
Mobil: +49(176) 10308549 
ahu...@7five-edv.de 





- Ursprüngliche Mail - 

Von: "Tao Lin"  
An: users@cloudstack.apache.org 
Gesendet: Mittwoch, 17. Juli 2013 12:14:10 
Betreff: Re: Memory Overcommit + KVM 

Hi,Andreas, 
Memory over-committing has not been support yet.Take a look at the 
following links: 


[1] http://markmail.org/message/u6i5mdwyf42icsff 
[2] https://cwiki.apache.org/CLOUDSTACK/cpu-and-ram-overcommit.html 


2013/7/17 Andreas Huser  

> Hello at all, 
> 
> i have two KVM Hypervisors with equal RAM à 16GB 
> In the Cloudstack zone resource tab can i read "Allocated: 15.30 GB / 
> 31.13 GB". 
> 
> When i configure memory overcommit *2 and restart the Cloud Manager. I see 
> the same "Allocated: 15.30 GB / 31.13 GB" 
> Must this not now like e.g "Allocated: 15.30 GB / 62.26GB" to be? 
> 
> many thanks 
> Regards Andreas 
> 
> 
> 
> 
> 
> Mit freundlichen Grüßen 
> 
> Andreas Huser 
> Geschäftsführer 
> System Engineer / Consultant 
> (Cisco Certified Solaris, Linux) 
> 
> --- 
> Zellerstraße 28 - 77654 Offenburg 
> Tel: +49(781) 1278689 0 
> Mobil: +49(176) 10308549 
> ahu...@7five-edv.de 
> 
> 
> 
> 
>


cloudstack-management service auto-start?

2013-07-17 Thread Indra Pramana
Dear all,

I am running CloudStack 4.1.0 on a Ubuntu 12.04.2 server. May I know how
can I make the cloudstack-management service to auto-start upon booting-up?
Tried to use this command:

sudo update-rc.d cloudstack-management defaults

but it doesn't work. Do I need to write the upstart config script manually
and add it into /etc/init and/or etc/default? Anyone has an existing
upstart config script for cloudstack-management service which everyone can
use?

Looking forward to your reply, thank you.

Cheers.


Re: Memory Overcommit + KVM

2013-07-17 Thread Tao Lin
Hi,Andreas,
Memory over-committing has not been support yet.Take a look at the
following links:


[1] http://markmail.org/message/u6i5mdwyf42icsff
[2] https://cwiki.apache.org/CLOUDSTACK/cpu-and-ram-overcommit.html


2013/7/17 Andreas Huser 

> Hello at all,
>
> i have two KVM Hypervisors with equal RAM à 16GB
> In the Cloudstack zone resource tab can i read "Allocated: 15.30 GB /
> 31.13 GB".
>
> When i configure memory overcommit *2 and restart the Cloud Manager. I see
> the same "Allocated: 15.30 GB / 31.13 GB"
> Must this not now like e.g "Allocated: 15.30 GB / 62.26GB"  to be?
>
> many thanks
> Regards Andreas
>
>
>
>
>
> Mit freundlichen Grüßen
>
> Andreas Huser
> Geschäftsführer
> System Engineer / Consultant
> (Cisco Certified Solaris, Linux)
>
> ---
> Zellerstraße 28 - 77654 Offenburg
> Tel: +49(781) 1278689 0
> Mobil: +49(176) 10308549
> ahu...@7five-edv.de
>
>
>
>
>


Re: No internet access to vms behind router, but the router has access

2013-07-17 Thread Indra Pramana
Hi Dean,

By default, the virtual router is also performing firewall function and
will block all incoming and outgoing traffic. To allow the VM to gain
access to the public network and the Internet, go to Cloudstack GUI >
Network > Guest networks > (your network name) > Egress rules. Add this
rule to allow all outgoing traffic:

Source CIDR: 0.0.0.0/0
Protocol: All

Hope this helps.

Thank you.


On Wed, Jul 17, 2013 at 12:54 PM, Dean Kamali  wrote:

> Hello everyone
>
> I have few vms setup in "Advanced zone" a mix of Windows + Linux vm, they
> all able to ping default gw 192.168.1.1 however none of them able to access
> the internet.
>
> I logged in to the router, and I'm able to ping my virtual machines, and
> I'm able to ping outside (4.2.2.2 and 8.8.8.8 ).
>
> [image: Inline image 1]
>
> I did the following
>
> 1. reboot the router and later destroy it and it gets recreated again.
> 2. Create new network ( which launched new router with different public IP
> from the pool) (same issue)
> 3. login to the router and issue iptables -F
>
> I'm not sure what else to try.
>
> Your help is highly appreciated.
>
>
>


Re: Not able to add kvm host to cluster

2013-07-17 Thread Jayapal Reddy Uradi
Hi,

Please check kvm installed correctly in your host.
lsmod | grep kvm

Also observe logs, /var/log/cloudstack/management/management-server.log and 
agent log /var/log/cloudstack/agent/agent.log for errors.

Thanks,
Jayapal

On 17-Jul-2013, at 2:53 PM, Shivaprasad Katta 
 wrote:

> Hello Cloudstackers,
> I am new to Cloudstack and trying to understand.I just deployed cloudstack 
> 4.0.2 on CentOS 6.3 x86_64. The manager installation was smooth and was 
> trying to create the zone (not through the wizard). The overall process 
> failed while adding the kvm host (CentOS 6.3 x86_64). Below is the exception 
> in catalina.out on manger. Any pointers to move forward ? 
> WARN  [cloud.api.ApiDispatcher] (catalina-exec-8:) class 
> com.cloud.api.ServerApiException : Unable to add the hostINFO  
> [cloud.resource.ResourceManagerImpl] (catalina-exec-7:) Trying to add a new 
> host at http://192.168.10.101 in data center 1WARN  
> [cloud.resource.ResourceManagerImpl] (catalina-exec-7:) Unable to find the 
> server resources at http://192.168.10.101WARN  [api.commands.AddHostCmd] 
> (catalina-exec-7:) Exception:com.cloud.exception.DiscoveryException: Unable 
> to add the hostat 
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:737)
> at 
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
> at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140) 
>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)at 
> com.cloud.api.ApiServer.queueCommand(ApiServer.java:544)at 
> com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)at 
> com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312)at 
> com.cloud.api.ApiServlet.doGet(ApiServlet.java:64)at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
>at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
>at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) 
>at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)   
>  at 
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
> at 
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
> at 
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:679)WARN  
> [cloud.api.ApiDispatcher] (catalina-exec-7:) class 
> com.cloud.api.ServerApiException : Unable to add the host
> 
> Thanks, Shivaprasad Katta
> 



Memory Overcommit + KVM

2013-07-17 Thread Andreas Huser
Hello at all,

i have two KVM Hypervisors with equal RAM à 16GB
In the Cloudstack zone resource tab can i read "Allocated: 15.30 GB / 31.13 GB".

When i configure memory overcommit *2 and restart the Cloud Manager. I see the 
same "Allocated: 15.30 GB / 31.13 GB"
Must this not now like e.g "Allocated: 15.30 GB / 62.26GB"  to be?

many thanks
Regards Andreas





Mit freundlichen Grüßen 

Andreas Huser 
Geschäftsführer 
System Engineer / Consultant 
(Cisco Certified Solaris, Linux) 

--- 
Zellerstraße 28 - 77654 Offenburg 
Tel: +49(781) 1278689 0 
Mobil: +49(176) 10308549 
ahu...@7five-edv.de 






User management / Roles

2013-07-17 Thread Pablo Endres
Hi,

I've been trying to find the best way to manage my users in ACS, especially
to find a way for to be able to create users under an account without being
root or admin of the whole ACS.

So basically what I'm aiming to have is 4 roles:

   1. Admin - ACS SysAdmin
   2. DomainAdmin - Should be able to create accounts in his domian, and
   not be able to see other domains
   3. AccountAdmin - Is the main user of an account. He can create other
   users and manage anything in his account.. -> SysAdmin for an Account
   4. AccountUser - End user for an account. He can create and manage his
   machines or those in a project he takes part of, but not those of other
   users


Can anyone give me a tip in the right direction?
Thanks in advance.


Best regards / Mit freundlichen Grüßen,
Pablo Endres


Re: Wrong storage capacity issue reported

2013-07-17 Thread Indra Pramana
Dear Wido and all,

FYI, I managed to resolve the problem by installing latest version of
libvirt. Apparently, the libvirt version that I was using (1.0.2), which I
got from here:

http://blog.widodh.nl/2013/06/a-quick-note-on-running-cloudstack-with-rbd-on-ubuntu-12-04/

was the culprit. I downloaded the latest libvirt version (version 1.1.0)
from their FTP site:

ftp://libvirt.org/libvirt/libvirt-1.1.0.tar.gz

Install the latest librbd-dev package:

apt-get install librbd-dev

Then compile libvirt with storage RBD enabled:

./autogen.sh --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--with-storage-rbd

Restart the KVM host after it's done.

virsh pool-info is now showing the correct "Allocation" amount:

root@hv-kvm-02:~# virsh pool-info d433809b-01ea-3947-ba0f-48077244e4d6
Name:   d433809b-01ea-3947-ba0f-48077244e4d6
UUID:   d433809b-01ea-3947-ba0f-48077244e4d6
State:  running
Persistent: no
Autostart:  no
Capacity:   5.47 TiB
Allocation: 328.00 B
Available:  5.47 TiB

Tried to create a VM instance, and now the VM can utilise the RBD storage
pool. No more "insufficient space on pool" error message on the log.

The only issue is that, I noted that only the DATADISK volume is created on
the RBD primary storage pool. The ROOT volume of that VM is still created
on the NFS primary storage pool.

Is there a way to ensure that the ROOT volume will also be created on the
RBD primary storage pool instead of the NFS pool?

Looking forward to your reply, thank you.

Cheers.



On Wed, Jul 17, 2013 at 12:42 PM, Indra Pramana  wrote:

> Dear Wido and all,
>
> On Tue, Jul 16, 2013 at 10:49 AM, Indra Pramana  wrote:
>
>> Hi Prasanna,
>>
>> On Mon, Jul 15, 2013 at 12:38 PM, Prasanna Santhanam wrote:
>>
>>> It might be a bug on ceph but the thread you referenced was resolved.
>>> See here: http://markmail.org/message/mkm2fqyawmwpufsc
>>>
>>> If it still persists, can you please file a bug on JIRA?
>>>
>>
>> As suggested, I have filed a bug on JIRA.
>>
>> https://issues.apache.org/jira/browse/CLOUDSTACK-3542
>>
>> Appreciate any advise on how to resolve the problem. Wido, any comments
>> from your end? :)
>>
>
> Anyone has any clues on how to resolve this problem? It is a show-stopper
> for me, I can't proceed further without able to get my RBD primary storage
> to work.
>
> Any advice is greatly appreciated.
>
> Looking forward to your reply, thank you.
>
> Cheers.
>
>


Not able to add kvm host to cluster

2013-07-17 Thread Shivaprasad Katta
Hello Cloudstackers,
I am new to Cloudstack and trying to understand.I just deployed cloudstack 
4.0.2 on CentOS 6.3 x86_64. The manager installation was smooth and was trying 
to create the zone (not through the wizard). The overall process failed while 
adding the kvm host (CentOS 6.3 x86_64). Below is the exception in catalina.out 
on manger. Any pointers to move forward ? 
WARN  [cloud.api.ApiDispatcher] (catalina-exec-8:) class 
com.cloud.api.ServerApiException : Unable to add the hostINFO  
[cloud.resource.ResourceManagerImpl] (catalina-exec-7:) Trying to add a new 
host at http://192.168.10.101 in data center 1WARN  
[cloud.resource.ResourceManagerImpl] (catalina-exec-7:) Unable to find the 
server resources at http://192.168.10.101WARN  [api.commands.AddHostCmd] 
(catalina-exec-7:) Exception:com.cloud.exception.DiscoveryException: Unable to 
add the hostat 
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:737)
at 
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)   
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)at 
com.cloud.api.ApiServer.queueCommand(ApiServer.java:544)at 
com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)at 
com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312)at 
com.cloud.api.ApiServlet.doGet(ApiServlet.java:64)at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)   
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)   
 at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)   
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 
   at 
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) 
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
   at java.lang.Thread.run(Thread.java:679)WARN  [cloud.api.ApiDispatcher] 
(catalina-exec-7:) class com.cloud.api.ServerApiException : Unable to add the 
host

Thanks, Shivaprasad Katta
  

RE: [Cloudstack] Networking Offering displayed when creating an Instance

2013-07-17 Thread Sanjeev Neelarapu
Hi Bruno,

As Geoff said, from Network Tab we can only create Isolated networks(With 
source nat)
To  create shared networks we should navigate to:
Infrastructure > Zones > Your Zone Name > Physical Networks > Your Network Name 
> Guest

-Sanjeev

-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] 
Sent: Tuesday, July 16, 2013 9:50 PM
To: users@cloudstack.apache.org
Subject: RE: [Cloudstack] Networking Offering displayed when creating an 
Instance

Hi Bruno,

When you navigate to the Network Tab, and add a new Network, you only see 
offerings which have the Source NAT option enabled.

To use other offerings, such as Shared or ones you have created yourself you 
need to navigate to (from memory so may not be 100% correct but you'll get the 
idea)

Infrastructure > Zones > Your Zone Name > Physical Networks > Your Network Name 
> Guest

You can then add the network from there, and obviously this is a Root Admin 
feature only

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Bruno Oliveira ~lychinus [mailto:brunnop.olive...@gmail.com]
Sent: 16 July 2013 16:28
To: users@cloudstack.apache.org
Subject: [Cloudstack] Networking Offering displayed when creating an Instance

Hello Cloudstackers,

I'm experiencing some odd (at least for me?) issues, that I would like to ask 
for your enlightenment.

I've deployed Cloudstack 4.1 on a Ubuntu 12.04 LTS with the packages from 
repository. Everything is up and running. I can provision VMs without any 
issues as well.

But when creating a new instance, at the Network Offering setup, I can only 
select "DefaultIsolatedNetworkOfferingWithSourceNatService" offering.

Despite of having a lot more offerings in Service Offerings > Network 
Offerings. That's preventing me from creating Shared Networks for example.

I even tried created a new Network Offering myself, enabled it and all, but 
still I can choose it when creating a new VM.  Am I missing  anything ?

Thank you so much.


--

Bruno Oliveira
Developer, Software Engineer
irc: lychinus | skype: brunnop.oliveira
brunnop.olive...@gmail.com

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: Advanced Zone Network offering without NAT

2013-07-17 Thread Sanjeev Neelarapu
Hi Punit,

In advanced zone we can create shared network offering without any NAT service.

Thanks,
Sanjeev

-Original Message-
From: punit hongkong [mailto:hypu...@gmail.com] 
Sent: Wednesday, July 17, 2013 12:33 PM
To: users@cloudstack.apache.org
Subject: Advanced Zone Network offering without NAT

Hi,

I want to deploy the cloudstack with Advanced Zone...and the network offering 
should be without Any NAT...is it possible to create network offering with any 
NAT for shared network.

Thanks,
Punit Dambiwal


Re: Template Backup

2013-07-17 Thread Geoff Higginbottom
If your system is not fully functional, you can just copy it directly from the 
secondary storage.

You can find the details in the DB or if you do not many templates you can 
easily find it by just browsing the secondary storage files.

Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542 | S: +44 20 3603 
0540| M: +447968161581

geoff.higginbot...@shapeblue.com 
|www.shapeblue.com | Twitter:@shapeblue

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS


On 17 Jul 2013, at 08:15, "Asmita Vagyani" 
mailto:asmita.vagy...@sigma-systems.com>> 
wrote:

I tried to download it, the secondary storage it gives me following message
" There is no secondary storage VM for secondary storage host 3".


Regards.
Asmita

-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: 17 July 2013 PM 12:25
To: mailto:users@cloudstack.apache.org>>
Subject: Re: Template Backup

You can simply export the template, then import it again once you have 
completed the re-installation.  You just need to a http server to host the 
template so you can import it.

Regards

Geoff Higginbottom
CTO / Cloud Architect


D: +44 20 3603 0542 | S: +44 20 3603 0540 
| M: +447968161581

geoff.higginbot...@shapeblue.com
 | www.shapeblue.com

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS



On 17 Jul 2013, at 07:45, "Asmita Vagyani" 
mailto:asmita.vagy...@sigma-systems.com>>
 wrote:

Hi all,

We are going to run the Cloudstack re-install,.
However, we have the Ubuntu template that we created in CloudStack.
It would be nice if we did not have to re-create this after doing the install.
Is there some way to find this file and save it, so that it can be put back in 
place once the server is re-installed?

Regards,

Asmita.

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: Template Backup

2013-07-17 Thread Asmita Vagyani
I tried to download it, the secondary storage it gives me following message
" There is no secondary storage VM for secondary storage host 3".


Regards.
Asmita

-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] 
Sent: 17 July 2013 PM 12:25
To: 
Subject: Re: Template Backup

You can simply export the template, then import it again once you have 
completed the re-installation.  You just need to a http server to host the 
template so you can import it.

Regards

Geoff Higginbottom
CTO / Cloud Architect


D: +44 20 3603 0542 | S: +44 20 3603 0540 
| M: +447968161581

geoff.higginbot...@shapeblue.com | 
www.shapeblue.com

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS



On 17 Jul 2013, at 07:45, "Asmita Vagyani" 
mailto:asmita.vagy...@sigma-systems.com>> 
wrote:

Hi all,

We are going to run the Cloudstack re-install,.
However, we have the Ubuntu template that we created in CloudStack.
It would be nice if we did not have to re-create this after doing the install.
Is there some way to find this file and save it, so that it can be put back in 
place once the server is re-installed?

Regards,

Asmita.

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Advanced Zone Network offering without NAT

2013-07-17 Thread punit hongkong
Hi,

I want to deploy the cloudstack with Advanced Zone...and the network
offering should be without Any NAT...is it possible to create network
offering with any NAT for shared network.

Thanks,
Punit Dambiwal