You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by punit hongkong <hy...@gmail.com> on 2013/07/17 09:02:58 UTC

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: Advanced Zone Network offering without NAT

Posted by Punit Dambiwal <hy...@gmail.com>.
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 <im...@webmd.net> 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.neelarapu@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:hypunit@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.neelarapu@citrix.com<ma...@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:hypunit@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: Advanced Zone Network offering without NAT

Posted by "Musayev, Ilya" <im...@webmd.net>.
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.neelarapu@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:hypunit@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.neelarapu@citrix.com<ma...@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:hypunit@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: Advanced Zone Network offering without NAT

Posted by Sanjeev Neelarapu <sa...@citrix.com>.
Hi,
Based on the following messages in the log file:
2013-07-19 10:39:04,689 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-193:null) Creating VIF for r-10-VM on nic [Nic:Guest-10.0.1.1-vlan://150]
2013-07-19 10:39:04,693 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-193:null) Looking for network named private
2013-07-19 10:39:04,713 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-193:null) Found a network called private on host=202.167.235.52;  Network=65aca1a4-a688-bb0b-4d31-0700156cb65d; pif=473df1a3-6d5d-fe0f-df3c-98bfa968c9ff
2013-07-19 10:39:04,721 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-193:null) Creating VLAN 150 on host 202.167.235.52 on device eth1
2013-07-19 10:39:04,739 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-193:null) Catch Exception: class com.xensource.xenapi.Types$PifIsVlan due to You tried to create a VLAN on top of another VLAN - use the underlying physical PIF/bond instead

I could say that vlan 150 is already present on the hypervisor. Please clean the host before adding it to CS.

Thanks,
Sanjeev

From: Punit Dambiwal [mailto:hypunit@gmail.com]
Sent: Friday, July 19, 2013 8:23 AM
To: users@cloudstack.apache.org
Subject: Re: Advanced Zone Network offering without NAT

Hi Sanjeev,

I have attached the complete log file for your references.

On Thu, Jul 18, 2013 at 11:28 PM, Sanjeev Neelarapu <sa...@citrix.com>> wrote:
Need logs to analyze what went wrong in starting vm.

-Sanjeev

-----Original Message-----
From: Punit Dambiwal [mailto:hypunit@gmail.com<ma...@gmail.com>]
Sent: Thursday, July 18, 2013 3:41 PM
To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>
Subject: Re: Advanced Zone Network offering without NAT

Hi Sanjeev,

Thanks For your reply....i have created the shared network...but when try to deploy the new instance with the shared network it failed with error
(2013-07-18 16:24:06,982 INFO  [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-35:job-50) Unable to start VM on Host[-3-Routing] due to Unable to start i-2-6-VM due to)

Seems problem with the Network routing...


On Thu, Jul 18, 2013 at 5:57 PM, Sanjeev Neelarapu < sanjeev.neelarapu@citrix.com<ma...@citrix.com>> wrote:

> Hi,
>
> To create shared network first you need to create network offering
> with Guest Type as shared and with all the required services.
> Using this network offering create a shared network by navigating to
> "Infrastructure->zone->PhysicalNetwork->Guest->AddGuestNetwork"
>
> For the vm start error the messages you copied does not help, because
> these messages will come after the actual failure messages and these
> are related to resources release.
>
> Thanks,
> Sanjeev
> -----Original Message-----
> From: Punit Dambiwal [mailto:hypunit@gmail.com<ma...@gmail.com>]
> Sent: Thursday, July 18, 2013 2:08 PM
> To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>
> Subject: Re: Advanced Zone Network offering without NAT
>
> Hi Sanjeev,
>
> I have done the modification as per your reply...now the summaries
> details as follows :-
>
> *1. Management Network :- 202.0.0.0/28<http://202.0.0.0/28> untagged.* *2. Public :-
> 172.235.0.0/28<http://172.235.0.0/28> * *3. Guest Public :- **172.235.0.0/28*<http://172.235.0.0/28*> *4. Guest
> Private
> :- 10.0.1.0/23*<http://10.0.1.0/23*> *5. Storage :- 10.10.0.0/22*<http://10.10.0.0/22*>
>
> I have added the Xenserver host successfully,but now the problem is
> how to create the shared network for the VM to get the public and
> private traffic access.
>
> Also whenever i try to create the new instance it failed and throw the
> following error :-
>
> ------------------------------------------
> 2013-07-18 16:24:07,087 DEBUG [cloud.network.NetworkManagerImpl]
> (Job-Executor-35:job-50) Changing active number of nics for network
> id=210 on -1
> 2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-35:job-50) Successfully released network resources for
> the vm VM[User|mytest]
> 2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-35:job-50) Successfully cleanued up resources for the vm
> VM[User|mytest] in Starting state
> 2013-07-18 16:24:07,166 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) VM state transitted from :Starting to Stopped
> with
> event: OperationFailedvm's original host id: null new host id: null
> host id before state transition: 3
> 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) Hosts's actual total CPU: 26400 and CPU after
> applying overprovisioning: 26400
> 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) release cpu from host: 3, old used: 1500,reserved:
> 0, actual total: 26400, total with overprovisioning: 26400; new used:
> 1000,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) release mem from host: 3, old used:
> 1879048192,reserved: 0, total: 7889910336; new used:
> 1342177280,reserved:0;
> movedfromreserved: false,moveToReserveredfalse
> 2013-07-18 16:24:07,193 DEBUG [cloud.vm.UserVmManagerImpl]
> (Job-Executor-35:job-50) Destroying vm VM[User|mytest] as it failed to
> create on Host with Id:null
> 2013-07-18 16:24:07,243 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) VM state transitted from :Stopped to Error
> with
> event: OperationFailedToErrorvm's original host id: null new host id:
> null host id before state transition: null
> 2013-07-18 16:24:07,451 ERROR [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-35:job-50) Unexpected exception while executing
> org.apache.cloudstack.api.command.user.vm.DeployVMCmd
> com.cloud.utils.exception.CloudRuntimeException: Unable to start
> instance 'mytest' (64563835-cb2b-4d76-b071-cf0bab9e20c8), see
> management server log for details
> -----------------------------------------------------
>
> I have one Xenserver host attached with cloudstack.
>
>
>
> On Wed, Jul 17, 2013 at 8:09 PM, Sanjeev Neelarapu <
> sanjeev.neelarapu@citrix.com<ma...@citrix.com>> wrote:
>
> > Hi,
> >
> >
> >
> > Please find the response inline.
> >
> >
> >
> > -Sanjeev
> >
> > -----Original Message-----
> > From: punit hongkong [mailto:hypunit@gmail.com<ma...@gmail.com>]
> > Sent: Wednesday, July 17, 2013 4:02 PM
> > To: users@cloudstack.apache.org<ma...@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<http://202.0.0.0/28>) :- Vlan 20 2. Guest Public :- For Vm
> > to get the public access. (172.235.0.0/28<http://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<http://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<http://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<http://10.0.1.0/23>). Vlan
> > :-
> > 50
> >
> > [Sanjeev]: Create two shared networks say N1 and N2 with CIDRs
> > 172.235.0.0/28<http://172.235.0.0/28>) Vlan
> >
> > :- 40 and 10.0.1.0/23<http://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<http://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<http://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.neelarapu@citrix.com<ma...@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:hypunit@gmail.com<ma...@gmail.com>]
> >
> > > Sent: Wednesday, July 17, 2013 12:33 PM
> >
> > > To: users@cloudstack.apache.org<ma...@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: Advanced Zone Network offering without NAT

Posted by Punit Dambiwal <hy...@gmail.com>.
Hi Sanjeev,

I have attached the complete log file for your references.


On Thu, Jul 18, 2013 at 11:28 PM, Sanjeev Neelarapu <
sanjeev.neelarapu@citrix.com> wrote:

> Need logs to analyze what went wrong in starting vm.
>
> -Sanjeev
>
> -----Original Message-----
> From: Punit Dambiwal [mailto:hypunit@gmail.com]
> Sent: Thursday, July 18, 2013 3:41 PM
> To: users@cloudstack.apache.org
> Subject: Re: Advanced Zone Network offering without NAT
>
> Hi Sanjeev,
>
> Thanks For your reply....i have created the shared network...but when try
> to deploy the new instance with the shared network it failed with error
> (2013-07-18 16:24:06,982 INFO  [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-35:job-50) Unable to start VM on Host[-3-Routing] due to
> Unable to start i-2-6-VM due to)
>
> Seems problem with the Network routing...
>
>
> On Thu, Jul 18, 2013 at 5:57 PM, Sanjeev Neelarapu <
> sanjeev.neelarapu@citrix.com> wrote:
>
> > Hi,
> >
> > To create shared network first you need to create network offering
> > with Guest Type as shared and with all the required services.
> > Using this network offering create a shared network by navigating to
> > "Infrastructure->zone->PhysicalNetwork->Guest->AddGuestNetwork"
> >
> > For the vm start error the messages you copied does not help, because
> > these messages will come after the actual failure messages and these
> > are related to resources release.
> >
> > Thanks,
> > Sanjeev
> > -----Original Message-----
> > From: Punit Dambiwal [mailto:hypunit@gmail.com]
> > Sent: Thursday, July 18, 2013 2:08 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: Advanced Zone Network offering without NAT
> >
> > Hi Sanjeev,
> >
> > I have done the modification as per your reply...now the summaries
> > details as follows :-
> >
> > *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*
> >
> > I have added the Xenserver host successfully,but now the problem is
> > how to create the shared network for the VM to get the public and
> > private traffic access.
> >
> > Also whenever i try to create the new instance it failed and throw the
> > following error :-
> >
> > ------------------------------------------
> > 2013-07-18 16:24:07,087 DEBUG [cloud.network.NetworkManagerImpl]
> > (Job-Executor-35:job-50) Changing active number of nics for network
> > id=210 on -1
> > 2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> > (Job-Executor-35:job-50) Successfully released network resources for
> > the vm VM[User|mytest]
> > 2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> > (Job-Executor-35:job-50) Successfully cleanued up resources for the vm
> > VM[User|mytest] in Starting state
> > 2013-07-18 16:24:07,166 DEBUG [cloud.capacity.CapacityManagerImpl]
> > (Job-Executor-35:job-50) VM state transitted from :Starting to Stopped
> > with
> > event: OperationFailedvm's original host id: null new host id: null
> > host id before state transition: 3
> > 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> > (Job-Executor-35:job-50) Hosts's actual total CPU: 26400 and CPU after
> > applying overprovisioning: 26400
> > 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> > (Job-Executor-35:job-50) release cpu from host: 3, old used:
> 1500,reserved:
> > 0, actual total: 26400, total with overprovisioning: 26400; new used:
> > 1000,reserved:0; movedfromreserved: false,moveToReserveredfalse
> > 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> > (Job-Executor-35:job-50) release mem from host: 3, old used:
> > 1879048192,reserved: 0, total: 7889910336; new used:
> > 1342177280,reserved:0;
> > movedfromreserved: false,moveToReserveredfalse
> > 2013-07-18 16:24:07,193 DEBUG [cloud.vm.UserVmManagerImpl]
> > (Job-Executor-35:job-50) Destroying vm VM[User|mytest] as it failed to
> > create on Host with Id:null
> > 2013-07-18 16:24:07,243 DEBUG [cloud.capacity.CapacityManagerImpl]
> > (Job-Executor-35:job-50) VM state transitted from :Stopped to Error
> > with
> > event: OperationFailedToErrorvm's original host id: null new host id:
> > null host id before state transition: null
> > 2013-07-18 16:24:07,451 ERROR [cloud.async.AsyncJobManagerImpl]
> > (Job-Executor-35:job-50) Unexpected exception while executing
> > org.apache.cloudstack.api.command.user.vm.DeployVMCmd
> > com.cloud.utils.exception.CloudRuntimeException: Unable to start
> > instance 'mytest' (64563835-cb2b-4d76-b071-cf0bab9e20c8), see
> > management server log for details
> > -----------------------------------------------------
> >
> > I have one Xenserver host attached with cloudstack.
> >
> >
> >
> > On Wed, Jul 17, 2013 at 8:09 PM, Sanjeev Neelarapu <
> > sanjeev.neelarapu@citrix.com> wrote:
> >
> > > Hi,
> > >
> > >
> > >
> > > Please find the response inline.
> > >
> > >
> > >
> > > -Sanjeev
> > >
> > > -----Original Message-----
> > > From: punit hongkong [mailto:hypunit@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.neelarapu@citrix.com<ma...@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:hypunit@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: Advanced Zone Network offering without NAT

Posted by Sanjeev Neelarapu <sa...@citrix.com>.
Need logs to analyze what went wrong in starting vm.

-Sanjeev

-----Original Message-----
From: Punit Dambiwal [mailto:hypunit@gmail.com] 
Sent: Thursday, July 18, 2013 3:41 PM
To: users@cloudstack.apache.org
Subject: Re: Advanced Zone Network offering without NAT

Hi Sanjeev,

Thanks For your reply....i have created the shared network...but when try to deploy the new instance with the shared network it failed with error
(2013-07-18 16:24:06,982 INFO  [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-35:job-50) Unable to start VM on Host[-3-Routing] due to Unable to start i-2-6-VM due to)

Seems problem with the Network routing...


On Thu, Jul 18, 2013 at 5:57 PM, Sanjeev Neelarapu < sanjeev.neelarapu@citrix.com> wrote:

> Hi,
>
> To create shared network first you need to create network offering 
> with Guest Type as shared and with all the required services.
> Using this network offering create a shared network by navigating to 
> "Infrastructure->zone->PhysicalNetwork->Guest->AddGuestNetwork"
>
> For the vm start error the messages you copied does not help, because 
> these messages will come after the actual failure messages and these 
> are related to resources release.
>
> Thanks,
> Sanjeev
> -----Original Message-----
> From: Punit Dambiwal [mailto:hypunit@gmail.com]
> Sent: Thursday, July 18, 2013 2:08 PM
> To: users@cloudstack.apache.org
> Subject: Re: Advanced Zone Network offering without NAT
>
> Hi Sanjeev,
>
> I have done the modification as per your reply...now the summaries 
> details as follows :-
>
> *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*
>
> I have added the Xenserver host successfully,but now the problem is 
> how to create the shared network for the VM to get the public and 
> private traffic access.
>
> Also whenever i try to create the new instance it failed and throw the 
> following error :-
>
> ------------------------------------------
> 2013-07-18 16:24:07,087 DEBUG [cloud.network.NetworkManagerImpl]
> (Job-Executor-35:job-50) Changing active number of nics for network 
> id=210 on -1
> 2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-35:job-50) Successfully released network resources for 
> the vm VM[User|mytest]
> 2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-35:job-50) Successfully cleanued up resources for the vm 
> VM[User|mytest] in Starting state
> 2013-07-18 16:24:07,166 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) VM state transitted from :Starting to Stopped 
> with
> event: OperationFailedvm's original host id: null new host id: null 
> host id before state transition: 3
> 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) Hosts's actual total CPU: 26400 and CPU after 
> applying overprovisioning: 26400
> 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) release cpu from host: 3, old used: 1500,reserved:
> 0, actual total: 26400, total with overprovisioning: 26400; new used:
> 1000,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) release mem from host: 3, old used:
> 1879048192,reserved: 0, total: 7889910336; new used: 
> 1342177280,reserved:0;
> movedfromreserved: false,moveToReserveredfalse
> 2013-07-18 16:24:07,193 DEBUG [cloud.vm.UserVmManagerImpl]
> (Job-Executor-35:job-50) Destroying vm VM[User|mytest] as it failed to 
> create on Host with Id:null
> 2013-07-18 16:24:07,243 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) VM state transitted from :Stopped to Error 
> with
> event: OperationFailedToErrorvm's original host id: null new host id: 
> null host id before state transition: null
> 2013-07-18 16:24:07,451 ERROR [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-35:job-50) Unexpected exception while executing 
> org.apache.cloudstack.api.command.user.vm.DeployVMCmd
> com.cloud.utils.exception.CloudRuntimeException: Unable to start 
> instance 'mytest' (64563835-cb2b-4d76-b071-cf0bab9e20c8), see 
> management server log for details
> -----------------------------------------------------
>
> I have one Xenserver host attached with cloudstack.
>
>
>
> On Wed, Jul 17, 2013 at 8:09 PM, Sanjeev Neelarapu < 
> sanjeev.neelarapu@citrix.com> wrote:
>
> > Hi,
> >
> >
> >
> > Please find the response inline.
> >
> >
> >
> > -Sanjeev
> >
> > -----Original Message-----
> > From: punit hongkong [mailto:hypunit@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.neelarapu@citrix.com<ma...@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:hypunit@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: Advanced Zone Network offering without NAT

Posted by Punit Dambiwal <hy...@gmail.com>.
Hi Sanjeev,

Thanks For your reply....i have created the shared network...but when try
to deploy the new instance with the shared network it failed with error
(2013-07-18 16:24:06,982 INFO  [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-35:job-50) Unable to start VM on Host[-3-Routing] due to
Unable to start i-2-6-VM due to)

Seems problem with the Network routing...


On Thu, Jul 18, 2013 at 5:57 PM, Sanjeev Neelarapu <
sanjeev.neelarapu@citrix.com> wrote:

> Hi,
>
> To create shared network first you need to create network offering with
> Guest Type as shared and with all the required services.
> Using this network offering create a shared network by navigating to
> "Infrastructure->zone->PhysicalNetwork->Guest->AddGuestNetwork"
>
> For the vm start error the messages you copied does not help, because
> these messages will come after the actual failure messages and these are
> related to resources release.
>
> Thanks,
> Sanjeev
> -----Original Message-----
> From: Punit Dambiwal [mailto:hypunit@gmail.com]
> Sent: Thursday, July 18, 2013 2:08 PM
> To: users@cloudstack.apache.org
> Subject: Re: Advanced Zone Network offering without NAT
>
> Hi Sanjeev,
>
> I have done the modification as per your reply...now the summaries details
> as follows :-
>
> *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*
>
> I have added the Xenserver host successfully,but now the problem is how to
> create the shared network for the VM to get the public and private traffic
> access.
>
> Also whenever i try to create the new instance it failed and throw the
> following error :-
>
> ------------------------------------------
> 2013-07-18 16:24:07,087 DEBUG [cloud.network.NetworkManagerImpl]
> (Job-Executor-35:job-50) Changing active number of nics for network id=210
> on -1
> 2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-35:job-50) Successfully released network resources for the
> vm VM[User|mytest]
> 2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-35:job-50) Successfully cleanued up resources for the vm
> VM[User|mytest] in Starting state
> 2013-07-18 16:24:07,166 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) VM state transitted from :Starting to Stopped with
> event: OperationFailedvm's original host id: null new host id: null host
> id before state transition: 3
> 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) Hosts's actual total CPU: 26400 and CPU after
> applying overprovisioning: 26400
> 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) release cpu from host: 3, old used: 1500,reserved:
> 0, actual total: 26400, total with overprovisioning: 26400; new used:
> 1000,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) release mem from host: 3, old used:
> 1879048192,reserved: 0, total: 7889910336; new used: 1342177280,reserved:0;
> movedfromreserved: false,moveToReserveredfalse
> 2013-07-18 16:24:07,193 DEBUG [cloud.vm.UserVmManagerImpl]
> (Job-Executor-35:job-50) Destroying vm VM[User|mytest] as it failed to
> create on Host with Id:null
> 2013-07-18 16:24:07,243 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-35:job-50) VM state transitted from :Stopped to Error with
> event: OperationFailedToErrorvm's original host id: null new host id: null
> host id before state transition: null
> 2013-07-18 16:24:07,451 ERROR [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-35:job-50) Unexpected exception while executing
> org.apache.cloudstack.api.command.user.vm.DeployVMCmd
> com.cloud.utils.exception.CloudRuntimeException: Unable to start instance
> 'mytest' (64563835-cb2b-4d76-b071-cf0bab9e20c8), see management server log
> for details
> -----------------------------------------------------
>
> I have one Xenserver host attached with cloudstack.
>
>
>
> On Wed, Jul 17, 2013 at 8:09 PM, Sanjeev Neelarapu <
> sanjeev.neelarapu@citrix.com> wrote:
>
> > Hi,
> >
> >
> >
> > Please find the response inline.
> >
> >
> >
> > -Sanjeev
> >
> > -----Original Message-----
> > From: punit hongkong [mailto:hypunit@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.neelarapu@citrix.com<ma...@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:hypunit@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: Advanced Zone Network offering without NAT

Posted by Sanjeev Neelarapu <sa...@citrix.com>.
Hi,

To create shared network first you need to create network offering with Guest Type as shared and with all the required services. 
Using this network offering create a shared network by navigating to "Infrastructure->zone->PhysicalNetwork->Guest->AddGuestNetwork"

For the vm start error the messages you copied does not help, because these messages will come after the actual failure messages and these are related to resources release.

Thanks,
Sanjeev
-----Original Message-----
From: Punit Dambiwal [mailto:hypunit@gmail.com] 
Sent: Thursday, July 18, 2013 2:08 PM
To: users@cloudstack.apache.org
Subject: Re: Advanced Zone Network offering without NAT

Hi Sanjeev,

I have done the modification as per your reply...now the summaries details as follows :-

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

I have added the Xenserver host successfully,but now the problem is how to create the shared network for the VM to get the public and private traffic access.

Also whenever i try to create the new instance it failed and throw the following error :-

------------------------------------------
2013-07-18 16:24:07,087 DEBUG [cloud.network.NetworkManagerImpl]
(Job-Executor-35:job-50) Changing active number of nics for network id=210 on -1
2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-35:job-50) Successfully released network resources for the vm VM[User|mytest]
2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-35:job-50) Successfully cleanued up resources for the vm VM[User|mytest] in Starting state
2013-07-18 16:24:07,166 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-35:job-50) VM state transitted from :Starting to Stopped with
event: OperationFailedvm's original host id: null new host id: null host id before state transition: 3
2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-35:job-50) Hosts's actual total CPU: 26400 and CPU after applying overprovisioning: 26400
2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-35:job-50) release cpu from host: 3, old used: 1500,reserved:
0, actual total: 26400, total with overprovisioning: 26400; new used:
1000,reserved:0; movedfromreserved: false,moveToReserveredfalse
2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-35:job-50) release mem from host: 3, old used:
1879048192,reserved: 0, total: 7889910336; new used: 1342177280,reserved:0;
movedfromreserved: false,moveToReserveredfalse
2013-07-18 16:24:07,193 DEBUG [cloud.vm.UserVmManagerImpl]
(Job-Executor-35:job-50) Destroying vm VM[User|mytest] as it failed to create on Host with Id:null
2013-07-18 16:24:07,243 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-35:job-50) VM state transitted from :Stopped to Error with
event: OperationFailedToErrorvm's original host id: null new host id: null host id before state transition: null
2013-07-18 16:24:07,451 ERROR [cloud.async.AsyncJobManagerImpl]
(Job-Executor-35:job-50) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd
com.cloud.utils.exception.CloudRuntimeException: Unable to start instance 'mytest' (64563835-cb2b-4d76-b071-cf0bab9e20c8), see management server log for details
-----------------------------------------------------

I have one Xenserver host attached with cloudstack.



On Wed, Jul 17, 2013 at 8:09 PM, Sanjeev Neelarapu < sanjeev.neelarapu@citrix.com> wrote:

> Hi,
>
>
>
> Please find the response inline.
>
>
>
> -Sanjeev
>
> -----Original Message-----
> From: punit hongkong [mailto:hypunit@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.neelarapu@citrix.com<ma...@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:hypunit@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: Advanced Zone Network offering without NAT

Posted by Punit Dambiwal <hy...@gmail.com>.
Hi Sanjeev,

I have done the modification as per your reply...now the summaries details
as follows :-

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

I have added the Xenserver host successfully,but now the problem is how to
create the shared network for the VM to get the public and private traffic
access.

Also whenever i try to create the new instance it failed and throw the
following error :-

------------------------------------------
2013-07-18 16:24:07,087 DEBUG [cloud.network.NetworkManagerImpl]
(Job-Executor-35:job-50) Changing active number of nics for network id=210
on -1
2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-35:job-50) Successfully released network resources for the vm
VM[User|mytest]
2013-07-18 16:24:07,108 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-35:job-50) Successfully cleanued up resources for the vm
VM[User|mytest] in Starting state
2013-07-18 16:24:07,166 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-35:job-50) VM state transitted from :Starting to Stopped with
event: OperationFailedvm's original host id: null new host id: null host id
before state transition: 3
2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-35:job-50) Hosts's actual total CPU: 26400 and CPU after
applying overprovisioning: 26400
2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-35:job-50) release cpu from host: 3, old used: 1500,reserved:
0, actual total: 26400, total with overprovisioning: 26400; new used:
1000,reserved:0; movedfromreserved: false,moveToReserveredfalse
2013-07-18 16:24:07,170 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-35:job-50) release mem from host: 3, old used:
1879048192,reserved: 0, total: 7889910336; new used: 1342177280,reserved:0;
movedfromreserved: false,moveToReserveredfalse
2013-07-18 16:24:07,193 DEBUG [cloud.vm.UserVmManagerImpl]
(Job-Executor-35:job-50) Destroying vm VM[User|mytest] as it failed to
create on Host with Id:null
2013-07-18 16:24:07,243 DEBUG [cloud.capacity.CapacityManagerImpl]
(Job-Executor-35:job-50) VM state transitted from :Stopped to Error with
event: OperationFailedToErrorvm's original host id: null new host id: null
host id before state transition: null
2013-07-18 16:24:07,451 ERROR [cloud.async.AsyncJobManagerImpl]
(Job-Executor-35:job-50) Unexpected exception while executing
org.apache.cloudstack.api.command.user.vm.DeployVMCmd
com.cloud.utils.exception.CloudRuntimeException: Unable to start instance
'mytest' (64563835-cb2b-4d76-b071-cf0bab9e20c8), see management server log
for details
-----------------------------------------------------

I have one Xenserver host attached with cloudstack.



On Wed, Jul 17, 2013 at 8:09 PM, Sanjeev Neelarapu <
sanjeev.neelarapu@citrix.com> wrote:

> Hi,
>
>
>
> Please find the response inline.
>
>
>
> -Sanjeev
>
> -----Original Message-----
> From: punit hongkong [mailto:hypunit@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.neelarapu@citrix.com<ma...@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:hypunit@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: Advanced Zone Network offering without NAT

Posted by Sanjeev Neelarapu <sa...@citrix.com>.
Hi,



Please find the response inline.



-Sanjeev

-----Original Message-----
From: punit hongkong [mailto:hypunit@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.neelarapu@citrix.com<ma...@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:hypunit@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: Advanced Zone Network offering without NAT

Posted by punit hongkong <hy...@gmail.com>.
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.neelarapu@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:hypunit@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: Advanced Zone Network offering without NAT

Posted by Sanjeev Neelarapu <sa...@citrix.com>.
Hi Punit,

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

Thanks,
Sanjeev

-----Original Message-----
From: punit hongkong [mailto:hypunit@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