RE: CheckSshCommand) Trying to connect to VR

2016-02-14 Thread Rajesh Battala
Hi, 
Were you able to login to ssvm/cpvm via cloud secret key?
Looks like the pub/private key using by mgmt. server is invalid. 
If the first step is not success then, its keys issues as CS uses private key 
to login to VR to configure the interfaces and other operations. 
Check whether the pub key in the VR is matching with the pub key in mgmt 
server. 

Thanks
Rajesh Battala

-Original Message-
From: Cristian Ciobanu [mailto:cristian.c@istream.today] 
Sent: Thursday, February 11, 2016 1:51 AM
To: users@cloudstack.apache.org
Subject: cmd: CheckSshCommand) Trying to connect to VR

Hello,

     I reinstalled again, again and so on, but each time i get new issue.  
right now i have this issue for virtual router :
2016-02-10 15:05:41,254 INFO  [c.c.h.v.r.VmwareResource] 
(DirectAgent-197:ctx-45356303 nsx.ip-19x-9x-xxx.net, job-64/job-66, cmd: 
CheckSshCommand) Could not connect to 1xx.xx.1x.2xx due to 
java.net.ConnectException: Connection timed out

looks like is not able to connect via SSH, but i'm not sure why because i'm 
able to ping the virtual router IP from management console.

SSVM is UP, and running ( storage mounted, and default templates was downloaded 
successfully ) CPVM IS UP, and running  ( also i tested console and works )

I have installed CloudStack 4.6 with basic network using VMware 5.5 for 
hypervisor 


Can someone confirm if exist an stable version for VMware ? ( because on any 
version of CS i found some issue, also different issue )  CS 4.52 with VMware 
5.5 was ok for 3 days, after some errors occurred 

Thank you!

Regards,
Cristian


RE: [CloudStack Netscaler]

2016-03-20 Thread Rajesh Battala
You cannot deploy Netscaler in cloudstack.  Configure it outside the CloudStack 
and then add the NS device to CloudStack as LB provider and then CS can use it 
as LB service provider for VLAN based guest networks. 


-Original Message-
From: Gian Paolo Buono [mailto:gianpaolo.bu...@gesca.it] 
Sent: Saturday, March 19, 2016 3:22 AM
To: users@cloudstack.apache.org
Subject: [CloudStack Netscaler]

Hi all,

is there a guide to deploy netscaler on ClousStack ?

Regards
Gian Paolo



DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.


RE: Hyper-V Agent log files.

2016-03-23 Thread Rajesh Battala

You can export the events to xml or any other format from eventviewer or 
search/create filter in the event viewer to get only required debugging. 

Initially its was file based logging only but later we moved to eventviewer 
based so that we follow windows standards. 

-Original Message-
From: Rodrigo Marques [mailto:rodrigomarques1...@gmail.com] 
Sent: Monday, March 21, 2016 10:54 PM
To: users@cloudstack.apache.org
Subject: Re: Hyper-V Agent log files.

Hi Pavan,
I see. I thought that would be a log file with more details for a better 
debugging.

Thanks for you help.

Regards,
Rodrigo.

Pavan Bandarupally  escreveu no dia segunda, 
21/03/2016 às 07:20:

> Hi Rodrigo,
>
> I do not think there is any separate agent log other than the event 
> viewer logs available for the service.
>
> Regards,
> Pavan
>
> -Original Message-
> From: Rodrigo Marques [mailto:rodrigomarques1...@gmail.com]
> Sent: Saturday, March 19, 2016 3:08 AM
> To: users@cloudstack.apache.org
> Subject: Hyper-V Agent log files.
>
> Hello,
> I am trying to install and run the Hyper-V Agent provided here.
> <
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/
> 4.6/hypervisor/hyperv.html
> >
> I installed and it appears to be running (at least it appears in 
> Windows Services). The problem is that I would like to access its log 
> files and I cannot find them.
> Does anyone know where it is?
> I looked in the source code and found a "cloudstack-agent.log". I have 
> tried to look for this file in the server using the command *dir -r 
> "cloudstack-agent.log" *but it returned nothing.
>
> Can anybody help me?
>
> Thanks.
>
> Best Regards,
> Rodrigo.
> --
> Atenciosamente,
>
> Rodrigo Marques.
>
>
>
> DISCLAIMER
> ==
> This e-mail may contain privileged and confidential information which 
> is the property of Accelerite, a Persistent Systems business. It is 
> intended only for the use of the individual or entity to which it is 
> addressed. If you are not the intended recipient, you are not 
> authorized to read, retain, copy, print, distribute or use this 
> message. If you have received this communication in error, please 
> notify the sender and delete all copies of this message. Accelerite, a 
> Persistent Systems business does not accept any liability for virus infected 
> mails.
>
--
Atenciosamente,

Rodrigo Marques.



DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.


RE: Hyper-V Agent log files.

2016-03-25 Thread Rajesh Battala
In the config file there is an option to choose either eventviewer or log file. 
Default is eventviewer.

Thanks
Rajesh Battala

-Original Message-
From: Rodrigo Marques [mailto:rodrigomarques1...@gmail.com] 
Sent: Thursday, March 24, 2016 11:51 PM
To: users@cloudstack.apache.org
Subject: Re: Hyper-V Agent log files.

Hi Rajesh,
Thanks for your answer. I asked that because there was not any information from 
the agent at EventViewer and I was having some troubles to make it run.

Thanks once again!

Best Regards,
Rodrigo.

Rajesh Battala  escreveu no dia quinta,
24/03/2016 às 02:54:

>
> You can export the events to xml or any other format from eventviewer 
> or search/create filter in the event viewer to get only required debugging.
>
> Initially its was file based logging only but later we moved to 
> eventviewer based so that we follow windows standards.
>
> -Original Message-
> From: Rodrigo Marques [mailto:rodrigomarques1...@gmail.com]
> Sent: Monday, March 21, 2016 10:54 PM
> To: users@cloudstack.apache.org
> Subject: Re: Hyper-V Agent log files.
>
> Hi Pavan,
> I see. I thought that would be a log file with more details for a 
> better debugging.
>
> Thanks for you help.
>
> Regards,
> Rodrigo.
>
> Pavan Bandarupally  escreveu no dia 
> segunda, 21/03/2016 às 07:20:
>
> > Hi Rodrigo,
> >
> > I do not think there is any separate agent log other than the event 
> > viewer logs available for the service.
> >
> > Regards,
> > Pavan
> >
> > -Original Message-
> > From: Rodrigo Marques [mailto:rodrigomarques1...@gmail.com]
> > Sent: Saturday, March 19, 2016 3:08 AM
> > To: users@cloudstack.apache.org
> > Subject: Hyper-V Agent log files.
> >
> > Hello,
> > I am trying to install and run the Hyper-V Agent provided here.
> > <
> > http://docs.cloudstack.apache.org/projects/cloudstack-installation/e
> > n/
> > 4.6/hypervisor/hyperv.html
> > >
> > I installed and it appears to be running (at least it appears in 
> > Windows Services). The problem is that I would like to access its 
> > log files and I cannot find them.
> > Does anyone know where it is?
> > I looked in the source code and found a "cloudstack-agent.log". I 
> > have tried to look for this file in the server using the command 
> > *dir -r "cloudstack-agent.log" *but it returned nothing.
> >
> > Can anybody help me?
> >
> > Thanks.
> >
> > Best Regards,
> > Rodrigo.
> > --
> > Atenciosamente,
> >
> > Rodrigo Marques.
> >
> >
> >
> > DISCLAIMER
> > ==
> > This e-mail may contain privileged and confidential information 
> > which is the property of Accelerite, a Persistent Systems business. 
> > It is intended only for the use of the individual or entity to which 
> > it is addressed. If you are not the intended recipient, you are not 
> > authorized to read, retain, copy, print, distribute or use this 
> > message. If you have received this communication in error, please 
> > notify the sender and delete all copies of this message. Accelerite, 
> > a Persistent Systems business does not accept any liability for 
> > virus
> infected mails.
> >
> --
> Atenciosamente,
>
> Rodrigo Marques.
>
>
>
> DISCLAIMER
> ==
> This e-mail may contain privileged and confidential information which 
> is the property of Accelerite, a Persistent Systems business. It is 
> intended only for the use of the individual or entity to which it is 
> addressed. If you are not the intended recipient, you are not 
> authorized to read, retain, copy, print, distribute or use this 
> message. If you have received this communication in error, please 
> notify the sender and delete all copies of this message. Accelerite, a 
> Persistent Systems business does not accept any liability for virus infected 
> mails.
>
--
Atenciosamente,

Rodrigo Marques.



DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.


RE: Dedicate Secondary Storage

2015-03-11 Thread Rajesh Battala
Hi Francois, 
AFAIK, there is no option/provision to dedicate the secondary store.
You can raise feature request for it with use cases. 

Thanks
Rajesh Battala  

-Original Message-
From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com] 
Sent: Wednesday, March 11, 2015 6:34 PM
To: users@cloudstack.apache.org
Subject: Dedicate Secondary Storage

Hi,

Is dedicating a specific secstor is something possible?

We have a weird use case where we want to use object storage as the main store 
but a customer requires a separate store to do post-snapshot actions on the 
files.

Thanks!

Francois


RE: Unable to start o recreate SysRouter

2015-03-11 Thread Rajesh Battala
Hi 
I have gone through the log. 
There are no free clusters available to create the VR. As there is no resource 
available hence its failing to create the VR.
Below is the log snippet. 

"2015-03-11 09:48:23,940 DEBUG [c.c.d.FirstFitPlanner] 
(Work-Job-Executor-47:ctx-ff383436 job-413/job-414 ctx-e2bb23a5) No clusters 
found after removing disabled clusters and clusters in avoid list, returning."


Check why the clusters in disabled  state or the hosts not in "UP" state.

Thanks
Rajesh Battala



-Original Message-
From: José Egas López [mailto:josee...@farmaenlace.com] 
Sent: Wednesday, March 11, 2015 8:36 PM
To: users@cloudstack.apache.org
Subject: Unable to start o recreate SysRouter

Hi all, I'm having problems with de system router, it can not be started, so I 
restarted the defaultGuestNetwork, CS created another sysRouter, when I try to 
start it I get the following: "Job failed due to exception Unable to create a 
deployment for VM[DomainRouter|r-40-VM]"
Here is the log:

http://pastebin.com/ymF2BDTH

Please help.


RE: templates not getting downloaded

2015-03-12 Thread Rajesh Battala
Is you SSVM up and running.
What is SSVM agent state. In UI?
If agent state is not up!
Can you please the ssvm agent log i.e., cloud.log 

Thanks
Rajesh Battala


-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Thursday, March 12, 2015 12:03 PM
To: users
Subject: Re: templates not getting downloaded

My log file s
http://pastebin.com/PmpP52i7 -> managment log file
http://pastebin.com/ugWqzZ2T   ->agent log

Can you tell me how to make sec storage vm up - I destroyed old one and new one 
got created auto - but no luck.
I am also finding that my centos template is not getting downloaded from 
internet.

Thanks


On Thu, Mar 12, 2015 at 11:26 AM, sandeep khandekar < 
cloudstack.sand...@gmail.com> wrote:

> root@s-2-VM:~# ping 10.4.6.82
> PING 10.4.6.82 (10.4.6.82): 48 data bytes
> 56 bytes from 10.4.6.82: icmp_seq=0 ttl=64 time=0.139 ms
> 56 bytes from 10.4.6.82: icmp_seq=1 ttl=64 time=0.113 ms
> ^C--- 10.4.6.82 ping statistics ---
> 2 packets transmitted, 2 packets received, 0% packet loss round-trip 
> min/avg/max/stddev = 0.113/0.126/0.139/0.000 ms root@s-2-VM:~#
>
> I am finding a error in my server log
> VM power state does not change, skip DB writing. vm id: 2 i.e my sec 
> storage vm is not coming up?
>
>
> On Mon, Mar 9, 2015 at 1:16 PM, Abhinandan Prateek < 
> abhinandan.prat...@shapeblue.com> wrote:
>
>> Can you reach this ip 10.4.6.82 from your systemvm ? It appears that 
>> the nfs storage is not reachable from your ssvm.
>>
>> > On 09-Mar-2015, at 12:11 pm, sandeep khandekar <
>> cloudstack.sand...@gmail.com> wrote:
>> >
>> > Hello cloudstackers,
>> >
>> > My templates are not getting downloaded.
>> >
>> > Getting the following error
>> > root@s-3-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
>> > 
>> > First DNS server is  103.15.60.4
>> > PING 103.15.60.4 (103.15.60.4): 48 data bytes
>> > 56 bytes from 103.15.60.4: icmp_seq=0 ttl=59 time=19.419 ms
>> > 56 bytes from 103.15.60.4: icmp_seq=1 ttl=59 time=1.033 ms
>> > --- 103.15.60.4 ping statistics ---
>> > 2 packets transmitted, 2 packets received, 0% packet loss 
>> > round-trip min/avg/max/stddev = 1.033/10.226/19.419/9.193 ms
>> > Good: Can ping DNS server
>> > 
>> > Good: DNS resolves download.cloud.com 
>> > 
>> > ERROR: NFS is not currently mounted Try manually mounting from 
>> > inside the VM NFS server is  169.254.0.106 PING 169.254.0.106 
>> > (169.254.0.106): 48 data bytes
>> > 56 bytes from 169.254.0.106: icmp_seq=0 ttl=64 time=0.184 ms
>> > 56 bytes from 169.254.0.106: icmp_seq=1 ttl=64 time=0.062 ms
>> > --- 169.254.0.106 ping statistics ---
>> > 2 packets transmitted, 2 packets received, 0% packet loss 
>> > round-trip min/avg/max/stddev = 0.062/0.123/0.184/0.061 ms
>> > Good: Can ping nfs server
>> > 
>> > Management server is 10.4.6.82. Checking connectivity.
>> > Good: Can connect to management server port 8250 
>> > 
>> > Good: Java process is running
>> > 
>> > Tests Complete. Look for ERROR or WARNING above.
>> >
>> > root@s-3-VM:~# service nfs-common status all daemons running
>> >
>> > root@s-3-VM:~# mount -t nfs 10.4.6.82:/export/secondary 
>> > /mnt/secondary
>> > mount.nfs: Connection timed out
>> >
>> > what are the sequence of commands need to be used for mounting the nfs.
>> > tried mounting manually getting error.
>> >
>> > Thanks
>> >
>> > --
>> > SANDEEP KHANDEKAR
>> > Assistant Professor
>> > Department of Computer science and engineering Sreenidhi Institute 
>> > of science and Technology Hyderabad
>>
>> Find out more about ShapeBlue and our range of CloudStack related 
>> services
>>
>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment 
>> framework<http://shapeblue.com/csforge/>
>> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>> CloudStack Software Engineering<
>> http://shapeblue.com/cloudstack-software-engineering/>
>> CloudStack Infrastructure Support<
>> http://shapeblue.com/cloudstack-infrastructure-support/>

RE: templates not getting downloaded

2015-03-12 Thread Rajesh Battala
Also run ssvm-check script and post the log which will help to figure out the 
issue

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 
Sent: Thursday, March 12, 2015 2:05 PM
To: users@cloudstack.apache.org
Subject: RE: templates not getting downloaded

Is you SSVM up and running.
What is SSVM agent state. In UI?
If agent state is not up!
Can you please the ssvm agent log i.e., cloud.log 

Thanks
Rajesh Battala


-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com]
Sent: Thursday, March 12, 2015 12:03 PM
To: users
Subject: Re: templates not getting downloaded

My log file s
http://pastebin.com/PmpP52i7 -> managment log file
http://pastebin.com/ugWqzZ2T   ->agent log

Can you tell me how to make sec storage vm up - I destroyed old one and new one 
got created auto - but no luck.
I am also finding that my centos template is not getting downloaded from 
internet.

Thanks


On Thu, Mar 12, 2015 at 11:26 AM, sandeep khandekar < 
cloudstack.sand...@gmail.com> wrote:

> root@s-2-VM:~# ping 10.4.6.82
> PING 10.4.6.82 (10.4.6.82): 48 data bytes
> 56 bytes from 10.4.6.82: icmp_seq=0 ttl=64 time=0.139 ms
> 56 bytes from 10.4.6.82: icmp_seq=1 ttl=64 time=0.113 ms
> ^C--- 10.4.6.82 ping statistics ---
> 2 packets transmitted, 2 packets received, 0% packet loss round-trip 
> min/avg/max/stddev = 0.113/0.126/0.139/0.000 ms root@s-2-VM:~#
>
> I am finding a error in my server log
> VM power state does not change, skip DB writing. vm id: 2 i.e my sec 
> storage vm is not coming up?
>
>
> On Mon, Mar 9, 2015 at 1:16 PM, Abhinandan Prateek < 
> abhinandan.prat...@shapeblue.com> wrote:
>
>> Can you reach this ip 10.4.6.82 from your systemvm ? It appears that 
>> the nfs storage is not reachable from your ssvm.
>>
>> > On 09-Mar-2015, at 12:11 pm, sandeep khandekar <
>> cloudstack.sand...@gmail.com> wrote:
>> >
>> > Hello cloudstackers,
>> >
>> > My templates are not getting downloaded.
>> >
>> > Getting the following error
>> > root@s-3-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
>> > 
>> > First DNS server is  103.15.60.4
>> > PING 103.15.60.4 (103.15.60.4): 48 data bytes
>> > 56 bytes from 103.15.60.4: icmp_seq=0 ttl=59 time=19.419 ms
>> > 56 bytes from 103.15.60.4: icmp_seq=1 ttl=59 time=1.033 ms
>> > --- 103.15.60.4 ping statistics ---
>> > 2 packets transmitted, 2 packets received, 0% packet loss 
>> > round-trip min/avg/max/stddev = 1.033/10.226/19.419/9.193 ms
>> > Good: Can ping DNS server
>> > 
>> > Good: DNS resolves download.cloud.com 
>> > 
>> > ERROR: NFS is not currently mounted Try manually mounting from 
>> > inside the VM NFS server is  169.254.0.106 PING 169.254.0.106
>> > (169.254.0.106): 48 data bytes
>> > 56 bytes from 169.254.0.106: icmp_seq=0 ttl=64 time=0.184 ms
>> > 56 bytes from 169.254.0.106: icmp_seq=1 ttl=64 time=0.062 ms
>> > --- 169.254.0.106 ping statistics ---
>> > 2 packets transmitted, 2 packets received, 0% packet loss 
>> > round-trip min/avg/max/stddev = 0.062/0.123/0.184/0.061 ms
>> > Good: Can ping nfs server
>> > 
>> > Management server is 10.4.6.82. Checking connectivity.
>> > Good: Can connect to management server port 8250 
>> > 
>> > Good: Java process is running
>> > 
>> > Tests Complete. Look for ERROR or WARNING above.
>> >
>> > root@s-3-VM:~# service nfs-common status all daemons running
>> >
>> > root@s-3-VM:~# mount -t nfs 10.4.6.82:/export/secondary 
>> > /mnt/secondary
>> > mount.nfs: Connection timed out
>> >
>> > what are the sequence of commands need to be used for mounting the nfs.
>> > tried mounting manually getting error.
>> >
>> > Thanks
>> >
>> > --
>> > SANDEEP KHANDEKAR
>> > Assistant Professor
>> > Department of Computer science and engineering Sreenidhi Institute 
>> > of science and Technology Hyderabad
>>
>> Find out more about ShapeBlue and our range of CloudStack related 
>> services
>>
>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment
>> framework<http://shapeblue.com/csforge/>
>> CloudStack Consulti

RE: templates not getting downloaded

2015-03-12 Thread Rajesh Battala
Ok. That's the reason it didn't come up. 
Now nfs got mounted right!
It should get started downloading the template if there are no issues with 
Network. 
Hope your issue is resolved!

-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Thursday, March 12, 2015 3:32 PM
To: users
Subject: Re: templates not getting downloaded

http://pastebin.com/mZzn95Zq
found mount problem in cloud.log file - sending the cloud.log file again

On Thu, Mar 12, 2015 at 3:25 PM, sandeep khandekar < 
cloudstack.sand...@gmail.com> wrote:

> Screenshots of cloudstack.
>
> http://i.imgur.com/x78SIp3.png
> http://i.imgur.com/emkKOin.png
>
>
> On Thu, Mar 12, 2015 at 2:56 PM, sandeep khandekar < 
> cloudstack.sand...@gmail.com> wrote:
>
>> Forgot to send cloud.log file
>> http://pastebin.com/gygvqdFT   -> cloud log file
>>
>> On Thu, Mar 12, 2015 at 2:49 PM, sandeep khandekar < 
>> cloudstack.sand...@gmail.com> wrote:
>>
>>>
>>> Its up now. I dont know why it took so much time.
>>> ssvm-check script is showing the following error -
>>> ERROR: NFS is not currently mounted
>>> http://pastebin.com/dQFE7YCb   -ssvm health check
>>>
>>> Snapshot of my new logs - which shows warn and info.
>>>
>>> warn : No usage server process running -> management log
>>>
>>> warn : listall - unknown parameters -> management log
>>>
>>> http://pastebin.com/FfM63nUV   -> management log
>>>
>>>
>>> http://pastebin.com/RHgiLt6U   -> agent log
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Mar 12, 2015 at 2:15 PM, Rajesh Battala < 
>>> rajesh.batt...@citrix.com> wrote:
>>>
>>>> Also run ssvm-check script and post the log which will help to 
>>>> figure out the issue
>>>>
>>>> -Original Message-
>>>> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
>>>> Sent: Thursday, March 12, 2015 2:05 PM
>>>> To: users@cloudstack.apache.org
>>>> Subject: RE: templates not getting downloaded
>>>>
>>>> Is you SSVM up and running.
>>>> What is SSVM agent state. In UI?
>>>> If agent state is not up!
>>>> Can you please the ssvm agent log i.e., cloud.log
>>>>
>>>> Thanks
>>>> Rajesh Battala
>>>>
>>>>
>>>> -Original Message-
>>>> From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com]
>>>> Sent: Thursday, March 12, 2015 12:03 PM
>>>> To: users
>>>> Subject: Re: templates not getting downloaded
>>>>
>>>> My log file s
>>>> http://pastebin.com/PmpP52i7 -> managment log file
>>>> http://pastebin.com/ugWqzZ2T   ->agent log
>>>>
>>>> Can you tell me how to make sec storage vm up - I destroyed old one 
>>>> and new one got created auto - but no luck.
>>>> I am also finding that my centos template is not getting downloaded 
>>>> from internet.
>>>>
>>>> Thanks
>>>>
>>>>
>>>> On Thu, Mar 12, 2015 at 11:26 AM, sandeep khandekar < 
>>>> cloudstack.sand...@gmail.com> wrote:
>>>>
>>>> > root@s-2-VM:~# ping 10.4.6.82
>>>> > PING 10.4.6.82 (10.4.6.82): 48 data bytes
>>>> > 56 bytes from 10.4.6.82: icmp_seq=0 ttl=64 time=0.139 ms
>>>> > 56 bytes from 10.4.6.82: icmp_seq=1 ttl=64 time=0.113 ms
>>>> > ^C--- 10.4.6.82 ping statistics ---
>>>> > 2 packets transmitted, 2 packets received, 0% packet loss 
>>>> > round-trip min/avg/max/stddev = 0.113/0.126/0.139/0.000 ms 
>>>> > root@s-2-VM:~#
>>>> >
>>>> > I am finding a error in my server log VM power state does not 
>>>> > change, skip DB writing. vm id: 2 i.e my sec storage vm is not 
>>>> > coming up?
>>>> >
>>>> >
>>>> > On Mon, Mar 9, 2015 at 1:16 PM, Abhinandan Prateek < 
>>>> > abhinandan.prat...@shapeblue.com> wrote:
>>>> >
>>>> >> Can you reach this ip 10.4.6.82 from your systemvm ? It appears 
>>>> >> that the nfs storage is not reachable from your ssvm.
>>>> >>
>>>> >> > On 09-Mar-2015, at 12:11 pm, sandeep khandekar <
>>>> >> cloudstack.sand...@gmail.com> wrote:
>>>> >> >
>>>> >> > 

RE: templates not getting downloaded

2015-03-13 Thread Rajesh Battala
Hi Sandeep, 
Can you run the ssvm-check script and paste the error. 

Looks like SSVM is not able to reach to NFS server.  Can you check the 
connectivity from SSVM to NFS server.

Nfs client is by default installed in the SSVM, no need to install it.

Thanks
Rajesh Battala

-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Friday, March 13, 2015 9:58 AM
To: users
Subject: Re: templates not getting downloaded

How to solve these n/w issue?

root@s-3-VM:~# ping 10.4.6.82
PING 10.4.6.82 (10.4.6.82): 48 data bytes
56 bytes from 10.4.6.82: icmp_seq=0 ttl=64 time=0.128 ms
56 bytes from 10.4.6.82: icmp_seq=1 ttl=64 time=0.183 ms
56 bytes from 10.4.6.82: icmp_seq=2 ttl=64 time=0.191 ms
^C--- 10.4.6.82 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss round-trip 
min/avg/max/stddev = 0.128/0.167/0.191/0.028 ms root@s-3-VM:~#

I can ping mgmt server ? what else is going wrong ? do I need to install any 
nfs-client inside s-3vm.

If I try to mount manually I get connection timed out.

root@s-3-VM:~# mount -t nfs 10.4.6.82:/export/secondary
/mnt/SecStorage/dc079045-8e34-33e7-ade3-cb8e4dd13046
mount.nfs: Connection timed out

On Fri, Mar 13, 2015 at 9:51 AM, sandeep khandekar < 
cloudstack.sand...@gmail.com> wrote:

> Error still persists.
> ERROR: NFS is not currently mounted. -->script outpuut on s-3 VM.
> http://pastebin.com/jUu36A4Z -- log file output..
> Any guess why nfs is not getting mounted inside s-3 VM?
>
>
>
> On Thu, Mar 12, 2015 at 4:54 PM, Rajesh Battala 
>  > wrote:
>
>> Ok. That's the reason it didn't come up.
>> Now nfs got mounted right!
>> It should get started downloading the template if there are no issues 
>> with Network.
>> Hope your issue is resolved!
>>
>> -Original Message-
>> From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com]
>> Sent: Thursday, March 12, 2015 3:32 PM
>> To: users
>> Subject: Re: templates not getting downloaded
>>
>> http://pastebin.com/mZzn95Zq
>> found mount problem in cloud.log file - sending the cloud.log file 
>> again
>>
>> On Thu, Mar 12, 2015 at 3:25 PM, sandeep khandekar < 
>> cloudstack.sand...@gmail.com> wrote:
>>
>> > Screenshots of cloudstack.
>> >
>> > http://i.imgur.com/x78SIp3.png
>> > http://i.imgur.com/emkKOin.png
>> >
>> >
>> > On Thu, Mar 12, 2015 at 2:56 PM, sandeep khandekar < 
>> > cloudstack.sand...@gmail.com> wrote:
>> >
>> >> Forgot to send cloud.log file
>> >> http://pastebin.com/gygvqdFT   -> cloud log file
>> >>
>> >> On Thu, Mar 12, 2015 at 2:49 PM, sandeep khandekar < 
>> >> cloudstack.sand...@gmail.com> wrote:
>> >>
>> >>>
>> >>> Its up now. I dont know why it took so much time.
>> >>> ssvm-check script is showing the following error -
>> >>> ERROR: NFS is not currently mounted
>> >>> http://pastebin.com/dQFE7YCb   -ssvm health check
>> >>>
>> >>> Snapshot of my new logs - which shows warn and info.
>> >>>
>> >>> warn : No usage server process running -> management log
>> >>>
>> >>> warn : listall - unknown parameters -> management log
>> >>>
>> >>> http://pastebin.com/FfM63nUV   -> management log
>> >>>
>> >>>
>> >>> http://pastebin.com/RHgiLt6U   -> agent log
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On Thu, Mar 12, 2015 at 2:15 PM, Rajesh Battala < 
>> >>> rajesh.batt...@citrix.com> wrote:
>> >>>
>> >>>> Also run ssvm-check script and post the log which will help to 
>> >>>> figure out the issue
>> >>>>
>> >>>> -Original Message-
>> >>>> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
>> >>>> Sent: Thursday, March 12, 2015 2:05 PM
>> >>>> To: users@cloudstack.apache.org
>> >>>> Subject: RE: templates not getting downloaded
>> >>>>
>> >>>> Is you SSVM up and running.
>> >>>> What is SSVM agent state. In UI?
>> >>>> If agent state is not up!
>> >>>> Can you please the ssvm agent log i.e., cloud.log
>> >>>>
>> >>>> Thanks
>> >>>> Rajesh Battala
>> >>>>
>> >>>>
>> >>>> -Original Message--

RE: no operation available on template

2015-03-13 Thread Rajesh Battala
Didn't get your query!

-Original Message-
From: Sonali Jadhav [mailto:son...@servercentralen.se] 
Sent: Friday, March 13, 2015 5:02 PM
To: users@cloudstack.apache.org
Subject: RE: no operation available on template

I have discovered that , there was new instance creation operation running from 
that template. And at same time we had reboot of primary storage server. So I 
get it now why it's like that. How I can fix it now :( 

/Sonali

-Original Message-
From: Somesh Naidu [mailto:somesh.na...@citrix.com] 
Sent: Thursday, March 12, 2015 8:57 PM
To: users@cloudstack.apache.org
Subject: RE: no operation available on template

It is blank because the template is currently downloading/installing. The 
operation buttons will appear the download/install operation completes (success 
or failure).

Somesh
CloudPlatform Escalations
Citrix Systems, Inc.

-Original Message-
From: Sonali Jadhav [mailto:son...@servercentralen.se] 
Sent: Thursday, March 12, 2015 6:02 AM
To: users@cloudstack.apache.org
Subject: no operation available on template 

Hi,

I don't see any operations available on template I created from disk snapshot. 
I even created new instance from that template, which was working fine. I 
deleted that instance.
But I want to delete template as well now. Its status is blank and Ready  is" 
NO".

/sonali




RE: [Announce] - New VP Apache Cloudstack

2015-03-23 Thread Rajesh Battala
Hearty Congratulations . Well Deserved Sebastien.

-Original Message-
From: Giles Sirett [mailto:giles.sir...@shapeblue.com] 
Sent: Monday, March 23, 2015 5:11 PM
To: d...@cloudstack.apache.org; users@cloudstack.apache.org; 
market...@cloudstack.apache.org
Subject: [Announce] - New VP Apache Cloudstack

All
The Apache Cloudstack PMC is delighted to announce that on March 18 an ASF 
board resolution was passed to make Sebastien Goasguen the new Chair/VP of 
Apache CloudStack.

Sebastien replaces Hugo in this role


I'm sure you'll all join me in wishing Sebastien all the best for the next 12 
months and also in thanking Hugo for all of his hard work over the last year.

Giles



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge - rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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 SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


RE: Can't configure Load Balancer

2015-06-15 Thread Rajesh Battala
Hi Paul, 

Creation of HealthCheck policy currently its supported only if LB device is 
Netscaler. For VR and F5 it's not supported
Framework is present but associated Service Provider has to implement the 
policy management.

Thanks
Rajesh Battala

-Original Message-
From: Paul Shadwell [mailto:p...@shadwell.ch] 
Sent: Saturday, June 13, 2015 5:34 AM
To: users@cloudstack.apache.org
Subject: Can't configure Load Balancer

When trying to configure HealthCheck in a Load Balancer. I get the following 
error:

{"createlbhealthcheckpolicyresponse":{"uuidList":[],"errorcode":430,"cserrorcode":,"errortext":"Failed
 to create HealthCheck policy: Validation Failed (HealthCheck Policy is not 
supported by LB Provider for the LB rule id :)24”}}

Can anyone shed any light on this.

ACS Cloudstack v4.5.1


RE: Can't configure Load Balancer

2015-06-15 Thread Rajesh Battala
Yes, its good to see HealthChecks get implemented for VR. 
HealthCheck policy framework is already present, Its at VR it should implement 
the calls.

Thanks
Rajesh Battala

-Original Message-
From: Andrija Panic [mailto:andrija.pa...@gmail.com] 
Sent: Monday, June 15, 2015 6:00 PM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: Re: Can't configure Load Balancer

I would also like to see these implemented :(

On 15 June 2015 at 14:20, Douglas Land  wrote:

> Aren't  cloudstack developers the service providers for the VR LB?
>
> On Monday, June 15, 2015, Rajesh Battala 
> wrote:
>
> > Hi Paul,
> >
> > Creation of HealthCheck policy currently its supported only if LB 
> > device is Netscaler. For VR and F5 it's not supported Framework is 
> > present but associated Service Provider has to implement the policy 
> > management.
> >
> > Thanks
> > Rajesh Battala
> >
> > -Original Message-
> > From: Paul Shadwell [mailto:p...@shadwell.ch ]
> > Sent: Saturday, June 13, 2015 5:34 AM
> > To: users@cloudstack.apache.org 
> > Subject: Can't configure Load Balancer
> >
> > When trying to configure HealthCheck in a Load Balancer. I get the 
> > following error:
> >
> >
> {"createlbhealthcheckpolicyresponse":{"uuidList":[],"errorcode":430,"c
> serrorcode":,"errortext":"Failed
> > to create HealthCheck policy: Validation Failed (HealthCheck Policy 
> > is
> not
> > supported by LB Provider for the LB rule id :)24”}}
> >
> > Can anyone shed any light on this.
> >
> > ACS Cloudstack v4.5.1
> >
>



-- 

Andrija Panić


RE: ssvm-check.sh is having NFS mount errors

2015-06-17 Thread Rajesh Battala
If ssvm is reachable to NFS server then it can mount. 
If you resolve connectivity issues between ssvm and NFS server then you are 
good to go.

-Original Message-
From: Srini Datari (sdatari) [mailto:sdat...@cisco.com] 
Sent: Thursday, June 18, 2015 7:27 AM
To: users@cloudstack.apache.org
Subject: ssvm-check.sh is having NFS mount errors

Hello,

I am trying to install CloudStack (on an ESXi host) and the secondary storage 
VM is unable to mount the NFS Secondary Storage. When I run the helper script, 
I get the error

_

ERROR NFS is not currently mounted
...
WARNING cannot ping NFS Server

Try mounting the NFS server inside the VM 

I found that I am unable to ping the NFS server from ssvm. Can I manually add a 
route to make this work ?

Thanks in advance,
Srini Datari


RE: Having problem during configuring autoscaling feature in CloudStack

2015-08-06 Thread Rajesh Battala
Hi, 
I can help you with issues on Autoscaling with NetScaler. 
Let me know how you have tried AutoScaling with NetScaler. 
Which version of NS, License, 
AutoScale configuration. 

Autoscale with NS and without NS works completely diferent.

Thanks
Rajesh Battala

-Original Message-
From: cloud stack [mailto:cloudstack...@gmail.com] 
Sent: Friday, August 7, 2015 8:21 AM
To: users@cloudstack.apache.org
Subject: Having problem during configuring autoscaling feature in CloudStack

Hi All,

We are trying to use autoscaling feature in Cloudstack either with NetScaler or 
without NetScaler.

We have tried with both Cloudstack versions 4.4 and 4.5.

*Our configuration:*
-- management server : centos 6.4
ip:192.168.1.10
netmask:255.255.255.0
gateway:192.168.1.1

-- host : xenserver 6.1
ip:192.168.1.11
netmask:255.255.255.0
gateway:192.168.1.1

-- we have a router with vlan support,and we configured 4 vlans as untagged in 
order to get access to internet (according to router user manual):
vlan id (1) : 192.168.1.0/24
vlan id (2) : 192.168.2.0/24
vlan id (3) : 192.168.3.0/24
vlan id (4) : 192.168.4.0/24
- all vlans can ping each other and can access internet.
- firewall is off in the router.


*==> We tried with the following approaches:*

*1) Installation with Basic zone:*
--Network offering: DefaultSharedNetscalerEIPandELBNetworkOffering
--management network: 192.168.1.0/24 (vlan1) --guest network: 192.168.1.0/24  
(vlan1) --public network: 192.168.2.0/24 (vlan2)
--Note: we prepared the template with snmp and application

*--Issues in this configuration:*
-We can not ping the public ip assigned to the load balancer that getting from 
public ips pool.
-We stopped the firewall in XenServer (btw :firewall is restarted frequently 
even though with chkconfig iptables off)

*2) Installation with Advance zone:*
--guest cidr (3 different installation):
10.10.0.0/24
192.168.1.0/24
192.168.2.0/24
--management network: 192.168.1.0/24 (vlan1) --public network (3 different 
installation):
192.168.1.0/24 (vlan1)
192.168.2.0/24 (vlan2)
--guest vlan tag range (2 different installation):
 700-800
 blank-blank
--We tried with both shared and isolated guest network from vlan1 and vlan2:
vlan1:192.168.1.0/24
vlan2:192.168.2.0/24

*--Issues in this configuration:*
-We cannot ping the VM IP created with either isolated or shared network from 
any vlans and from vm we can not also access the internet.
-We stopped the firewall in xenserver (btw :firewall is restarted frequently 
even though with chkconfig iptables off)

Now we are not sure how to proceed with autoscaler configuration, what 
combination we should try to make it work. Can any one please give us some 
direction to make autoscale running. We really appreciate any comments or 
suggestions.

Please let us know if you have any clarification questions.

Thanks in advance,


RE: Configuring health check to F5 LB fails

2014-04-29 Thread Rajesh Battala
Hi Amin,
Currently only Netscaler LB supports HealthCheck policies. For Remaining LB 
providers it's not yet supported in Cloudstack.
Entire framework is available but providers have to implement the commands in 
their resources.

Thanks
Rajesh Battala

-Original Message-
From: Amin Pashapour [mailto:jol...@yahoo.com] 
Sent: Tuesday, April 29, 2014 10:35 PM
To: users@cloudstack.apache.org
Subject: Configuring health check to F5 LB fails

Hi

When I try to add a health check to a loadbalancer setup with F5 as the 
provider, I get this error on the screen.  I am just trying to add the check 
with the default values. I am running 4.2.1.  Am I missing something?


{ "createlbhealthcheckpolicyresponse" : 
{"uuidList":[],"errorcode":430,"cserrorcode":,"errortext":"Failed to create 
HealthCheck policy: Validation Failed (HealthCheck Policy is not supported by 
LB Provider for the LB rule id :)57"} }



Thanks.
Amin


RE: Thanks everyone who helped me for installing cloudstack

2014-05-04 Thread Rajesh Battala
Great to hear about your deployment is successful.

-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Monday, May 5, 2014 11:13 AM
To: users@cloudstack.apache.org
Subject: Thanks everyone who helped me for installing cloudstack

Dear Cloudstackers,

Today I have successfully created a virtual Machine on my Cloudstack Machine. I 
would like to share my happiness with you. It took more time to install and 
lots more to learn from you. Thankyou all for helping me in all the ways you 
can.

Find the screenshot of my machine which is running properly

http://imgur.com/a/IXOz9#16


Thank you cloudstackers.

--
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering Sreenidhi Institute of science 
and Technology Hyderabad


RE: Is the cloudstack autoscaling fature only activated with netscaler hardware appliance?

2014-06-04 Thread Rajesh Battala
Autoscale is available with vpx also.

-Original Message-
From: hossein zabolzadeh [mailto:zabolza...@gmail.com] 
Sent: Wednesday, June 4, 2014 3:01 PM
To: users@cloudstack.apache.org
Subject: Is the cloudstack autoscaling fature only activated with netscaler 
hardware appliance?

Hi.
Is the cloudstack autoscaling fature only activated with netscaler hardware 
appliance?


RE: [ACS 4.3][Netscaler] Any experience ? Which version of Netscaler ?

2014-06-16 Thread Rajesh Battala
Hi Benoit, 
You can use 
Netscaler VPX 9.3, 10.0(Build 54.7.nc and 54.161)
Netscaler MPX 10
Netscaler SDX 10

To use Autoscale and GSLB you need to use NS  10.0 and above.
NS is part of apache cloudstack oss builds.


Thanks
Rajesh Battala

-Original Message-
From: benoit lair [mailto:kurushi4...@gmail.com] 
Sent: Monday, June 16, 2014 3:37 PM
To: users@cloudstack.apache.org
Subject: [ACS 4.3][Netscaler] Any experience ? Which version of Netscaler ?

Hello Folks,


Anybody has already tested Netscaler with ACS 4.3 (or other version) ?

Do we need to have a special version of the netscaler in order to get it in our 
cloudstack management server ? Any version, MPX, SDX, VPX preferred ?
Is it better to have a certain version or it doesn't matter ?


Thanks for yours feedback and advices.


Regards, Benoit Lair.


RE: Unable to connect to Cloudstack UI - v4.3

2014-06-30 Thread Rajesh Battala
Can you post mgmt. log. 
Looks like another application is running on 8080 port. 
Can you netstat and see which app is running on 8080 port.


Thanks
Rajesh Battala

-Original Message-
From: Brisset Simon [mailto:simon.bris...@gmail.com] 
Sent: Monday, June 30, 2014 2:58 PM
To: users@cloudstack.apache.org
Subject: Unable to connect to Cloudstack UI - v4.3

Hi Everyone,

I have a bit of an issue to connect to the web interface. I have an 
environnment test on Cloudstack 4.3 The management server is on a centos 6.4 
(NFS share too).

I tried things but none of them worked more than 1 time :

- Restart the service cloudstack-management
- Restart the service tomcat6 (this one cause me a lot of trouble)

I checked the log

/cloudstack/management/catalina.out
-> java.net.BindException: Address already in use :8080

- netstat –ntap | grep 8080
try yo kill -15 the pid

- ps -ax | grep tomcat
try yo kill -9 the pid

I also had this :

cloudstack-management dead but pid file exists

The pid file locates at /var/run/cloudstack-management.pid and lock file at

var/lock/subsys/cloudstack-management.
But after restarted the service , it seemed ok.

- Try to RM /var/lock/subsys/tomcat6


Anyway, i tried a lot of things, but if anyone already had this issue before 
and had a process to do in this case, please help me !


Thanks .

--
*BRISSET Simon*
Troisième année, Promotion 2014

Mail : simon.bris...@gmail.com
Tel : 06.58.55.40.83


RE: Changing disk offering for existing volumes

2014-07-18 Thread Rajesh Battala
Root volume resize is not yet supported.

-Original Message-
From: Andrei Mikhailovsky [mailto:and...@arhont.com] 
Sent: Friday, July 18, 2014 1:36 AM
To: users@cloudstack.apache.org
Subject: Re: Changing disk offering for existing volumes

Alena, 

Thanks, I didn't realise that the Resize option does allow one to change the 
disk offering and not simply the size of the volume. However, this option 
doesn't work for the root volumes. I guess db hacking is needed here. 

Cheers 

--
Andrei Mikhailovsky
Director
Arhont Information Security 

Web: http://www.arhont.com
http://www.wi-foo.com
Tel: +44 (0)870 4431337
Fax: +44 (0)208 429 3111
PGP: Key ID - 0x2B3438DE
PGP: Server - keyserver.pgp.com 

DISCLAIMER 

The information contained in this email is intended only for the use of the 
person(s) to whom it is addressed and may be confidential or contain legally 
privileged information. If you are not the intended recipient you are hereby 
notified that any perusal, use, distribution, copying or disclosure is strictly 
prohibited. If you have received this email in error please immediately advise 
us by return email at and...@arhont.com and delete and purge the email and any 
attachments without making a copy. 


- Original Message -

From: "Alena Prokharchyk" 
To: users@cloudstack.apache.org
Sent: Thursday, 17 July, 2014 5:52:49 PM
Subject: Re: Changing disk offering for existing volumes 

Andrei, what version of CS is it? There should be an option in the UI called 
³Resize Volume². 

Here is the feature spec (the feature was added in 4.1): 

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


-Alena. 

On 7/17/14, 8:47 AM, "Andrei Mikhailovsky"  wrote: 

>Hello guys,
> 
>I am planning to change the disk offering for the existing guest 
>volumes to accommodate for QOS. I am unable to find the required option 
>in ACS GUI. How does one go about achieving this?
> 
>Is it simply a matter of doing the changes in the database and 
>restarting the guest vm? Or is there a more elegant way of doing this?
> 
>Thanks
> 
>--
>Andrei Mikhailovsky
>Director
>Arhont Information Security
> 
>Web: http://www.arhont.com
>http://www.wi-foo.com
>Tel: +44 (0)870 4431337
>Fax: +44 (0)208 429 3111
>PGP: Key ID - 0x2B3438DE
>PGP: Server - keyserver.pgp.com
> 
>DISCLAIMER
> 
>The information contained in this email is intended only for the use of 
>the person(s) to whom it is addressed and may be confidential or 
>contain legally privileged information. If you are not the intended 
>recipient you are hereby notified that any perusal, use, distribution, 
>copying or disclosure is strictly prohibited. If you have received this 
>email in error please immediately advise us by return email at 
>and...@arhont.com and delete and purge the email and any attachments without 
>making a copy.
> 
> 




RE: Error while deploying a new VM

2014-07-24 Thread Rajesh Battala
Sandeep, 
Check above these log statements to find out the reason for "insufficient 
server capacity exception" 
You can paste those log statements 

Thanks
Rajesh Battala

-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Friday, July 25, 2014 11:45 AM
To: users@cloudstack.apache.org
Subject: Re: Error while deploying a new VM

root@cloudstack:/home/cloudstack# tail -f 
/var/log/cloudstack/management/management-server.log|grep exception
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[DomainRouter|r-4-VM]Scope=interface
com.cloud.dc.DataCenter; id=1
2014-07-25 11:43:45,754 INFO  [user.vm.DeployVMCmd] (Job-Executor-6:job-15 = [ 
06e5b887-a9ef-4668-a1b3-623911e16ab4 ])
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[User|a]Scope=interface com.cloud.dc.DataCenter; id=1
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[User|a]Scope=interface com.cloud.dc.DataCenter; id=1



On Fri, Jul 25, 2014 at 11:39 AM, Suresh Sadhu 
wrote:

> Dear Sandeep,
>
> Please cut and paste the error/exception content from the logs. 
> without  logs it difficult to analyse the problem.
>
> Regards
> Sadhu
>
>
> -Original Message-
> From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com]
> Sent: 25 July 2014 10:31
> To: users@cloudstack.apache.org
> Subject: Re: Error while deploying a new VM
>
> host is up and running
>
>
> On Fri, Jul 25, 2014 at 10:29 AM, sandeep khandekar < 
> cloudstack.sand...@gmail.com> wrote:
>
> > I am working on single node.
> >
> >
> > On Fri, Jul 25, 2014 at 9:42 AM, Suresh Sadhu 
> > 
> > wrote:
> >
> >> Sandeep,
> >>
> >> Please provide error log(MSlog) content .
> >>
> >>
> >> It seems your host  is not up. Check your host state.
> >>
> >>
> >> Regards
> >> sadhu
> >>
> >>
> >> -Original Message-
> >> From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com]
> >> Sent: 25 July 2014 09:37
> >> To: users@cloudstack.apache.org
> >> Subject: Error while deploying a new VM
> >>
> >> Dear Cloudstackers,
> >>
> >> I downloaded ubunut.iso, I deployed it, the following error I got.
> >>
> >> Failed to deploy Vm with Id: 3, on Host with Id: null
> >>
> >> 2014-07-25 09:34:38,575 INFO  
> >> [cloud.ha.HighAvailabilityManagerImpl]
> >> (HA-2:null) checking health of usage server
> >> 2014-07-25 09:34:38,577 DEBUG 
> >> [cloud.ha.HighAvailabilityManagerImpl]
> >> (HA-2:null) usage server running? false, heartbeat: null
> >> 2014-07-25 09:34:38,578 WARN  [apache.cloudstack.alerts] 
> >> (HA-2:null)
> >> alertType:: 13 // dataCenterId:: 0 // podId:: 0 // clusterId:: null 
> >> //
> >> message:: No usage server process running
> >>
> >>
> >> Virtual router is unable to start. Everything is running properly 
> >> including templates.
> >>
> >> Any help.
> >> --
> >> SANDEEP KHANDEKAR
> >> Assistant Professor
> >> Department of Computer science and engineering Sreenidhi Institute 
> >> of science and Technology Hyderabad
> >>
> >
> >
> >
> > --
> > SANDEEP KHANDEKAR
> > Assistant Professor
> > Department of Computer science and engineering Sreenidhi Institute 
> > of science and Technology Hyderabad
> >
>
>
>
> --
> SANDEEP KHANDEKAR
> Assistant Professor
> Department of Computer science and engineering Sreenidhi Institute of 
> science and Technology Hyderabad
>



-- 
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering
Sreenidhi Institute of science and Technology
Hyderabad


RE: Error while deploying a new VM

2014-07-25 Thread Rajesh Battala
To deploy the VM, first virtual router will be deployed. 
From the logs, to deploy the virtual router there is an issue. 
Deployment for virtual router is failing due to its not able to find any 
storage pool ( local, cluster, zone) wide pool to allocate the root disk for 
the VR. Hence VR deployment is failing causing the VM deployment failure. 
Can you check what's wrong with the primary storage! 


2014-07-25 11:43:42,859 DEBUG [storage.allocator.LocalStoragePoolAllocator] 
(Job-Executor-6:job-15 = [ 06e5b887-a9ef-4668-a1b3-623911e16ab4 ]) 
LocalStoragePoolAllocator returning 0 suitable storage pools 
2014-07-25 11:43:42,860 DEBUG 
[storage.allocator.ClusterScopeStoragePoolAllocator] (Job-Executor-6:job-15 = [ 
06e5b887-a9ef-4668-a1b3-623911e16ab4 ]) ClusterScopeStoragePoolAllocator 
looking for storage pool
2014-07-25 11:43:42,860 DEBUG [storage.allocator.ZoneWideStoragePoolAllocator] 
(Job-Executor-6:job-15 = [ 06e5b887-a9ef-4668-a1b3-623911e16ab4 ]) 
ZoneWideStoragePoolAllocator to find storage pool
2014-07-25 11:43:42,860 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(Job-Executor-6:job-15 = [ 06e5b887-a9ef-4668-a1b3-623911e16ab4 ]) No suitable 
pools found for volume: Vol[4|vm=4|ROOT] under cluster: 1
2014-07-25 11:43:42,860 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(Job-Executor-6:job-15 = [ 06e5b887-a9ef-4668-a1b3-623911e16ab4 ]) No suitable 
pools found
2014-07-25 11:43:42,860 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(Job-Executor-6:job-15 = [ 06e5b887-a9ef-4668-a1b3-623911e16ab4 ]) No suitable 
storagePools found under this Cluster: 1
2014-07-25 11:43:42,861 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl] 
(Job-Executor-6:job-15 = [ 06e5b887-a9ef-4668-a1b3-623911e16ab4 ]) Could not 
find suitable Deployment Destination for this VM under any clusters, returning.



Thanks
Rajesh Battala

-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Friday, July 25, 2014 1:24 PM
To: users@cloudstack.apache.org
Subject: Re: Error while deploying a new VM

Please find the  copy of log the details on the link below for  job-15
http://paste.algolibre.com/115
Thank you



On Fri, Jul 25, 2014 at 12:05 PM, sandeep khandekar < 
cloudstack.sand...@gmail.com> wrote:

> Dear ALL,
>
> Previously I used to have cloudstack, it was running properly, created 
> the instances successfully also.  I destroyed the prevoius 
> installation of cloudstack.  not removed any of the files of previous 
> cloudstack(/export/secondary, /export/primary) . I just wiped the 
> database "drop database cloud;"  and again created the database and 
> installed/downloaded isos everything properly.
>
> Everything is coming up except my virtual router. is these causing problem?
> Any idea how to solve these ?
>
>
> On Fri, Jul 25, 2014 at 11:44 AM, sandeep khandekar < 
> cloudstack.sand...@gmail.com> wrote:
>
>>
>> root@cloudstack:/home/cloudstack# tail -f 
>> /var/log/cloudstack/management/management-server.log|grep exception
>> com.cloud.exception.InsufficientServerCapacityException: Unable to 
>> create a deployment for VM[DomainRouter|r-4-VM]Scope=interface
>> com.cloud.dc.DataCenter; id=1
>> 2014-07-25 11:43:45,754 INFO  [user.vm.DeployVMCmd]
>> (Job-Executor-6:job-15 = [ 06e5b887-a9ef-4668-a1b3-623911e16ab4 ])
>> com.cloud.exception.InsufficientServerCapacityException: Unable to 
>> create a deployment for VM[User|a]Scope=interface 
>> com.cloud.dc.DataCenter; id=1
>> com.cloud.exception.InsufficientServerCapacityException: Unable to 
>> create a deployment for VM[User|a]Scope=interface 
>> com.cloud.dc.DataCenter; id=1
>>
>>
>>
>> On Fri, Jul 25, 2014 at 11:39 AM, Suresh Sadhu 
>> 
>> wrote:
>>
>>> Dear Sandeep,
>>>
>>> Please cut and paste the error/exception content from the logs. 
>>> without  logs it difficult to analyse the problem.
>>>
>>> Regards
>>> Sadhu
>>>
>>>
>>> -Original Message-
>>> From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com]
>>> Sent: 25 July 2014 10:31
>>> To: users@cloudstack.apache.org
>>> Subject: Re: Error while deploying a new VM
>>>
>>> host is up and running
>>>
>>>
>>> On Fri, Jul 25, 2014 at 10:29 AM, sandeep khandekar < 
>>> cloudstack.sand...@gmail.com> wrote:
>>>
>>> > I am working on single node.
>>> >
>>> >
>>> > On Fri, Jul 25, 2014 at 9:42 AM, Suresh Sadhu 
>>> > 
>>> > wrote:
>>> >
>>> >> Sandeep,
>>> >>
>>> >> Please provide error log(MSlog) content .
>>> >>
>>> &g

RE: CS4 AWS S3 support

2013-03-25 Thread Rajesh Battala
Hi Asmita, 

In the cloudbridge db, usercredentials table has the username/password values 
present?
Generally, for an existing account, generate the apikey/secrect key and 
register them in awsapi.

Were you able to run s3 requests.?  Is awsap is running at 7080 port?

Thanks
Rajesh Battala


> -Original Message-
> From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> Sent: Monday, March 25, 2013 3:24 PM
> To: 'cloudstack-us...@incubator.apache.org'; 'run...@gmail.com'
> Subject: CS4 AWS S3 support
> 
> Hi all,
> 
> I am trying to do following to have an implementation of S3 in our 
> application.
> Followed steps given in:
> http://www.slideshare.net/sebastiengoasguen/cloudstack-s3
> 
> 
> 1)  I have enabled S3 support and EC2 support flag in the CS4 global 
> variables.
> 
> 2)  I have mounted the NFS store on the CS4 management server  (I am using
> the NFS drive to store the buckets/files uploaded by user on this drive)
> 
> 3)  I have configured the cloud-bridge.properties appropriately
> 
> host=http://localhost:7080/awsapi
> 
> storage.root=/s3storage
> 
> storage.multipartDir=__multipart__uploads__
> 
> bucket.dns=false
> 
> serviceEndpoint=localhost:7080
> 
> 
> 
> 4)  I made up a user account into CS4 client console, generated the API 
> key
> and the Secret key.
> 
> 5)  I have registered the user by using cloudstack-aws-api-register 
> (refer -
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.1-
> incubating/html/Installation_Guide/aws-ec2-user-setup.html   )
> 
> 6)  I have downloaded the S3 browser.
> 
> 7)  I am trying to make an account with the same user API key and Secret 
> key
> which we create on Cloudstack.
> 
> While creating an account it says - InvalidAccesskeyId
> 
> Any hints if I am missing some step here?
> 
> Thanks and Regards.
> 
> Asmita Patil Vagyani.
> 
> Tech Lead,  Sigma Software Solutions, Pune,
> 
> T: +91-20-25661992 / 93 / 94. Extn. : 286



RE: CS4 AWS S3 support

2013-03-25 Thread Rajesh Battala
Asmita, 
You can follow this link. 
https://cwiki.apache.org/CLOUDSTACK/s3-api-in-cloudstack.html 

You can use boto client which is python based to send s3 requests to CS.

Thanks
Rajesh Battala

> -Original Message-
> From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> Sent: Monday, March 25, 2013 4:13 PM
> To: 'users@cloudstack.apache.org'; 'cloudstack-us...@incubator.apache.org';
> 'run...@gmail.com'
> Subject: RE: CS4 AWS S3 support
> 
> Hi,
> 
> I can see the entry of keys in the usercredential table in CS4 DB.
> When I access http:///awsapi link I get the servlet exception :
> 
> java.lang.RuntimeException: javax.servlet.ServletException: Servlet execution
> threw an exception
>   com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet
> .java:104)
>   com.cloud.bridge.service.EC2MainServlet.doGet(EC2MainServlet.java:7
> 3)
> 
> How can I run S3 requests? any links to documentation would be helpful.
> 
> Thanks and Regards.
> 
> Asmita
> 
> 
> -Original Message-
> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> Sent: 25 March 2013 PM 03:35
> To: users@cloudstack.apache.org; 'cloudstack-us...@incubator.apache.org';
> 'run...@gmail.com'
> Subject: RE: CS4 AWS S3 support
> 
> Hi Asmita,
> 
> In the cloudbridge db, usercredentials table has the username/password values
> present?
> Generally, for an existing account, generate the apikey/secrect key and 
> register
> them in awsapi.
> 
> Were you able to run s3 requests.?  Is awsap is running at 7080 port?
> 
> Thanks
> Rajesh Battala
> 
> 
> > -Original Message-
> > From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> > Sent: Monday, March 25, 2013 3:24 PM
> > To: 'cloudstack-us...@incubator.apache.org'; 'run...@gmail.com'
> > Subject: CS4 AWS S3 support
> >
> > Hi all,
> >
> > I am trying to do following to have an implementation of S3 in our 
> > application.
> > Followed steps given in:
> > http://www.slideshare.net/sebastiengoasguen/cloudstack-s3
> >
> >
> > 1)  I have enabled S3 support and EC2 support flag in the CS4 global
> variables.
> >
> > 2)  I have mounted the NFS store on the CS4 management server  (I am 
> > using
> > the NFS drive to store the buckets/files uploaded by user on this drive)
> >
> > 3)  I have configured the cloud-bridge.properties appropriately
> >
> > host=http://localhost:7080/awsapi
> >
> > storage.root=/s3storage
> >
> > storage.multipartDir=__multipart__uploads__
> >
> > bucket.dns=false
> >
> > serviceEndpoint=localhost:7080
> >
> >
> >
> > 4)  I made up a user account into CS4 client console, generated the API 
> > key
> > and the Secret key.
> >
> > 5)  I have registered the user by using cloudstack-aws-api-register 
> > (refer -
> > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.1-
> > incubating/html/Installation_Guide/aws-ec2-user-setup.html   )
> >
> > 6)  I have downloaded the S3 browser.
> >
> > 7)  I am trying to make an account with the same user API key and 
> > Secret key
> > which we create on Cloudstack.
> >
> > While creating an account it says - InvalidAccesskeyId
> >
> > Any hints if I am missing some step here?
> >
> > Thanks and Regards.
> >
> > Asmita Patil Vagyani.
> >
> > Tech Lead,  Sigma Software Solutions, Pune,
> >
> > T: +91-20-25661992 / 93 / 94. Extn. : 286
> 
> 



RE: CS4 AWS S3 support

2013-03-25 Thread Rajesh Battala
Am not sure whether s3 browser allows user to configure the settings to access 
the cloudstack s3.
If you can configure the settings the way we configure for boto then we can use 
s3 browser.

Thanks
Rajesh Battala

> -Original Message-
> From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> Sent: Monday, March 25, 2013 7:09 PM
> To: 'users@cloudstack.apache.org'; 'cloudstack-us...@incubator.apache.org';
> 'run...@gmail.com'
> Subject: RE: CS4 AWS S3 support
> 
> Are there any other clients, non-python based.
> Can I integrate this with S3 browser, such that the S3 browser shows me 
> buckets
> created on the NFS drive mounted using cloud-bridge.properties?
> User can just upload and download files in S3 browser and ultimately on the 
> NFS
> drive buckets.
> 
> 
> Thanks and Regards.
> 
> Asmita
> 
> -Original Message-
> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> Sent: 25 March 2013 PM 04:42
> To: users@cloudstack.apache.org; 'cloudstack-us...@incubator.apache.org';
> 'run...@gmail.com'
> Subject: RE: CS4 AWS S3 support
> 
> Asmita,
> You can follow this link. https://cwiki.apache.org/CLOUDSTACK/s3-api-in-
> cloudstack.html
> 
> You can use boto client which is python based to send s3 requests to CS.
> 
> Thanks
> Rajesh Battala
> 
> > -Original Message-
> > From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> > Sent: Monday, March 25, 2013 4:13 PM
> > To: 'users@cloudstack.apache.org';
> > 'cloudstack-us...@incubator.apache.org';
> > 'run...@gmail.com'
> > Subject: RE: CS4 AWS S3 support
> >
> > Hi,
> >
> > I can see the entry of keys in the usercredential table in CS4 DB.
> > When I access http:///awsapi link I get the servlet exception :
> >
> > java.lang.RuntimeException: javax.servlet.ServletException: Servlet
> > execution threw an exception
> > com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet
> > .java:104)
> > com.cloud.bridge.service.EC2MainServlet.doGet(EC2MainServlet.java:7
> > 3)
> >
> > How can I run S3 requests? any links to documentation would be helpful.
> >
> > Thanks and Regards.
> >
> > Asmita
> >
> >
> > -Original Message-
> > From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> > Sent: 25 March 2013 PM 03:35
> > To: users@cloudstack.apache.org;
> > 'cloudstack-us...@incubator.apache.org';
> > 'run...@gmail.com'
> > Subject: RE: CS4 AWS S3 support
> >
> > Hi Asmita,
> >
> > In the cloudbridge db, usercredentials table has the username/password
> > values present?
> > Generally, for an existing account, generate the apikey/secrect key
> > and register them in awsapi.
> >
> > Were you able to run s3 requests.?  Is awsap is running at 7080 port?
> >
> > Thanks
> > Rajesh Battala
> >
> >
> > > -Original Message-
> > > From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> > > Sent: Monday, March 25, 2013 3:24 PM
> > > To: 'cloudstack-us...@incubator.apache.org'; 'run...@gmail.com'
> > > Subject: CS4 AWS S3 support
> > >
> > > Hi all,
> > >
> > > I am trying to do following to have an implementation of S3 in our
> application.
> > > Followed steps given in:
> > > http://www.slideshare.net/sebastiengoasguen/cloudstack-s3
> > >
> > >
> > > 1)  I have enabled S3 support and EC2 support flag in the CS4 global
> > variables.
> > >
> > > 2)  I have mounted the NFS store on the CS4 management server  (I am
> using
> > > the NFS drive to store the buckets/files uploaded by user on this
> > > drive)
> > >
> > > 3)  I have configured the cloud-bridge.properties appropriately
> > >
> > > host=http://localhost:7080/awsapi
> > >
> > > storage.root=/s3storage
> > >
> > > storage.multipartDir=__multipart__uploads__
> > >
> > > bucket.dns=false
> > >
> > > serviceEndpoint=localhost:7080
> > >
> > >
> > >
> > > 4)  I made up a user account into CS4 client console, generated the 
> > > API key
> > > and the Secret key.
> > >
> > > 5)  I have registered the user by using cloudstack-aws-api-register 
> > > (refer -
> > > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.1-
> > > incubating/html/Installation_Guide/aws-ec2-user-setup.html   )
> > >
> > > 6)  I have downloaded the S3 browser.
> > >
> > > 7)  I am trying to make an account with the same user API key and 
> > > Secret
> key
> > > which we create on Cloudstack.
> > >
> > > While creating an account it says - InvalidAccesskeyId
> > >
> > > Any hints if I am missing some step here?
> > >
> > > Thanks and Regards.
> > >
> > > Asmita Patil Vagyani.
> > >
> > > Tech Lead,  Sigma Software Solutions, Pune,
> > >
> > > T: +91-20-25661992 / 93 / 94. Extn. : 286
> >
> >
> 
> 



RE: CS4 AWS S3 support

2013-03-26 Thread Rajesh Battala
Is the storage point/ folder is created? 
You need to create the storage folder "/s3storage" in the server. 

Thanks
Rajesh Battala

> -Original Message-
> From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> Sent: Tuesday, March 26, 2013 5:12 PM
> To: 'Sebastien Goasguen'; 'users@cloudstack.apache.org'
> Subject: RE: CS4 AWS S3 support
> 
> I have reported a bug - https://issues.apache.org/jira/browse/CLOUDSTACK-
> 1807
> 
> Now, when I create a bucket using the S3 AWS API on cloudstack I get
> > error as - OutOfStorageException: Unable to create /s3storage/test123
> > for bucket test123 Stacktrace is-
> > 2013-03-26 07:13:47,796 INFO  [bridge.service.S3RestServlet]
> > (catalina-exec-int-22:null) Request header x-amz-date:Tue, 26 Mar 2013
> > 11:13:42 GMT
> > 2013-03-26 07:13:47,796 INFO  [bridge.service.S3RestServlet]
> > (catalina-exec-int-22:null) Request header
> > host:torvm-cloudstack-mgmt.sigmasys.net:7080
> > 2013-03-26 07:13:47,796 INFO  [bridge.service.S3RestServlet]
> > (catalina-exec-int-22:null) Request header content-length:0
> > 2013-03-26 07:13:47,796 INFO  [bridge.service.S3RestServlet]
> > (catalina-exec-int-22:null) Request header connection:Keep-Alive
> > 2013-03-26 07:13:47,796 INFO  [bridge.service.S3RestServlet]
> > (catalina-exec-int-22:null) - End of request -
> > 2013-03-26 07:13:47,800 DEBUG [bridge.service.UserContext] (catalina-exec-
> int-22:null) initializing a new [anonymous] UserContext!
> > 2013-03-26 07:13:47,815 ERROR [bridge.service.S3RestServlet]
> > (catalina-exec-int-22:null) Unexpected exception Unable to create
> > /s3storage/test123 for bucket test123
> > com.cloud.bridge.service.exception.OutOfStorageException: Unable to create
> /s3storage/test123 for bucket test123
> >at
> com.cloud.bridge.io.S3FileSystemBucketAdapter.createContainer(S3FileSystemB
> ucketAdapter.java:55)
> >at
> com.cloud.bridge.service.core.s3.S3Engine.allocBucketStorageHost(S3Engine.ja
> va:1466)
> >at
> com.cloud.bridge.service.core.s3.S3Engine.handleRequest(S3Engine.java:210)
> >at
> com.cloud.bridge.service.controller.s3.S3BucketAction.executePutBucket(S3Buc
> ketAction.java:837)
> >at
> com.cloud.bridge.service.controller.s3.S3BucketAction.execute(S3BucketAction.
> java:159)
> >at
> com.cloud.bridge.service.S3RestServlet.processRequest(S3RestServlet.java:181)
> >at 
> > com.cloud.bridge.service.S3RestServlet.doPut(S3RestServlet.java:97)
> >at javax.servlet.http.HttpServlet.service(HttpServlet.java:640)
> >at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
> rChain.java:290)
> >at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
> ava:206)
> >at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
> .java:233)
> >at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
> ava:191)
> >at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
> 7)
> >at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
> >at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
> a:109)
> >at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> >at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.jav
> a:889)
> >at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.proce
> ss(Http11NioProtocol.java:721)
> >at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java
> :2268)
> >at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1
> 110)
> >at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
> 603)
> >at java.lang.Thread.run(Thread.java:722)
> >
> >
> > What could be the reason?
> 
> 
> Thanks and Regards.
> 
> Asmita
> 
> -Original Message-
> From: Sebastien Goasguen [mailto:run...@gmail.com]
> Sent: 26 March 2013 PM 04:57
> To: Asmita Vagyani
> Subject: Re: CS4 AWS S3 support
> 
> 
> On Mar 26, 2013, at 7:19 AM, Asmita Vagyani  systems.com> wrote:
> 
> > There is no bucket created on my NFS mount.
> > Thi

RE: CS4 AWS S3 support

2013-03-26 Thread Rajesh Battala
>From the code, this exception will be thrown  if the S3 is not able to create 
>the folder(bucket) in that specified location. 
Please check the permission and mount points. That is only issue. 

Thanks
Rajesh Battala



> -Original Message-
> From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> Sent: Tuesday, March 26, 2013 5:31 PM
> To: 'users@cloudstack.apache.org'; 'Sebastien Goasguen'
> Subject: RE: CS4 AWS S3 support
> 
> Hi ,
> 
> Yes, folder is created on root directory and mount this is the mount point.
> The ownership is assigned to the root group and cloud user.
> 
> $mount
> 
> /dev/mapper/RootVolGroup-RootVol on / type ext4 (rw) proc on /proc type
> proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts
> (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs
> (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
> /dev/sda1 on /boot type ext4 (rw)
> /dev/mapper/RootVolGroup-DataVol on /data type ext4 (rw)
> /dev/mapper/RootVolGroup-VarVol on /var type ext4 (rw) none on
> /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on
> /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) nfsd on /proc/fs/nfsd type nfsd 
> (rw)
> tornfs01sx.sigmasys.net:/data/cloudstack/s3storage on /s3storage type nfs
> (rw,rsize=8192,wsize=8192,timeo=14,intr,vers=4,addr=xx.xx.xx.xx,clientaddr=xx
> .xx.xx.xx)
> 
> 
> Thanks and Regards.
> 
> Asmita
> 
> -Original Message-
> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> Sent: 26 March 2013 PM 05:21
> To: users@cloudstack.apache.org; 'Sebastien Goasguen'
> Subject: RE: CS4 AWS S3 support
> 
> Is the storage point/ folder is created?
> You need to create the storage folder "/s3storage" in the server.
> 
> Thanks
> Rajesh Battala
> 
> > -Original Message-
> > From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> > Sent: Tuesday, March 26, 2013 5:12 PM
> > To: 'Sebastien Goasguen'; 'users@cloudstack.apache.org'
> > Subject: RE: CS4 AWS S3 support
> >
> > I have reported a bug -
> > https://issues.apache.org/jira/browse/CLOUDSTACK-
> > 1807
> >
> > Now, when I create a bucket using the S3 AWS API on cloudstack I get
> > > error as - OutOfStorageException: Unable to create
> > > /s3storage/test123 for bucket test123 Stacktrace is-
> > > 2013-03-26 07:13:47,796 INFO  [bridge.service.S3RestServlet]
> > > (catalina-exec-int-22:null) Request header x-amz-date:Tue, 26 Mar
> > > 2013
> > > 11:13:42 GMT
> > > 2013-03-26 07:13:47,796 INFO  [bridge.service.S3RestServlet]
> > > (catalina-exec-int-22:null) Request header
> > > host:torvm-cloudstack-mgmt.sigmasys.net:7080
> > > 2013-03-26 07:13:47,796 INFO  [bridge.service.S3RestServlet]
> > > (catalina-exec-int-22:null) Request header content-length:0
> > > 2013-03-26 07:13:47,796 INFO  [bridge.service.S3RestServlet]
> > > (catalina-exec-int-22:null) Request header connection:Keep-Alive
> > > 2013-03-26 07:13:47,796 INFO  [bridge.service.S3RestServlet]
> > > (catalina-exec-int-22:null) - End of request -
> > > 2013-03-26 07:13:47,800 DEBUG [bridge.service.UserContext]
> > > (catalina-exec-
> > int-22:null) initializing a new [anonymous] UserContext!
> > > 2013-03-26 07:13:47,815 ERROR [bridge.service.S3RestServlet]
> > > (catalina-exec-int-22:null) Unexpected exception Unable to create
> > > /s3storage/test123 for bucket test123
> > > com.cloud.bridge.service.exception.OutOfStorageException: Unable to
> > > create
> > /s3storage/test123 for bucket test123
> > >at
> > com.cloud.bridge.io.S3FileSystemBucketAdapter.createContainer(S3FileSy
> > stemB
> > ucketAdapter.java:55)
> > >at
> > com.cloud.bridge.service.core.s3.S3Engine.allocBucketStorageHost(S3Eng
> > ine.ja
> > va:1466)
> > >at
> > com.cloud.bridge.service.core.s3.S3Engine.handleRequest(S3Engine.java:
> > 210)
> > >at
> > com.cloud.bridge.service.controller.s3.S3BucketAction.executePutBucket
> > (S3Buc
> > ketAction.java:837)
> > >at
> >
> com.cloud.bridge.service.controller.s3.S3BucketAction.execute(S3BucketAction.
> > java:159)
> > >at
> > com.cloud.bridge.service.S3RestServlet.processRequest(S3RestServlet.ja
> > va:181)
> > >at 
> > > com.cloud.bridge.service.S3RestServlet.doPut(S3RestServlet.java:97)
> > >at javax.servlet.http.HttpServlet.service(HttpServlet.java:640)
> > >

RE: CS4 AWS S3 support

2013-03-26 Thread Rajesh Battala
Good to know the issue is resolve. As I had already told it's because of the 
permission issue. 

There are few bugs related to ACL's. feel free to file bugs against S3.
I had run all the boto unit tests, most of them were working fine. 


Thanks
Rajesh Battala

> -Original Message-
> From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> Sent: Tuesday, March 26, 2013 6:52 PM
> To: 'users@cloudstack.apache.org'; 'Sebastien Goasguen'
> Subject: RE: CS4 AWS S3 support
> 
> Issue is resolved now.
> I used set gid on the /s3storage folder and then it allowed to create buckets.
> Now the bucket gets created in mount point folder, but the owner of folder is
> nobody user.
> 
> Now when I use: http://:7080/awsapi/rest/AmazonS3/test12323
> This should give me details abt the bucket.
> 
> I get following error on IE browser: Access denied -
> com.cloud.bridge.service.exception.PermissionDeniedException: Access Denied
> - ACLs do not give user the required permission What is the issue?
> 
> Logs show-
> com.cloud.bridge.service.exception.PermissionDeniedException: Access Denied
> - ACLs do not give user the required permission
> at
> com.cloud.bridge.service.core.s3.S3Engine.accessAllowed(S3Engine.java:1762)
> at
> com.cloud.bridge.service.core.s3.S3Engine.verifyAccess(S3Engine.java:1729)
> at
> com.cloud.bridge.service.core.s3.S3Engine.listBucketContents(S3Engine.java:36
> 2)
> at
> com.cloud.bridge.service.controller.s3.S3BucketAction.executeGetBucket(S3Bu
> cketAction.java:578)
> at
> com.cloud.bridge.service.controller.s3.S3BucketAction.execute(S3BucketAction.
> java:202)
> at
> com.cloud.bridge.service.S3RestServlet.processRequest(S3RestServlet.java:181)
> at com.cloud.bridge.service.S3RestServlet.doGet(S3RestServlet.java:84)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
> rChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
> ava:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
> .java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
> ava:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
> 7)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
> a:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.jav
> a:889)
> at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.proce
> ss(Http11NioProtocol.java:721)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java
> :2268)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1
> 110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
> 603)
> at java.lang.Thread.run(Thread.java:722)
> 
> 
> Thanks and Regards.
> 
> Asmita
> 
> -Original Message-
> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> Sent: 26 March 2013 PM 06:00
> To: users@cloudstack.apache.org; 'Sebastien Goasguen'
> Subject: RE: CS4 AWS S3 support
> 
> From the code, this exception will be thrown  if the S3 is not able to create 
> the
> folder(bucket) in that specified location.
> Please check the permission and mount points. That is only issue.
> 
> Thanks
> Rajesh Battala
> 
> 
> 
> > -Original Message-
> > From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> > Sent: Tuesday, March 26, 2013 5:31 PM
> > To: 'users@cloudstack.apache.org'; 'Sebastien Goasguen'
> > Subject: RE: CS4 AWS S3 support
> >
> > Hi ,
> >
> > Yes, folder is created on root directory and mount this is the mount point.
> > The ownership is assigned to the root group and cloud user.
> >
> > $mount
> >
> > /dev/mapper/RootVolGroup-RootVol on / type ext4 (rw) proc on /proc
> > type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type
> > devpts
> > (rw,gid=5,mode=620) tmpfs 

RE: CS4 AWS S3 support

2013-03-26 Thread Rajesh Battala
Asmita,
Are you using S3 from source or from the build?
Can you report when are you facing the issues with ACL's?

Thanks
Rajesh Battala

> -Original Message-
> From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> Sent: Wednesday, March 27, 2013 10:16 AM
> To: 'users@cloudstack.apache.org'
> Subject: RE: CS4 AWS S3 support
> 
> Hi Rajesh,
> 
> Is there any work-around to avoid the ACL permission issues?
> 
> Thanks and Regards.
> 
> Asmita
> 
> -Original Message-
> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> Sent: 26 March 2013 PM 07:47
> To: users@cloudstack.apache.org; 'Sebastien Goasguen'
> Subject: RE: CS4 AWS S3 support
> 
> Good to know the issue is resolve. As I had already told it's because of the
> permission issue.
> 
> There are few bugs related to ACL's. feel free to file bugs against S3.
> I had run all the boto unit tests, most of them were working fine.
> 
> 
> Thanks
> Rajesh Battala
> 
> > -Original Message-
> > From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> > Sent: Tuesday, March 26, 2013 6:52 PM
> > To: 'users@cloudstack.apache.org'; 'Sebastien Goasguen'
> > Subject: RE: CS4 AWS S3 support
> >
> > Issue is resolved now.
> > I used set gid on the /s3storage folder and then it allowed to create 
> > buckets.
> > Now the bucket gets created in mount point folder, but the owner of
> > folder is nobody user.
> >
> > Now when I use: http://:7080/awsapi/rest/AmazonS3/test12323
> > This should give me details abt the bucket.
> >
> > I get following error on IE browser: Access denied -
> > com.cloud.bridge.service.exception.PermissionDeniedException: Access
> > Denied
> > - ACLs do not give user the required permission What is the issue?
> >
> > Logs show-
> > com.cloud.bridge.service.exception.PermissionDeniedException: Access
> > Denied
> > - ACLs do not give user the required permission
> > at
> >
> com.cloud.bridge.service.core.s3.S3Engine.accessAllowed(S3Engine.java:1762)
> > at
> > com.cloud.bridge.service.core.s3.S3Engine.verifyAccess(S3Engine.java:1729)
> > at
> > com.cloud.bridge.service.core.s3.S3Engine.listBucketContents(S3Engine.
> > java:36
> > 2)
> > at
> > com.cloud.bridge.service.controller.s3.S3BucketAction.executeGetBucket
> > (S3Bu
> > cketAction.java:578)
> > at
> >
> com.cloud.bridge.service.controller.s3.S3BucketAction.execute(S3BucketAction.
> > java:202)
> > at
> >
> com.cloud.bridge.service.S3RestServlet.processRequest(S3RestServlet.java:181)
> > at 
> > com.cloud.bridge.service.S3RestServlet.doGet(S3RestServlet.java:84)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> > cationFilte
> > rChain.java:290)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> > lterChain.j
> > ava:206)
> > at
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
> > lve
> > .java:233)
> > at
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
> > lve.j
> > ava:191)
> > at
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
> > va:12
> > 7)
> > at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> > at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
> > at
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
> > e.jav
> > a:109)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> > at
> > org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor
> > .jav
> > a:889)
> > at
> > org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.pro
> > ce
> > ss(Http11NioProtocol.java:721)
> > at
> > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint
> > .java
> > :2268)
> > at
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> > ava:1
> > 110)
> > at
> >
> java.util.concurrent.ThreadPool

RE: CS4 AWS S3 support

2013-03-27 Thread Rajesh Battala
CS supports Swift Object Store for Secondary Storage but not for S3 storage. 

> -Original Message-
> From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> Sent: Wednesday, March 27, 2013 12:41 PM
> To: 'users@cloudstack.apache.org'
> Subject: RE: CS4 AWS S3 support
> 
> Does cloudstack offer support for the Swift Object store, if Swift is used as
> object store for S3 AWS storage.?
> 
> 
> Thanks and Regards.
> 
> Asmita
> -Original Message-
> From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> Sent: 27 March 2013 AM 10:50
> To: 'users@cloudstack.apache.org'
> Subject: RE: CS4 AWS S3 support
> 
> I used the source, build the project and then I am using Cloudstack 4.0.0
> 
> I am using the S3 browser to connect to the S3 AWS API. It supports all AWS
> features with the s3 compatible services.
> I register a user on Cloudstack for using s3 AWS services.
> I have used NFS mount as my storage pool.
> I login to this tool using the Account Name, API key, secret Key and the AWS 
> S3
> service endpoint.
> It allows me to login then.
> Then I create bucket into the S3 browser.
> In Cloudstack awsapi.log I can see logs are generated and the bucket is 
> created
> successfully.
> In the /s3storage folder  I am able to see buckets.
> 
> When  an error occurred during Getting buckets list on S3 browser, I decided 
> to
> look for only bucket.
> So I chose to use this approach from the IE browser I try yo look into the 
> bucket
> named test12323 using API:
> http://:7080/awsapi/rest/AmazonS3/test12323
> 
> Then it gives me ACL issue.
> 
> Thanks and Regards.
> 
> Asmita Patil Vagyani.
> 
> -Original Message-
> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> Sent: 27 March 2013 AM 10:31
> To: users@cloudstack.apache.org
> Subject: RE: CS4 AWS S3 support
> 
> Asmita,
> Are you using S3 from source or from the build?
> Can you report when are you facing the issues with ACL's?
> 
> Thanks
> Rajesh Battala
> 
> > -Original Message-
> > From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> > Sent: Wednesday, March 27, 2013 10:16 AM
> > To: 'users@cloudstack.apache.org'
> > Subject: RE: CS4 AWS S3 support
> >
> > Hi Rajesh,
> >
> > Is there any work-around to avoid the ACL permission issues?
> >
> > Thanks and Regards.
> >
> > Asmita
> >
> > -Original Message-
> > From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> > Sent: 26 March 2013 PM 07:47
> > To: users@cloudstack.apache.org; 'Sebastien Goasguen'
> > Subject: RE: CS4 AWS S3 support
> >
> > Good to know the issue is resolve. As I had already told it's because
> > of the permission issue.
> >
> > There are few bugs related to ACL's. feel free to file bugs against S3.
> > I had run all the boto unit tests, most of them were working fine.
> >
> >
> > Thanks
> > Rajesh Battala
> >
> > > -Original Message-
> > > From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> > > Sent: Tuesday, March 26, 2013 6:52 PM
> > > To: 'users@cloudstack.apache.org'; 'Sebastien Goasguen'
> > > Subject: RE: CS4 AWS S3 support
> > >
> > > Issue is resolved now.
> > > I used set gid on the /s3storage folder and then it allowed to create 
> > > buckets.
> > > Now the bucket gets created in mount point folder, but the owner of
> > > folder is nobody user.
> > >
> > > Now when I use:
> > > http://:7080/awsapi/rest/AmazonS3/test12323
> > > This should give me details abt the bucket.
> > >
> > > I get following error on IE browser: Access denied -
> > > com.cloud.bridge.service.exception.PermissionDeniedException: Access
> > > Denied
> > > - ACLs do not give user the required permission What is the issue?
> > >
> > > Logs show-
> > > com.cloud.bridge.service.exception.PermissionDeniedException: Access
> > > Denied
> > > - ACLs do not give user the required permission
> > > at
> > >
> > com.cloud.bridge.service.core.s3.S3Engine.accessAllowed(S3Engine.java:
> > 1762)
> > > at
> > > com.cloud.bridge.service.core.s3.S3Engine.verifyAccess(S3Engine.java:1729)
> > > at
> > > com.cloud.bridge.service.core.s3.S3Engine.listBucketContents(S3Engine.
> > > java:36
> > > 2)
> > > at
>

RE: CS4 AWS S3 support

2013-03-27 Thread Rajesh Battala
I guess the request don't have the credential information so its failing. 

> -Original Message-
> From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> Sent: Wednesday, March 27, 2013 12:30 PM
> To: 'users@cloudstack.apache.org'
> Subject: RE: CS4 AWS S3 support
> 
> Want to know , what is the expected output on the browser, if I try to access
> http://torvm-cloudstack-mgmt.sigmasys.net:7080/awsapi/rest/AmazonS3
> 
> I get the bad request 400 error on browser. Is this the expected behaviour?
> Am I missing something in the S3 AWS setting on Cloudstack?
> 
> awsapi.log gives error:
> 2013-03-27 02:58:33,221 INFO  [bridge.service.S3RestServlet] (catalina-exec-
> int-22:null) Request header user-agent:Mozilla/5.0 (Windows NT 6.1; WOW64)
> AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
> 2013-03-27 02:58:33,221 INFO  [bridge.service.S3RestServlet] (catalina-exec-
> int-22:null) Request header accept-encoding:gzip,deflate,sdch
> 2013-03-27 02:58:33,221 INFO  [bridge.service.S3RestServlet] (catalina-exec-
> int-22:null) Request header accept-language:en-US,en;q=0.8
> 2013-03-27 02:58:33,221 INFO  [bridge.service.S3RestServlet] (catalina-exec-
> int-22:null) Request header accept-charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
> 2013-03-27 02:58:33,221 INFO  [bridge.service.S3RestServlet] (catalina-exec-
> int-22:null) Request header via:1.1 squid (squid/3.1.16)
> 2013-03-27 02:58:33,221 INFO  [bridge.service.S3RestServlet] (catalina-exec-
> int-22:null) Request header x-forwarded-for:10.100.20.174
> 2013-03-27 02:58:33,222 INFO  [bridge.service.S3RestServlet] (catalina-exec-
> int-22:null) Request header cache-control:max-age=259200
> 2013-03-27 02:58:33,222 INFO  [bridge.service.S3RestServlet] (catalina-exec-
> int-22:null) Request header connection:keep-alive
> 2013-03-27 02:58:33,222 INFO  [bridge.service.S3RestServlet] (catalina-exec-
> int-22:null) - End of request -
> 2013-03-27 02:58:33,222 DEBUG [bridge.service.UserContext] (catalina-exec-
> int-22:null) initializing a new [anonymous] UserContext!
> 2013-03-27 02:58:33,222 ERROR [bridge.service.S3RestServlet] (catalina-exec-
> int-22:null) Unexpected exception null java.lang.NullPointerException
> at
> com.cloud.bridge.service.S3RestServlet.routeRequest(S3RestServlet.java:405)
> at
> com.cloud.bridge.service.S3RestServlet.processRequest(S3RestServlet.java:179)
> at com.cloud.bridge.service.S3RestServlet.doGet(S3RestServlet.java:84)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
> rChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
> ava:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve
> .java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
> ava:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
> 7)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
> a:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.jav
> a:889)
> at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.proce
> ss(Http11NioProtocol.java:721)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java
> :2268)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1
> 110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
> 603)
> at java.lang.Thread.run(Thread.java:722)
> 
> 
> Thanks and Regards.
> 
> Asmita
> 
> -Original Message-
> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> Sent: 27 March 2013 AM 10:31
> To: users@cloudstack.apache.org
> Subject: RE: CS4 AWS S3 support
> 
> Asmita,
> Are you using S3 from source or from the build?
> Can you report when are you facing the issues with ACL's?
> 
> Thanks
> Rajesh Battala
> 
> > -Original Message-
> > From: Asmita Vagyani [mailto:asmita.vagy...@sigma-systems.com]
> > Sent: Wednesday, March 27, 2013 10:16 AM
> > To: 'user

RE: Apache BarCamp Today at PESIT Bangalore

2013-03-29 Thread Rajesh Battala
On Twitter with  #ApacheBarCampBLR


> -Original Message-
> From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com]
> Sent: Saturday, March 30, 2013 9:05 AM
> To: users@cloudstack.apache.org; 
> Subject: Apache BarCamp Today at PESIT Bangalore
> 
> Gentle Reminder..
> -- Forwarded message --
> From: Nick Burch mailto:n...@apache.org>>
> Date: Wed, Mar 27, 2013 at 11:21 AM
> Subject: Upcoming BarCamps
> To: committ...@apache.org
> 
> 
> Hi All
> 
> Firstly, a couple of upcoming BarCamps for your diary:
> 
> Saturday 30th March (this Saturday!) - Bangalore  Our first event in India! A 
> one
> day Apache BarCamp and Hackathon  http://www.meetup.com/CloudStack-
> Bangalore-Group/events/104410272/
> 
> Saturday 19th May Boston
>  Planning is underway, more volunteers needed to help!
>  http://wiki.apache.org/concom-planning/BarCampBoston2013
> 
> There are also currently plans for another Washington DC event, and a New
> York event, both for the summer/autumn, more details expected in a few
> months.
> 
> We've also had interest in events in Lyon in France, Bucharest in Romania,
> Ljublana in Slovenia, Sydney in Australia, and LA. All of those need more
> volunteers before they can go ahead, so if you live/work in/near those places,
> pipe up on the small events list[1] so we can put you in touch with the 
> potential
> organisers!
> 
> Finally, if nothing near you is listed above, if you can rope in some other
> volunteers to help with an event, we can provide instructions / advice /
> mentoring / funding to help you make an event happen :) Just get in touch on
> small-events-discuss@ [1] and we'll help you get started!
> 
> Nick
> 
> [1] http://mail-archives.apache.org/mod_mbox/www-small-events-discuss/
> 
> 
> 
> --
> Genius is 99% Hardwork and 1% Luck


RE: realhostip.com timeouts

2013-05-06 Thread Rajesh Battala
Am also facing the same issue. 

> -Original Message-
> From: ronald higgins [mailto:ronald.higg...@gmail.com]
> Sent: Monday, May 6, 2013 6:00 PM
> To: users
> Subject: Re: realhostip.com timeouts
> 
> Nope. Cannot resolve from my network or from online dns lookup tools like
> http://ping.eu/nslookup/  (connection timed out; no servers could be
> reached)
> So thought i'd ping the list to see if i'm alone with this issue.
> 
> 
> On Mon, May 6, 2013 at 2:22 PM, Nikita Gubenko
> wrote:
> 
> > Hi
> > Can you resolve that *.realhostip.com host from your management server?
> >
> > On Mon, May 6, 2013 at 2:17 PM, ronald higgins
> >  > >wrote:
> >
> > > Hi all.
> > >
> > > I'm getting timeouts trying to resolve realhostip.com . Is there an
> > issue
> > > with the service?
> > >
> > > Regards
> > >
> > > Ronald
> > >
> >
> >
> >
> > --
> > Best Regards, Nikita Gubenko
> >


RE: CLONE vm instance by CS

2013-06-20 Thread Rajesh Battala
Take a snapshot from the VM and then create template from it. From that you can 
VMs

Thanks
Rajesh Battala

> -Original Message-
> From: Jerry Jiang [mailto:jerry.ji...@sjcloud.cn]
> Sent: Friday, June 21, 2013 9:28 AM
> To: users@cloudstack.apache.org
> Subject: CLONE vm instance by CS
> 
> Hello all,
> 
> 
> 
> Would like to know if CS provide CLONE feature just like what vcenter
> provided, can create a VM based on a running vm instance.
> 
> 
> 
> Thanks
> 
> Jerry Jiang



RE: Re:RE: Re:RE: Where are the snapshots generated by schedules?

2013-07-02 Thread Rajesh Battala
NPE issue for recurring snapshot is fixed long back. This should not occur.
Schedule snapshots works the same way we take manually snapshots. 
For schedule snapshot, CS will create the createsnapshot async job while the 
schedule occurs to take the snapshot for the volume.
Is the schedule snapshot job is created successfully? 


> -Original Message-
> From: WXR [mailto:1485739...@qq.com]
> Sent: Tuesday, July 2, 2013 8:34 PM
> To: users
> Subject: Re:RE: Re:RE: Where are the snapshots generated by schedules?
> 
> Yes I'm using kvm,but I'm using basic network,not advanced network.
> The jira link give a solution but I don't know how to do it,I'm not familiar
> with java and git.
> What can I do to fix the bug,should I rebuild the project?
> 
> 
> -- Original --
> From:  "Geoff Higginbottom";
> Date:  Tue, Jul 2, 2013 10:38 PM
> To:  "users@cloudstack.apache.org";
> 
> Subject:  RE: Re:RE: Where are the snapshots generated by schedules?
> 
> 
> 
> Are you using KVM by any chance, there is currently a ticket logged in
> relation to Scheduled Snapshots failing on KVM.
> 
> If so take a look at https://issues.apache.org/jira/browse/CLOUDSTACK-1353
> and see if it mirrors your symptoms
> 
> Regards
> 
> Geoff Higginbottom
> 
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> 
> geoff.higginbot...@shapeblue.com
> 
> 
> -Original Message-
> From: WXR [mailto:1485739...@qq.com]
> Sent: 02 July 2013 15:36
> To: users
> Subject: Re:RE: Where are the snapshots generated by schedules?
> 
> I'm sure I have added the schedule and I can see it at the bottom of the
> schedule box.
> 
> 
> 
> 
> -- Original --
> From:  "Geoff Higginbottom";
> Date:  Tue, Jul 2, 2013 10:27 PM
> To:  "users@cloudstack.apache.org";
> 
> Subject:  RE: Where are the snapshots generated by schedules?
> 
> 
> 
> When setting up the recurring snapshot, ensure that after entering the times
> etc, you click the Add Button, then the Done Button.  Failing to click the Add
> button will result in no Schedule being created
> 
> Regards
> 
> Geoff Higginbottom
> 
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> 
> geoff.higginbot...@shapeblue.com
> 
> 
> -Original Message-
> From: WXR [mailto:1485739...@qq.com]
> Sent: 02 July 2013 15:14
> To: users
> Subject: Where are the snapshots generated by schedules?
> 
> If I create a snapshot of a volume , I can see it on the snapshot list.
> But if I create a hourly schedule for a volume and wait enough time(longer
> than 1 day),I can't see any snapshot associated with the volume on the
> snapshot list.All snapshots listed are "manual".
> I don't know if the schedule doesn't work correctly,or the snapshots are
> generated by schedule but not shown on snapshot list.
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
> 
> .
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.


RE: Re:RE: Re:RE: Re:RE: Where are the snapshots generated by schedules?

2013-07-05 Thread Rajesh Battala
Hi Enric,
This issue is resolved in the 4.1 build with this commit. 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=913e2b38bfe5b29c0c172171e83d4fb7f8a8e6d6
Please use the latest build to resolve the snapshot issue.

Thanks
Rajesh Battala

> -Original Message-
> From: Enric Muñoz [mailto:emu...@intecom.ad]
> Sent: Friday, July 5, 2013 12:32 PM
> To: users@cloudstack.apache.org
> Subject: RE: Re:RE: Re:RE: Re:RE: Where are the snapshots generated by
> schedules?
> 
> It happens to me the same using XCP 1.6. I set up recurring snapshots but
> they are not created and no error appears. However, there's  a warning in
> the logs every 5 minutes:
> 
> 2013-07-05 08:56:43,599 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Snapshot scheduler.poll is being called at 2013-07-05
> 06:56:43 GMT
> 2013-07-05 08:56:43,601 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Got 1 snapshots to be executed at 2013-07-05
> 06:56:43 GMT
> 2013-07-05 08:56:43,604 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Scheduling 1 snapshot for volume 20 for schedule id:
> 4 at 2013-07-02 12$
> 2013-07-05 08:56:43,613 WARN  [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Scheduling snapshot failed due to
> java.lang.NullPointerException
> 
> Anyone knows how this can be solved?
> 
> Thanks
> 
> -Mensaje original-
> De: WXR [mailto:1485739...@qq.com]
> Enviado el: martes, 02 de julio de 2013 17:38
> Para: users
> Asunto: Re:RE: Re:RE: Re:RE: Where are the snapshots generated by
> schedules?
> 
> I think the schedule job is created successfully.I can see the text like this:
> 
> 
> 
> 
> Scheduled Snapshots
>Time: 
> 1 min past the hr
>      Timezone:
> [UTC-12:00] GMT-12:00 Keep: 3
> 
> 
> 
> 
> -- Original --
> From:  "Rajesh Battala";
> Date:  Tue, Jul 2, 2013 11:15 PM
> To:  "users@cloudstack.apache.org";
> 
> Subject:  RE: Re:RE: Re:RE: Where are the snapshots generated by schedules?
> 
> 
> 
> NPE issue for recurring snapshot is fixed long back. This should not occur.
> Schedule snapshots works the same way we take manually snapshots.
> For schedule snapshot, CS will create the createsnapshot async job while the
> schedule occurs to take the snapshot for the volume.
> Is the schedule snapshot job is created successfully?
> 
> 
> > -Original Message-
> > From: WXR [mailto:1485739...@qq.com]
> > Sent: Tuesday, July 2, 2013 8:34 PM
> > To: users
> > Subject: Re:RE: Re:RE: Where are the snapshots generated by schedules?
> >
> > Yes I'm using kvm,but I'm using basic network,not advanced network.
> > The jira link give a solution but I don't know how to do it,I'm not
> > familiar with java and git.
> > What can I do to fix the bug,should I rebuild the project?
> >
> >
> > -- Original --
> > From:  "Geoff Higginbottom";
> > Date:  Tue, Jul 2, 2013 10:38 PM
> > To:  "users@cloudstack.apache.org";
> >
> > Subject:  RE: Re:RE: Where are the snapshots generated by schedules?
> >
> >
> >
> > Are you using KVM by any chance, there is currently a ticket logged in
> > relation to Scheduled Snapshots failing on KVM.
> >
> > If so take a look at
> > https://issues.apache.org/jira/browse/CLOUDSTACK-1353
> > and see if it mirrors your symptoms
> >
> > Regards
> >
> > Geoff Higginbottom
> >
> > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> >
> > geoff.higginbot...@shapeblue.com
> >
> >
> > -Original Message-
> > From: WXR [mailto:1485739...@qq.com]
> > Sent: 02 July 2013 15:36
> > To: users
> > Subject: Re:RE: Where are the snapshots generated by schedules?
> >
> > I'm sure I have added the schedule and I can see it at the bottom of
> > the schedule box.
> >
> >
> >
> >
> > -- Original --
> > From:  "Geoff Higginbottom";
> > Date:  Tue, Jul 2, 2013 10:27 PM
> > To:  "users@cloudstack.apache.org";
> >
> > Subject:  RE: Where are the snapshots generated by schedules?
> >
> >
> >
> > When setting up the recurring snapshot, ensure that after entering the
> > times etc, you click the Add Button, then the Done Button.  Failing to
> > click the Add button will result

RE: Re:RE: Re:RE: Re:RE: Where are the snapshots generated by schedules?

2013-07-05 Thread Rajesh Battala
Hi Enric, 
This issue is resolved in the 4.1 build with this commit. 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=913e2b38bfe5b29c0c172171e83d4fb7f8a8e6d6
 
Please use the latest build to resolve the snapshot issue.

Thanks
Rajesh Battala



> -Original Message-
> From: Enric Muñoz [mailto:emu...@intecom.ad]
> Sent: Friday, July 5, 2013 12:32 PM
> To: users@cloudstack.apache.org
> Subject: RE: Re:RE: Re:RE: Re:RE: Where are the snapshots generated by
> schedules?
> 
> It happens to me the same using XCP 1.6. I set up recurring snapshots but
> they are not created and no error appears. However, there's  a warning in
> the logs every 5 minutes:
> 
> 2013-07-05 08:56:43,599 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Snapshot scheduler.poll is being called at 2013-07-05
> 06:56:43 GMT
> 2013-07-05 08:56:43,601 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Got 1 snapshots to be executed at 2013-07-05
> 06:56:43 GMT
> 2013-07-05 08:56:43,604 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Scheduling 1 snapshot for volume 20 for schedule id:
> 4 at 2013-07-02 12$
> 2013-07-05 08:56:43,613 WARN  [storage.snapshot.SnapshotSchedulerImpl]
> (SnapshotPollTask:null) Scheduling snapshot failed due to
> java.lang.NullPointerException
> 
> Anyone knows how this can be solved?
> 
> Thanks
> 
> -Mensaje original-
> De: WXR [mailto:1485739...@qq.com]
> Enviado el: martes, 02 de julio de 2013 17:38
> Para: users
> Asunto: Re:RE: Re:RE: Re:RE: Where are the snapshots generated by
> schedules?
> 
> I think the schedule job is created successfully.I can see the text like this:
> 
> 
> 
> 
> Scheduled Snapshots
>Time: 
> 1 min past the hr
>      Timezone:
> [UTC-12:00] GMT-12:00 Keep: 3
> 
> 
> 
> 
> -- Original --
> From:  "Rajesh Battala";
> Date:  Tue, Jul 2, 2013 11:15 PM
> To:  "users@cloudstack.apache.org";
> 
> Subject:  RE: Re:RE: Re:RE: Where are the snapshots generated by schedules?
> 
> 
> 
> NPE issue for recurring snapshot is fixed long back. This should not occur.
> Schedule snapshots works the same way we take manually snapshots.
> For schedule snapshot, CS will create the createsnapshot async job while the
> schedule occurs to take the snapshot for the volume.
> Is the schedule snapshot job is created successfully?
> 
> 
> > -Original Message-
> > From: WXR [mailto:1485739...@qq.com]
> > Sent: Tuesday, July 2, 2013 8:34 PM
> > To: users
> > Subject: Re:RE: Re:RE: Where are the snapshots generated by schedules?
> >
> > Yes I'm using kvm,but I'm using basic network,not advanced network.
> > The jira link give a solution but I don't know how to do it,I'm not
> > familiar with java and git.
> > What can I do to fix the bug,should I rebuild the project?
> >
> >
> > -- Original --
> > From:  "Geoff Higginbottom";
> > Date:  Tue, Jul 2, 2013 10:38 PM
> > To:  "users@cloudstack.apache.org";
> >
> > Subject:  RE: Re:RE: Where are the snapshots generated by schedules?
> >
> >
> >
> > Are you using KVM by any chance, there is currently a ticket logged in
> > relation to Scheduled Snapshots failing on KVM.
> >
> > If so take a look at
> > https://issues.apache.org/jira/browse/CLOUDSTACK-1353
> > and see if it mirrors your symptoms
> >
> > Regards
> >
> > Geoff Higginbottom
> >
> > D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> >
> > geoff.higginbot...@shapeblue.com
> >
> >
> > -Original Message-
> > From: WXR [mailto:1485739...@qq.com]
> > Sent: 02 July 2013 15:36
> > To: users
> > Subject: Re:RE: Where are the snapshots generated by schedules?
> >
> > I'm sure I have added the schedule and I can see it at the bottom of
> > the schedule box.
> >
> >
> >
> >
> > -- Original --
> > From:  "Geoff Higginbottom";
> > Date:  Tue, Jul 2, 2013 10:27 PM
> > To:  "users@cloudstack.apache.org";
> >
> > Subject:  RE: Where are the snapshots generated by schedules?
> >
> >
> >
> > When setting up the recurring snapshot, ensure that after entering the
> > times etc, you click the Add Button, then the Done Button.  Failing to
> > click the Add button wil

RE: vhd-util fails to open system vm template(.vhd) file, saying it 'appears invalid'

2013-07-30 Thread Rajesh Battala
Looks like the template disk got corrupted. Can you please reseed the system vm 
template and try.

> -Original Message-
> From: Yan Ke [mailto:yan...@yonyou.com]
> Sent: Tuesday, July 30, 2013 3:39 PM
> To: users@cloudstack.apache.org
> Subject: vhd-util fails to open system vm template(.vhd) file, saying it
> 'appears invalid'
> 
> Hello there,
> 
> I'm working on setting up a basic network CloudStack 4.0.1 configuration
> with XenServer 6.0.2 and encountered problem: after created zone, the
> system vm won't start.
> The management server log shows Exception like this was thrown:
> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-322:) Catch Exception
> com.cloud.utils.exception.CloudRuntimeException on host:95cacdb9-a52d-
> 4d22-8684-1310cca1a87d for template:
> nfs://20.10.97.182/export/secondary/template/tmpl/1/1/ due to
> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
> 3938e40f-99fe-cfc4-f729-00134eb32af0
> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr
> 3938e40f-99fe-cfc4-f729-00134eb32af0
>  at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_seco
> ndarystorage(CitrixResourceBase.java:2672)
>  at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourc
> eBase.java:2694)
>  at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citrix
> ResourceBase.java:481)
>  at
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(Xe
> nServer56Resource.java:73)
>  at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.j
> ava:191)
>  at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>  at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>  at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acc
> ess$101(ScheduledThreadPoolExecutor.java:165)
>  at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run
> (ScheduledThreadPoolExecutor.java:266)
>  at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> a:1110)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:603)
>  at java.lang.Thread.run(Thread.java:679)
> 
> 
> by stepping-into the code, I figured out this method
> 'copy_vhd_from_secondarystorage(CitrixResourceBase.java:2672)' will finally
> invoke the 'copy_vhd_from_secondarystorage.sh' on XenServer host, so I
> logged into the XenServer host, manually invoked the
> 'copy_vhd_from_secondarystorage.sh' with same parameter from cloudstack,
> which fails as follow:
> [root@xenserver-modaxvnu /]#
> /opt/xensource/bin/copy_vhd_from_secondarystorage.sh
> 20.10.97.182:/export/secondary/template/tmpl/1/1/
> 3938e40f-99fe-cfc4-f729-00134eb32af0
> cloud-e6e25ca4-6a3f-4990-9e93-125b229cab0c
> Syntax error: Unknown switch: -22MiB
> For usage run: 'xe help'
> 9#can not create vdi in sr 3938e40f-99fe-cfc4-f729-00134eb32af0
> 
> 
> with a little effort on debugging the script, it shows that the error occurred
> at:
> /opt/xensource/bin/vhd-util query -v -n /var/run/cloud_mount/c57e417b-
> 4e9f-4c8b-8e67-087942422df3//8e62f48f-39e7-4543-9106-f2f12ca39946.vhd
> + size='error opening
> /var/run/cloud_mount/c57e417b-4e9f-4c8b-8e67-087942422df3//8e62f48f-
> 39e7-4543-9106-f2f12ca39946.vhd:
> -22'
> 
> the 'vhd-util' failed to open the vm template file on secondary storage.
> 
> 
> I then tried following command on the management server, which directly
> invoke vhd-util and it shows:
> [root@managementserver ~]#
> /usr/lib64/cloud/common/scripts/vm/hypervisor/xenserver/vhd-util read -p
> -n /export/secondary/template/tmpl/1/1/8e62f48f-39e7-4543-9106-
> f2f12ca39946.vhd
> 
> Failed to open
> /export/secondary/template/tmpl/1/1/8e62f48f-39e7-4543-9106-
> f2f12ca39946.vhd:
> -22
> 
> /export/secondary/template/tmpl/1/1/8e62f48f-39e7-4543-9106-
> f2f12ca39946.vhd
> appears invalid; dumping headers
> 
> VHD Footer Summary:
> ---
> Cookie  : QFI
> Features: (0x)
> File format version : Major: 0, Minor: 0
> Data offset : 16
> Timestamp   : Sat Jan  1 00:00:00 2000
> Creator Application : '}'
> Creator version : Major: 0, Minor: 0
> Creator OS  : Unknown!
> Original disk size  : 0 MB (196608 Bytes)
> Current disk size   : 0 MB (65536 Bytes)
> Geometry: Cyl: 0, Hds: 0, Sctrs: 1
>  : = 0 MB (0 Bytes)
> Disk type   : None
> Checksum: 0x0|0xfd8c (Bad!)
> UUID: ----
> Saved state : No
> Hidden  : 0
> 
> VHD Header Summary:
> ---
> Cookie  :
> Data offset (unusd) : 0
> Table offset: 0
> Header version  : 0x
> Max BAT size 

RE: NFS share

2013-08-03 Thread Rajesh Battala
These steps to validate whether the secondary mount point you are going to use 
is a valid one or not.

-Original Message-
From: Chitra Manjunath [mailto:chitra_manjun...@infosys.com] 
Sent: Friday, August 2, 2013 7:32 PM
To: users@cloudstack.apache.org
Subject: NFS share
Hi

In the cloustack installation guide  for 4.0.2 version section 4.5.5.2.
# mount -t nfs :/export/secondary /secondarymount # 
umount /secondarymount

I didn't understand these commands, whether I need to mount the secondary or 
not.




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


RE: [Doc] nTier App is Ready for Review

2013-08-19 Thread Rajesh Battala
I had gone through the doc. 
Whatever Sowmya had listed, apart from that looks good to me.

Thanks
Rajesh Battala

-Original Message-
From: Sowmya Krishnan [mailto:sowmya.krish...@citrix.com] 
Sent: Monday, August 19, 2013 4:43 PM
To: d...@cloudstack.apache.org; users@cloudstack.apache.org; Chandan 
Purushothama; Kishan Kavala
Subject: RE: [Doc] nTier App is Ready for Review

Thanks Radhika.
Minor corrections under: 15.27.11.1.2. Creating a Network Offering for External 
LB

1. Please edit " To have internal LB support on VPC," to "To have external LB 
support on VPC,"
2. Under "Supported Services", choose Load Balancer Provider as Netscaler or 
VpcVirtualRouter 3. Load Balancer Type should be Public LB 4. LB Isolation 
should be Dedicated if Netscaler is being used as the external LB provider

Rest look good. Thanks.

> -Original Message-
> From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com]
> Sent: Tuesday, August 13, 2013 3:25 PM
> To: users@cloudstack.apache.org; d...@cloudstack.apache.org; Chandan 
> Purushothama; Kishan Kavala
> Subject: RE: [Doc] nTier App is Ready for Review
> 
> Hi,
> 
> nTier Apps documentation is ready for review. The doc is attached at 
> https://issues.apache.org/jira/browse/CLOUDSTACK-770.
> 
> The sub tasks also have the respective sections mentioned for easy reviewing.
> 
> Regards
> -Radhika
> 



RE: [ANNOUNCE] Apache CloudStack Virtual Appliance - vSphere, KVM and XEN

2013-08-30 Thread Rajesh Battala
Very nice. I had planned to do the same this weekend.
Very happy to see it got done. 

Thanks
Rajesh Battala

-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: Saturday, August 31, 2013 1:46 AM
To: users@cloudstack.apache.org
Subject: [ANNOUNCE] Apache CloudStack Virtual Appliance - vSphere, KVM and XEN

Objective: Speed up the Apache CloudStack adoption by abstracting the need of 
going through install process and using pre-installed package instead. 
Especially useful for a quick POC.

Version: Apache CloudStack 4.1.1 | OS: CentOS 6.4 x86_64

vSphere:
 Short URL: http://s.apache.org/vapp-acs411-vsphere
Long URL: 
http://download.cloudsand.com/appliances/cloudstack/centos6.4-x86_64-cloudstack-4.1.1.ova

KVM:
Short URL: http://s.apache.org/vapp-acs411-kvm
Long URL: 
http://download.cloudsand.com/appliances/cloudstack/centos6.4-x86_64-cloudstack-4.1.1.qcow2.bz2

XEN:
Short URL: http://s.apache.org/vapp-acs411-xen
Full URL: 
http://download.cloudsand.com/appliances/cloudstack/centos6.4-x86_64-cloudstack-4.1.1.vhd.bz2


Minimum Requirements:
1 CPU x 2 GB of RAM

Testing:

Please spend few minutes on testing these out, you can import it as a template 
into your ACS - power on and see the details on initial start.
I've tested vSphere and KVM version. I don't have XEN instance to try.



RE: [ANNOUNCE] Apache CloudStack Virtual Appliance - vSphere, KVM and XEN

2013-08-30 Thread Rajesh Battala
If possible, push them to SuseStudo It's a nice appliance building site.


-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: Saturday, August 31, 2013 1:46 AM
To: users@cloudstack.apache.org
Subject: [ANNOUNCE] Apache CloudStack Virtual Appliance - vSphere, KVM and XEN

Objective: Speed up the Apache CloudStack adoption by abstracting the need of 
going through install process and using pre-installed package instead. 
Especially useful for a quick POC.

Version: Apache CloudStack 4.1.1 | OS: CentOS 6.4 x86_64

vSphere:
 Short URL: http://s.apache.org/vapp-acs411-vsphere
Long URL: 
http://download.cloudsand.com/appliances/cloudstack/centos6.4-x86_64-cloudstack-4.1.1.ova

KVM:
Short URL: http://s.apache.org/vapp-acs411-kvm
Long URL: 
http://download.cloudsand.com/appliances/cloudstack/centos6.4-x86_64-cloudstack-4.1.1.qcow2.bz2

XEN:
Short URL: http://s.apache.org/vapp-acs411-xen
Full URL: 
http://download.cloudsand.com/appliances/cloudstack/centos6.4-x86_64-cloudstack-4.1.1.vhd.bz2


Minimum Requirements:
1 CPU x 2 GB of RAM

Testing:

Please spend few minutes on testing these out, you can import it as a template 
into your ACS - power on and see the details on initial start.
I've tested vSphere and KVM version. I don't have XEN instance to try.



RE: [ANNOUNCE] Apache CloudStack Virtual Appliance - vSphere, KVM and XEN

2013-09-02 Thread Rajesh Battala
Hi Ilay, 

Sorry I don't have VMware Studio.

Thanks
Rajesh Battala

-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: Saturday, August 31, 2013 11:57 PM
To: users@cloudstack.apache.org
Subject: RE: [ANNOUNCE] Apache CloudStack Virtual Appliance - vSphere, KVM and 
XEN

Rajesh,

Well if you want to help, we need to create the same thing for VMware 
MarketPlace. Its not that its hard to create it, its that I have to use VMware 
Studio and make it their way. Have you used vmware studio before? If not, I 
will take care of it.

Also, if someone has spare 5 minutes, please test these out in your env. You 
can load them up as cloudstack templates. Any feedback is better than none :)

Thanks
ilya

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 
Sent: Saturday, August 31, 2013 2:44 AM
To: users@cloudstack.apache.org
Subject: RE: [ANNOUNCE] Apache CloudStack Virtual Appliance - vSphere, KVM and 
XEN

Very nice. I had planned to do the same this weekend.
Very happy to see it got done. 

Thanks
Rajesh Battala

-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: Saturday, August 31, 2013 1:46 AM
To: users@cloudstack.apache.org
Subject: [ANNOUNCE] Apache CloudStack Virtual Appliance - vSphere, KVM and XEN

Objective: Speed up the Apache CloudStack adoption by abstracting the need of 
going through install process and using pre-installed package instead. 
Especially useful for a quick POC.

Version: Apache CloudStack 4.1.1 | OS: CentOS 6.4 x86_64

vSphere:
 Short URL: http://s.apache.org/vapp-acs411-vsphere
Long URL: 
http://download.cloudsand.com/appliances/cloudstack/centos6.4-x86_64-cloudstack-4.1.1.ova

KVM:
Short URL: http://s.apache.org/vapp-acs411-kvm
Long URL: 
http://download.cloudsand.com/appliances/cloudstack/centos6.4-x86_64-cloudstack-4.1.1.qcow2.bz2

XEN:
Short URL: http://s.apache.org/vapp-acs411-xen
Full URL: 
http://download.cloudsand.com/appliances/cloudstack/centos6.4-x86_64-cloudstack-4.1.1.vhd.bz2


Minimum Requirements:
1 CPU x 2 GB of RAM

Testing:

Please spend few minutes on testing these out, you can import it as a template 
into your ACS - power on and see the details on initial start.
I've tested vSphere and KVM version. I don't have XEN instance to try.





RE: Tracking resources utilized

2013-09-03 Thread Rajesh Battala
Have you tried Cloud usage? 
I think that will provide/store usage details of accounts, resources

-Original Message-
From: cloud knight [mailto:cloudloverunleas...@gmail.com] 
Sent: Wednesday, September 4, 2013 7:50 AM
To: users@cloudstack.apache.org
Subject: Re: Tracking resources utilized

Hi,

Found this call listcapacity(). So it gives values for clusterid, podid, 
zoneid. Anyway of getting the same for accountid or domainid ?


Regards,
Cloudlover


On Wed, Sep 4, 2013 at 7:27 AM, cloud knight
wrote:

> Hi all,
>
>The cloudstack UI dashboard shows only the total available/used 
> resources(Not meaning the virtual resources, Talking about cpu count, 
> cpu speed, ram and disk size).
> Is there a way to check the per account usage? By API anymeans? or 
> anyway to check the resources allocated to a Vm(using api)? I couldn't 
> find any api calls that does this. Am i missing something? please 
> correct me if wrong. Thanks in advance.
> Need these for creating a report of hardware resource provisioning.
>
>
>


RE: Tracking resources utilized

2013-09-03 Thread Rajesh Battala
You can get more info 

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html
 
http://cloudstack.apache.org/docs/api/apidocs-4.0.0/root_admin/listUsageRecords.html
 
https://cwiki.apache.org/CLOUDSTACK/usage-and-usage-events.html 
http://24x7x0.wordpress.com/2012/01/24/usage-metering-and-charging-with-cloudstack/
 
http://www.slideshare.net/gsirett/ccc13-presentation-23734243 

Thanks
Rajesh Battala



-Original Message-
From: cloud knight [mailto:cloudloverunleas...@gmail.com] 
Sent: Wednesday, September 4, 2013 9:29 AM
To: users@cloudstack.apache.org
Subject: Re: Tracking resources utilized

Hi Rajesh,

   Please could you be more specific on the cloud usage. I'm not aware of it.

Regards,
Cloudlover


On Wed, Sep 4, 2013 at 8:26 AM, Rajesh Battala wrote:

> Have you tried Cloud usage?
> I think that will provide/store usage details of accounts, resources
>
> -Original Message-
> From: cloud knight [mailto:cloudloverunleas...@gmail.com]
> Sent: Wednesday, September 4, 2013 7:50 AM
> To: users@cloudstack.apache.org
> Subject: Re: Tracking resources utilized
>
> Hi,
>
> Found this call listcapacity(). So it gives values for clusterid, 
> podid, zoneid. Anyway of getting the same for accountid or domainid ?
>
>
> Regards,
> Cloudlover
>
>
> On Wed, Sep 4, 2013 at 7:27 AM, cloud knight
> wrote:
>
> > Hi all,
> >
> >The cloudstack UI dashboard shows only the total available/used 
> > resources(Not meaning the virtual resources, Talking about cpu 
> > count, cpu speed, ram and disk size).
> > Is there a way to check the per account usage? By API anymeans? or 
> > anyway to check the resources allocated to a Vm(using api)? I 
> > couldn't find any api calls that does this. Am i missing something? 
> > please correct me if wrong. Thanks in advance.
> > Need these for creating a report of hardware resource provisioning.
> >
> >
> >
>


RE: SSVM stopped

2013-09-05 Thread Rajesh Battala
After installing the kvm agent successfully, add the HOST from CS, then CS will 
configure the agent and host and will manage it.

Thanks
Rajesh Battala

-Original Message-
From: Kashif Ali [mailto:temujin...@gmail.com] 
Sent: Thursday, September 5, 2013 8:05 PM
To: users@cloudstack.apache.org
Subject: Re: SSVM stopped

i installed cloud-agent .. should i need to install cloudstack-agent 
seperately .waiting for your reply :)


On Thu, Sep 5, 2013 at 5:20 AM, Travis Graham  wrote:

> You don't need the vhd-util file for KVM installs (XenServer only). 
> You'll need the cloudstack-agent for KVM hosts.
>
> Travis
>
> On Sep 5, 2013, at 6:14 AM, Kashif Ali  wrote:
>
> > minh ,
> > i found systemvm.iso in vms folder and my kvm folder doesnot 
> > contains any vhd-util file but xenserver folder has .
> >
> >
> > On Thu, Sep 5, 2013 at 2:54 PM, Kashif Ali  wrote:
> >
> >> i am using KVM but i tutorial i have installed following vhd-utils 
> >> *http://download.cloud.com.s3.amazonaws.com/tools/vhd-util*
> >> <http://download.cloud.com.s3.amazonaws.com/tools/vhd-util>
> >>
> >>
> >> On Thu, Sep 5, 2013 at 2:36 PM, Kashif Ali 
> wrote:
> >>
> >>> thanx for helping me ..
> >>> Minh,Amar i am using KVM as a host installed virtually in my 
> >>> management server PC ... and amar how can i check that whether 
> >>> these are
> creating
> >>> into hypervisor or not .. i think its storage problem problem 
> >>> but
> dont
> >>> know how to solve this . i have followed the following link 
> >>> for installation
> >>>
> >>>
> http://ranafaisal.wordpress.com/2013/02/20/cloudstack-management-serve
> r-installation/
> >>> and for configuration internal DNS, and guest gateway is my 
> >>> university DNS server i.e 10.3.20.16 and DNS server is 8.8.8.8 
> >>> secondary storage and primary storage is my management server IP
> address
> >>> i.e 10.2.31.159 and range of pod IP is 10.2.31.10-10.2.31.110 , 
> >>> range
> of
> >>> guest ip is 10.2.31.111-10.2.31.210
> >>>
> >>> i will be very grate full to you if you solve my problem ...
> >>>
> >>>
> >>>
> >>> On Thu, Sep 5, 2013 at 1:58 PM, Amar Krishna 
> wrote:
> >>>
> >>>> Hi Kashif,
> >>>>
> >>>> Check that vm with name S-*-VM and V-*-VM is getting  created in 
> >>>> hypervisor or not ,If it is not getting created in hypervisor 
> >>>> then
>  the
> >>>> problem would be  with system vm template or storage,if it is 
> >>>> getting created at hypervisor then in cloudstack check the 
> >>>> allocated local ip
> and
> >>>> try to ping it from management server.If it is not pinging then 
> >>>> you
> will
> >>>> have check your network conf.
> >>>>
> >>>> Specify more information about your setup.
> >>>>
> >>>> Thanks
> >>>> Amar krishna
> >>>>
> >>>> On Thu, Sep 5, 2013 at 12:51 PM, Minh  wrote:
> >>>>
> >>>>> Hello,
> >>>>>
> >>>>>
> >>>>> Can you specify more information about your configuration? If 
> >>>>> you are using XenServer hypervisor host, then the problem may 
> >>>>> comes from an "outdated" vhd-util file (the vhd-util file in the 
> >>>>> 4.1.x guide's link
> >>>> lacks
> >>>>> an argument) that can cause the SSVM and CPVM to keep restarting.
> >>>>>
> >>>>>
> >>>>> If there is a line like "cannot create VDI in sr" then I think 
> >>>>> that
> >>>> would
> >>>>> be the problem; hope it helps.
> >>>>>
> >>>>>
> >>>>> ---Original Message---
> >>>>> From: Kashif Ali 
> >>>>> To: users@cloudstack.apache.org
> >>>>> Sent date: 2013-09-05 16:07:45 GMT +0900 (Asia/Seoul)
> >>>>> Subject: Re: SSVM stopped
> >>>>>
> >>>>> Hello amar and sanjay,
> >>>>> thanx for reply they are at starting state but after they their
> status
> >>>>> turned to stopped ... so i 

RE: SSVM stopped

2013-09-05 Thread Rajesh Battala
KVM agent and Cloud agent are same.

-Original Message-
From: Kashif Ali [mailto:temujin...@gmail.com] 
Sent: Friday, September 6, 2013 6:58 AM
To: users@cloudstack.apache.org
Subject: Re: SSVM stopped

rajesh i have installed cloud agent in host .. can you please tell me is 
cloud agent and KVM agent are same or different .. i have sent my 
configuration of zone .. i think problem is there can you figure me out 
that..


On Thu, Sep 5, 2013 at 10:29 AM, Nguyen Anh Tu  wrote:

> 2013/9/4 Kashif Ali 
>
> > Hello everyone,
> > My SSVM and CPVM are not running, i have deleted them once so that 
> > cloudstack will automatically create it but again these are not 
> > working.i am also unable to ssh SSVM private IP, that i copied while 
> > it was in starting mode, from my host.
> >
>
> Hi guys,
>
> I got the same issue. SSVM and CPVM running in KVM host but can't 
> ping. I setup with KVM+OpenvSwitch, follow these guide:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVS
> witch
>
> SSVM startup screen show that:
>
> dnsmasq: unknown interface eth0
> failed!
> cat: /var/cache/cloud/cmdline: No such file or directory Stopping NFS 
> common utilities: statd Stopping portmap daemon
> Stopping conntrackd can't connect: is conntrackd running? appropriate 
> permission?
> failed
> startpar: service(s) returned failure: dnsmasq apache2... failed
>
> Debian GNU/Linux 6.0 systemvm tty1
>
> systemvm login:
>
> I just only see a little startup log because I can't scroll up screen.
>
> I guess the problem come from network configuration. But can't know 
> exactly what's error?
>
> Any help...
>
> --
>
> N.g.U.y.e.N.A.n.H.t.U
>



--
--
Regards,

*Kashif Ali*
Undergraduate Student | 7th Semester
BESE-1A | NUST-SEECS | Islamabad
10besek...@seecs.edu.pk


RE: Image format supported by cloudstack

2013-11-19 Thread Rajesh Battala
For
 xenserver/xcp  ---   VHD
 KVM   ---   qcow2
 Esx/VSphere ---   ova
 HyperV  ---   VHD
 
On any Hypervisor installing OS with ISO is supported, but root disk format 
will be created w.r.t hypervisor supported format mentioned above.

Thanks
Rajesh Battala

-Original Message-
From: manas biswal [mailto:manas.biswa...@gmail.com] 
Sent: Wednesday, November 20, 2013 9:38 AM
To: users@cloudstack.apache.org
Cc: d...@cloudstack.apache.org; issues-subscr...@cloudstack.apache.org
Subject: Re: Image format supported by cloudstack

Good day. The image formats depends upon the Hypervisor you used.
If it is XenServer/XCP then the image format is VHD and for KVM it is .img . It 
is nothing to do with Cloudstack. As XenServer/XCP keeping the virtual 
harddisks in .VHD format in attached NFS repository. Also in CloudStack for 
primary and secondary storage NFS storage has been used.You can import an 
existing .vhd file to CloudStack. Normally .VHD files are bigger than the 
actual Operting System (OS) space. As VHD is the complete harddisk that 
includes both OS spcae + empty space.

On Tue, Nov 19, 2013 at 11:06 PM, Sanjay Tripathi  
wrote:
> Answers inline.
>
>> -Original Message-
>> From: jitendra shelar [mailto:jitendra.shelar...@gmail.com]
>> Sent: Tuesday, November 19, 2013 10:04 PM
>> To: d...@cloudstack.apache.org; users@cloudstack.apache.org; issues- 
>> subscr...@cloudstack.apache.org
>> Subject: Image format supported by cloudstack
>>
>> Hi Team,
>>
>> Can somebody please tell me which all image format are supported by 
>> the cloudstack?
>
> From the CloudStack UI, you can get the guest OS list in "register 
> template"/"register ISO" form page, or try the API "listOsTypes" to get the 
> complete list.
>
>>
>> And do cloudstack (version 4.0 and 4.2)  provide support for windows 
>> 7, Windows 2012, Ubuntu 12 and Ubuntu 13 ISO?
>
> CloudStack supports all the mentioned guest OS. Only for Ubuntu 13, you need 
> to register the template/ISO under "Other Ubuntu" guest OS type.
>
>>
>>
>> Thanks,
>> Jitendra
>
> --Sanjay
>



--
Thanks and Regards
Manas Ranjan Biswal
Research Scientist,
OpenTechnology Center,
NIC,Chennai
08015698191,9776349149
manas.bis...@nic.in


RE: sechduled snapshot bug

2013-11-19 Thread Rajesh Battala
HI Prakash, 
please post the api command also in the bug, you can use firebug/developer 
tools to find out the api command. 

Thanks
Rajesh Battala

-Original Message-
From: prak...@assistanz.com [mailto:prak...@assistanz.com] 
Sent: Wednesday, November 20, 2013 11:04 AM
To: users@cloudstack.apache.org
Subject: Reg: sechduled snapshot bug

Hi,

 In cloudstack 4.2 scheduled snapshot is having functionality bugs while i 
create daily snapshot job. It create snapshot hourly. where to post this bug. 
This is major bug in 4.1 it is working fine.

 Regards,
 Prakash.M




RE: [Advanced Zone] HTTP Load Balancing 503 Service Not Availbale

2013-12-22 Thread Rajesh Battala
1. Please add firewall rule to allow the traffic.
2. disable/allow 80 port in the guest os.

Are you using the default centos template? 


Thanks
Rajesh Battala

-Original Message-
From: Francesco Maria Magnini [mailto:fmm1...@gmail.com] 
Sent: Sunday, December 22, 2013 7:37 PM
To: users@cloudstack.apache.org
Subject: [Advanced Zone] HTTP Load Balancing 503 Service Not Availbale

Hi,

I tried to setting up load balancing between 3 VMs.
I installed apache on them and disabled selinux, afterwards I acquired a new 
public IP address from the web gui and configured it as Load Balancer.

From the web browser, pointing to the public IP address i get the error

503 Service Unavailable
No server is available to handle this request.

In the graph diagram, where the UI listed the Load Balancer and the firewall 
above, I configured also the FW for incoming traffic on port 80.

Any ideas?

--
“I videogiochi non influenzano i bambini.
Voglio dire, se pac-man avesse influenzato la nostra generazione, staremmo 
tutti saltando in sale scure, masticando pillole magiche e ascoltando musica 
elettronica ripetitiva...”

(Kristian Wilson, Nintendo Inc, 1989)


RE: [Advanced Zone] HTTP Load Balancing 503 Service Not Availbale

2013-12-22 Thread Rajesh Battala
I sensed the issue could the firewall inside the guest vm. 
Instead of stopping the firewalls, allow the  port 80. 

Thanks
Rajesh Battala

-Original Message-
From: Francesco Maria Magnini [mailto:fmm1...@gmail.com] 
Sent: Monday, December 23, 2013 2:06 AM
To: users@cloudstack.apache.org
Subject: Re: [Advanced Zone] HTTP Load Balancing 503 Service Not Availbale

I stopped iptables on the guest VMs and now it's working.

Thanks


On Sun, Dec 22, 2013 at 3:24 PM, Rajesh Battala
wrote:

> 1. Please add firewall rule to allow the traffic.
> 2. disable/allow 80 port in the guest os.
>
> Are you using the default centos template?
>
>
> Thanks
> Rajesh Battala
>
> -Original Message-
> From: Francesco Maria Magnini [mailto:fmm1...@gmail.com]
> Sent: Sunday, December 22, 2013 7:37 PM
> To: users@cloudstack.apache.org
> Subject: [Advanced Zone] HTTP Load Balancing 503 Service Not Availbale
>
> Hi,
>
> I tried to setting up load balancing between 3 VMs.
> I installed apache on them and disabled selinux, afterwards I acquired 
> a new public IP address from the web gui and configured it as Load Balancer.
>
> From the web browser, pointing to the public IP address i get the 
> error
>
> 503 Service Unavailable
> No server is available to handle this request.
>
> In the graph diagram, where the UI listed the Load Balancer and the 
> firewall above, I configured also the FW for incoming traffic on port 80.
>
> Any ideas?
>
> --
> “I videogiochi non influenzano i bambini.
> Voglio dire, se pac-man avesse influenzato la nostra generazione, 
> staremmo tutti saltando in sale scure, masticando pillole magiche e 
> ascoltando musica elettronica ripetitiva...”
>
> (Kristian Wilson, Nintendo Inc, 1989)
>



--
“I videogiochi non influenzano i bambini.
Voglio dire, se pac-man avesse influenzato la nostra generazione, staremmo 
tutti saltando in sale scure, masticando pillole magiche e ascoltando musica 
elettronica ripetitiva...”

(Kristian Wilson, Nintendo Inc, 1989)


RE: Cloudstack 4.3 SMB share

2014-01-22 Thread Rajesh Battala
SMB 3.0 protocol.
http://technet.microsoft.com/en-us/library/jj134187.aspx#BKMK_Step3 

Thanks
Rajesh Battala

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: Thursday, January 23, 2014 12:50 PM
To: users@cloudstack.apache.org
Subject: Cloudstack 4.3 SMB share

Hi,

What would be the minimum requirement of SMB share for primary and secondary 
storage for Hyper -v ?

Regards,
Tejas


RE: hyper-v agent building on cloudstack 4.3

2014-02-02 Thread Rajesh Battala
Hi Tejas, 
Good to know agent is running now.
What you have fixed to run the agent?

Thanks
Rajesh Battala

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: Thursday, January 30, 2014 8:57 PM
To: Anshul Gangwar; users@cloudstack.apache.org
Subject: Re: hyper-v agent building on cloudstack 4.3

Hi,

Thanks for support.
Hyper-V agent is working now.!

Regards,
Tejas


On Thu, Jan 30, 2014 at 12:14 PM, Tejas Gadaria wrote:

> Hi,
>
> Recent log are as below,
>
> 2014-01-30 11:33:01,691 [1] DEBUG CloudStack.Plugin.AgentShell.Program
> [(null)] - CloudStack Hyper-V Agent arg is
> 2014-01-30 11:33:01,833 [1] INFO  CloudStack.Plugin.AgentShell.Program
> [(null)] - Installing and running CloudStack Hyper-V Agent
> 2014-01-30 11:33:03,511 [1] INFO  CloudStack.Plugin.AgentShell.Program
> [(null)] - CloudStack Hyper-V Agent running as Windows Service
> 2014-01-30 11:33:03,741 [1] INFO
>  CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting 
> CloudStack agent
> 2014-01-30 11:33:19,437 [1] ERROR CloudStack.Plugin.AgentShell.Program
> [(null)] -  Error occured in starting service Cannot start service 
> CloudStack Hyper-V Agent on computer '.'.
>
> As describe in earlier mail, service is visible in services.msc , but 
> its service status = Stop.
>
> When I am trying to start service by manually it says Error 1053: The 
> service did not respond to the start or control request in a timely 
> fashion ".
>
>  I found below link, I am facing same issues except that my system is 
> in domain so my primay dns suffix is set, Also I am getting similar 
> pop-up as mentioned in url http://imgur.com/NMan0S2
>
>
> http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201401.mbox/%3
> ccebd9db60ab9492aa023b5aa9d074...@amxpr07mb117.eurprd07.prod.outlook.c
> om%3E
>
> Regards,
> Tejas
>
>
>
>
> On Thu, Jan 30, 2014 at 11:27 AM, Anshul Gangwar < 
> anshul.gang...@citrix.com> wrote:
>
>>  Hi,
>>
>>
>>
>> Are you able to resolve your issue?
>>
>>
>>
>> If not can you look into cloudstack-agent log. That will be present 
>> in same folder as agentshell.exe
>>
>>
>>
>> Regards,
>>
>> Anshul
>>
>>
>>
>> *From:* Tejas Gadaria [mailto:refond.g...@gmail.com]
>> *Sent:* Thursday, January 30, 2014 11:23 AM
>>
>> *To:* Anshul Gangwar
>> *Subject:* Re: hyper-v agent building on cloudstack 4.3
>>
>>
>>
>> Hi Anshul,
>>
>> I didn't notice that I am replying to your personal id.
>>
>> Sorry for that and thanks for reply.
>>
>> Regards,
>>
>> Tejas
>>
>>
>>
>> On Wed, Jan 29, 2014 at 5:44 PM, Tejas Gadaria 
>> 
>> wrote:
>>
>> Hi Anshul,
>>
>>
>>
>> Sorry for late reply,
>>
>> Firewall completely disabled and I have log on as service rights 
>> available.
>>
>>
>>
>> Regards,
>>
>> Tejas
>>
>>
>>
>> On Wed, Jan 29, 2014 at 4:20 PM, Anshul Gangwar < 
>> anshul.gang...@citrix.com> wrote:
>>
>> Have you disabled firewall? If not try that or open up the 8250 port  
>> and check if service comes up now.
>>
>>
>>
>>
>>
>> *From:* Anshul Gangwar
>> *Sent:* Wednesday, January 29, 2014 4:13 PM
>> *To:* 'Tejas Gadaria'
>>
>>
>> *Subject:* RE: hyper-v agent building on cloudstack 4.3
>>
>>
>>
>> Can you verify whether the user has log on as service rights?
>>
>>
>>
>> *From:* Tejas Gadaria [mailto:refond.g...@gmail.com]
>>
>> *Sent:* Wednesday, January 29, 2014 3:33 PM
>> *To:* Anshul Gangwar
>>
>> *Subject:* Re: hyper-v agent building on cloudstack 4.3
>>
>>
>>
>> Hi Anshul,
>>
>>
>>
>> DNS Suffix is already set on the host.
>>
>>
>>
>> I re-installed Hyperv Agent with Domain\Administrator Privileges. I 
>> think Agent has installed, but service is not started.
>>
>> In services.msc ,  I got service called "CloudStack Hyper-V Agent", 
>> service type=Automatic, Service Status = Stop
>>
>>
>>
>> When I tried to start service by clicking on 'start' button, I 
>> received "Error
>> 1053: The service did not respond to the start or control request in 
>> a timely fashion "
>>
>>
>>
>> Logs for hyperv agent are as below,
>>
>>
>>
>> 2014-01-29 14:36:42,264 [1] DEBUG 
>> CloudStack.Plugin.AgentShell.Program
&

RE: hyper-v agent building on cloudstack 4.3

2014-02-03 Thread Rajesh Battala
Sure , Thanks for the update. 
send out more details/issues when you come across on Hyper-V management with 
cloudstack.

Thanks
Rajesh Battala


-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: Monday, February 3, 2014 5:33 PM
To: users@cloudstack.apache.org
Subject: Re: hyper-v agent building on cloudstack 4.3

Hi Rajesh,

I have physical hyper-v host with static ip. but When agent was giving *Error
1053: The service did not respond to the start or control request in a timely 
fashion" .  *I give though to play with registry, hence replicate similar setup 
in virtual machine with DHCP assigned IP.

In Virtual hyper-v setup agent got install in first attempt, It doesn't make 
any sense to me.  Setup is in same domain and in same VLAN as my physical host 
was. Only difference was IP assignment via DHCP.  I have re-install agent many 
time, It was working fine. Then I have assigned static IP to Virtual hyper-v 
setup and agent was giving same Error what I was facing on physical host.

Then I assigned IP to my physical host via DHCP and service worked on it as 
well.

I suspect, there may be problem with Windows system also. I am using windows 
Server 2012 R2 Datacanter. right now I am updating windows and will try again 
once update is completed.  I was also planning to post this issue,Thanks for 
asking the question.

Regards,
Tejas



On Mon, Feb 3, 2014 at 8:44 AM, Rajesh Battala wrote:

> Hi Tejas,
> Good to know agent is running now.
> What you have fixed to run the agent?
>
> Thanks
> Rajesh Battala
>
> -Original Message-
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: Thursday, January 30, 2014 8:57 PM
> To: Anshul Gangwar; users@cloudstack.apache.org
> Subject: Re: hyper-v agent building on cloudstack 4.3
>
> Hi,
>
> Thanks for support.
> Hyper-V agent is working now.!
>
> Regards,
> Tejas
>
>
> On Thu, Jan 30, 2014 at 12:14 PM, Tejas Gadaria  >wrote:
>
> > Hi,
> >
> > Recent log are as below,
> >
> > 2014-01-30 11:33:01,691 [1] DEBUG 
> > CloudStack.Plugin.AgentShell.Program
> > [(null)] - CloudStack Hyper-V Agent arg is
> > 2014-01-30 11:33:01,833 [1] INFO  
> > CloudStack.Plugin.AgentShell.Program
> > [(null)] - Installing and running CloudStack Hyper-V Agent
> > 2014-01-30 11:33:03,511 [1] INFO  
> > CloudStack.Plugin.AgentShell.Program
> > [(null)] - CloudStack Hyper-V Agent running as Windows Service
> > 2014-01-30 11:33:03,741 [1] INFO
> >  CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting 
> > CloudStack agent
> > 2014-01-30 11:33:19,437 [1] ERROR 
> > CloudStack.Plugin.AgentShell.Program
> > [(null)] -  Error occured in starting service Cannot start service 
> > CloudStack Hyper-V Agent on computer '.'.
> >
> > As describe in earlier mail, service is visible in services.msc , 
> > but its service status = Stop.
> >
> > When I am trying to start service by manually it says Error 1053: 
> > The service did not respond to the start or control request in a 
> > timely fashion ".
> >
> >  I found below link, I am facing same issues except that my system 
> > is in domain so my primay dns suffix is set, Also I am getting 
> > similar pop-up as mentioned in url http://imgur.com/NMan0S2
> >
> >
> > http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201401.mbox/
> > %3 
> > ccebd9db60ab9492aa023b5aa9d074...@amxpr07mb117.eurprd07.prod.outlook
> > .c
> > om%3E
> >
> > Regards,
> > Tejas
> >
> >
> >
> >
> > On Thu, Jan 30, 2014 at 11:27 AM, Anshul Gangwar < 
> > anshul.gang...@citrix.com> wrote:
> >
> >>  Hi,
> >>
> >>
> >>
> >> Are you able to resolve your issue?
> >>
> >>
> >>
> >> If not can you look into cloudstack-agent log. That will be present 
> >> in same folder as agentshell.exe
> >>
> >>
> >>
> >> Regards,
> >>
> >> Anshul
> >>
> >>
> >>
> >> *From:* Tejas Gadaria [mailto:refond.g...@gmail.com]
> >> *Sent:* Thursday, January 30, 2014 11:23 AM
> >>
> >> *To:* Anshul Gangwar
> >> *Subject:* Re: hyper-v agent building on cloudstack 4.3
> >>
> >>
> >>
> >> Hi Anshul,
> >>
> >> I didn't notice that I am replying to your personal id.
> >>
> >> Sorry for that and thanks for reply.
> >>
> >> Regards,
> >>
> >> Tejas
> >>
> >>
> >>
> >> On Wed, Jan 29, 2014 at 5:44 PM, Tejas Gadar

RE: hyper-v agent building on cloudstack 4.3

2014-02-03 Thread Rajesh Battala
I guess so, for static ip manually dns entry should be created on router.

-Original Message-
From: Paul Angus [mailto:paul.an...@shapeblue.com] 
Sent: Monday, February 3, 2014 6:40 PM
To: users@cloudstack.apache.org
Subject: RE: hyper-v agent building on cloudstack 4.3

I suspect when using DHCP the IP was being added to DNS, when using a static 
IP, it was not...

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
paul.an...@shapeblue.com

-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
Sent: 03 February 2014 12:28
To: users@cloudstack.apache.org
Subject: RE: hyper-v agent building on cloudstack 4.3

Sure , Thanks for the update.
send out more details/issues when you come across on Hyper-V management with 
cloudstack.

Thanks
Rajesh Battala


-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com]
Sent: Monday, February 3, 2014 5:33 PM
To: users@cloudstack.apache.org
Subject: Re: hyper-v agent building on cloudstack 4.3

Hi Rajesh,

I have physical hyper-v host with static ip. but When agent was giving *Error
1053: The service did not respond to the start or control request in a timely 
fashion" .  *I give though to play with registry, hence replicate similar setup 
in virtual machine with DHCP assigned IP.

In Virtual hyper-v setup agent got install in first attempt, It doesn't make 
any sense to me.  Setup is in same domain and in same VLAN as my physical host 
was. Only difference was IP assignment via DHCP.  I have re-install agent many 
time, It was working fine. Then I have assigned static IP to Virtual hyper-v 
setup and agent was giving same Error what I was facing on physical host.

Then I assigned IP to my physical host via DHCP and service worked on it as 
well.

I suspect, there may be problem with Windows system also. I am using windows 
Server 2012 R2 Datacanter. right now I am updating windows and will try again 
once update is completed.  I was also planning to post this issue,Thanks for 
asking the question.

Regards,
Tejas



On Mon, Feb 3, 2014 at 8:44 AM, Rajesh Battala wrote:

> Hi Tejas,
> Good to know agent is running now.
> What you have fixed to run the agent?
>
> Thanks
> Rajesh Battala
>
> -Original Message-
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: Thursday, January 30, 2014 8:57 PM
> To: Anshul Gangwar; users@cloudstack.apache.org
> Subject: Re: hyper-v agent building on cloudstack 4.3
>
> Hi,
>
> Thanks for support.
> Hyper-V agent is working now.!
>
> Regards,
> Tejas
>
>
> On Thu, Jan 30, 2014 at 12:14 PM, Tejas Gadaria  >wrote:
>
> > Hi,
> >
> > Recent log are as below,
> >
> > 2014-01-30 11:33:01,691 [1] DEBUG
> > CloudStack.Plugin.AgentShell.Program
> > [(null)] - CloudStack Hyper-V Agent arg is
> > 2014-01-30 11:33:01,833 [1] INFO
> > CloudStack.Plugin.AgentShell.Program
> > [(null)] - Installing and running CloudStack Hyper-V Agent
> > 2014-01-30 11:33:03,511 [1] INFO
> > CloudStack.Plugin.AgentShell.Program
> > [(null)] - CloudStack Hyper-V Agent running as Windows Service
> > 2014-01-30 11:33:03,741 [1] INFO
> >  CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting 
> > CloudStack agent
> > 2014-01-30 11:33:19,437 [1] ERROR
> > CloudStack.Plugin.AgentShell.Program
> > [(null)] -  Error occured in starting service Cannot start service 
> > CloudStack Hyper-V Agent on computer '.'.
> >
> > As describe in earlier mail, service is visible in services.msc , 
> > but its service status = Stop.
> >
> > When I am trying to start service by manually it says Error 1053:
> > The service did not respond to the start or control request in a 
> > timely fashion ".
> >
> >  I found below link, I am facing same issues except that my system 
> > is in domain so my primay dns suffix is set, Also I am getting 
> > similar pop-up as mentioned in url http://imgur.com/NMan0S2
> >
> >
> > http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201401.mbox/
> > %3
> > ccebd9db60ab9492aa023b5aa9d074...@amxpr07mb117.eurprd07.prod.outlook
> > .c
> > om%3E
> >
> > Regards,
> > Tejas
> >
> >
> >
> >
> > On Thu, Jan 30, 2014 at 11:27 AM, Anshul Gangwar < 
> > anshul.gang...@citrix.com> wrote:
> >
> >>  Hi,
> >>
> >>
> >>
> >> Are you able to resolve your issue?
> >>
> >>
> >>
> >> If not can you look into cloudstack-agent log. That will be present 
> >> in same folder as agentshell.exe
> >>
> >>
> >>
> >> Regards,
> >>
> >>

RE: hyper-v agent building on cloudstack 4.3

2014-02-05 Thread Rajesh Battala
Thanks Tejas for the info. 

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: Thursday, February 6, 2014 9:52 AM
To: users@cloudstack.apache.org
Subject: Re: hyper-v agent building on cloudstack 4.3

Hi ,

Thanks for the replay

Yerserday i was trying to install hyper-v agent on hyper-v host. (Windows 
Server 2012 R2 ) This time i have chosen different VLAN (with DNS and DHCP 
running) but has same domain.
I have tried to installed hyper v agent after assigning static ip to the system 
and created entry in router.
In first attempt service got install successfully.
logs are as below,

2014-02-05 17:30:19,302 [1] DEBUG CloudStack.Plugin.AgentShell.Program
[(null)] - CloudStack Hyper-V Agent arg is
2014-02-05 17:30:19,411 [1] INFO  CloudStack.Plugin.AgentShell.Program
[(null)] - Installing and running CloudStack Hyper-V Agent
2014-02-05 17:30:20,963 [1] INFO  CloudStack.Plugin.AgentShell.Program
[(null)] - CloudStack Hyper-V Agent running as Windows Service
2014-02-05 17:30:21,612 [1] INFO  CloudStack.Plugin.AgentShell.AgentService
[(null)] - Starting CloudStack agent
2014-02-05 17:30:22,648 [1] DEBUG CloudStack.Plugin.AgentShell.AgentService
[(null)] - Controller HypervResourceController is available


Regards,
Tejas


On Mon, Feb 3, 2014 at 7:16 PM, Rajesh Battala wrote:

> I guess so, for static ip manually dns entry should be created on router.
>
> -Original Message-
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Monday, February 3, 2014 6:40 PM
> To: users@cloudstack.apache.org
> Subject: RE: hyper-v agent building on cloudstack 4.3
>
> I suspect when using DHCP the IP was being added to DNS, when using a 
> static IP, it was not...
>
> Regards,
>
> Paul Angus
> Cloud Architect
> S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus 
> paul.an...@shapeblue.com
>
> -Original Message-
> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> Sent: 03 February 2014 12:28
> To: users@cloudstack.apache.org
> Subject: RE: hyper-v agent building on cloudstack 4.3
>
> Sure , Thanks for the update.
> send out more details/issues when you come across on Hyper-V 
> management with cloudstack.
>
> Thanks
> Rajesh Battala
>
>
> -Original Message-
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: Monday, February 3, 2014 5:33 PM
> To: users@cloudstack.apache.org
> Subject: Re: hyper-v agent building on cloudstack 4.3
>
> Hi Rajesh,
>
> I have physical hyper-v host with static ip. but When agent was giving 
> *Error
> 1053: The service did not respond to the start or control request in a 
> timely fashion" .  *I give though to play with registry, hence 
> replicate similar setup in virtual machine with DHCP assigned IP.
>
> In Virtual hyper-v setup agent got install in first attempt, It 
> doesn't make any sense to me.  Setup is in same domain and in same 
> VLAN as my physical host was. Only difference was IP assignment via 
> DHCP.  I have re-install agent many time, It was working fine. Then I 
> have assigned static IP to Virtual hyper-v setup and agent was giving 
> same Error what I was facing on physical host.
>
> Then I assigned IP to my physical host via DHCP and service worked on 
> it as well.
>
> I suspect, there may be problem with Windows system also. I am using 
> windows Server 2012 R2 Datacanter. right now I am updating windows and 
> will try again once update is completed.  I was also planning to post 
> this issue,Thanks for asking the question.
>
> Regards,
> Tejas
>
>
>
> On Mon, Feb 3, 2014 at 8:44 AM, Rajesh Battala 
>  >wrote:
>
> > Hi Tejas,
> > Good to know agent is running now.
> > What you have fixed to run the agent?
> >
> > Thanks
> > Rajesh Battala
> >
> > -Original Message-
> > From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> > Sent: Thursday, January 30, 2014 8:57 PM
> > To: Anshul Gangwar; users@cloudstack.apache.org
> > Subject: Re: hyper-v agent building on cloudstack 4.3
> >
> > Hi,
> >
> > Thanks for support.
> > Hyper-V agent is working now.!
> >
> > Regards,
> > Tejas
> >
> >
> > On Thu, Jan 30, 2014 at 12:14 PM, Tejas Gadaria 
> >  > >wrote:
> >
> > > Hi,
> > >
> > > Recent log are as below,
> > >
> > > 2014-01-30 11:33:01,691 [1] DEBUG
> > > CloudStack.Plugin.AgentShell.Program
> > > [(null)] - CloudStack Hyper-V Agent arg is
> > > 2014-01-30 11:33:01,833 [1] INFO
> > > CloudStack.Plugin.AgentShell.Program
> > > [(null)] - Installing and running CloudStack Hyper-V Agent
> > > 2014-01-30 11:33:03,511 [1] INFO

RE: Not able to add primary Storage Cloudstack 4.3

2014-02-05 Thread Rajesh Battala
Tejas,
This is how the api command looks like to create primary and secondary storage.

command=createStoragePool&zoneid=581bc2b6-0295-40e0-90ed-2717e239c2b6&podId=896cff2e-d51e-454b-97ed-cab078bf3be2&clusterid=3785c58a-d891-4482-9e6f-72f2060b80d3&name=ps&scope=cluster&url=cifs%3A%2F%2F10.102.192.150%2Fsmb-share%2Frajesh%2Fprimary%3Fuser%3DAdministrator%26domain%3DBLR&response=json&sessionkey=1L5raRYhxHCAgXHJ1WGvLjs7Zws%3D&_=1391666896777


command=addImageStore&response=json&sessionkey=1L5raRYhxHCAgXHJ1WGvLjs7Zws%3D&name=sec&provider=SMB&zoneid=581bc2b6-0295-40e0-90ed-2717e239c2b6&url=cifs%3A%2F%2F10.102.192.150%2Fsmb-share%2Frajesh%2Fsecondary%3Fuser%3DAdministrator%26domain%3DBLR&_=1391666908684



in the wizard specify the path as
  "/smb-share/rajesh/primary"
Similar for secondary.
Provide credentials and domain name in the wizard.

Make sure you were able to access the share from the hyperv hosts before adding 
them to CS.

Thanks
Rajesh Battala


From: Tejas Gadaria [mailto:refond.g...@gmail.com]
Sent: Thursday, February 6, 2014 11:03 AM
To: users@cloudstack.apache.org
Cc: Rajesh Battala; d...@cloudstack.apache.org
Subject: Re: Not able to add primary Storage Cloudstack 4.3

Hi,
I am not able to attach primary storage in Cloudstack as cifs.
So what I am doing wrong OR what are the issues with primary storage.?
Regards
Tejas

On Wed, Feb 5, 2014 at 4:35 PM, Tejas Gadaria 
mailto:refond.g...@gmail.com>> wrote:
Hi Paul,
forgot to mention,
hyper-v agent is running.
Regards,
Tejas

On Wed, Feb 5, 2014 at 4:33 PM, Tejas Gadaria 
mailto:refond.g...@gmail.com>> wrote:
Hi Paul,
yesterday when I was trying to add secondary storage with /hcloud/secondary , 
In logs I was not able to see much activity, but storage got attached.
I have uploaded screenshot in previous  mail.
I have reattached the secondary storage, and it logs are
Trying to add a new data store at 
cifs://10.129.151.55/hcloud/secondary?user=administrator&domain=nwx.com<http://10.129.151.55/hcloud/secondary?user=administrator&domain=nwx.com>
 to data center 3
2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils] (catalina-exec-20:ctx-a19af0fa 
ctx-fb83ed9b) foundUser istrue
2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils] (catalina-exec-20:ctx-a19af0fa 
ctx-fb83ed9b) foundPswd istrue
I have not enable the zone yet.

In attached screenshot of secondary storage in previous mail
protocol:cifs
provider : NFS
I suspect, it because I have taken chunk of NFS datastore, mounted and share it 
via Windows fie server (Standalone)

please find logs in attached file.

Regards,
Tejas

On Tue, Feb 4, 2014 at 5:52 PM, Paul Angus 
mailto:paul.an...@shapeblue.com>> wrote:
Hey Tejas,

cifs%3A%2F%2F10.129.151.155hcloud%2Fsecondary%3Fuser%3Dadministrator%26domain%3Dnwx.com

Theres a "/" ("%2F") missing between 10.129.151.155 and hcloud - my 
recollection is that primary and secondary storage UIs are not consistent, add 
the secondary path as /hcloud/secondary

re primary - is the agent service running? it doesn't seem to (always) 
automatically start even when it's set to automatic in services.

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: 
+447711418784 | T: @CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>

From: Tejas Gadaria [mailto:refond.g...@gmail.com<mailto:refond.g...@gmail.com>]
Sent: 04 February 2014 12:15
To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
Cc: rajesh.batt...@citrix.com<mailto:rajesh.batt...@citrix.com>; 
d...@cloudstack.apache.org<mailto:d...@cloudstack.apache.org>
Subject: Re: Not able to add primary Storage Cloudstack 4.3
Hi Paul,
I tried with "hcloud/primary" and
primary storage shows Unsupported command issued.

secondary storage shows Failed to add data store: cifs URI missing host and/or 
path. Make sure it's of the format 
cifs://hostname/path?user=&password=

After that I was trying to add secondary storage with /hcloud/secondary, I 
didn't show much activity in log.
In Cloudstack console, secondary storage got added, but protocol is CIFS and 
provider is NFS.

Please find attached logs. and screenshot from attached secondary storage.

Regards,
Tejas
On Tue, Feb 4, 2014 at 12:29 PM, Paul Angus 
mailto:paul.an...@shapeblue.com><mailto:paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>>>
 wrote:
Tejas, You have hcloud\primary, it should be hcloud/primary

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 
| M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com><mailto:paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>><mailto:paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com><mailto:paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>>>

From: Tejas Gadaria 
[mailto:refond.g

RE: Unable to set permissions Cloudstack 4.3

2014-02-17 Thread Rajesh Battala
Were the systemvm's came up and reported as "UP" in the infra page? 
If yes, it's not an issue to be worried. 

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: Monday, February 17, 2014 4:41 PM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: Unable to set permissions Cloudstack 4.3

Though I am able to create system VMs successfully on hyperv, was showing 
following in the logs, Is this related to storage permission for management 
server. ?
what kind of problem it can create?


2014-02-17 16:26:45,777 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-20:ctx-c2a52c69) Seq 1-92012587: Executing request
2014-02-17 16:26:46,435 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Execution is successful.
2014-02-17 16:26:46,436 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Executing: sudo chmod -R 777
/var/cloudstack/mnt/VM/345049283025.8748e72
2014-02-17 16:26:46,454 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Exit value is 1
2014-02-17 16:26:46,455 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) chmod: changing permissions of
`/var/cloudstack/mnt/VM/345049283025.8748e72':* Permission denied*
2014-02-17 16:26:46,455 WARN  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) *Unable to set permissions for
/var/cloudstack/mnt/VM/345049283025.8748e72 due to chmod: changing permissions 
of `/var/cloudstack/mnt/VM/345049283025.8748e72': Permission
denied*
2014-02-17 16:26:46,459 INFO  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Copy System VM patch ISO file to secondary 
storage. source ISO: /usr/share/cloudstack-common/vms/systemvm.iso,
destination:
/var/cloudstack/mnt/VM/345049283025.8748e72/systemvm/systemvm-4.3.0.iso
2014-02-17 16:27:06,940 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 routers to update status.
2014-02-17 16:27:06,941 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 networks to update RvR status.


Regards,
Tejas


RE: detecting hyper-v in cluster configuration for 4.3

2014-02-22 Thread Rajesh Battala
Hi, 
Are you using upgraded to 4.3 setup? Hyper-V is available in 4.3 in oss build 
itself.
Is SMB option is also not available while adding the Primary or secondary store?


Thanks
Rajesh Battala

-Original Message-
From: shri agarwal [mailto:agas...@gmail.com] 
Sent: Saturday, February 22, 2014 11:36 PM
To: users@cloudstack.apache.org
Subject: detecting hyper-v in cluster configuration for 4.3

i want to use cloudstack 4.3 with windows Hyper-V.
i have 4.3 linux managment server and cloud stack agent running on hyper-V.
during setup (adding cluster), i dont see window's hyper-v option, drop down 
list only shows kvm and xen. for ESX you have to use vcenter client with 
pluggins but i dont see anything for Hyper-V.
any info will be greatly appreciated.



RE: VPC and Redundant VRs

2014-02-22 Thread Rajesh Battala
AFAIK, Redundant VR support is not available yet for VPC and only for guest 
networks.

Thanks
Rajesh Battala

-Original Message-
From: Andrei Mikhailovsky [mailto:and...@arhont.com] 
Sent: Sunday, February 23, 2014 3:10 AM
To: users@cloudstack.apache.org
Subject: VPC and Redundant VRs



Hello guys, 


Not sure if it's me, but I am unable to tick the option to allow Redundant VRs 
when creating a new network offering for the VPCs. My aim is to have VPCs with 
redundant virtual routers, just like what I have for other guest networks. 


Is this a GUI bug or is this functionality not yet available? 


Thanks 


Andrei 


RE: Password of Xenserver host changed.

2014-02-26 Thread Rajesh Battala
If you don't have permissions to modify the db. Remove and add the host again. 
Else you can stop the mgmt. server change the password for the host in db and 
start again.

Thanks
Rajesh Battala

-Original Message-
From: Song Gao [mailto:gao.s...@neusoft.com] 
Sent: Wednesday, February 26, 2014 4:21 PM
To: users@cloudstack.apache.org
Subject: Password of Xenserver host changed.

Hi there,

What should I do to keep the Cloudstack working well, if the password of one 
Xenserver host has been changed ?

Thanks.  




Best wishes!

Dean Song Gao
---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) is intended only for the use of the intended 
recipient and may be confidential and/or privileged of Neusoft Corporation, its 
subsidiaries and/or its affiliates. If any reader of this communication is not 
the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying is strictly prohibited, and may be unlawful.If you have 
received this communication in error,please immediately notify the sender by 
return e-mail, and delete the original message and all copies from your system. 
Thank you. 
---


RE: how to install cloudstack 4.2.0 on ubuntu 12.04

2014-03-18 Thread Rajesh Battala
Hi Sandeep, 
This wiki can help you to setup hypervisor in devcloud. 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/devcloud  . Devcloud 
will get you xen hypervisor.

Do you have any physical server with any hypervisor installed?

Thanks
Rajesh Battala


-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Tuesday, March 18, 2014 3:00 PM
To: users@cloudstack.apache.org
Subject: how to install cloudstack 4.2.0 on ubuntu 12.04

Dear All,

Please can you tell how to install cloudstack 4.2 on ubuntu.
in simple steps, or can you refer any documentation which will help me to 
deploy the full setup on one single node itself.

I have followed apache documentation, was able to finish upto management server 
installation(Running properly),

But I was unable to install an hypervisor.  Installed virtual box dont know how 
to go further.

Unable to create zones, instances etc. I didnt have the setup of hypervisor.

ERROR: adding host error.

Thank you

--
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering Sreenidhi Institute of science 
and Technology Hyderabad


RE: vm stuck in starting state, unable to delete it

2014-03-19 Thread Rajesh Battala
Can you just capture the log from when you started the action till you see the 
error. 

Thanks
Rajesh Battala

-Original Message-
From: Sugandh S [mailto:s.suga...@rocketmail.com] 
Sent: Wednesday, March 19, 2014 4:23 PM
To: Sailaja Mada; users@cloudstack.apache.org; Suresh Sadhu
Subject: Re: vm stuck in starting state, unable to delete it

Hi,

The log file is around 10gb, I used pastebinit to upload it and it gave me 
"memory error".

Is there any other way to provide the log file?

Thanks,
Sugandh




On Wednesday, 19 March 2014 3:56 PM, Sailaja Mada  
wrote:
 
Hi,
 
Can you please send the complete log using PasteBin.     
 
Thanks,
Sailaja.M
 
From:Sugandh S [mailto:s.suga...@rocketmail.com]
Sent: 19 March 2014 15:30
To: users@cloudstack.apache.org; Sailaja Mada; Suresh Sadhu; Sugandh S
Subject: Re: vm stuck in starting state, unable to delete it
 
Hi,
 
I just noticed that my domain router is also stuck in starting state and one of 
the vms I created is now showing error state.
 
On Wednesday, 19 March 2014 3:25 PM, Sugandh S  wrote:
Hi,

> I have noticed VM in starting state when Template is getting  Copied  from 
> Secondary Storage to    > Primary Storage . 

It's been over 150 minutes and I don't think it should take this long to copy 
the template.

> size of the template and also value of global config parameter "wait" 

size of the iso is 700.29 MB and "wait" value is default "1800".

Sugandh




On Wednesday, 19 March 2014 3:16 PM, Sailaja Mada  
wrote:

Hi,

I have noticed VM in starting state when Template is getting  Copied  from 
Secondary Storage to Primary Storage . 

VM gets deployed and will move to running state after this copy is completed. 
Can you please share the size of the template and also value of global config 
parameter "wait" 

One reason could be Storage Server is slow and Copy operation is taking longer 
time.  It would help not to time out if you increase the "wait" value . But you 
may have to wait for the copy operation to complete to get the VM into running 
state.

Thanks,
Sailaja.M


-Original Message-
From: Sugandh S [mailto:s.suga...@rocketmail.com]
Sent: 19 March 2014 15:01
To: Suresh Sadhu; users@cloudstack.apache.org
Subject: Re: vm stuck in starting state, unable to delete it

Here is another part of log

e to Agent:3, com.cloud.exception.OperationTimedoutException: Commands 
1710489660 to Host 3 timed out after 3600
2014-03-19 13:59:22,969 ERROR [cloud.server.StatsCollector] 
(StatsCollector-1:null) Error trying to retrieve storage sta ts
com.cloud.utils.exception.CloudRuntimeException: Failed to send command, due to 
Agent:3, com.cloud.exception.OperationTi
medoutException: Commands 1710489660 to Host 3 timed out after 3600
2014-03-19 13:59:58,120 INFO  [utils.exception.CSExceptionErrorCode] 
(StatsCollector-1:null) Could not find exception: c 
om.cloud.exception.OperationTimedoutException in error code list for exceptions
2014-03-19 13:59:58,120 WARN  [agent.manager.AgentAttache] 
(StatsCollector-1:null) Seq 4-698744901: Timed out on null
2014-03-19 13:59:58,120 WARN  [agent.manager.AgentManagerImpl] 
(StatsCollector-1:null) Operation timed out: Commands 698
744901 to Host 4 timed out after 3600
2014-03-19 13:59:58,122 WARN  [cloud.resource.ResourceManagerImpl] 
(StatsCollector-1:null) Unable to obtain host 4 stati stics. 
2014-03-19 13:59:58,122 WARN  [cloud.server.StatsCollector] 
(StatsCollector-1:null) Received invalid host stats for host
: 4
2014-03-19 14:00:07,507 WARN  [apache.cloudstack.alerts] (HA-2:null)  
alertType:: 13 // dataCenterId:: 0 // podId:: 0 //
 clusterId:: null // message:: No usage server process running
2014-03-19 14:00:22,973 INFO  [utils.exception.CSExceptionErrorCode] 
(StatsCollector-1:null) Could not find exception: c 
om.cloud.exception.OperationTimedoutException in error code list for exceptions
2014-03-19 14:00:22,973 WARN  [agent.manager.AgentAttache] 
(StatsCollector-1:null) Seq 3-1710489661: Timed out on null
2014-03-19 14:00:22,973 DEBUG [cloudstack.storage.RemoteHostEndPoint] 
(StatsCollector-1:null) Failed to send command, du e to Agent:3, 
com.cloud.exception.OperationTimedoutException: Commands 1710489661 to Host 3 
timed out after 3600
2014-03-19 14:00:22,973 ERROR [cloud.server.StatsCollector] 
(StatsCollector-1:null) Error trying to retrieve storage sta ts
com.cloud.utils.exception.CloudRuntimeException: Failed to send command, due to 
Agent:3, com.cloud.exception.OperationTi
medoutException: Commands 1710489661 to Host 3 timed out after 3600
2014-03-19 14:00:58,715 INFO  [utils.exception.CSExceptionErrorCode] 
(StatsCollector-2:null) Could not find exception: c 
om.cloud.exception.OperationTimedoutException in error code list for exceptions
2014-03-19 14:00:58,715 WARN  [agent.manager.AgentAttache] 
(StatsCollector-2:null) Seq 4-698744902: Timed out on null
2014-03-19 14:00:58,716 WARN  [agent.manager.AgentManage

RE: vm stuck in starting state, unable to delete it

2014-03-19 Thread Rajesh Battala
>From the log, issue is while applying the dhcp entry in the VR hence 
>deployment fails.
Can you check whether the VR is up and network is in implemented state.?

Thanks
Rajesh Battala

From: Sugandh S [mailto:s.suga...@rocketmail.com]
Sent: Wednesday, March 19, 2014 5:07 PM
To: Rajesh Battala; users@cloudstack.apache.org; Sailaja Mada; Suresh Sadhu
Subject: Re: vm stuck in starting state, unable to delete it

Hi,

It took a couple of reboots to get system vms and router working again but now 
I have got another problem, whenever I create an instance I get "Unable to 
create a deployment for VM[User|]" error.

I have pasted the log here:
http://tny.cz/1ee21d5e


On Wednesday, 19 March 2014 4:39 PM, Rajesh Battala 
mailto:rajesh.batt...@citrix.com>> wrote:
Can you just capture the log from when you started the action till you see the 
error.

Thanks
Rajesh Battala

-Original Message-
From: Sugandh S 
[mailto:s.suga...@rocketmail.com<mailto:s.suga...@rocketmail.com>]
Sent: Wednesday, March 19, 2014 4:23 PM
To: Sailaja Mada; 
users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>; Suresh Sadhu
Subject: Re: vm stuck in starting state, unable to delete it

Hi,

The log file is around 10gb, I used pastebinit to upload it and it gave me 
"memory error".

Is there any other way to provide the log file?

Thanks,
Sugandh




On Wednesday, 19 March 2014 3:56 PM, Sailaja Mada 
mailto:sailaja.m...@citrix.com>> wrote:

Hi,

Can you please send the complete log using PasteBin.

Thanks,
Sailaja.M

From:Sugandh S 
[mailto:s.suga...@rocketmail.com<mailto:s.suga...@rocketmail.com>]
Sent: 19 March 2014 15:30
To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>; Sailaja 
Mada; Suresh Sadhu; Sugandh S
Subject: Re: vm stuck in starting state, unable to delete it

Hi,

I just noticed that my domain router is also stuck in starting state and one of 
the vms I created is now showing error state.

On Wednesday, 19 March 2014 3:25 PM, Sugandh S 
mailto:s.suga...@rocketmail.com>> wrote:
Hi,

> I have noticed VM in starting state when Template is getting  Copied  from 
> Secondary Storage to> Primary Storage .

It's been over 150 minutes and I don't think it should take this long to copy 
the template.

> size of the template and also value of global config parameter "wait"

size of the iso is 700.29 MB and "wait" value is default "1800".

Sugandh




On Wednesday, 19 March 2014 3:16 PM, Sailaja Mada 
mailto:sailaja.m...@citrix.com>> wrote:

Hi,

I have noticed VM in starting state when Template is getting  Copied  from 
Secondary Storage to Primary Storage .

VM gets deployed and will move to running state after this copy is completed. 
Can you please share the size of the template and also value of global config 
parameter "wait"

One reason could be Storage Server is slow and Copy operation is taking longer 
time.  It would help not to time out if you increase the "wait" value . But you 
may have to wait for the copy operation to complete to get the VM into running 
state.

Thanks,
Sailaja.M


-Original Message-
From: Sugandh S 
[mailto:s.suga...@rocketmail.com<mailto:s.suga...@rocketmail.com>]
Sent: 19 March 2014 15:01
To: Suresh Sadhu; 
users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
Subject: Re: vm stuck in starting state, unable to delete it

Here is another part of log

e to Agent:3, com.cloud.exception.OperationTimedoutException: Commands 
1710489660 to Host 3 timed out after 3600
2014-03-19 13:59:22,969 ERROR [cloud.server.StatsCollector] 
(StatsCollector-1:null) Error trying to retrieve storage sta ts
com.cloud.utils.exception.CloudRuntimeException: Failed to send command, due to 
Agent:3, com.cloud.exception.OperationTi
medoutException: Commands 1710489660 to Host 3 timed out after 3600
2014-03-19 13:59:58,120 INFO  [utils.exception.CSExceptionErrorCode] 
(StatsCollector-1:null) Could not find exception: c 
om.cloud.exception.OperationTimedoutException in error code list for exceptions
2014-03-19 13:59:58,120 WARN  [agent.manager.AgentAttache] 
(StatsCollector-1:null) Seq 4-698744901: Timed out on null
2014-03-19 13:59:58,120 WARN  [agent.manager.AgentManagerImpl] 
(StatsCollector-1:null) Operation timed out: Commands 698
744901 to Host 4 timed out after 3600
2014-03-19 13:59:58,122 WARN  [cloud.resource.ResourceManagerImpl] 
(StatsCollector-1:null) Unable to obtain host 4 stati stics.
2014-03-19 13:59:58,122 WARN  [cloud.server.StatsCollector] 
(StatsCollector-1:null) Received invalid host stats for host
: 4
2014-03-19 14:00:07,507 WARN  [apache.cloudstack.alerts] (HA-2:null)  
alertType:: 13 // dataCenterId:: 0 // podId:: 0 //
 clusterId:: null // message:: No usage server process running
2014-03-19 14:00:22,973 INFO  [utils.exception.CSExceptionErrorCode] 
(StatsCollector-1:null) Could no

RE: reinstalling system template

2014-03-28 Thread Rajesh Battala
Yes you can use the same process. 
Use the script with opton -F (force) to install the template.

What's the reason to reinstall the template?
If the systemvm is seeded once it will work all the times.  Which version you 
are using?


Thanks
Rajesh Battala

-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Friday, March 28, 2014 2:57 PM
To: users@cloudstack.apache.org
Subject: reinstalling system template

Dear All,
How can I install the systemvm template again?
Procedure please?
Thank you.
--
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering Sreenidhi Institute of science 
and Technology Hyderabad


RE: [ACS 4.3] Autoscale Button hidden ?

2014-03-28 Thread Rajesh Battala
Is it upgrade setup or fresh install?

-Original Message-
From: benoit lair [mailto:kurushi4...@gmail.com] 
Sent: Friday, March 28, 2014 2:31 PM
To: users@cloudstack.apache.org
Subject: [ACS 4.3] Autoscale Button hidden ?

Hello Folks,


With acs 4.2, i had the button "Autoscale" in order to launch autoscale wizard 
on a lb rule set on the UI.

With acs 4.3, i don't have this button anymore.

Any ideas ?

Regards,

Benoit.


RE: [ACS 4.3] ]Building non oss rpms

2014-03-28 Thread Rajesh Battala
This Jenkins job will generate rpm's. 
Here is the link and recent build had generate rpm's you can use it.
http://jenkins.buildacloud.org/view/4.4/job/cloudstack-4.4-package-rpm/ 

Thanks
Rajesh Battala

-Original Message-
From: benoit lair [mailto:kurushi4...@gmail.com] 
Sent: Friday, March 28, 2014 2:28 PM
To: users@cloudstack.apache.org
Subject: [ACS 4.3] ]Building non oss rpms

Hello Folks,


How can i build non oss rpms from acs sources ?

What is the procedure in order to accomplish this task ?


Regards,

Benoit Lair


RE: [ACS 4.3] Autoscale Button hidden ?

2014-03-28 Thread Rajesh Battala
When I was on 4.3 branch, I was able to  create autoscale policies.
Can you share the screenshot and log a bug.

Thanks
Rajesh Battala

-Original Message-
From: benoit lair [mailto:kurushi4...@gmail.com] 
Sent: Friday, March 28, 2014 3:15 PM
To: users@cloudstack.apache.org
Subject: Re: [ACS 4.3] Autoscale Button hidden ?

A fresh install Rajesh


2014-03-28 10:42 GMT+01:00 Rajesh Battala :

> Is it upgrade setup or fresh install?
>
> -Original Message-
> From: benoit lair [mailto:kurushi4...@gmail.com]
> Sent: Friday, March 28, 2014 2:31 PM
> To: users@cloudstack.apache.org
> Subject: [ACS 4.3] Autoscale Button hidden ?
>
> Hello Folks,
>
>
> With acs 4.2, i had the button "Autoscale" in order to launch 
> autoscale wizard on a lb rule set on the UI.
>
> With acs 4.3, i don't have this button anymore.
>
> Any ideas ?
>
> Regards,
>
> Benoit.
>


RE: [ACS 4.3] ]Building non oss rpms

2014-03-28 Thread Rajesh Battala
You mean, to generate rpm's locally from your machine?

https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack 

Thanks
Rajesh Battala

-Original Message-
From: benoit lair [mailto:kurushi4...@gmail.com] 
Sent: Friday, March 28, 2014 3:16 PM
To: users@cloudstack.apache.org
Subject: Re: [ACS 4.3] ]Building non oss rpms

Thanks a lot Rajesh.

But i would like to build my own rpms from 4.3 source


2014-03-28 10:43 GMT+01:00 Rajesh Battala :

> This Jenkins job will generate rpm's.
> Here is the link and recent build had generate rpm's you can use it.
> http://jenkins.buildacloud.org/view/4.4/job/cloudstack-4.4-package-rpm/
>
> Thanks
> Rajesh Battala
>
> -Original Message-
> From: benoit lair [mailto:kurushi4...@gmail.com]
> Sent: Friday, March 28, 2014 2:28 PM
> To: users@cloudstack.apache.org
> Subject: [ACS 4.3] ]Building non oss rpms
>
> Hello Folks,
>
>
> How can i build non oss rpms from acs sources ?
>
> What is the procedure in order to accomplish this task ?
>
>
> Regards,
>
> Benoit Lair
>


RE: [ACS 4.3] ]Building non oss rpms

2014-03-28 Thread Rajesh Battala
I think so. Can you look at the Jenkins job log to figure out the command.

-Original Message-
From: benoit lair [mailto:kurushi4...@gmail.com] 
Sent: Friday, March 28, 2014 3:26 PM
To: users@cloudstack.apache.org
Subject: Re: [ACS 4.3] ]Building non oss rpms

So with
mvn clean install -P deps -Dnoredist; export ACS_BUILD_OPTS="-Dnoredist"; 
dpkg-buildpackage

I wil be able to compile non oss rpms ?


2014-03-28 10:54 GMT+01:00 benoit lair :

> Yes, exactly :)
>
>
> 2014-03-28 10:50 GMT+01:00 Rajesh Battala :
>
> You mean, to generate rpm's locally from your machine?
>>
>>
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+C
>> loudStack
>>
>> Thanks
>> Rajesh Battala
>>
>> -Original Message-
>> From: benoit lair [mailto:kurushi4...@gmail.com]
>> Sent: Friday, March 28, 2014 3:16 PM
>> To: users@cloudstack.apache.org
>> Subject: Re: [ACS 4.3] ]Building non oss rpms
>>
>> Thanks a lot Rajesh.
>>
>> But i would like to build my own rpms from 4.3 source
>>
>>
>> 2014-03-28 10:43 GMT+01:00 Rajesh Battala :
>>
>> > This Jenkins job will generate rpm's.
>> > Here is the link and recent build had generate rpm's you can use it.
>> > http://jenkins.buildacloud.org/view/4.4/job/cloudstack-4.4-package-
>> > rpm/
>> >
>> > Thanks
>> > Rajesh Battala
>> >
>> > -Original Message-
>> > From: benoit lair [mailto:kurushi4...@gmail.com]
>> > Sent: Friday, March 28, 2014 2:28 PM
>> > To: users@cloudstack.apache.org
>> > Subject: [ACS 4.3] ]Building non oss rpms
>> >
>> > Hello Folks,
>> >
>> >
>> > How can i build non oss rpms from acs sources ?
>> >
>> > What is the procedure in order to accomplish this task ?
>> >
>> >
>> > Regards,
>> >
>> > Benoit Lair
>> >
>>
>
>


RE: No running ssvm is found

2014-03-28 Thread Rajesh Battala
Hi Sandeep, 

Is s-1-VM  vm is created in your hypervisor host? 
If not check whether the zone is enabled or not. Zone should be in enabled 
state.
If there is any failure while creating the ssvm, then there will be log 
statements in managemet-server log which will explain the reason for the same. 
Can you post the lot in pastebin like sites and share the link?

Thanks
Rajesh Battala


-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Wednesday, March 26, 2014 4:13 PM
To: users@cloudstack.apache.org
Subject: No running ssvm is found

Dear All,
How to remove these error?
No running ssvm is found

why do we get these error?

Thankyou

--
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering Sreenidhi Institute of science 
and Technology Hyderabad


RE: [ACS 4.3] Autoscale Button hidden ?

2014-04-09 Thread Rajesh Battala
Thanks for the update.

-Original Message-
From: benoit lair [mailto:kurushi4...@gmail.com] 
Sent: Wednesday, April 9, 2014 10:21 PM
To: users@cloudstack.apache.org
Subject: Re: [ACS 4.3] Autoscale Button hidden ?

Hello Rajesh,

I think i had my response, i was trying to use autoscale without netscaler, 
this feature does not exist at this time in 4.3 With 4.2 i discovered the 
autoscale wizard but with the netscaler service enabled onto my network.
Now with the 4.3, netscaler has to be activated at the service provider level.
So if no netscaler service provider activated, no such a network offering, so 
no autoscaling wizard available.

I don't have the luck to possess such this appliance.


I saw this problem with Nguyen Anh Tu who said me that this feature was not 
present in 4.3 (also in 4.4 master branch).


I had to wait for the next release in order to have this feature.

Regards,

Benoit.


2014-03-28 10:48 GMT+01:00 Rajesh Battala :

> When I was on 4.3 branch, I was able to  create autoscale policies.
> Can you share the screenshot and log a bug.
>
> Thanks
> Rajesh Battala
>
> -Original Message-
> From: benoit lair [mailto:kurushi4...@gmail.com]
> Sent: Friday, March 28, 2014 3:15 PM
> To: users@cloudstack.apache.org
> Subject: Re: [ACS 4.3] Autoscale Button hidden ?
>
> A fresh install Rajesh
>
>
> 2014-03-28 10:42 GMT+01:00 Rajesh Battala :
>
> > Is it upgrade setup or fresh install?
> >
> > -Original Message-
> > From: benoit lair [mailto:kurushi4...@gmail.com]
> > Sent: Friday, March 28, 2014 2:31 PM
> > To: users@cloudstack.apache.org
> > Subject: [ACS 4.3] Autoscale Button hidden ?
> >
> > Hello Folks,
> >
> >
> > With acs 4.2, i had the button "Autoscale" in order to launch 
> > autoscale wizard on a lb rule set on the UI.
> >
> > With acs 4.3, i don't have this button anymore.
> >
> > Any ideas ?
> >
> > Regards,
> >
> > Benoit.
> >
>


RE: templates and Iso are not available when adding an instance

2014-04-19 Thread Rajesh Battala
What is the state of the template.? 
Looks like the templates were not downloaded and in ready state. 
Can you check systemvms s-*-vm is deloyed and running?

Thanks
Rajesh Battala

-Original Message-
From: fatma chaabene [mailto:faatma.chaab...@gmail.com] 
Sent: Saturday, April 19, 2014 10:52 PM
To: cloudstack-us...@incubator.apache.org
Subject: templates and Iso are not available when adding an instance

Hi, I’m new to Cloudstack , I have a problem, the template shows on the 
Template menu, but when I try to add an Instance the templates list is empty. 
same problem with ISO. Can you help me ?


RE: Storage agent or storage VM disconnected

2014-04-21 Thread Rajesh Battala
Looks like the cloud agent inside ssvm is down. 
Can you destroy the ssvm (s-1-vm). It will get recreated. It should solve the 
issue.

Thanks
Rajesh Battala

-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Monday, April 21, 2014 4:21 PM
To: users@cloudstack.apache.org
Subject: Storage agent or storage VM disconnected

Changed the following parameter in my cloudstack getting the following error in 
my centos template

"Storage agent or storage VM disconnected"

how to solve these?

In my previous mail I told you that My centos template didnt got loaded so I 
used the log file and mounted the secondary storage manually

sudo mount -t nfs 10.4.6.17:/export/secondary/template/tmpl/1/3/
/mnt/53d355b8-a8c7-33a2-b9fd-e6d68ff7eec0/

I made the following changes to solve my template problem by making the changes 
in my global settings secstorage.allowed.internal.sites to my IP 
address(10.4.6.17)

and I restarted my management server now I am getting the following error

"Storage agent or storage VM disconnected Any help???

--
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering Sreenidhi Institute of science 
and Technology Hyderabad


RE: Unable to delete zone

2014-04-23 Thread Rajesh Battala
which cloudstack version you are running?
Have you added any vmware dc in cloudstack?

Thanks
Rajesh Battala

-Original Message-
From: José Egas López [mailto:josee...@farmaenlace.com] 
Sent: Wednesday, April 23, 2014 9:37 PM
To: users@cloudstack.apache.org
Subject: Unable to delete zone

Please help, when I try to delete a zone, the following error shows CS:

The zone is not deletable because there are VMware datacenters associated with 
this zone. Remove VMware DC from this zone.

I saw in zone details and in datacenter name there is in blank, what can I do?

-- 

*José

*



FARMAENLACE ha procesado su mensaje y esta limpio No imprima este mail a menos 
que sea necesario



RE: Unable to delete zone

2014-04-23 Thread Rajesh Battala
Are you not able to figure out from the doc's how to remove Vmware DC zone?
>From the zone wizard, are you not seeing any option to remove the vmware dc 
>zone?

Thanks
Rajesh Battala

-Original Message-
From: José Egas López [mailto:josee...@farmaenlace.com] 
Sent: Thursday, April 24, 2014 1:50 AM
To: users@cloudstack.apache.org
Subject: Re: Unable to delete zone

Please, does anybody knows the solution to the problem mentioned below?

*
José
*

El 23/04/2014 11:30, José Egas López escribió:
> CS 4.2.1, yes I have added but it is not shown, and I want to remove it.
>
> *
> José
>
> *
>
> El 23/04/2014 11:27, Rajesh Battala escribió:
>> which cloudstack version you are running?
>> Have you added any vmware dc in cloudstack?
>>
>> Thanks
>> Rajesh Battala
>>
>> -Original Message-
>> From: José Egas López [mailto:josee...@farmaenlace.com]
>> Sent: Wednesday, April 23, 2014 9:37 PM
>> To: users@cloudstack.apache.org
>> Subject: Unable to delete zone
>>
>> Please help, when I try to delete a zone, the following error shows CS:
>>
>> The zone is not deletable because there are VMware datacenters 
>> associated with this zone. Remove VMware DC from this zone.
>>
>> I saw in zone details and in datacenter name there is in blank, what 
>> can I do?
>>
>
>
> 
> FARMAENLACE ha procesado su mensaje y esta limpio No imprima este mail 
> a menos que sea necesario
>
>



FARMAENLACE ha procesado su mensaje y esta limpio No imprima este mail a menos 
que sea necesario



RE: Custom offering options does not allow you to migrate VM to other hosts

2014-04-23 Thread Rajesh Battala
Can you share more details.
is the offering has storage type share/local? and offering other details.
Share management log snippet which shows the exception/messages about the 
failure to migrate the vm.
How many hosts are present incluster?

Thanks
Rajesh Battala

-Original Message-
From: Amin Samir [mailto:a...@opencloud.net.au] 
Sent: Thursday, April 24, 2014 7:00 AM
To: users@cloudstack.apache.org
Subject: Custom offering options does not allow you to migrate VM to other hosts

Hello,

 
Has anyone used the new custom offering option in CS 4.3, when using it with a 
VM and then trying to move this VM to another host the API does not allow you, 
you have to either move it from the xen console or put the host to maintenance 
mode.

 
Does anyone know why is that is it a bug? Or I did something wrong (xen tools 
is installed on the VM).

 
Kind Regards

Amin 

 


RE: change of public IP for ssvm and console proxy

2014-04-24 Thread Rajesh Battala
In one of the network acquire all the old public ip ranges or in db 
user_ip_address table mark those ip's state as allocated 

And for the public ip ranges which are assigned to ssvm/cpvm. Disable the zone. 
Destroy the systemvm's. then in the db mark those ip's as allocated or remove 
those rows from db.
Then enable the zone. Now for ssvm/cpvm will get ip's from new public range 
which are in free state.

For the old ip's if they are acquired, release them and delete them from db.

Thanks
Rajesh Battala

-Original Message-
From: Andrei Mikhailovsky [mailto:and...@arhont.com] 
Sent: Thursday, April 24, 2014 4:42 PM
To: users@cloudstack.apache.org
Subject: change of public IP for ssvm and console proxy


Hello guys,

I am planning to decommission one of our public IP ranges. As a part of this 
process I've migrated majority of networks to the new IP range. However, I am 
having difficulties with changing IPs for the SSVM and Console Proxy servers. 
How do I change them to the new range. I've tried manually swapping IPs in the 
data base, but every time after a reboot or recreation of ssvm and console 
proxy they get the IPs from the old range.

From what I understand, I can't delete the old IP range until all networks have 
been migrated and all IPs in the old range are Free. So, how do I force ssvm 
and console proxy to get the ip from the new range instead of the old one?

Many thanks

Andrei


RE: change of public IP for ssvm and console proxy

2014-04-25 Thread Rajesh Battala
Correct.

-Original Message-
From: Andrei Mikhailovsky [mailto:and...@arhont.com] 
Sent: Friday, April 25, 2014 3:10 PM
To: users@cloudstack.apache.org
Subject: Re: change of public IP for ssvm and console proxy



Raj, 

thanks for the tips. I will try that. 

One does have to be very creative when certain functionalities have not been 
thought through during the design phase. Surely changing IP ranges is not that 
unheard of ))). I guess not that many people requested this feature. 

Cheers 

Andrei 


- Original Message -

From: "Rajesh Battala"  
To: users@cloudstack.apache.org 
Sent: Thursday, 24 April, 2014 4:50:06 PM 
Subject: RE: change of public IP for ssvm and console proxy 

In one of the network acquire all the old public ip ranges or in db 
user_ip_address table mark those ip's state as allocated 

And for the public ip ranges which are assigned to ssvm/cpvm. Disable the zone. 
Destroy the systemvm's. then in the db mark those ip's as allocated or remove 
those rows from db. 
Then enable the zone. Now for ssvm/cpvm will get ip's from new public range 
which are in free state. 

For the old ip's if they are acquired, release them and delete them from db. 

Thanks 
Rajesh Battala 

-Original Message- 
From: Andrei Mikhailovsky [mailto:and...@arhont.com] 
Sent: Thursday, April 24, 2014 4:42 PM 
To: users@cloudstack.apache.org 
Subject: change of public IP for ssvm and console proxy 


Hello guys, 

I am planning to decommission one of our public IP ranges. As a part of this 
process I've migrated majority of networks to the new IP range. However, I am 
having difficulties with changing IPs for the SSVM and Console Proxy servers. 
How do I change them to the new range. I've tried manually swapping IPs in the 
data base, but every time after a reboot or recreation of ssvm and console 
proxy they get the IPs from the old range. 

From what I understand, I can't delete the old IP range until all networks have 
been migrated and all IPs in the old range are Free. So, how do I force ssvm 
and console proxy to get the ip from the new range instead of the old one? 

Many thanks 

Andrei 



RE: How to migrate volumes of Virtual routers

2014-04-25 Thread Rajesh Battala
Reboot the VR. It will recreate disks and apply all the rules.

Thanks
Rajesh Battala

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir] 
Sent: Saturday, April 26, 2014 9:34 AM
To: users@cloudstack.apache.org
Cc: Sanjeev Neelarapu
Subject: Re: How to migrate volumes of Virtual routers

Hi,

Thank you, Is it possible to force cloudstack to recreate VR instance from 
scratch (not only cleaning up)?


- Original Message - 
From: "Sanjeev Neelarapu" 
To: 
Sent: Thursday, April 24, 2014 8:23 AM
Subject: RE: How to migrate volumes of Virtual routers


Hi,

If the host on which VR is running is disconnected and connected back to 
Primary storage then the instance becomes read-only. This is the linux 
behavior nothing to do with the cloudstack. Please restart the VR to make 
the disk writable.

-Sanjeev

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Wednesday, April 23, 2014 10:58 AM
To: users@cloudstack.apache.org
Subject: How to migrate volumes of Virtual routers

Hi,

I've assigned two primary storages. All virtual routers have been created on 
Primary-Storage1 but sometimes I face "Read-only file system" on some VR 
instances. I found no option to migrate their volumes. I have cloudstack 
3.0. 



RE: How to migrate volumes of Virtual routers

2014-04-25 Thread Rajesh Battala
Reboot VR, a new VR will be re-created with new disks and all the rules will be 
applied again.

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir] 
Sent: Saturday, April 26, 2014 10:23 AM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

originally I face 2 problems;

1- The VPN which has been enabled and working since a few months ago is not 
working (error 789) after facing the "Read-only file system" issue and I can't 
delete the VPN users (but I can add new users).

2- sometimes web service of instances (which uses this router) does not load js 
queries properly, I suspect the VR is not working properly.

- Original Message -
From: "Rajesh Battala" 
To: 
Cc: "Sanjeev Neelarapu" 
Sent: Saturday, April 26, 2014 8:52 AM
Subject: RE: How to migrate volumes of Virtual routers


Reboot the VR. It will recreate disks and apply all the rules.

Thanks
Rajesh Battala

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Saturday, April 26, 2014 9:34 AM
To: users@cloudstack.apache.org
Cc: Sanjeev Neelarapu
Subject: Re: How to migrate volumes of Virtual routers

Hi,

Thank you, Is it possible to force cloudstack to recreate VR instance from 
scratch (not only cleaning up)?


- Original Message - 
From: "Sanjeev Neelarapu" 
To: 
Sent: Thursday, April 24, 2014 8:23 AM
Subject: RE: How to migrate volumes of Virtual routers


Hi,

If the host on which VR is running is disconnected and connected back to
Primary storage then the instance becomes read-only. This is the linux
behavior nothing to do with the cloudstack. Please restart the VR to make
the disk writable.

-Sanjeev

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Wednesday, April 23, 2014 10:58 AM
To: users@cloudstack.apache.org
Subject: How to migrate volumes of Virtual routers

Hi,

I've assigned two primary storages. All virtual routers have been created on
Primary-Storage1 but sometimes I face "Read-only file system" on some VR
instances. I found no option to migrate their volumes. I have cloudstack
3.0.



RE: How to migrate volumes of Virtual routers

2014-04-26 Thread Rajesh Battala
Add the new primary store.
Enable Maintenance mode on the old primary store.
CS will take care of migrating the VM's running the old store to the new one.
Once the migrations are complete CS will report the status. 
Then remove the old store.

Yes You can use tags to force CS to pick the tagged resources.

Thanks
Rajesh Battala


-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir] 
Sent: Saturday, April 26, 2014 2:50 PM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

Hi,

Thanks, is there any way to force CS to create virtual machines on a particular 
Primary-storage from now on (I wan to remove older Primary storage as soon as 
possible)?

- Original Message -
From: "Rajesh Battala" 
To: 
Sent: Saturday, April 26, 2014 10:52 AM
Subject: RE: How to migrate volumes of Virtual routers


Reboot VR, a new VR will be re-created with new disks and all the rules will 
be applied again.

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Saturday, April 26, 2014 10:23 AM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

originally I face 2 problems;

1- The VPN which has been enabled and working since a few months ago is not 
working (error 789) after facing the "Read-only file system" issue and I 
can't delete the VPN users (but I can add new users).

2- sometimes web service of instances (which uses this router) does not load 
js queries properly, I suspect the VR is not working properly.

- Original Message -
From: "Rajesh Battala" 
To: 
Cc: "Sanjeev Neelarapu" 
Sent: Saturday, April 26, 2014 8:52 AM
Subject: RE: How to migrate volumes of Virtual routers


Reboot the VR. It will recreate disks and apply all the rules.

Thanks
Rajesh Battala

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Saturday, April 26, 2014 9:34 AM
To: users@cloudstack.apache.org
Cc: Sanjeev Neelarapu
Subject: Re: How to migrate volumes of Virtual routers

Hi,

Thank you, Is it possible to force cloudstack to recreate VR instance from
scratch (not only cleaning up)?


- Original Message - 
From: "Sanjeev Neelarapu" 
To: 
Sent: Thursday, April 24, 2014 8:23 AM
Subject: RE: How to migrate volumes of Virtual routers


Hi,

If the host on which VR is running is disconnected and connected back to
Primary storage then the instance becomes read-only. This is the linux
behavior nothing to do with the cloudstack. Please restart the VR to make
the disk writable.

-Sanjeev

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Wednesday, April 23, 2014 10:58 AM
To: users@cloudstack.apache.org
Subject: How to migrate volumes of Virtual routers

Hi,

I've assigned two primary storages. All virtual routers have been created on
Primary-Storage1 but sometimes I face "Read-only file system" on some VR
instances. I found no option to migrate their volumes. I have cloudstack
3.0.



RE: How to migrate volumes of Virtual routers

2014-04-26 Thread Rajesh Battala
Process I had mentioned will work for all system vms.

Thanks
Rajesh Battala

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir] 
Sent: Sunday, April 27, 2014 9:47 AM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

What about the SSVM's or Virtual routers? How to migrate their volumes to 
second primary storage?

- Original Message -
From: "Rajesh Battala" 
To: 
Sent: Saturday, April 26, 2014 8:20 PM
Subject: RE: How to migrate volumes of Virtual routers


Add the new primary store.
Enable Maintenance mode on the old primary store.
CS will take care of migrating the VM's running the old store to the new 
one.
Once the migrations are complete CS will report the status.
Then remove the old store.

Yes You can use tags to force CS to pick the tagged resources.

Thanks
Rajesh Battala


-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Saturday, April 26, 2014 2:50 PM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

Hi,

Thanks, is there any way to force CS to create virtual machines on a 
particular Primary-storage from now on (I wan to remove older Primary 
storage as soon as possible)?

- Original Message -
From: "Rajesh Battala" 
To: 
Sent: Saturday, April 26, 2014 10:52 AM
Subject: RE: How to migrate volumes of Virtual routers


Reboot VR, a new VR will be re-created with new disks and all the rules will
be applied again.

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Saturday, April 26, 2014 10:23 AM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

originally I face 2 problems;

1- The VPN which has been enabled and working since a few months ago is not
working (error 789) after facing the "Read-only file system" issue and I
can't delete the VPN users (but I can add new users).

2- sometimes web service of instances (which uses this router) does not load
js queries properly, I suspect the VR is not working properly.

- Original Message -
From: "Rajesh Battala" 
To: 
Cc: "Sanjeev Neelarapu" 
Sent: Saturday, April 26, 2014 8:52 AM
Subject: RE: How to migrate volumes of Virtual routers


Reboot the VR. It will recreate disks and apply all the rules.

Thanks
Rajesh Battala

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Saturday, April 26, 2014 9:34 AM
To: users@cloudstack.apache.org
Cc: Sanjeev Neelarapu
Subject: Re: How to migrate volumes of Virtual routers

Hi,

Thank you, Is it possible to force cloudstack to recreate VR instance from
scratch (not only cleaning up)?


- Original Message - 
From: "Sanjeev Neelarapu" 
To: 
Sent: Thursday, April 24, 2014 8:23 AM
Subject: RE: How to migrate volumes of Virtual routers


Hi,

If the host on which VR is running is disconnected and connected back to
Primary storage then the instance becomes read-only. This is the linux
behavior nothing to do with the cloudstack. Please restart the VR to make
the disk writable.

-Sanjeev

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Wednesday, April 23, 2014 10:58 AM
To: users@cloudstack.apache.org
Subject: How to migrate volumes of Virtual routers

Hi,

I've assigned two primary storages. All virtual routers have been created on
Primary-Storage1 but sometimes I face "Read-only file system" on some VR
instances. I found no option to migrate their volumes. I have cloudstack
3.0.



RE: How to migrate volumes of Virtual routers

2014-04-27 Thread Rajesh Battala
Comments inline

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir] 
Sent: Sunday, April 27, 2014 2:12 PM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

Great, this my first time, so just for confirmation I'll the following
steps:

1- add storage tag to current disk offerings to force craeting new volumes on 
new Primary storage from now on
You need to create offering disk/compute to use the storage tags so that 
deployment happens using that storage only.
If that's the only storage available then CS will deploy in that storage only.

2- enable maintenance mode on old primary storage and it will shutdown all 
instances which has volumes on that.
If systemvm's are running on the storage, CS will migrate them to possible 
deployment storage.

3- move volumes to New primary storage manually
Once you have added new primary storage, from UI you can migrate the disks to 
any storage.

4- restart netword on each account (clean-up is marked) to recreate VR on new 
primary storage.
Yes. It will recreate VR's


Are they the correct steps?

- Original Message -
From: "Rajesh Battala" 
To: 
Sent: Sunday, April 27, 2014 9:28 AM
Subject: RE: How to migrate volumes of Virtual routers


Process I had mentioned will work for all system vms.

Thanks
Rajesh Battala

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Sunday, April 27, 2014 9:47 AM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

What about the SSVM's or Virtual routers? How to migrate their volumes to 
second primary storage?

- Original Message -
From: "Rajesh Battala" 
To: 
Sent: Saturday, April 26, 2014 8:20 PM
Subject: RE: How to migrate volumes of Virtual routers


Add the new primary store.
Enable Maintenance mode on the old primary store.
CS will take care of migrating the VM's running the old store to the new
one.
Once the migrations are complete CS will report the status.
Then remove the old store.

Yes You can use tags to force CS to pick the tagged resources.

Thanks
Rajesh Battala


-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Saturday, April 26, 2014 2:50 PM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

Hi,

Thanks, is there any way to force CS to create virtual machines on a
particular Primary-storage from now on (I wan to remove older Primary
storage as soon as possible)?

- Original Message -
From: "Rajesh Battala" 
To: 
Sent: Saturday, April 26, 2014 10:52 AM
Subject: RE: How to migrate volumes of Virtual routers


Reboot VR, a new VR will be re-created with new disks and all the rules will
be applied again.

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Saturday, April 26, 2014 10:23 AM
To: users@cloudstack.apache.org
Subject: Re: How to migrate volumes of Virtual routers

originally I face 2 problems;

1- The VPN which has been enabled and working since a few months ago is not
working (error 789) after facing the "Read-only file system" issue and I
can't delete the VPN users (but I can add new users).

2- sometimes web service of instances (which uses this router) does not load
js queries properly, I suspect the VR is not working properly.

- Original Message -
From: "Rajesh Battala" 
To: 
Cc: "Sanjeev Neelarapu" 
Sent: Saturday, April 26, 2014 8:52 AM
Subject: RE: How to migrate volumes of Virtual routers


Reboot the VR. It will recreate disks and apply all the rules.

Thanks
Rajesh Battala

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Saturday, April 26, 2014 9:34 AM
To: users@cloudstack.apache.org
Cc: Sanjeev Neelarapu
Subject: Re: How to migrate volumes of Virtual routers

Hi,

Thank you, Is it possible to force cloudstack to recreate VR instance from
scratch (not only cleaning up)?


- Original Message - 
From: "Sanjeev Neelarapu" 
To: 
Sent: Thursday, April 24, 2014 8:23 AM
Subject: RE: How to migrate volumes of Virtual routers


Hi,

If the host on which VR is running is disconnected and connected back to
Primary storage then the instance becomes read-only. This is the linux
behavior nothing to do with the cloudstack. Please restart the VR to make
the disk writable.

-Sanjeev

-Original Message-
From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
Sent: Wednesday, April 23, 2014 10:58 AM
To: users@cloudstack.apache.org
Subject: How to migrate volumes of Virtual routers

Hi,

I've assigned two primary storages. All virtual routers have been created on
Primary-Storage1 but sometimes I face "Read-only file system" on some VR
instances. I found no option to migrate their volumes. I have cloudstack
3.0.