Re: Updating shared network with new network offering

2014-01-27 Thread Andrija Panic
Hi Sanjeev,

thank you very much for this good news :)

Best,


On 28 January 2014 07:59, Sanjeev Neelarapu wrote:

> Hi,
>
> If we stop all the VMs then we can change the network offering but we
> can't change the network type(like shared to isolated or isolated to
> shared).
>
> Thanks,
> Sanjeev
>
> -Original Message-
> From: Andrija Panic [mailto:andrija.pa...@gmail.com]
> Sent: Monday, January 27, 2014 3:08 PM
> To: users@cloudstack.apache.org
> Subject: Updating shared network with new network offering
>
> Hi,
>
> if any one can help - I would like to know if it is possible to update the
> Shared Network (edit it's network rate, or update this network with the new
> network offering), IF I stop all the VMs that use this network ?
>
> Right now, since this network is used by all my VMs, I can not update it
> with new Network Offering.
>
> Also it seems impossible to change network's rate (bandwith) on the
> existing Network Offering ?
>
> Any help would be very much appriciated...
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić
--
  http://admintweets.com
--


Cloudstack advanced networking for development environment

2014-01-27 Thread Vadim Kimlaychuk
Hi all,

We would like to setup small cloud to make tests before going to 
production. This cloud supposed to have the same “advanced networking” 
configuration deployed over plain network under 192.168.1.0/24 subnet.
Roughly this:
192.168.1.1 – external GW, DHCP, internet
192.168.1.2-99 – guests
192.168.1.101-199 – management, load balancer, VIP-s
192.168.1.200-210 – storage

Is it possible to make such a setup without using external L3 level switches? 
I.e. is it possible to route internal traffic through some kind of virtual 
switch? What it can be?

Appreciate your thoughts,

Vadim Kimlaychuk
integratsiooni arhitekt
tel. 640 2297
mob. 5233474



Re: Internal DNS confusion

2014-01-27 Thread chris snow
Thanks for the answers Shanker. Some more questions ...

Are internal DNS lookups performed only by the system vms?  If no,
what other parts of cloudstack perform internal DNS lookups?  For
example, does Management Server perform internal DNS lookups?

I'm trying to figure out 'when' I need to add new records to the
internal DNS server.

I guess one way for me to understand when I need to add a host record
to the internal DNS is by knowing what which parts of the Cloudstack
admin interface have fields that require a corresponding internal DNS
record.  For example:

   Network > Add Guest Network > Network Domain
   Domains > Add Domain > Network Domain

Does each network domain above require an entry to be added into the
internal DNS?  Are there any other places in the admin UI that require
records to be added to the internal DNS server?

On Tue, Jan 28, 2014 at 3:52 AM, Shanker Balan
 wrote:
> Comments inline.
>
> On 28-Jan-2014, at 1:21 am, chris snow  wrote:
>
>> When creating a new zone, I have to enter the address for Internal DNS
>> Servers.  Extract from the Cloudstack installation manual:
>>
>> "Internal DNS 1 and Internal DNS 2. These are DNS servers for use by
>> system VMs in the zone (these are VMs used by CloudStack itself, such
>> as virtual routers, console proxies, and Secondary Storage VMs.).”
>
> The internal DNS server is usually the corporate DNS servers that
> provide “internal” DNS services for your LAN. Usually, these are RFC1918 IPs
> which is why its hosted “internally”.
>
>
>> Question 1: Who manages the Internal DNS? Is an Internal DNS server
>> setup and managed by me, or is it setup and managed by Cloudstack?
>
> You (or your IT team).
>
>
>> Question 2: If Internal DNS is setup and managed by me, how should it be 
>> setup?
>
> set it up any way you look. As long as the internal DNS server can
> resolve the hostname to IP addresses, you should be fine.
>
>
>> Question 3: If it is setup and managed by Cloudstack, when did it get
>> setup, and  how can I find out what address Cloudstack is using for
>> this server?
>
> Its not managed by cloudstack. Most of the time, your internal and
> external DNS settings would be your corporate DNS server.
>
> If a public DNS server can resolve IP addresses for hosts in your LAN,
> you can use any public DNS server as your internal and external DNS resolver.
>
> Hope that makes sense.
>
>
> --
> @shankerbalan
>
> M: +91 98860 60539 | O: +91 (80) 67935867
> shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
> Bangalore - 560 055
>
> Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure 
> Support offers the 
> best 24/7 SLA for CloudStack Environments.
>
> Apache CloudStack Bootcamp training courses
>
> **NEW!** CloudStack 4.2.1 training
> 18th-19th February 2014, Brazil. 
> Classroom
> 17th-23rd March 2014, Region A. Instructor led, 
> On-line
> 24th-28th March 2014, Region B. Instructor led, 
> On-line
> 16th-20th June 2014, Region A. Instructor led, 
> On-line
> 23rd-27th June 2014, Region B. Instructor led, 
> On-line
>
> 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 a company 
> incorporated in India and is operated under license from Shape Blue Ltd. 
> Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
> operated under license from Shape Blue Ltd. ShapeBlue is a registered 
> trademark.



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69


RE: Updating shared network with new network offering

2014-01-27 Thread Sanjeev Neelarapu
Hi,

If we stop all the VMs then we can change the network offering but we can't 
change the network type(like shared to isolated or isolated to shared).

Thanks,
Sanjeev

-Original Message-
From: Andrija Panic [mailto:andrija.pa...@gmail.com] 
Sent: Monday, January 27, 2014 3:08 PM
To: users@cloudstack.apache.org
Subject: Updating shared network with new network offering

Hi,

if any one can help - I would like to know if it is possible to update the 
Shared Network (edit it's network rate, or update this network with the new 
network offering), IF I stop all the VMs that use this network ?

Right now, since this network is used by all my VMs, I can not update it with 
new Network Offering.

Also it seems impossible to change network's rate (bandwith) on the existing 
Network Offering ?

Any help would be very much appriciated...

-- 

Andrija Panić


RE: Urgent : Network stuck in implementing state

2014-01-27 Thread Sanjeev Neelarapu
Hi Bjoern,

Since the nic's instance_id is NULL you can set the removed field with some 
timestamp (e.g. now()). Also check the external IP address state in 
user_ip_address table. If this ip address state is in allocated set it to NULL 
and try delete network again.

-Sanjeev

-Original Message-
From: Bjoern Teipel [mailto:bjoern.tei...@gmail.com] 
Sent: Monday, January 27, 2014 12:44 PM
To: users; d...@cloudstack.apache.org
Subject: Urgent : Network stuck in implementing state

Hi guys,

I had trouble while I was creating a new VLAN and now I can't delete it 
anymore, because it's stuck in implementing state.
I guess that happened after the VR did not came up and I restarted the 
management server so I could delete the VR and all addresses.

If I would spin up a guest, the VR and the guest would come up but I sill want 
to get rid of it since I have an error in the network service offering.
After I cleaned all up though the GUI I can only see an external IP for the old 
VR is still associated with the VLAN but can't be deleted (I don't get it 
offered)

In the logs I found this and the NPE matches the table content :



2014-01-26 13:53:02,857 DEBUG [cloud.network.NetworkManagerImpl]
(Job-Executor-2:job-1127 = [ f90b84ab-0d4a-45ce-9cd1-d73b63e24020 ]) Network 
id=212 is destroyed successfully, cleaning up corresponding resources  now.
2014-01-26 13:53:02,871 DEBUG [network.guru.DirectNetworkGuru]
(Job-Executor-2:job-1127 = [ f90b84ab-0d4a-45ce-9cd1-d73b63e24020 ]) Releasing 
ip 10.16.48.1 of placeholder nic Nic[189-null-null-10.16.48.1]
2014-01-26 13:53:02,872 DEBUG [db.Transaction.Transaction]
(Job-Executor-2:job-1127 = [ f90b84ab-0d4a-45ce-9cd1-d73b63e24020 ]) Rolling 
back the transaction: Time = 14 Name =  -AsyncJobManagerImpl$1.run:494-Exec
utors$RunnableAdapter.call:471-FutureTask.run:262-ThreadPoolExecutor.runWorker:1145-ThreadPoolExecutor$Worker.run:615-Thread.run:744;
called by
-Transaction.rollback:897-Transaction.removeUpTo:840-Transaction.cl
ose:664-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:133-NetworkManagerImpl.destroyNetwork:3144-ComponentInstantiationPostProcessor$Intercep
torDispatcher.intercept:125-NetworkServiceImpl.deleteNetwork:1767-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-DeleteNetworkCmd.execute:70-ApiDispatcher.dispatch:158-AsyncJobManagerImp
l$1.run:531
2014-01-26 13:53:02,877 ERROR [cloud.async.AsyncJobManagerImpl]
(Job-Executor-2:job-1127 = [ f90b84ab-0d4a-45ce-9cd1-d73b63e24020 ]) Unexpected 
exception while executing org.apache.cloudstack.api.command.user.ne
twork.DeleteNetworkCmd
java.lang.NullPointerException
at
com.cloud.network.guru.DirectNetworkGuru.trash(DirectNetworkGuru.java:311)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at
com.cloud.network.NetworkManagerImpl.destroyNetwork(NetworkManagerImpl.java:3144)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at
com.cloud.network.NetworkServiceImpl.deleteNetwork(NetworkServiceImpl.java:1767)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at
org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd.execute(DeleteNetworkCmd.java:70)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
at
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2014-01-26 13:53:02,880 DEBUG [cloud.async.AsyncJobManagerImpl]
(Job-Executor-2:job-1127 = [ f90b84ab-0d4a-45ce-9cd1-d73b63e24020 ]) Complete 
async job-1127 = [ f90b84ab-0d4a-45ce-9cd1-d73b63e24020 ],
jobStatus:
 2, resultCode: 530, result: Error Code: 530 Error text: null
2014-01-26 13:53:02,888 DEBUG [cloud.async.SyncQueueManagerImpl]
(Job-Executor-2:job-1127 = [ f90b84ab-0d4a-45ce-9cd1-d73b63e24020 ]) Sync queue 
(6) is currently empty
2014-01-26 13:53:02,889 WARN  [cloud.async.AsyncJobManagerImpl]
(Job-Executor-2:job-1127 = [ f90b84ab-0d4a-45ce-9cd1-d73b63e24020 ]) Unable to 
unregister active job [ 1127 ] = [ f90b84ab-0d4a-45ce-9cd1-d73b63e24
020 ] from JMX monitoring


mysql> select * from nics  where id = 189\G
*** 1. row ***
id: 189
  uuid: 623d0af3-7ca5-4700-89a2-26252abdc054
   instance_id: NULL
   mac_address: NULL
   ip4_address: 10.16

Re: hyper-v agent building on cloudstack 4.3

2014-01-27 Thread Tejas Gadaria
Hi Anush,

Thanks It worked for me, I have installed Certificate also.
Log file indicates Cloudstack hyper v agent  is running on windows system.

Regards,
Tejas


On Tue, Jan 28, 2014 at 11:22 AM, Anshul Gangwar
wrote:

> Yes that exe will install everything except the certificate. To install
> the ssl certificate you can follow the link
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creating+and+installing+self+signed+certificate+for+CloudStack+Management+Server+communication+with+Hyper-V+agent
> .
>
> You have to execute AgentShell.exe as follows
>
> *AgentShell.exe --install -u  -p 
>
>   where username is of form domain\username or username for
> example Administrator or blr\Administrator
>
>   This user should be part of local Administrators and Hyper-V
> Administrators group on the host
>
> I have updated the wiki with above details
>
> Regards,
> Anshul
>
> -Original Message-
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: Tuesday, January 28, 2014 10:49 AM
> To: users@cloudstack.apache.org
> Subject: Re: hyper-v agent building on cloudstack 4.3
>
> Hi Anshul,
>
> I had not clone repo from git, So I don't have buildagent.sh available.
> I am going to follow this now, by the way this Jenkins job hyper v agent
> lokks like polished form of agent for hyper v , Will it install everything
> from .exe ?
>
> Regards,
> Tejas
>
>
> On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar
> wrote:
>
> > Have you cloned the asf cloudstack git repo
> > https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The
> > (cloudstack src folder) is pointing to root of the git repo.
> >
> > Have you tried giving executable permissions(chmod +x buildagent.sh)
> > to buildagent.sh if file is already there?
> >
> > If you want you can build the agent zip using Jenkins job
> > http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ .
> >
> > Regards,
> > Anshul
> >
> > -Original Message-
> > From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> > Sent: Tuesday, January 28, 2014 10:11 AM
> > To: users@cloudstack.apache.org
> > Subject: hyper-v agent building on cloudstack 4.3
> >
> > I am trying to build hyper-v agent and following below link,
> >
> >
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv
> > +Agent+Installer
> >
> > I have executed "mozroots --import --ask-remove" successfully
> >
> > now i am trying to execute buildagent.sh script through Cygwin, but
> > link says script is located on (cloudstack src
> > folder)/plugins/hypervisors/hyperv/ but I could not find this path on
> > Cygwin or on Management server.
> >
> > I don't understand where I am missing.
> >
> > Regards,
> > Tejas
> >
>


Re: Need help with advanced zone/2 nics

2014-01-27 Thread Jayapal Reddy Uradi

Check your VM IP, default gateway, Is gateway set to router ip ?
If router is really blocking traffic, check the router iptables rules.

Thanks,
Jayapal

On 25-Jan-2014, at 1:59 AM, Derek Cole  wrote:

> To update anyone following:
> 
> I have verified that my switch ports are correct and that both nics are
> plugged into the the 203 vlan. When I was checking this out, I actually
> changed the vlan of the storage network to be 203 (from 200) because I
> think 200 was incorrect.
> 
> Everything else was the same. I can still ping and connect out from the VR,
> SSVM and that other system VM, but I cannot get out from the guest VMs.
> When I do a traceroute to an external interface, the last hop is the VR.
> When I try to do a ping or something I get Destination Host unreachable.
> 
> Still at a loss here as to what is going wrong.
> 
> 
> On Fri, Jan 24, 2014 at 8:47 AM, Derek Cole  wrote:
> 
>> I saw those egress rules and I set it to allow all. If I try to ping
>> out, I can see the request going through all of my system vms and the
>> VR. Does this imply that this setup is correct and maybe I have some
>> vlan problem on my switch?
>> 
>> Sent from my Windows Phone From: Sanjeev Neelarapu
>> Sent: 1/23/2014 11:59 PM
>> To: users@cloudstack.apache.org
>> Subject: RE: Need help with advanced zone/2 nics
>> Hi,
>> 
>> If you have used the default network offering
>> (DefaultIsolatedNetworkOfferingWithSourceNatService) to create the
>> guest network then by default egress traffic is blocked because the
>> egress default policy is set to denied in the default offering.
>> You may need to allow the required traffic using egress rules.
>> 
>> Thanks,
>> Sanjeev
>> 
>> -Original Message-
>> From: Derek Cole [mailto:derek.c...@gmail.com]
>> Sent: Friday, January 24, 2014 5:13 AM
>> To: users@cloudstack.apache.org
>> Subject: Need help with advanced zone/2 nics
>> 
>> Hello,
>> 
>> I have attempted to set up an advanced zone, using xenserver, and
>> giving my guest vm's their own CIDR of 192.168.0.0/24
>> 
>> I have two physical networks, and one of them i called "management"
>> and one i called "traffic"
>> 
>> I put public and guest traffic on "traffic" and storage and management
>> on "management"
>> 
>> My guest VM's get one network, which gives them an address from that
>> 192.168.0.0 network, and they can ping each other. My virtual router
>> has an internet connection and can ping out to the internet. What is
>> failing is gaining internet access from my guest VM's.
>> The VR gets 3 connections, a cloud_link_local_network, and an IP from
>> my public CIDR, and an IP from my guest CIDR.
>> 
>> It almost seems as if the VR isnt routing/NATing traffic to the
>> outside world from the guest VM's. Can anyone tell me what may be
>> wrong with my scenario?
>> 
>> Pertinent info:
>> 
>> storage range; 10.20.0.20-30 gw 10.20.0.1 vlan 200 Management range:
>> 10.20.4.15-24 gw 10.20.4.1 public range: 10.20.4.25-254 vlan 203 gw
>> 10.20.4.1 guest VLAN range 203-203
>> 
>> networks 10.20.0/24 and 10.20.4/24 are my enterprise networks that
>> provide connectivity out to the world.
>> 
>> Any insight is appreciated. THis is my first attempt at an advanced
>> network after getting a simpler basic network up and going
>> 



Re: Internal DNS confusion

2014-01-27 Thread Abhisek Basu

Thanks Shanker!

-Original Message- 
From: Shanker Balan

Sent: Tuesday, January 28, 2014 10:18 AM
To: CloudStack-Users
Subject: Re: Internal DNS confusion

Comments inline.

On 28-Jan-2014, at 9:49 am, Abhisek Basu  wrote:


In scenarios where internal DNS server does not exist, can we skip putting
internal DNS while setting up the zone? Does cloudstack enforce to use 
internal DNS?


Absolutely - just use the same values for internal and external DNS. You 
must specify atleast one internal and one external DNS.


The reason why internal + external exists because companiesrun “split” DNS.

I use Google DNS (8.8.8.8) for both internal and external DNS settings.


Regards.
@shankerbalan

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055


Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.


Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 
training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line


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 a 
company incorporated in India and is operated under license from Shape Blue 
Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil 
and is operated under license from Shape Blue Ltd. ShapeBlue is a registered 
trademark. 



RE: hyper-v agent building on cloudstack 4.3

2014-01-27 Thread Anshul Gangwar
Yes that exe will install everything except the certificate. To install the ssl 
certificate you can follow the link 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creating+and+installing+self+signed+certificate+for+CloudStack+Management+Server+communication+with+Hyper-V+agent.

You have to execute AgentShell.exe as follows

*AgentShell.exe --install -u  -p 

  where username is of form domain\username or username for example 
Administrator or blr\Administrator

  This user should be part of local Administrators and Hyper-V 
Administrators group on the host

I have updated the wiki with above details

Regards,
Anshul

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: Tuesday, January 28, 2014 10:49 AM
To: users@cloudstack.apache.org
Subject: Re: hyper-v agent building on cloudstack 4.3

Hi Anshul,

I had not clone repo from git, So I don't have buildagent.sh available.
I am going to follow this now, by the way this Jenkins job hyper v agent lokks 
like polished form of agent for hyper v , Will it install everything from .exe ?

Regards,
Tejas


On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar
wrote:

> Have you cloned the asf cloudstack git repo 
> https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The 
> (cloudstack src folder) is pointing to root of the git repo.
>
> Have you tried giving executable permissions(chmod +x buildagent.sh) 
> to buildagent.sh if file is already there?
>
> If you want you can build the agent zip using Jenkins job 
> http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ .
>
> Regards,
> Anshul
>
> -Original Message-
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: Tuesday, January 28, 2014 10:11 AM
> To: users@cloudstack.apache.org
> Subject: hyper-v agent building on cloudstack 4.3
>
> I am trying to build hyper-v agent and following below link,
>
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv
> +Agent+Installer
>
> I have executed "mozroots --import --ask-remove" successfully
>
> now i am trying to execute buildagent.sh script through Cygwin, but 
> link says script is located on (cloudstack src 
> folder)/plugins/hypervisors/hyperv/ but I could not find this path on 
> Cygwin or on Management server.
>
> I don't understand where I am missing.
>
> Regards,
> Tejas
>


Re: Internal DNS confusion

2014-01-27 Thread Abhisek Basu

Thanks Shanker!

-Original Message- 
From: Shanker Balan

Sent: Tuesday, January 28, 2014 10:18 AM
To: CloudStack-Users
Subject: Re: Internal DNS confusion

Comments inline.

On 28-Jan-2014, at 9:49 am, Abhisek Basu  wrote:


In scenarios where internal DNS server does not exist, can we skip putting
internal DNS while setting up the zone? Does cloudstack enforce to use 
internal DNS?


Absolutely - just use the same values for internal and external DNS. You 
must specify atleast one internal and one external DNS.


The reason why internal + external exists because companiesrun “split” DNS.

I use Google DNS (8.8.8.8) for both internal and external DNS settings.


Regards.
@shankerbalan

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055


Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.


Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 
training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line


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 a 
company incorporated in India and is operated under license from Shape Blue 
Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil 
and is operated under license from Shape Blue Ltd. ShapeBlue is a registered 
trademark. 



Re: hyper-v agent building on cloudstack 4.3

2014-01-27 Thread Tejas Gadaria
Hi Anshul,

I had not clone repo from git, So I don't have buildagent.sh available.
I am going to follow this now, by the way this Jenkins job hyper v agent
lokks like polished form of agent for hyper v , Will it install everything
from .exe ?

Regards,
Tejas


On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar
wrote:

> Have you cloned the asf cloudstack git repo
> https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The (cloudstack
> src folder) is pointing to root of the git repo.
>
> Have you tried giving executable permissions(chmod +x buildagent.sh) to
> buildagent.sh if file is already there?
>
> If you want you can build the agent zip using Jenkins job
> http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ .
>
> Regards,
> Anshul
>
> -Original Message-
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: Tuesday, January 28, 2014 10:11 AM
> To: users@cloudstack.apache.org
> Subject: hyper-v agent building on cloudstack 4.3
>
> I am trying to build hyper-v agent and following below link,
>
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer
>
> I have executed "mozroots --import --ask-remove" successfully
>
> now i am trying to execute buildagent.sh script through Cygwin, but link
> says script is located on (cloudstack src
> folder)/plugins/hypervisors/hyperv/ but I could not find this path on
> Cygwin or on Management server.
>
> I don't understand where I am missing.
>
> Regards,
> Tejas
>


RE: hyper-v agent building on cloudstack 4.3

2014-01-27 Thread Anshul Gangwar
Have you cloned the asf cloudstack git repo 
https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The (cloudstack src 
folder) is pointing to root of the git repo.

Have you tried giving executable permissions(chmod +x buildagent.sh) to 
buildagent.sh if file is already there?

If you want you can build the agent zip using Jenkins job 
http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ .

Regards,
Anshul

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: Tuesday, January 28, 2014 10:11 AM
To: users@cloudstack.apache.org
Subject: hyper-v agent building on cloudstack 4.3

I am trying to build hyper-v agent and following below link,

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer

I have executed "mozroots --import --ask-remove" successfully

now i am trying to execute buildagent.sh script through Cygwin, but link says 
script is located on (cloudstack src folder)/plugins/hypervisors/hyperv/ but I 
could not find this path on Cygwin or on Management server.

I don't understand where I am missing.

Regards,
Tejas


Re: Purpose of cloudbr0 and cloudbr1 bridges

2014-01-27 Thread Shanker Balan
Comments inline.

On 28-Jan-2014, at 9:47 am, chris snow  wrote:

> The Cloudstack installation guide walks through setting up cloudbr0 and
> cloudbr1 bridges for KVM and lxc hypervisors.  What is the purpose of these
> bridges, why does cloudstack need them?


http://shapeblue.com/cloudstack/understanding-cloudstacks-physical-networking-architecture/
 should help.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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 a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Internal DNS confusion

2014-01-27 Thread Shanker Balan
Comments inline.

On 28-Jan-2014, at 9:49 am, Abhisek Basu  wrote:

> In scenarios where internal DNS server does not exist, can we skip putting
> internal DNS while setting up the zone? Does cloudstack enforce to use 
> internal DNS?

Absolutely - just use the same values for internal and external DNS. You must 
specify atleast one internal and one external DNS.

The reason why internal + external exists because companiesrun “split” DNS.

I use Google DNS (8.8.8.8) for both internal and external DNS settings.


Regards.
@shankerbalan

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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 a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


hyper-v agent building on cloudstack 4.3

2014-01-27 Thread Tejas Gadaria
I am trying to build hyper-v agent and following below link,

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer

I have executed "mozroots --import --ask-remove" successfully

now i am trying to execute buildagent.sh script through Cygwin, but link
says script is located on (cloudstack src
folder)/plugins/hypervisors/hyperv/ but I could not find this path on
Cygwin or on Management server.

I don't understand where I am missing.

Regards,
Tejas


Re: Internal DNS confusion

2014-01-27 Thread Abhisek Basu
In scenarios where internal DNS server does not exist, can we skip putting 
internal DNS while setting up the zone? Does cloudstack enforce to use 
internal DNS?


-Original Message- 
From: Shanker Balan

Sent: Tuesday, January 28, 2014 9:22 AM
To: CloudStack-Users
Subject: Re: Internal DNS confusion

Comments inline.

On 28-Jan-2014, at 1:21 am, chris snow  wrote:


When creating a new zone, I have to enter the address for Internal DNS
Servers.  Extract from the Cloudstack installation manual:

"Internal DNS 1 and Internal DNS 2. These are DNS servers for use by
system VMs in the zone (these are VMs used by CloudStack itself, such
as virtual routers, console proxies, and Secondary Storage VMs.).”


The internal DNS server is usually the corporate DNS servers that
provide “internal” DNS services for your LAN. Usually, these are RFC1918 IPs
which is why its hosted “internally”.



Question 1: Who manages the Internal DNS? Is an Internal DNS server
setup and managed by me, or is it setup and managed by Cloudstack?


You (or your IT team).


Question 2: If Internal DNS is setup and managed by me, how should it be 
setup?


set it up any way you look. As long as the internal DNS server can
resolve the hostname to IP addresses, you should be fine.



Question 3: If it is setup and managed by Cloudstack, when did it get
setup, and  how can I find out what address Cloudstack is using for
this server?


Its not managed by cloudstack. Most of the time, your internal and
external DNS settings would be your corporate DNS server.

If a public DNS server can resolve IP addresses for hosts in your LAN,
you can use any public DNS server as your internal and external DNS 
resolver.


Hope that makes sense.


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055


Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.


Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 
training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line


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 a 
company incorporated in India and is operated under license from Shape Blue 
Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil 
and is operated under license from Shape Blue Ltd. ShapeBlue is a registered 
trademark. 



Purpose of cloudbr0 and cloudbr1 bridges

2014-01-27 Thread chris snow
The Cloudstack installation guide walks through setting up cloudbr0 and
cloudbr1 bridges for KVM and lxc hypervisors.  What is the purpose of these
bridges, why does cloudstack need them?

Many thanks,
Chris


Re: Internal DNS confusion

2014-01-27 Thread Shanker Balan
Comments inline.

On 28-Jan-2014, at 1:21 am, chris snow  wrote:

> When creating a new zone, I have to enter the address for Internal DNS
> Servers.  Extract from the Cloudstack installation manual:
>
> "Internal DNS 1 and Internal DNS 2. These are DNS servers for use by
> system VMs in the zone (these are VMs used by CloudStack itself, such
> as virtual routers, console proxies, and Secondary Storage VMs.).”

The internal DNS server is usually the corporate DNS servers that
provide “internal” DNS services for your LAN. Usually, these are RFC1918 IPs
which is why its hosted “internally”.


> Question 1: Who manages the Internal DNS? Is an Internal DNS server
> setup and managed by me, or is it setup and managed by Cloudstack?

You (or your IT team).


> Question 2: If Internal DNS is setup and managed by me, how should it be 
> setup?

set it up any way you look. As long as the internal DNS server can
resolve the hostname to IP addresses, you should be fine.


> Question 3: If it is setup and managed by Cloudstack, when did it get
> setup, and  how can I find out what address Cloudstack is using for
> this server?

Its not managed by cloudstack. Most of the time, your internal and
external DNS settings would be your corporate DNS server.

If a public DNS server can resolve IP addresses for hosts in your LAN,
you can use any public DNS server as your internal and external DNS resolver.

Hope that makes sense.


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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 a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: Internal DNS confusion

2014-01-27 Thread chris snow
Hi Chandon,

Thanks for the response. It makes a bit more sense now!  I may raise a JIRA
to add your description to the docs as that information is very helpful in
understanding how it all fits together.

Best regards,

Chris
On 28 Jan 2014 00:43, "Chandan Purushothama" <
chandan.purushoth...@citrix.com> wrote:

> Hello Chris,
>
> Internal DNS Server should be setup and managed by you. It is basically
> used for name resolutions of storage servers and other machines that are
> local to the Data Center. As far as I know, Internal DNS server's
> configuration procedure should be same as a regular DNS Server
> configuration procedure. The procedure doesn't depend on CloudStack,
>
> Thank you,
> Chandan.
>
> -Original Message-
> From: chris snow [mailto:chsnow...@gmail.com]
> Sent: Monday, January 27, 2014 11:52 AM
> To: users@cloudstack.apache.org
> Subject: Internal DNS confusion
>
> When creating a new zone, I have to enter the address for Internal DNS
> Servers.  Extract from the Cloudstack installation manual:
>
> "Internal DNS 1 and Internal DNS 2. These are DNS servers for use by
> system VMs in the zone (these are VMs used by CloudStack itself, such as
> virtual routers, console proxies, and Secondary Storage VMs.)."
>
>
> Question 1: Who manages the Internal DNS? Is an Internal DNS server setup
> and managed by me, or is it setup and managed by Cloudstack?
>
> Question 2: If Internal DNS is setup and managed by me, how should it be
> setup?
>
> Question 3: If it is setup and managed by Cloudstack, when did it get
> setup, and  how can I find out what address Cloudstack is using for this
> server?
>
> Many thanks,
>
> Chris
>


RE: Internal DNS confusion

2014-01-27 Thread Chandan Purushothama
Hello Chris,

Internal DNS Server should be setup and managed by you. It is basically used 
for name resolutions of storage servers and other machines that are local to 
the Data Center. As far as I know, Internal DNS server's configuration 
procedure should be same as a regular DNS Server configuration procedure. The 
procedure doesn't depend on CloudStack,

Thank you,
Chandan. 

-Original Message-
From: chris snow [mailto:chsnow...@gmail.com] 
Sent: Monday, January 27, 2014 11:52 AM
To: users@cloudstack.apache.org
Subject: Internal DNS confusion

When creating a new zone, I have to enter the address for Internal DNS Servers. 
 Extract from the Cloudstack installation manual:

"Internal DNS 1 and Internal DNS 2. These are DNS servers for use by system VMs 
in the zone (these are VMs used by CloudStack itself, such as virtual routers, 
console proxies, and Secondary Storage VMs.)."


Question 1: Who manages the Internal DNS? Is an Internal DNS server setup and 
managed by me, or is it setup and managed by Cloudstack?

Question 2: If Internal DNS is setup and managed by me, how should it be setup?

Question 3: If it is setup and managed by Cloudstack, when did it get setup, 
and  how can I find out what address Cloudstack is using for this server?

Many thanks,

Chris


Internal DNS confusion

2014-01-27 Thread chris snow
When creating a new zone, I have to enter the address for Internal DNS
Servers.  Extract from the Cloudstack installation manual:

"Internal DNS 1 and Internal DNS 2. These are DNS servers for use by
system VMs in the zone (these are VMs used by CloudStack itself, such
as virtual routers, console proxies, and Secondary Storage VMs.)."


Question 1: Who manages the Internal DNS? Is an Internal DNS server
setup and managed by me, or is it setup and managed by Cloudstack?

Question 2: If Internal DNS is setup and managed by me, how should it be setup?

Question 3: If it is setup and managed by Cloudstack, when did it get
setup, and  how can I find out what address Cloudstack is using for
this server?

Many thanks,

Chris


Bay Area Meetup

2014-01-27 Thread Amogh Vasekar
Hi All,

The CloudStack Bay Area Meet-up is tomm, featuring talks on CloudStack
Networking, and Monitoring CloudStack.
http://www.meetup.com/CloudStack-SF-Bay-Area-Users-Group/events/160369322/
for more!

Hope to see you there in large numbers.

Amogh 



Re: Unable to create slave connection to host [Machine gets rebooted]

2014-01-27 Thread Umair Azam

Amogh,

All servers are in the same vlan with no restriction on networking side, 
iptables service is also off, I havent specified any special networking 
configurations in cloudstack all settings are set to default.


Umair Azam
Associate Systems Administrator
Network Operations Center
i2c Incorporated
1300 Island Drive, Suite 105
Redwood City, CA 94065-5170
Desk: +1 650.480.5291
PBX: +1 650.593.5400 x 4244
24x7 NOC: +1 650.480.5291
Fax: +1 650.593.5402
URL: www.i2cinc.com
**
CONFIDENTIALITY CAUTION
This communication (including any accompanying documents) is intended only for 
the use of the addressee(s) and contains information that is PRIVILEGED AND 
CONFIDENTIAL. Unauthorized reading, dissemination, distribution or copying of 
this communication is prohibited. If you have received this communication in 
error, please notify us immediately by e-mail, telephone or fax and promptly 
destroy the original communication. Thank you for your cooperation.

On 1/27/2014 11:52 PM, Amogh Vasekar wrote:

Hi,
Seems like a config issue. Can you share more details on your set-up, on
the networking side?

Amogh

On 1/27/14 9:48 AM, "Umair Azam"  wrote:


(DirectAgent-15:null) Logging on as the slave to 10.11.17.31
2014-01-27 23:51:57,756 DEBUG [xen.resource.XenServerConnectionPool]
(DirectAgent-15:null) Unable to create slave connection to
host(da372d8a-bbeb-486d-a85e-06922cac8da4) due to
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: No
route to host






Re: Unable to create slave connection to host [Machine gets rebooted]

2014-01-27 Thread Amogh Vasekar
Hi,
Seems like a config issue. Can you share more details on your set-up, on
the networking side?

Amogh

On 1/27/14 9:48 AM, "Umair Azam"  wrote:

>(DirectAgent-15:null) Logging on as the slave to 10.11.17.31
>2014-01-27 23:51:57,756 DEBUG [xen.resource.XenServerConnectionPool]
>(DirectAgent-15:null) Unable to create slave connection to
>host(da372d8a-bbeb-486d-a85e-06922cac8da4) due to
>org.apache.xmlrpc.XmlRpcException: Failed to read server's response: No
>route to host



Unable to create slave connection to host [Machine gets rebooted]

2014-01-27 Thread Umair Azam

Hi,

I am new to cloudstack and testing, evaluating it for future deployment, 
I am Getting following exception while system VM's creation is in 
process for the first time, After below exception seen in management 
server logs, host machine becomes unresponsive and reboots automatically.

Host Machine specs: core 2 Duo 4GB RAM with Xenserver

2014-01-27 23:51:55,743 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-15:null) Seq 1-798621700: Executing request
2014-01-27 23:51:55,743 DEBUG [xen.resource.XenServerConnectionPool] 
(DirectAgent-15:null) Logging on as the slave to 10.11.17.31
2014-01-27 23:51:57,756 DEBUG [xen.resource.XenServerConnectionPool] 
(DirectAgent-15:null) Unable to create slave connection to 
host(da372d8a-bbeb-486d-a85e-06922cac8da4) due to 
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: No 
route to host
2014-01-27 23:51:58,544 DEBUG [cloud.api.ApiServlet] 
(catalina-exec-11:null) ===START===  10.11.17.22 -- GET 
command=listSystemVms&response=json&sessionkey=k7%2B%2FaPitbX17ZzD9gfUWajyijo8%3D&_=1390830753664
2014-01-27 23:51:58,610 DEBUG [cloud.api.ApiServlet] 
(catalina-exec-11:null) ===END===  10.11.17.22 -- GET 
command=listSystemVms&response=json&sessionkey=k7%2B%2FaPitbX17ZzD9gfUWajyijo8%3D&_=1390830753664
2014-01-27 23:52:00,757 DEBUG [xen.resource.XenServerConnectionPool] 
(DirectAgent-15:null) localLogout has problem Failed to read server's 
response: No route to host
2014-01-27 23:52:00,757 WARN  [agent.manager.DirectAgentAttache] 
(DirectAgent-15:null) Seq 1-798621700: Exception Caught while executing 
command
com.cloud.utils.exception.CloudRuntimeException: Unable to create slave 
connection to host(da372d8a-bbeb-486d-a85e-06922cac8da4) due to 
org.apache.xmlrpc.XmlRpcException: Failed to read server's response: No 
route to host
at 
com.cloud.hypervisor.xen.resource.XenServerConnectionPool.connect(XenServerConnectionPool.java:580)
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getConnection(CitrixResourceBase.java:5871)
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:8098)
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:599)
at 
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
at 
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
at 
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
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$201(ScheduledThreadPoolExecutor.java:165)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
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:701)
Caused by: org.apache.xmlrpc.XmlRpcException: Failed to read server's 
response: No route to host
at 
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:161)
at 
org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
at 
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
at 
org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
at 
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
at 
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137)
at 
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126)

at com.xensource.xenapi.Connection.dispatch(Connection.java:303)
at 
com.xensource.xenapi.Session.slaveLocalLoginWithPassword(Session.java:587)
at 
com.cloud.hypervisor.xen.resource.XenServerConnectionPool.slaveLocalLoginWithPassword(XenServerConnectionPool.java:688)
at 
com.cloud.hypervisor.xen.resource.XenServerConnectionPool.connect(XenServerConnectionPool.java:574)

... 14 more
Caused by: java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
at java.net.Socket.connect(Socket.java:546)

Trouble creating a VM on xenserver

2014-01-27 Thread Derek Cole
Hello,

I am using a puppet script to create a bunch of VMs. At a particular point,
one of the VM's hangs on startup, and I can't seem to figure out what is
the problem. According to the dashboard, I have plenty of memory, IPs, CPU,
and storage

I tried to create an instance manually, and was unable to do that as well.
Here is a pastebin of the log when trying to create it with the puppet
script:

http://pastebin.com/ziJm4P7y


agent can't start

2014-01-27 Thread e.angi...@libero.it
Hi to all.I'm trying to install cloudstack 4.1 on Ubuntu 12.04 LTS. I have 
service-management and agent on the same computer.The network works fine, my 
configuration was:
(/etc/network/interfaces):
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

# Public network
auto cloudbr0
iface cloudbr0 inet static
address 10.0.0.50
netmask 255.255.0.0
gateway 10.0.0.1
dns-nameservers 10.0.0.1
bridge_ports eth0
bridge_fd 5
bridge_stp off
bridge_maxwait 1

# Private network
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports none
bridge_fd 5
bridge_stp off
bridge_maxwait 1
The management server works fine instead the agent do not start.The agent-setup 
was:cloudstack-setup-agent 
Welcome to the CloudStack Agent Setup:
Please input the Management Server Hostname/IP-Address:[localhost]
Please input the Zone Id:[default]
Please input the Pod Id:[default]
Please input the Cluster Id:[default]
Please choose which network used to create VM:[cloudbr0]
Starting to configure your system:
Configure Apparmor ...[OK]
Configure Network ... [OK]
Configure Libvirt ... [OK]
Configure Firewall ...[OK]
Configure Nfs ... [OK]
Configure cloudAgent ...  [OK]
CloudStack Agent setup is done!


If I run:
service cloudstack-agent start
 * Starting CloudStack Agent cloud-agent [ OK ] 

root@emi-pc:/home/emi# service cloudstack-agent status
 * cloud-agent is not running
the agent log say:
2014-01-27 16:34:46,659 INFO  [cloud.agent.AgentShell] (main:null) Agent started
2014-01-27 16:34:46,660 INFO  [cloud.agent.AgentShell] (main:null) 
Implementation Version is 4.1.1
2014-01-27 16:34:46,661 INFO  [cloud.agent.AgentShell] (main:null) 
agent.properties found at /etc/cloudstack/agent/agent.properties
2014-01-27 16:34:46,662 INFO  [cloud.agent.AgentShell] (main:null) Defaulting 
to using properties file for storage
2014-01-27 16:34:46,663 INFO  [cloud.agent.AgentShell] (main:null) Defaulting 
to the constant time backoff algorithm
2014-01-27 16:34:46,710 INFO  [cloud.agent.Agent] (main:null) id is 0
2014-01-27 16:34:46,721 INFO  [resource.virtualnetwork.VirtualRoutingResource] 
(main:null) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
2014-01-27 16:34:47,194 INFO  [kvm.resource.LibvirtComputingResource] 
(main:null) No libvirt.vif.driver specififed. Defaults to BridgeVifDriver.
2014-01-27 16:34:47,214 INFO  [cloud.agent.Agent] (main:null) Agent [id = 0 : 
type = LibvirtComputingResource : zone = default : pod = default : workers = 5 
: host = localhost : port = 8250
2014-01-27 16:34:47,227 INFO  [utils.nio.NioClient] (Agent-Selector:null) 
Connecting to localhost:8250
2014-01-27 16:34:47,406 INFO  [utils.nio.NioClient] (Agent-Selector:null) SSL: 
Handshake done
2014-01-27 16:34:47,661 INFO  [cloud.serializer.GsonHelper] 
(Agent-Handler-1:null) Default Builder inited.
2014-01-27 16:34:47,732 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) 
Proccess agent startup answer, agent id = 0
2014-01-27 16:34:47,732 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) Set 
agent id 0
2014-01-27 16:34:47,736 INFO  [cloud.agent.Agent] (Agent-Handler-2:null) 
Startup Response Received: agent id = 0
2014-01-27 16:34:47,737 INFO  [cloud.agent.Agent] (AgentShutdownThread:null) 
Stopping the agent: Reason = sig.kill

Can you help me please??
Best regardsEmiliano

 

RE: XenServer VM live scales the CPU, but not the RAM

2014-01-27 Thread Prashant Kumar Mishra

Can you share xen server version and logs .

-Original Message-
From: Nux! [mailto:n...@li.nux.ro] 
Sent: Monday, January 27, 2014 8:16 PM
To: users@cloudstack.apache.org
Cc: Dev
Subject: Re: XenServer VM live scales the CPU, but not the RAM

Hi,

Copying dev@, maybe someone has an idea for the below?


On 27.01.2014 10:28, Nux! wrote:
> Hi,
> 
> I'm testing Xenserver live scale-up feature, and it almost works. I'm 
> using a Centos 6 64bit PV guest and trying to upgrade from an offering 
> of 2 CPU and 512MB RAM to 3 CPU and 1024MB RAM.
> 
> The CPUs scale up nicely, but not the memory, it only scales from 483 
> MB (as reported by `free -m`) to 532 MB and in XenCenter the memory is 
> also not what it should:
> http://img.nux.ro/mK7-vmmem116.png
> 
> What am I doing wrong?
> 
> Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: XenServer VM live scales the CPU, but not the RAM

2014-01-27 Thread Nux!

Hi,

Copying dev@, maybe someone has an idea for the below?


On 27.01.2014 10:28, Nux! wrote:

Hi,

I'm testing Xenserver live scale-up feature, and it almost works. I'm
using a Centos 6 64bit PV guest and trying to upgrade from an offering
of 2 CPU and 512MB RAM to 3 CPU and 1024MB RAM.

The CPUs scale up nicely, but not the memory, it only scales from 483
MB (as reported by `free -m`) to 532 MB and in XenCenter the memory is
also not what it should:
http://img.nux.ro/mK7-vmmem116.png

What am I doing wrong?

Lucian


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Agent kvm not start: Not allowed to connect to the server: sent incorrect data center: default

2014-01-27 Thread e.angi...@libero.it
Hi to all.I'm trying to install cloudstack 4.0.0 with Ubuntu 12.04. I'm 
installing server-management and agent KVM on the same computer. The management 
server work fine, instead the agent do not work.
The output is:
cloud-setup-agent:
Please input the Management Server Hostname/IP-Address:[localhost]
Please input the Zone Id:[default]
Please input the Pod Id:[default]
Please input the Cluster Id:[default]
Please choose which network used to create VM:[cloudbr0]
Starting to configure your system:
Configure Apparmor ...[OK]
Configure Network ... [OK]
Configure Libvirt ... [OK]
Configure Firewall ...[OK]
Configure Nfs ... [OK]
Configure cloudAgent ...  [OK]
CloudStack Agent setup is done!


service cloud-agent start:
* cloud-agent is not running


And the agent.log say:
2014-01-27 12:06:04,562 ERROR [cloud.agent.Agent] (Agent-Handler-2:null) Not 
allowed to connect to the server: java.lang.IllegalArgumentException: Host 
10.0.0.50 sent incorrect data center: default
2014-01-27 12:06:04,563 INFO  [cloud.agent.Agent] (AgentShutdownThread:null) 
Stopping the agent: Reason = sig.kill

I reach Internet and my network configuration was:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

# Public network
auto cloudbr0
iface cloudbr0 inet static
address 10.0.0.50
netmask 255.255.0.0
gateway 10.0.0.1
dns-nameservers 10.0.0.1
bridge_ports eth0
bridge_fd 5
bridge_stp off
bridge_maxwait 1

# Private network
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports none
bridge_fd 5
bridge_stp off
bridge_maxwait 1

What is my problem??
Please help me!


 

XML error: missing pool source name element - Unable to add host

2014-01-27 Thread e.angi...@libero.it
Hi to all.I'm trying to install cloudstack on a machine with Ubuntu 12.04 LTS. 
I try to install the agent and management on the same computer, I follow the 
official guide 
on:https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/index.html
 .
The management server work fine. The agent say that it is running :
service cloudstack-agent status * cloud-agent is running

But the agent.log say:

2014-01-27 10:13:36,167 ERROR [kvm.storage.LibvirtStorageAdaptor] 
(Agent-Handler-1:null) org.libvirt.LibvirtException: XML error: missing pool 
source name element
2014-01-27 10:13:36,169 WARN  [utils.nio.Task] (Agent-Handler-1:null) Caught 
the following exception but pushing on
java.lang.NullPointerException
at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:539)
at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:57)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.initialize(LibvirtComputingResource.java:3328)
at com.cloud.agent.Agent.sendStartup(Agent.java:320)
at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:850)
at com.cloud.utils.nio.Task.run(Task.java:83)
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:701)

My network configuration was: (/etc/network/interfaces):
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

# Public network
auto cloudbr0
iface cloudbr0 inet static
address 10.0.0.50
netmask 255.255.0.0
gateway 10.0.0.1
dns-nameservers 10.0.0.1
bridge_ports eth0
bridge_fd 5
bridge_stp off
bridge_maxwait 1

# Private network
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports none
bridge_fd 5
bridge_stp off
bridge_maxwait 1
The management-server and the agent was boot in the same host with Ubuntu 
Kvm.Please can you help me?

RegardsEmiliano

 





RE: Bug with creating volume?

2014-01-27 Thread Shweta Agarwal
It's a bug Steven .

You please file a bug for the same in jira .

Thanks
Shweta



-Original Message-
From: Steven Liang [mailto:stevenli...@yesup.com] 
Sent: Thursday, January 23, 2014 9:54 PM
To: users@cloudstack.apache.org
Subject: Bug with creating volume?

Hi All,

Is this a bug? When we created a volume, and we used sub domain id, but it 
created on ROOT domain.

> create volume account=client-1-1 
> domainid=e688a532-18e1-4e20-9370-812a0ba5e143 name=aaa 
> diskofferingid=d58ba8b3-0c98-4126-a36d-98276568fdb3 
> zoneid=59c99ad6-1c2c-4c00-80db-6e7fd4c183f7


  accountid = a2687327-8577-4e8a-9f71-9faf167e7e77
cmd = org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd
created = 2014-01-23T10:55:35-0500
jobid = f74b92c6-f9f4-4c66-9cf7-1debb83f8e3e
jobprocstatus = 0
jobresult:
volume:
name = aaa
id = e29c364e-9006-4a8d-9f59-7af0cafa8055
account = client-1-1
created = 2014-01-23T10:55:35-0500
destroyed = False
diskofferingdisplaytext = Medium Disk, 20 GB diskofferingid = 
d58ba8b3-0c98-4126-a36d-98276568fdb3
diskofferingname = Medium
displayvolume = True
domain = ROOT
domainid = 398cc2d2-026b-4aca-9bc4-e646be8f2b73
isextractable = True
jobid = f74b92c6-f9f4-4c66-9cf7-1debb83f8e3e
jobstatus = 0
size = 21474836480
state = Allocated
storagetype = shared
tags:
type = DATADISK
zoneid = 59c99ad6-1c2c-4c00-80db-6e7fd4c183f7
zonename = Ontario, Canada
jobresultcode = 0
jobresulttype = object
jobstatus = 1
userid = 38b6ce50-8e39-4acb-aae4-1366bfaded19




XenServer VM live scales the CPU, but not the RAM

2014-01-27 Thread Nux!

Hi,

I'm testing Xenserver live scale-up feature, and it almost works. I'm 
using a Centos 6 64bit PV guest and trying to upgrade from an offering 
of 2 CPU and 512MB RAM to 3 CPU and 1024MB RAM.


The CPUs scale up nicely, but not the memory, it only scales from 483 
MB (as reported by `free -m`) to 532 MB and in XenCenter the memory is 
also not what it should:

http://img.nux.ro/mK7-vmmem116.png

What am I doing wrong?

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Updating shared network with new network offering

2014-01-27 Thread Andrija Panic
Hi,

if any one can help - I would like to know if it is possible to update the
Shared Network (edit it's network rate, or update this network with the new
network offering), IF I stop all the VMs that use this network ?

Right now, since this network is used by all my VMs, I can not update it
with new Network Offering.

Also it seems impossible to change network's rate (bandwith) on the
existing Network Offering ?

Any help would be very much appriciated...

-- 

Andrija Panić