Re: Realhost ip certificate replacement

2015-09-30 Thread Prashant Kumar Mishra
You  can follow these articles

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace
+realhostip.com+with+Your+Own+Domain+Name
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=43188254
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes


Thanks
prashant
On 9/30/15, 11:45 PM, "Indra Pramana"  wrote:

>Hi Jaime,
>
>For me, I just get the new certificate and the private key, and then
>upload
>them via CloudStack GUI > Infrastructure > SSL Certificate. The SSVM and
>CPVM will be rebooted as a result.
>
>This is provided that the intermediate and root certificates are the same,
>otherwise you might need to upload them as well via API. That's why it's
>best to renew the certificate from the same CA provider.
>
>Hope that helps, thank you.
>
>Cheers.
>
>-ip-
>
>
>On Wed, Sep 30, 2015 at 11:22 PM, Jaime Orlando Rojas Sanchez <
>jaime.ro...@kumo.com.co> wrote:
>
>> Hello,
>>
>> Last year we replaced realhost ip certificate with our own certificate,
>> now it expires and we have to replace it with the new one. Could anybody
>> share with me how to do that without interrupt the service?
>>
>> Regards,
>>
>> Jaime Rojas
>>
>>
>>



Re: how to disable CPVM http trace and disable sslV3 poodle security issue

2015-08-20 Thread Prashant Kumar Mishra
You need to upgrade  system vm templates , check the
https://blogs.apache.org/cloudstack/ for mote details


Related info thought might help

1. does changing in httpd.conf reflects the setting for apache2?  Use the
nmap script as suggested below to identify ssl versions on installed
system vm template. Check the suggested change works or not.

http://security.stackexchange.com/questions/70733/how-do-i-use-openssl-s-cl
ient-to-test-for-absence-of-sslv3-support

2. TLSv1.2 is the latest to be used and suggested default, ssl protocol
and the ciphers we use leads to vulnerability, the settings for these as
well should be available in similar config file. In our code, search for
TLS leads to usage at places, and assumption is that it should negotiate
the protocol version from configured and available latest version to
least, so if TLSv1.2 is configured on server and client supports it, then
it should work. 

http://www.cisco.com/c/en/us/support/docs/security/email-security-appliance
/118518-technote-esa-00.html

Regards,
Santhosh
__




On 8/20/15, 11:43 AM, "jerry" <1163...@qq.com> wrote:

>hello,We use cloudstack 3.0.2 ,Since CPVM have http trace enable and
>sslV3 poodle securiy issue,   Does anyone how to disable it。 Some
>security tools said web proxy console link have php security issue,How to
>upgrade php for CPVM
>
>
>  Thanks



Re: KVM - convert vmdk to qcow2 - send volume to CS

2015-08-17 Thread Prashant Kumar Mishra
Yes attach-detach to a vm  then you should see snapshot option
~prashant

On 8/17/15, 5:29 PM, "Luciano Castro"  wrote:

>Hi Prashant
>
>I can´t take snapshot from a datadisk, there´s no option to do this. Did
>you mean I try to attach this disk to an instance, take a snapshot and
>convert to a template?
>
>thanks
>
>On Mon, Aug 17, 2015 at 1:20 AM, Prashant Kumar Mishra <
>prashantkumar.mis...@citrix.com> wrote:
>
>> You can take snapshot and convert it to template and then try to deploy
>>vm.
>> ~prashant
>>
>> On 8/15/15, 3:52 AM, "Somesh Naidu"  wrote:
>>
>> >> Does the Volumes uploaded always will be DATADISK type?
>> >
>> >Yes.
>> >
>> >Regards,
>> >Somesh
>> >
>> >
>> >-Original Message-
>> >From: Luciano Castro [mailto:luciano.cas...@gmail.com]
>> >Sent: Friday, August 14, 2015 11:04 AM
>> >To: users@cloudstack.apache.org
>> >Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS
>> >
>> >Another question.
>> >
>> >My volume is now a DATADISK. I can´t instantiate a new VM from this
>>disk.
>> >
>> >Does the Volumes uploaded always will be DATADISK type?
>> >
>> >thanks
>> >
>> >
>> >On Fri, Aug 14, 2015 at 11:36 AM, Luciano Castro
>> >
>> >wrote:
>> >
>> >> Vadim
>> >>
>> >> Yes, the problem seems to be on SSVM. When I could try with wget , I
>> >> receive "connection refused".
>> >>
>> >>
>> >> I deleted the OUTPUT rule which denies port 80, and now it worked.
>> >>
>> >> Is it correct ? Does the SSVM wouldn´t have access to external HTTP
>> >> servers?
>> >>
>> >> Thank you!!
>> >>
>> >>
>> >> On Fri, Aug 14, 2015 at 11:02 AM, Vadim Kimlaychuk <
>> >> vadim.kimlayc...@elion.ee> wrote:
>> >>
>> >>> Have you tried to wget from management server or SSVM or both?  It
>>may
>> >>>be
>> >>> a probleem with SSVM. Try to check SSVM also
>> >>>
>> >>> Vadim.
>> >>>
>> >>> -Original Message-
>> >>> From: Luciano Castro [mailto:luciano.cas...@gmail.com]
>> >>> Sent: Friday, August 14, 2015 3:49 PM
>> >>> To: users@cloudstack.apache.org
>> >>> Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS
>> >>>
>> >>> Yes, with wget is working (i took off the web proxy from the
>>middle) ,
>> >>>as
>> >>> I said before
>> >>>
>> >>> From the manager I do wget normally:
>> >>>
>> >>> [root@1q2 ~]# wget 10.253.118.181/dsv-str-tools.qcow2
>> >>> --2015-08-14 12:37:49--  http://10.253.118.181/dsv-str-tools.qcow2
>> >>> Connecting to 10.253.118.181:80... connected.
>> >>> HTTP request sent, awaiting response... 200 OK
>> >>> Length: 20611792896 (19G) [application/octet-stream] Saving to:
>> >>> “dsv-str-tools.qcow2â€
>> >>>
>> >>>  0%
>> >>> [
>> >>> ] 94,175,024   112M/s  ^C
>> >>>
>> >>> And the log of nginx is ok:
>> >>>
>> >>> 10.253.118.180 - - [14/Aug/2015:11:49:38 +] "GET
>> >>>/dsv-str-tools.qcow2
>> >>> HTTP/1.1" 200 50680 "-" "Java/1.7.0_79" "-"
>> >>> 10.253.118.180 - - [14/Aug/2015:11:50:33 +] "GET
>> >>>/dsv-str-tools.qcow2
>> >>> HTTP/1.0" 200 214111416 "-" "Wget/1.12 (linux-gnu)" "-"
>> >>> 10.253.118.180 - - [14/Aug/2015:12:15:07 +] "GET
>> >>>/dsv-str-tools.qcow2
>> >>> HTTP/1.0" 200 139332352 "-" "Wget/1.12 (linux-gnu)" "-"
>> >>>
>> >>>
>> >>>
>> >>> On Fri, Aug 14, 2015 at 9:42 AM, Vadim Kimlaychuk <
>> >>> vadim.kimlayc...@elion.ee
>> >>> > wrote:
>> >>>
>> >>> > Can you try to wget URL ? May be you have error in nginx
>> >>>configuration?
>> >>> >
>> >>> > Vadim.
>> >>> >
>> >>> > -Original Message-
>> >>> > From: Luciano Castro [ma

Re: KVM - convert vmdk to qcow2 - send volume to CS

2015-08-16 Thread Prashant Kumar Mishra
You can take snapshot and convert it to template and then try to deploy vm.
~prashant

On 8/15/15, 3:52 AM, "Somesh Naidu"  wrote:

>> Does the Volumes uploaded always will be DATADISK type?
>
>Yes.
>
>Regards,
>Somesh
>
>
>-Original Message-
>From: Luciano Castro [mailto:luciano.cas...@gmail.com]
>Sent: Friday, August 14, 2015 11:04 AM
>To: users@cloudstack.apache.org
>Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS
>
>Another question.
>
>My volume is now a DATADISK. I can´t instantiate a new VM from this disk.
>
>Does the Volumes uploaded always will be DATADISK type?
>
>thanks
>
>
>On Fri, Aug 14, 2015 at 11:36 AM, Luciano Castro
>
>wrote:
>
>> Vadim
>>
>> Yes, the problem seems to be on SSVM. When I could try with wget , I
>> receive "connection refused".
>>
>>
>> I deleted the OUTPUT rule which denies port 80, and now it worked.
>>
>> Is it correct ? Does the SSVM wouldn´t have access to external HTTP
>> servers?
>>
>> Thank you!!
>>
>>
>> On Fri, Aug 14, 2015 at 11:02 AM, Vadim Kimlaychuk <
>> vadim.kimlayc...@elion.ee> wrote:
>>
>>> Have you tried to wget from management server or SSVM or both?  It may
>>>be
>>> a probleem with SSVM. Try to check SSVM also
>>>
>>> Vadim.
>>>
>>> -Original Message-
>>> From: Luciano Castro [mailto:luciano.cas...@gmail.com]
>>> Sent: Friday, August 14, 2015 3:49 PM
>>> To: users@cloudstack.apache.org
>>> Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS
>>>
>>> Yes, with wget is working (i took off the web proxy from the middle) ,
>>>as
>>> I said before
>>>
>>> From the manager I do wget normally:
>>>
>>> [root@1q2 ~]# wget 10.253.118.181/dsv-str-tools.qcow2
>>> --2015-08-14 12:37:49--  http://10.253.118.181/dsv-str-tools.qcow2
>>> Connecting to 10.253.118.181:80... connected.
>>> HTTP request sent, awaiting response... 200 OK
>>> Length: 20611792896 (19G) [application/octet-stream] Saving to:
>>> “dsv-str-tools.qcow2â€
>>>
>>>  0%
>>> [
>>> ] 94,175,024   112M/s  ^C
>>>
>>> And the log of nginx is ok:
>>>
>>> 10.253.118.180 - - [14/Aug/2015:11:49:38 +] "GET
>>>/dsv-str-tools.qcow2
>>> HTTP/1.1" 200 50680 "-" "Java/1.7.0_79" "-"
>>> 10.253.118.180 - - [14/Aug/2015:11:50:33 +] "GET
>>>/dsv-str-tools.qcow2
>>> HTTP/1.0" 200 214111416 "-" "Wget/1.12 (linux-gnu)" "-"
>>> 10.253.118.180 - - [14/Aug/2015:12:15:07 +] "GET
>>>/dsv-str-tools.qcow2
>>> HTTP/1.0" 200 139332352 "-" "Wget/1.12 (linux-gnu)" "-"
>>>
>>>
>>>
>>> On Fri, Aug 14, 2015 at 9:42 AM, Vadim Kimlaychuk <
>>> vadim.kimlayc...@elion.ee
>>> > wrote:
>>>
>>> > Can you try to wget URL ? May be you have error in nginx
>>>configuration?
>>> >
>>> > Vadim.
>>> >
>>> > -Original Message-
>>> > From: Luciano Castro [mailto:luciano.cas...@gmail.com]
>>> > Sent: Friday, August 14, 2015 3:40 PM
>>> > To: users@cloudstack.apache.org
>>> > Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS
>>> >
>>> > I asked this because I´m getting error with GUI.
>>> >
>>> >  I put this qcow2 image on a KVM host, and I installed a nginx for
>>> > webserver.
>>> >
>>> > After I tryed to send the volume , but the log shows me "connection
>>> > refused"
>>> >
>>> >
>>> > 2015-08-14 12:30:41,253 DEBUG [c.c.a.t.Request]
>>> > (AgentManager-Handler-9:null) Seq 11-2078692703008194575: Processing:
>>> > {
>>> > Ans: , MgmtId: 102228234536925, via: 11, Ver: v1, Flags: 10,
>>> > 
>>>[{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"206c8462-2f53
>>> > -4a70-8430-5de582438915","downloadPct":0,"errorString":"Connection
>>> >
>>> > 
>>>refused","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecSto
>>> > 
>>>rage/f53e0727-8384-3fd0-9770-560676ea5d9a/volumes/2/152/dnld6851218099
>>> > 
>>>292451394tmp_","installPath":"volumes/2/152","templateSize":0,"templat
>>> > ePhySicalSize":0,"result":true,"details":"Connection
>>> > refused","wait":0}}] }
>>> >
>>> > From the manager I do wget normally:
>>> >
>>> > [root@1q2 ~]# wget 10.253.118.181/dsv-str-tools.qcow2
>>> > --2015-08-14 12:37:49--  http://10.253.118.181/dsv-str-tools.qcow2
>>> > Connecting to 10.253.118.181:80... connected.
>>> > HTTP request sent, awaiting response... 200 OK
>>> > Length: 20611792896 (19G) [application/octet-stream] Saving to:
>>> > “dsv-str-tools.qcow2â€
>>> >
>>> >  0%
>>> > [
>>> > ] 94,175,024   112M/s  ^C
>>> >
>>> > And the log of nginx is ok:
>>> >
>>> > 10.253.118.180 - - [14/Aug/2015:11:49:38 +] "GET
>>> > /dsv-str-tools.qcow2 HTTP/1.1" 200 50680 "-" "Java/1.7.0_79" "-"
>>> > 10.253.118.180 - - [14/Aug/2015:11:50:33 +] "GET
>>> > /dsv-str-tools.qcow2 HTTP/1.0" 200 214111416 "-" "Wget/1.12
>>> (linux-gnu)" "-"
>>> > 10.253.118.180 - - [14/Aug/2015:12:15:07 +] "GET
>>> > /dsv-str-tools.qcow2 HTTP/1.0" 200 139332352 "-" "Wget/1.12
>>> (linux-gnu)" "-"
>>> >
>>> > I don´t know why I´m getting refused.
>>> >
>>> > thanks
>>> >
>>> >
>>> > On Fri, Aug 14, 2015 at 9:15 AM, Vadim Kimlaychuk <
>>> > vadim.kimlayc...@elion.ee
>>> > > wrote:
>>> >
>>> > >

Re: Register iso so slow.

2015-08-11 Thread Prashant Kumar Mishra
Check out this 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C
+Secondary+storage+troubleshooting
~prashant

On 8/12/15, 12:13 PM, "Borhan Asgharnejad"  wrote:

>Hi Vadiam
>The SSVM and CPVM is running and up.
>The status of registering iso is null, and i figure out when i try get iso
>file on SSVM by wget command (wget http://192.168.76.5/isoname.iso)
> say cannot write to 'isoname
>.iso' (No space left on device). i have
>problem to register iso could you please tell me what can i do. by the way
>i have about 400 GB free space on secondary storage.
>
>On Wed, Aug 12, 2015 at 9:45 AM, Vadim Kimlaychuk
>> wrote:
>
>> Hello Borhan,
>>
>>
>>
>> 1.   It all depends on the speed of you network, storage and size of
>> the ISO image.  If you analyze the whole process chain -- you can find
>> bottlenecks. Then you can (probably) optimize something. It is better to
>> show numbers here to be able to judge.
>>
>> 2.   Go to ISO, Zone tab, klick on zone and you will see ISO details
>> tab with downloaded % and status.
>>
>>
>>
>> Vadim.
>>
>>
>>
>> -Original Message-
>> From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com]
>> Sent: Wednesday, August 12, 2015 8:53 AM
>> To: users@cloudstack.apache.org
>> Subject: Register iso so slow.
>>
>>
>>
>> Hi All,
>>
>> 1- Could you please guide me how i increase speed of registering iso
>> template.
>>
>> 2- how could  see percentage of iso that uploaded to ssvm in cloud stack
>> 4.5.
>>



Re: resources release when deleting account or user!

2015-07-27 Thread Prashant Kumar Mishra
Yes , there are few global setting related to cleanup  set them to low
value for quick cleanup .

On 7/27/15, 12:01 PM, "gagan chhabra"  wrote:

>Hi,
>
>Does deleting an account/user-within-an-account frees all storage,
>expunges
>the VMs and releases all other resources held by the account/user ?
>
>If no, how do I free all resources in bulk
>(primary-storage/secondary-storage/CPUs etc.) held by an account?
>
>
>Gagandeep S. Chhabra



Re: Uploading Template Issue

2015-07-05 Thread Prashant Kumar Mishra
you need to copy vhd-util to hosts (Check installation guide for download
link and where to copy).

On 7/4/15, 5:44 AM, "kotipalli venkatesh" 
wrote:

>Hi Friends,
>
>I am successfully installed cloudstack setup 4.5.1. But up loading
>Template
>.vhd file when it completed 100% got this error message.
>
>
>Failed post download script: vhd-util: error while loading shared
>libraries: libuuid.so.1: cannot open shared object file: No such file or
>directoryvhd check of
>/mnt/SecStorage/33837de4-2c82-3c90-bff5-611e59bcb7f4/template/tmpl/2/221/d
>nld25684729144855520
>
>Did anyone of you faced this issue,If yes please let me know solution to
>fix issue.
>
>
>Regards,
>
>Venkatesh.k
>Red Hat Certified  Engineer.



Re: AW: system VMs on local storage

2015-05-28 Thread Prashant Kumar Mishra
1-To recreate router vm you need to stop-start any existing vm  or deploy
a new vm .
2-In case if you are changing storage(shared to local or local to share)
you need to destroy existing router vm and follow step 1.


On 5/28/15, 6:12 PM, "S. Brüseke - proIO GmbH" 
wrote:

>How do you recreate VRs?
>
>Mit freundlichen Grüßen / With kind regards,
>
>Swen Brüseke
>
>-Ursprüngliche Nachricht-
>Von: Koushik Das [mailto:koushik@citrix.com]
>Gesendet: Donnerstag, 28. Mai 2015 14:30
>An: 
>Betreff: Re: system VMs on local storage
>
>SSVM and CPVM will be started simultaneously.
>But virtual routers won't get created automatically.
>
>
>On 28-May-2015, at 5:51 PM, S. Brüseke - proIO GmbH 
> wrote:
>
>> Hi Prashant,
>> 
>> so the "only" downside is that it will take some time until CS created
>>all SystemVMs after a host crash? Will CS create SystemVMs one by one?
>> 
>> Mit freundlichen Grüßen / With kind regards,
>> 
>> Swen Brüseke
>> 
>> 
>> -Ursprüngliche Nachricht-
>> Von: Prashant Kumar Mishra [mailto:prashantkumar.mis...@citrix.com]
>> Gesendet: Donnerstag, 28. Mai 2015 14:12
>> An: users@cloudstack.apache.org
>> Betreff: Re: AW: system VMs on local storage
>> 
>> Yes , if your zone is in enabled state and system vm went down , CS
>>will try to bring them up on shared/local storage depend on current
>>system.vm.use.local.storage settings .
>> 
>> On 5/28/15, 5:19 PM, "S. Brüseke - proIO GmbH" 
>> wrote:
>> 
>>> Hi Glenn,
>>> 
>>> will CS create the SystemVMs after a XenServer failure automatically?
>>> We do not want to use shared storage at all.
>>> 
>>> Mit freundlichen Grüßen / With kind regards,
>>> 
>>> Swen Brüseke
>>> 
>>> 
>>> -Ursprüngliche Nachricht-
>>> Von: Glenn Wagner [mailto:glenn.wag...@shapeblue.com]
>>> Gesendet: Donnerstag, 28. Mai 2015 11:13
>>> An: users@cloudstack.apache.org; S. Brüseke - proIO GmbH
>>> Betreff: RE: system VMs on local storage
>>> 
>>> Hi,
>>> 
>>> I honestly would not put the System VM's on local Storage on a
>>> Production environment, if you have a Xenserver failure the System
>>> VM's will go down, You will need to recreate them causing downtime.
>>> 
>>> 
>>> Glenn Wagner
>>> Senior Consultant, South Africa
>>> 
>>> 
>>> 
>>> Phone: +27 21 527 0091 | Mobile: +27 73 917 4111
>>> 
>>> glenn.wag...@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
>>> ShapeBlue SA (Pty) Ltd, 2nd Floor, Oudehuis Centre, 122 Main Rd,
>>> Somerset West, Cape Town 7130
>>> 
>>> -Original Message-
>>> From: S. Brüseke - proIO GmbH [mailto:s.brues...@proio.com]
>>> Sent: 28 May 2015 10:58 AM
>>> To: users@cloudstack.apache.org
>>> Subject: system VMs on local storage
>>> 
>>> Hi,
>>> 
>>> we are thinking about to use only local storage in our CS installation.
>>> We are using XenServer 6.2 SP1 as hypervisor.
>>> What about System VMs? Is it okay to change
>>>"system.vm.use.local.storage"
>>> to "true" and then migrate all System VMs and Router VMs to local
>>>storage?
>>> Is it wise to put System VMs on local storage?
>>> 
>>> Thank for sharing your experience!
>>> 
>>> 
>>> Mit freundlichen Grüßen / With kind regards,
>>> 
>>> Swen Brüseke
>>> 
>>> 
>>> 
>>> - proIO GmbH -
>>> Geschäftsführer: Swen Brüseke
>>> Sitz der Gesellschaft: Frankfurt am Main
>>> 
>>> USt-IdNr. DE 267 075 918
>>> Registergericht: Frankfurt am Main - HRB 86239
>>> 
>>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>>> Informationen.
>>> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
>>> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender
>>> und vernichten Sie diese Mail.
>>> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail
>>> sind nicht gestattet.
>>> 
>>> This e-mail may contain confidential and/or privileged information.
>>> If you are not the intended recipient (or have received this e-mail
>>> in
>>> error) please notify the sender immediately and destroy this e-mail.
>>> Any unauthorized copying, disclosure or distribution of 

Re: AW: system VMs on local storage

2015-05-28 Thread Prashant Kumar Mishra
Yes , if your zone is in enabled state and system vm went down , CS will
try to bring them up on shared/local storage depend on current
system.vm.use.local.storage settings .

On 5/28/15, 5:19 PM, "S. Brüseke - proIO GmbH" 
wrote:

>Hi Glenn,
>
>will CS create the SystemVMs after a XenServer failure automatically?
>We do not want to use shared storage at all.
>
>Mit freundlichen Grüßen / With kind regards,
>
>Swen Brüseke
>
>
>-Ursprüngliche Nachricht-
>Von: Glenn Wagner [mailto:glenn.wag...@shapeblue.com]
>Gesendet: Donnerstag, 28. Mai 2015 11:13
>An: users@cloudstack.apache.org; S. Brüseke - proIO GmbH
>Betreff: RE: system VMs on local storage
>
>Hi,
>
>I honestly would not put the System VM's on local Storage on a Production
>environment, if you have a Xenserver failure the System VM's will go
>down, You will need to recreate them causing downtime.
>
>
>Glenn Wagner
>Senior Consultant, South Africa
>
>
>
>Phone: +27 21 527 0091 | Mobile: +27 73 917 4111
>
>glenn.wag...@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
>ShapeBlue SA (Pty) Ltd, 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset
>West, Cape Town 7130
>
>-Original Message-
>From: S. Brüseke - proIO GmbH [mailto:s.brues...@proio.com]
>Sent: 28 May 2015 10:58 AM
>To: users@cloudstack.apache.org
>Subject: system VMs on local storage
>
>Hi,
>
>we are thinking about to use only local storage in our CS installation.
>We are using XenServer 6.2 SP1 as hypervisor.
>What about System VMs? Is it okay to change "system.vm.use.local.storage"
>to "true" and then migrate all System VMs and Router VMs to local storage?
>Is it wise to put System VMs on local storage?
>
>Thank for sharing your experience!
>
>
>Mit freundlichen Grüßen / With kind regards,
>
>Swen Brüseke
>
>
>
>- proIO GmbH -
>Geschäftsführer: Swen Brüseke
>Sitz der Gesellschaft: Frankfurt am Main
>
>USt-IdNr. DE 267 075 918
>Registergericht: Frankfurt am Main - HRB 86239
>
>Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>Informationen.
>Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
>erhalten haben, informieren Sie bitte sofort den Absender und vernichten
>Sie diese Mail.
>Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind
>nicht gestattet.
>
>This e-mail may contain confidential and/or privileged information.
>If you are not the intended recipient (or have received this e-mail in
>error) please notify the sender immediately and destroy this e-mail.
>Any unauthorized copying, disclosure or distribution of the material in
>this e-mail is strictly forbidden.
>
>
>Find out more about ShapeBlue and our range of CloudStack related services
>
>IaaS Cloud Design &
>BuildtTedR7-uxNmPD5eRyhs9cqh-RJ__Q9a5GlyOpZv6fZdddcg0OzTeAwpLrvQxK3BIQGTeesvIvS
>r6VYLK_-KkXUlV6J6lRwaLZDlCKv8EvEQgDo2tz7k-MM84I94oI3Vj1Gb24JeHSV6g38nwpANW
>JekyS/http%3A%2F%2Fshapeblue.com%2Fiaas-cloud-design-and-build%2F%2F>
>CSForge ­ rapid IaaS deployment
>framework_3GRCRkgV7i8PzG1Y5Y0XmXhnvTaXXy-lPJKaS0bZGnLc40yXglmoSo5ETEKKOW0Zr45ZFTXao
>QtOF6JrMMKIF-EzLy4LLsb0my3uHt6xrUlvPspMsY47e-7AZO1uxdrRrM5vYNpmrj3JHkDsn1k
>0beubo5Mp/http%3A%2F%2Fshapeblue.com%2Fcsforge%2F>
>CloudStack 
>ConsultingU7I1pHQCnxmKmrAuRwp6qoIHRQdQc0Vu7Ql1RGVb1BkO8dyTricX8p7w-wN9nuDcecE-FgEXte
>7pF9ddfZV_BRO4y2RkbMp8fe05TFRNmzoNQITeQZ2ztjU-5EgAk20qetQZeqxfE3Kqrt4HdC2a
>kdrUI6Ph4E/http%3A%2F%2Fshapeblue.com%2Fcloudstack-consultancy%2F>
>CloudStack Software
>Engineering9ILB39CNDFAq5H-DCSgHcURR69gu2YvPgsr9bqqP0hwMbT6GvRBkWyLkqLsQgCjr3O25isxzcL
>3qWrozWWCUinjhJ4YBwN_pUS0qJlDHWgY7FPfhDjveaY4Olo9W8jv7--bIrlsf9ESbyRbgNmmN
>tectVP5i2ul/http%3A%2F%2Fshapeblue.com%2Fcloudstack-software-engineering%2
>F>
>CloudStack Infrastructure
>SupportDWdCS0BL8x8yBi-alFE2EusPeJprg6GZHUQ6026IYhBpZeDfmLUQlANyN70XBbXFhZ23Yxe17v
>qDRu-fbzcpExdZirjsp3I5SWOY5b7Nzn-kVjSgHa5sGlcJUtUZrVkRghl7yHAxqSVODAhebnpy
>TkPXE8w/http%3A%2F%2Fshapeblue.com%2Fcloudstack-infrastructure-support%2F>
>CloudStack Bootcamp Training
>Coursesy6Kf9wggW63JYjZWebwZwBf_iOZo-DQyrWy6VFGIMFzJNEUnH8IPoV7itBSAn7wvG2BlPkH2om
>pe0tdiXuU2_kOCGoyT4DJSAzECe3HirB_H_3A3IKQYUIXLtJFevlLHe4OEbXGtizArkn-OHejk
>OcjCgIb/http%3A%2F%2Fshapeblue.com%2Fcloudstack-training%2F>
>
>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,

Re: Routing Feature while registering template.

2015-05-05 Thread Prashant Kumar Mishra
Sadly there is no account level setting for this  , only way is to change
GS after account creation to empty and restart ms

On 5/4/15, 11:38 PM, "raja sekhar"  wrote:

>but this will effect every account in cloudstack, is there any account
>level setting in order to dedicate this router to a particular account.
>
>Regards,
>Rajasekhar.
>
>On Mon, May 4, 2015 at 11:05 AM, raja sekhar 
>wrote:
>
>> hi prasanth,
>>
>> thanks for your reply.
>> now i am getting router from an uploaded template.
>>
>>
>> Regards,
>> Rajasekhar.
>>
>> On Fri, May 1, 2015 at 5:24 AM, Prashant Kumar Mishra <
>> prashantkumar.mis...@citrix.com> wrote:
>>
>>> Which template r u using ? ,Try with  default system vm template. After
>>> registering  go to global settings and search for router.template
>>>,depend
>>> on hypervisor update the setting with template id/uuid .
>>>
>>> prashant
>>>
>>> On 5/1/15, 12:44 PM, "raja sekhar"  wrote:
>>>
>>> >Hi all,
>>> >
>>> >while we are uploading template,there is a feature called
>>>"Routing",when
>>> >it
>>> >is checked it is showing "check this if the template is used for
>>> deploying
>>> >router".
>>> >but i am unable to deploy router from that template.
>>> > can any one tell me how to use this feature?
>>> > Is there any possibility to use our own router instead of using
>>> >cloudstack
>>> >router?
>>> >please tell me the procedure how to use this in cs 4.4.3.
>>> >
>>> >Regards,
>>> >Rajasekhar.
>>>
>>>
>>



Re: Routing Feature while registering template.

2015-05-01 Thread Prashant Kumar Mishra
Which template r u using ? ,Try with  default system vm template. After
registering  go to global settings and search for router.template ,depend
on hypervisor update the setting with template id/uuid .

prashant

On 5/1/15, 12:44 PM, "raja sekhar"  wrote:

>Hi all,
>
>while we are uploading template,there is a feature called "Routing",when
>it
>is checked it is showing "check this if the template is used for deploying
>router".
>but i am unable to deploy router from that template.
> can any one tell me how to use this feature?
> Is there any possibility to use our own router instead of using
>cloudstack
>router?
>please tell me the procedure how to use this in cs 4.4.3.
>
>Regards,
>Rajasekhar.



Re: CPVM and SSVM certificate not working

2015-04-22 Thread Prashant Kumar Mishra
To rule out  DNS issues try resolving ips  locally on ssvm,cpvm.

On 4/22/15, 7:59 PM, "Andrija Panic"  wrote:

>did you create all DNS records aaa-bbb-ccc-ddd.yourdomain.com ?
>wild card SSL - any ROOT CA and Intermediate CA uploaded also ?
>
>On 22 April 2015 at 15:52, Sonali Jadhav 
>wrote:
>
>> Hi,
>>
>> I have installed certificate for CPVM and SSVM as per this
>> http://support.citrix.com/article/CTX133468 or
>> 
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Repla
>>ce+realhostip.com+with+Your+Own+Domain+Name
>>
>> Now problem is, its giving error that server not found ?
>> I don't see errors in mgmt. logs, nothing in cpvm logs as well.
>> Its weird, Any suggestion ?
>> /Sonali
>>
>
>
>
>-- 
>
>Andrija Panić



Re: unable to start CS4.5-RC4

2015-03-13 Thread Prashant Kumar Mishra
This is common exception(I see this exception every time I restart my ms
and ms works fine)   , should not be the reason .

On 3/13/15, 9:53 PM, "d...@soleks.com"  wrote:

>Encountered IOException
>java.io.IOException: Stream closed
> at 
>java.util.zip.ZipInputStream.ensureOpen(ZipInputStream.java:66)
> at 
>java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:115)
> at 
>java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)
> at  
>java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)
> at  
>org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getFromJARF
>ile(OnwireClassRegistry.java:162)
> at  
>org.apache.cloudstack.framework.serializer.OnwireClassRegistry.getClasses(
>OnwireClassRegistry.java:119)



Re: no operation available on template

2015-03-12 Thread Prashant Kumar Mishra
Stoping-starting secondary storage vm should update ur template state .

On 3/12/15, 3:31 PM, "Sonali Jadhav"  wrote:

>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: Primary storage limit issue

2015-02-20 Thread Prashant Kumar Mishra


On 2/20/15, 10:46 AM, "Sonali Jadhav"  wrote:

>Anyone  help?
>
>/Sonali
>
>-Original Message-
>From: Sonali Jadhav [mailto:son...@servercentralen.se]
>Sent: Thursday, February 19, 2015 10:34 AM
>To: users@cloudstack.apache.org
>Subject: RE: Primary storage limit issue
>
>Hi,
>
>Yes, in resource_count table, I found this ,
>
>mysql> select * from resource_count where domain_id=3;
>+-++---+---+-+
>| id  | account_id | domain_id | type  | count   |
>+-++---+---+-+
>| 113 |   NULL | 3 | user_vm   |   0 |
>| 114 |   NULL | 3 | public_ip |   0 |
>| 115 |   NULL | 3 | volume|   0 |
>| 116 |   NULL | 3 | snapshot  |   0 |
>| 117 |   NULL | 3 | template  |   0 |
>| 118 |   NULL | 3 | project   |   0 |
>| 119 |   NULL | 3 | network   |   0 |
>| 120 |   NULL | 3 | vpc   |   0 |
>| 121 |   NULL | 3 | cpu   |   0 |
>| 122 |   NULL | 3 | memory|   0 |
>| 123 |   NULL | 3 | primary_storage   | 65498251264 |
>| 124 |   NULL | 3 | secondary_storage |   0 |
>+-++---+---+-+
>
>So then I logged into same domain from UI, and in "Domains" section
>clicked on "update resource count". After which in resource_count table
>"primary_storage" table value went back to zero. Is this a bug ?
>Because such way every time domain admin has to update resource count to
>do actual reset.

>>There should be a bug on this (check jira):After  release of resource
>>resource_count table should be updated accordingly
>
>2nd Bug, I have observed, I had set primary storage limit on domain to
>40GB, On account there is no limit defined. From domain admin login when
>I try to create first instance, I can add disk of any size, e.g. I gave
>200GB disk and it created instance without any error. But when I try to
>add more disk or new instance with nay disk size it gives error, that
>resource limit is exceeded.
>
>So how come domain admin can create 200GB primary storage instance when
>limit is set to 40GB ?

>>>Again it is an issue please open a ticket.
>In what priorities resource count limits are  considered by cloudstack ?
>I thought it was  1. global settings,  2. Domain,  3.  Account,  4.
>Project
>
>
>/Sonali
>
>-Original Message-
>From: Prashant Kumar Mishra [mailto:prashantkumar.mis...@citrix.com]
>Sent: Thursday, February 19, 2015 10:15 AM
>To: users@cloudstack.apache.org
>Subject: Re: Primary storage limit issue
>
>Since volumes are expunged , Only possibility  is resource_count table ,
>please update the primary storage count to zero (seems a bug to me).
>
>On 2/18/15, 8:08 PM, "Somesh Naidu"  wrote:
>
>>Have you looked at the resource_count table?
>>
>>Can you try updating resource count (UI/API) to see if that fixes the
>>issue.
>>
>>Regards,
>>Somesh
>>
>>-Original Message-
>>From: Sonali Jadhav [mailto:son...@servercentralen.se]
>>Sent: Wednesday, February 18, 2015 8:05 AM
>>To: users@cloudstack.apache.org
>>Subject: RE: Primary storage limit issue
>>
>>Hi,
>>
>>Yes capacity checker is running.
>>
>>mysql> select
>>domain_id,name,recreatable,created,attached,updated,removed,state from
>>volumes;
>>+---+---+-+-+
>>-
>>-+-+-+--+
>>| domain_id | name  | recreatable | created |
>>attached | updated | removed | state| Size |
>>+---+---+-+-+
>>-
>>-+-+-+--+
>>| 3 | ROOT-16   |   0 | 2015-02-18 08:29:34 |
>>NULL | 2015-02-18 08:42:40 | 2015-02-18 08:42:40 | Expunged |
>>21474836480 |
>>| 3 | ROOT-17   |   1 | 2015-02-18 08:28:18 |
>>NULL | 2015-02-18 13:00:07 | 2015-02-18 13:00:07 | Expunged |
>>262144 |
>>| 3 | ROOT-18   |   0 | 2015-02-18 08:56:07 |
>>NULL | 2015-02-18 09:07:25 | 2015-02-18 09:07:25 | Expunged |
>>44023414784 |
>>
>>
>

Re: Primary storage limit issue

2015-02-18 Thread Prashant Kumar Mishra
Since volumes are expunged , Only possibility  is resource_count table ,
please update the primary storage count to zero (seems a bug to me).

On 2/18/15, 8:08 PM, "Somesh Naidu"  wrote:

>Have you looked at the resource_count table?
>
>Can you try updating resource count (UI/API) to see if that fixes the
>issue.
>
>Regards,
>Somesh
>
>-Original Message-
>From: Sonali Jadhav [mailto:son...@servercentralen.se]
>Sent: Wednesday, February 18, 2015 8:05 AM
>To: users@cloudstack.apache.org
>Subject: RE: Primary storage limit issue
>
>Hi,
>
>Yes capacity checker is running.
>
>mysql> select 
>domain_id,name,recreatable,created,attached,updated,removed,state from
>volumes;
>+---+---+-+-+-
>-+-+-+--+
>| domain_id | name  | recreatable | created |
>attached | updated | removed | state| Size |
>+---+---+-+-+-
>-+-+-+--+
>| 3 | ROOT-16   |   0 | 2015-02-18 08:29:34 |
>NULL | 2015-02-18 08:42:40 | 2015-02-18 08:42:40 | Expunged |
>21474836480 |
>| 3 | ROOT-17   |   1 | 2015-02-18 08:28:18 |
>NULL | 2015-02-18 13:00:07 | 2015-02-18 13:00:07 | Expunged |
>262144 |
>| 3 | ROOT-18   |   0 | 2015-02-18 08:56:07 |
>NULL | 2015-02-18 09:07:25 | 2015-02-18 09:07:25 | Expunged |
>44023414784 |
>
>
>Above are the only 3 values I could find in volumes tables for domain id
>3.
>And still I am getting error that " Maximum number of resources of type
>'primary_storage' for domain id=3 has been exceeded"
>
>
>
>/Sonali
>
>-Original Message-
>From: Prashant Kumar Mishra [mailto:prashantkumar.mis...@citrix.com]
>Sent: Wednesday, February 18, 2015 5:43 PM
>To: users@cloudstack.apache.org
>Subject: Re: Primary storage limit issue
>
>1-Capacity checkers is  running  ( can be found in global settings)  ?
>
>2- Check volumes  table if there are some volume in which are not
>destroyed .
>
>
>Thanks
>prashant
>
>From: Sonali Jadhav
>mailto:son...@servercentralen.se>>
>Reply-To: 
>"users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>"
>mailto:users@cloudstack.apache.org>>
>Date: Wednesday, February 18, 2015 at 3:17 PM
>To: "users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>"
>mailto:users@cloudstack.apache.org>>
>Subject: Primary storage limit issue
>
>Forgot attachment, sending mail again. :)
>
>/Sonali
>
>From: Sonali Jadhav
>Sent: Wednesday, February 18, 2015 3:15 PM
>To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
>Subject: Primary storage limit issue
>
>Hi,
>
>I have strange issue with resource limits set on sub-domain.
>I was doing some tests for checking resource limitation behavior on
>sub-domain, a/c and project.
>
>For account , I didn't set any limits. Instead I set limits on
>sub-domain. But this specific Primary storage limit(40GB) acted weird.
>At first in sub-domain, I created new instance (without project), and
>assigned 41 GB, and it successfully created VM. Then I deleted that VM
>with Expunge option enabled, and tried to create vm again with disk size
>42, which failed with error "Maximum number of resources of type
>'primary_storage' for domain id=3 has been exceeded"
>Then I gave disk size to 39GB, that also failed with same error. And now
>if I create any disk size its failing. There are no instances or volumes
>under that sub-domain.
>What could be the problem ?
>
>Have a look at attached log file.
>
>Thanks,
>/Sonali
>
>
>
>



Re: Primary storage limit issue

2015-02-18 Thread Prashant Kumar Mishra
1-Capacity checkers is  running  ( can be found in global settings)  ?

2- Check volumes  table if there are some volume in which are not destroyed .


Thanks
prashant

From: Sonali Jadhav 
mailto:son...@servercentralen.se>>
Reply-To: "users@cloudstack.apache.org" 
mailto:users@cloudstack.apache.org>>
Date: Wednesday, February 18, 2015 at 3:17 PM
To: "users@cloudstack.apache.org" 
mailto:users@cloudstack.apache.org>>
Subject: Primary storage limit issue

Forgot attachment, sending mail again. :)

/Sonali

From: Sonali Jadhav
Sent: Wednesday, February 18, 2015 3:15 PM
To: users@cloudstack.apache.org
Subject: Primary storage limit issue

Hi,

I have strange issue with resource limits set on sub-domain.
I was doing some tests for checking resource limitation behavior on sub-domain, 
a/c and project.

For account , I didn’t set any limits. Instead I set limits on sub-domain. But 
this specific Primary storage limit(40GB) acted weird.
At first in sub-domain, I created new instance (without project), and assigned 
41 GB, and it successfully created VM. Then I deleted that VM with Expunge 
option enabled, and tried to create vm again with disk size 42, which failed 
with error “Maximum number of resources of type 'primary_storage' for domain 
id=3 has been exceeded”
Then I gave disk size to 39GB, that also failed with same error. And now if I 
create any disk size its failing. There are no instances or volumes under that 
sub-domain.
What could be the problem ?

Have a look at attached log file.

Thanks,
/Sonali




Re: Job failed due to exception Unable to create a deployment for VM[User|i-2-192-VM] - ACS 4.4.1 XenServer 6.2

2015-02-17 Thread Prashant Kumar Mishra
What is overcommit on your MS is it is >1 (setting at cluster level if no
setting at cluster level check global setting ) please make it 1 and try
to strat

On 2/18/15, 10:31 AM, "Prashant Kumar Mishra"
 wrote:

>As you said there is not much in MS logs , I could see only ³The VM is in
>stopped state, detected problem during startup : i-2-192-VM²
>
>I think you should look into host logs.
>`prashant
>
>On 2/18/15, 4:05 AM, "Motty Cruz"  wrote:
>
>>Hello, I am unable to start VM in Cloudstack, I get a very generic
>>error, unable to create deployment. I was working, however I need to
>>detach a 2nd disk. I shutdown the VM, detach the 2nd Disk, restart the
>>VM. however, am unable to restart now. please help!
>>
>>Job failed due to exception Unable to create a deployment for
>>VM[User|i-2-192-VM]
>>here is the logs: http://pastebin.com/raw.php?i=6RjTSduU
>>
>>
>>-Motty
>>
>



Re: Job failed due to exception Unable to create a deployment for VM[User|i-2-192-VM] - ACS 4.4.1 XenServer 6.2

2015-02-17 Thread Prashant Kumar Mishra
As you said there is not much in MS logs , I could see only ³The VM is in
stopped state, detected problem during startup : i-2-192-VM²

I think you should look into host logs.
`prashant

On 2/18/15, 4:05 AM, "Motty Cruz"  wrote:

>Hello, I am unable to start VM in Cloudstack, I get a very generic
>error, unable to create deployment. I was working, however I need to
>detach a 2nd disk. I shutdown the VM, detach the 2nd Disk, restart the
>VM. however, am unable to restart now. please help!
>
>Job failed due to exception Unable to create a deployment for
>VM[User|i-2-192-VM]
>here is the logs: http://pastebin.com/raw.php?i=6RjTSduU
>
>
>-Motty
>



Re: Unable to Cancel Maintenance mode after upgrading to from ACS 4.3.2 to 4.4.2

2015-02-04 Thread Prashant Kumar Mishra
Please open a ticket
~prashant

On 2/4/15, 4:14 PM, "Andrei Mikhailovsky"  wrote:

>Prashant, 
>
>Yes, this is what I've done yesterday. I've change the resource_state to
>Enable, just like the other hosts and done a force reconnect. However,
>this was not enough. I also had to restart the agent on the host side for
>things to be back to normal. After that I could successfully run vms on
>the host and do live migration.
>
>After that I've tried to put the host in and out of Maintenance once
>again. Same problem. Can't cancel the Maintenance mode. Seems like a bug.
>Should I open a ticket?
>
>Andrei 
>
>- Original Message -
>
>> From: "Prashant Kumar Mishra" 
>> To: users@cloudstack.apache.org
>> Sent: Wednesday, 4 February, 2015 9:18:39 AM
>> Subject: Re: Unable to Cancel Maintenance mode after upgrading to
>> from ACS 4.3.2 to 4.4.2
>
>> Seems a bug ,since host went in maintenance mode there is minimal
>> chance
>> for this but still good to check vm_instance table if some vm stuck
>> on
>> this host .
>
>> This should help, you can modify host table in cloud DB , update
>> resource_State = Up and then do a force reconnect .
>
>> ~prashant
>
>> On 2/4/15, 2:06 PM, "Andrei Mikhailovsky"  wrote:
>
>> >Prashant,
>> >
>> >the resource_state shows Maintenance
>> >
>> >Andrei
>> >
>> >- Original Message -
>> >
>> >> From: "Prashant Kumar Mishra" 
>> >> To: users@cloudstack.apache.org
>> >> Sent: Wednesday, 4 February, 2015 6:32:20 AM
>> >> Subject: Re: Unable to Cancel Maintenance mode after upgrading to
>> >> from ACS 4.3.2 to 4.4.2
>> >
>> >> Can you check host table , for the host current state, is it in
>> >> some
>> >> transition state.
>> >
>> >> ~prashant
>> >
>> >> On 2/4/15, 5:28 AM, "Andrei Mikhailovsky" 
>> >> wrote:
>> >
>> >> >Hello guys,
>> >> >
>> >> >I have found another problem with ACS 4.4.2, which is pretty
>> >> >serious
>> >> >imho. I am no longer able to Cancel Maintenance mode. The GUI
>> >> >shows
>> >> >the
>> >> >following error a few seconds after pressing the button:
>> >> >
>> >> >Command failed due to Internal Server Error
>> >> >
>> >> >The management server shows the following error:
>> >> >
>> >> >2015-02-03 23:42:15,621 DEBUG [c.c.a.ApiServlet]
>> >> >(catalina-exec-23:ctx-04ea4b6d ctx-35701ff3) ===END===
>> >> >192.168.169.91 --
>> >> >GET
>> >>
>> 
>>>>>command=cancelHostMaintenance&id=c092cb59-c770-4747-8d95-75aa49de5d17&
>>>>>re
>> >>>sp
>> >> 
>>>onse=json&sessionkey=fI2oaYTbgijs1h6HTOTMnJ%2FkChA%3D&_=1423006935464
>> >> >2015-02-03 23:42:15,622 INFO [o.a.c.f.j.i.AsyncJobMonitor]
>> >> >(API-Job-Executor-1:ctx-1fda9d17 job-11711) Add job-11711 into
>> >> >job
>> >> >monitoring
>> >> >2015-02-03 23:42:15,623 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
>> >> >(API-Job-Executor-1:ctx-1fda9d17 job-11711) Executing AsyncJobVO
>> >> >{id:11711, userId: 3, accountId: 2, instanceType: Host,
>> >> >instanceId:
>> >> >1,
>> >> >cmd:
>> >> >org.apache.cloudstack.api.command.admin.host.CancelMaintenanceCmd,
>> >> >cmdInfo:
>> >>
>> 
>>>>>{"id":"c092cb59-c770-4747-8d95-75aa49de5d17","response":"json","sessio
>>>>>nk
>> >>>ey
>> >>
>> 
>>>>>":"fI2oaYTbgijs1h6HTOTMnJ/kChA\u003d","ctxDetails":"{\"com.cloud.host.
>>>>>Ho
>> >>>st
>> >>
>> 
>>>>>\":\"c092cb59-c770-4747-8d95-75aa49de5d17\"}","cmdEventType":"MAINT.CA
>>>>>NC
>> >>>EL
>> >>
>> 
>>>>>","ctxUserId":"3","httpmethod":"GET","_":"1423006935464","uuid":"c092c
>>>>>b5
>> >>>9-
>> >>
>> 
>>>>>c770-4747-8d95-75aa49de5d17","ctxAccountId"

Re: Unable to Cancel Maintenance mode after upgrading to from ACS 4.3.2 to 4.4.2

2015-02-04 Thread Prashant Kumar Mishra
Seems a bug ,since host went in maintenance mode there is minimal chance
for this but still good to check   vm_instance table if some vm stuck on
this host  .

This should help, you can modify host table in cloud DB , update
resource_State = Up and then do a force reconnect .

~prashant

On 2/4/15, 2:06 PM, "Andrei Mikhailovsky"  wrote:

>Prashant, 
>
>the resource_state shows Maintenance
>
>Andrei 
>
>- Original Message -----
>
>> From: "Prashant Kumar Mishra" 
>> To: users@cloudstack.apache.org
>> Sent: Wednesday, 4 February, 2015 6:32:20 AM
>> Subject: Re: Unable to Cancel Maintenance mode after upgrading to
>> from ACS 4.3.2 to 4.4.2
>
>> Can you check host table , for the host current state, is it in some
>> transition state.
>
>> ~prashant
>
>> On 2/4/15, 5:28 AM, "Andrei Mikhailovsky"  wrote:
>
>> >Hello guys,
>> >
>> >I have found another problem with ACS 4.4.2, which is pretty serious
>> >imho. I am no longer able to Cancel Maintenance mode. The GUI shows
>> >the
>> >following error a few seconds after pressing the button:
>> >
>> >Command failed due to Internal Server Error
>> >
>> >The management server shows the following error:
>> >
>> >2015-02-03 23:42:15,621 DEBUG [c.c.a.ApiServlet]
>> >(catalina-exec-23:ctx-04ea4b6d ctx-35701ff3) ===END===
>> >192.168.169.91 --
>> >GET
>> 
>>>command=cancelHostMaintenance&id=c092cb59-c770-4747-8d95-75aa49de5d17&re
>>>sp
>> >onse=json&sessionkey=fI2oaYTbgijs1h6HTOTMnJ%2FkChA%3D&_=1423006935464
>> >2015-02-03 23:42:15,622 INFO [o.a.c.f.j.i.AsyncJobMonitor]
>> >(API-Job-Executor-1:ctx-1fda9d17 job-11711) Add job-11711 into job
>> >monitoring
>> >2015-02-03 23:42:15,623 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
>> >(API-Job-Executor-1:ctx-1fda9d17 job-11711) Executing AsyncJobVO
>> >{id:11711, userId: 3, accountId: 2, instanceType: Host, instanceId:
>> >1,
>> >cmd:
>> >org.apache.cloudstack.api.command.admin.host.CancelMaintenanceCmd,
>> >cmdInfo:
>> 
>>>{"id":"c092cb59-c770-4747-8d95-75aa49de5d17","response":"json","sessionk
>>>ey
>> 
>>>":"fI2oaYTbgijs1h6HTOTMnJ/kChA\u003d","ctxDetails":"{\"com.cloud.host.Ho
>>>st
>> 
>>>\":\"c092cb59-c770-4747-8d95-75aa49de5d17\"}","cmdEventType":"MAINT.CANC
>>>EL
>> 
>>>","ctxUserId":"3","httpmethod":"GET","_":"1423006935464","uuid":"c092cb5
>>>9-
>> 
>>>c770-4747-8d95-75aa49de5d17","ctxAccountId":"2","ctxStartEventId":"64857
>>>"}
>> >, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode:
>> >0,
>> >result: null, initMsid: 115129173025114, completeMsid: null,
>> >lastUpdated:
>> >null, lastPolled: null, created: null}
>> >2015-02-03 23:42:15,646 ERROR [c.c.a.ApiAsyncJobDispatcher]
>> >(API-Job-Executor-1:ctx-1fda9d17 job-11711) Unexpected exception
>> >while
>> >executing
>> >org.apache.cloudstack.api.command.admin.host.CancelMaintenanceCmd
>> >java.lang.NullPointerException
>> >at
>> 
>>>com.cloud.resource.ResourceManagerImpl.doCancelMaintenance(ResourceManag
>>>er
>> >Impl.java:2083)
>> >at
>> 
>>>com.cloud.resource.ResourceManagerImpl.cancelMaintenance(ResourceManager
>>>Im
>> >pl.java:2140)
>> >at
>> 
>>>com.cloud.resource.ResourceManagerImpl.cancelMaintenance(ResourceManager
>>>Im
>> >pl.java:1127)
>> >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >at
>> 
>>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
>>>a:
>> >57)
>> >at
>> 
>>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
>>>Im
>> >pl.java:43)
>> >at java.lang.reflect.Method.invoke(Method.java:606)
>> >at
>> 
>>>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(
>>>Ao
>> >pUtils.java:317)
>> >at
>> 
>>>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinp
>>>oi
>> >nt(ReflectiveMethodInvocation.java:183)
>> >at
>> 
>>>org.springframework.aop.framework.Reflect

Re: Unable to Cancel Maintenance mode after upgrading to from ACS 4.3.2 to 4.4.2

2015-02-03 Thread Prashant Kumar Mishra
Can you check host table , for the host current state, is it in some
transition state.


~prashant

On 2/4/15, 5:28 AM, "Andrei Mikhailovsky"  wrote:

>Hello guys, 
>
>I have found another problem with ACS 4.4.2, which is pretty serious
>imho. I am no longer able to Cancel Maintenance mode. The GUI shows the
>following error a few seconds after pressing the button:
>
>Command failed due to Internal Server Error
>
>The management server shows the following error:
>
>2015-02-03 23:42:15,621 DEBUG [c.c.a.ApiServlet]
>(catalina-exec-23:ctx-04ea4b6d ctx-35701ff3) ===END=== 192.168.169.91 --
>GET 
>command=cancelHostMaintenance&id=c092cb59-c770-4747-8d95-75aa49de5d17&resp
>onse=json&sessionkey=fI2oaYTbgijs1h6HTOTMnJ%2FkChA%3D&_=1423006935464
>2015-02-03 23:42:15,622 INFO [o.a.c.f.j.i.AsyncJobMonitor]
>(API-Job-Executor-1:ctx-1fda9d17 job-11711) Add job-11711 into job
>monitoring 
>2015-02-03 23:42:15,623 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
>(API-Job-Executor-1:ctx-1fda9d17 job-11711) Executing AsyncJobVO
>{id:11711, userId: 3, accountId: 2, instanceType: Host, instanceId: 1,
>cmd: org.apache.cloudstack.api.command.admin.host.CancelMaintenanceCmd,
>cmdInfo: 
>{"id":"c092cb59-c770-4747-8d95-75aa49de5d17","response":"json","sessionkey
>":"fI2oaYTbgijs1h6HTOTMnJ/kChA\u003d","ctxDetails":"{\"com.cloud.host.Host
>\":\"c092cb59-c770-4747-8d95-75aa49de5d17\"}","cmdEventType":"MAINT.CANCEL
>","ctxUserId":"3","httpmethod":"GET","_":"1423006935464","uuid":"c092cb59-
>c770-4747-8d95-75aa49de5d17","ctxAccountId":"2","ctxStartEventId":"64857"}
>, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
>result: null, initMsid: 115129173025114, completeMsid: null, lastUpdated:
>null, lastPolled: null, created: null}
>2015-02-03 23:42:15,646 ERROR [c.c.a.ApiAsyncJobDispatcher]
>(API-Job-Executor-1:ctx-1fda9d17 job-11711) Unexpected exception while
>executing 
>org.apache.cloudstack.api.command.admin.host.CancelMaintenanceCmd
>java.lang.NullPointerException
>at 
>com.cloud.resource.ResourceManagerImpl.doCancelMaintenance(ResourceManager
>Impl.java:2083) 
>at 
>com.cloud.resource.ResourceManagerImpl.cancelMaintenance(ResourceManagerIm
>pl.java:2140) 
>at 
>com.cloud.resource.ResourceManagerImpl.cancelMaintenance(ResourceManagerIm
>pl.java:1127) 
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>57) 
>at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:43) 
>at java.lang.reflect.Method.invoke(Method.java:606)
>at 
>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>pUtils.java:317) 
>at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>nt(ReflectiveMethodInvocation.java:183)
>at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:150)
>at 
>org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Exp
>oseInvocationInterceptor.java:91)
>at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>at 
>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>roxy.java:204) 
>at com.sun.proxy.$Proxy148.cancelMaintenance(Unknown Source)
>at 
>org.apache.cloudstack.api.command.admin.host.CancelMaintenanceCmd.execute(
>CancelMaintenanceCmd.java:102)
>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
>at 
>com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
> 
>at 
>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInConte
>xt(AsyncJobManagerImpl.java:503)
>at 
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
>ContextRunnable.java:49)
>at 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>faultManagedContext.java:56)
>at 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>ontext(DefaultManagedContext.java:103)
>at 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>ntext(DefaultManagedContext.java:53)
>at 
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
>ntextRunnable.java:46)
>at 
>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJ
>obManagerImpl.java:460)
>at 
>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>at 
>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
>1145) 
>at 
>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>:615) 
>at java.lang.Thread.run(Thread.java:745)
>2015-02-03 23:42:15,648 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
>(API-Job-Executor-1:ctx-1fda9d17 job-11711) Complete async job-11711,
>jobStatus: FAILED, resultCode: 530, result:
>org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"
>errorcode":530} 
>2015-02-03 23:4

Re: unable to get VM console in broswer

2015-01-29 Thread Prashant Kumar Mishra
I believe she is not using any certificate , it is default http
access,browser  security setting may required change .

On 1/29/15, 4:49 PM, "Anshul Gangwar"  wrote:

>It's because SSL certificate which you are using is not trusted by the
>browser i.e. not issued by well-known Certificate Authority.
>
>-Original Message-
>From: Sonali Jadhav [mailto:son...@servercentralen.se]
>Sent: Tuesday, January 27, 2015 5:45 PM
>To: users@cloudstack.apache.org
>Subject: RE: unable to get VM console in broswer
>
>In IE as well, It asked if I want to load insecure content. And user has
>to click yes. 
>
>/sonali
>-Original Message-
>From: Prashant Kumar Mishra [mailto:prashantkumar.mis...@citrix.com]
>Sent: Tuesday, January 27, 2015 5:13 PM
>To: users@cloudstack.apache.org
>Subject: Re: unable to get VM console in broswer
>
>Procedure to change
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replac
>e
>+realhostip.com+with+Your+Own+Domain+Name
>Is it not working with IE and safari ?.
>~prashant
>
>On 1/27/15, 4:24 PM, "Sonali Jadhav"  wrote:
>
>>Hi,
>>
>>I haven't changed console access method to anything? How can I change
>>that? I think changing it to HTTPS would might help?
>>
>>And I don't get any exception in cloud.log file. I tried taking console
>>of CPVM from web. Check attached log file
>>
>>/sonali
>>
>>-Original Message-
>>From: Prashant Kumar Mishra [mailto:prashantkumar.mis...@citrix.com]
>>Sent: Tuesday, January 27, 2015 2:06 PM
>>To: users@cloudstack.apache.org
>>Subject: Re: unable to get VM console in broswer
>>
>>You should be able to access in  safari ,IE  ;By default console access
>>method is http until unless you change it to https  ,check out this
>>https://issues.apache.org/jira/browse/CLOUDSTACK-6990
>>
>>-prashant
>>
>>On 1/27/15, 1:28 PM, "Sonali Jadhav"  wrote:
>>
>>>Hi,
>>>
>>>Yes I have cleared browser cache and also checked CPVM logs. They are
>>>not helpful.
>>>
>>>But isn't this error occurs when the page is trying to load some
>>>scripts by HTTP instead of HTTPS, so browser is considering it as
>>>unsafe content to load?
>>>
>>>I tried to check with "Firebug" plugin of firefox. Its making call to
>>>CPVM with Public address but with HTTP protocol not HTTPS, And that's
>>>the reason behind this issue I feel.
>>>
>>>
>>>
>>>
>>>>>src="http://PublicIPAddressOfCPVM/ajax?token=Xyzandifbkjsnvcsd..
>>>.
>>>.
>>>.
>>>
>>>
>>>
>>>How do I fix this? It's an issue.
>>>
>>>/Sonali
>>>
>>>-Original Message-
>>>From: Prashant Kumar Mishra [mailto:prashantkumar.mis...@citrix.com]
>>>Sent: Monday, January 26, 2015 1:59 AM
>>>To: users@cloudstack.apache.org
>>>Subject: Re: unable to get VM console in broswer
>>>
>>>Please clear recent history of your browser , Can you check CPVM log
>>>while you are trying to access the console .
>>>
>>>From: Sonali Jadhav
>>>mailto:son...@servercentralen.se<mailto:son
>>>a li@ servercentralen.se<mailto:son...@servercentralen.se>>>
>>>Reply-To: 
>>>"users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>>o :us e...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>"
>>>mailto:users@cloudstack.apache.org>>use r...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>>
>>>Date: Friday, January 23, 2015 at 6:56 PM
>>>To: 
>>>"users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>>o :us e...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>"
>>>mailto:users@cloudstack.apache.org>>use r...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>>
>>>Subject: unable to get VM console in broswer
>>>
>>>if I try to take console of VM,  it shows blank screen, I can see that
>>>certificate is loaded but I have to disable
>>>
>>>
>>>
>>
>>
>>
>
>
>



Re: Failed to create VM from specific template (other templates are fine)

2015-01-28 Thread Prashant Kumar Mishra
essage: File upload task failed to complete due to: Error writing
request body to server



Since upload task failed to complete ,you have to make sure template get
downloaded properly .May be register a new template

On 1/28/15, 2:19 PM, "Amir Abbasi"  wrote:

>Hello,
>
>The template is "Ready" and status is "Download Complete", do you still
>offer trying again to download template?
>
>
>-Original Message-
>From: Prashant Kumar Mishra [mailto:prashantkumar.mis...@citrix.com]
>Sent: Wednesday, January 28, 2015 11:52 AM
>To: users@cloudstack.apache.org
>Subject: Re: Failed to create VM from specific template (other templates
>are
>fine)
>
>If it is not downloaded properly You can stop-start ssvm which will try to
>download your template .
>~prashant
>
>
>On 1/28/15, 1:20 PM, "Amir Abbasi"  wrote:
>
>>Hello,
>>
>> 
>>
>>Here is a part of the log:
>>
>> 
>>
>>2015-01-28 10:00:54,046 WARN  [c.c.u.d.Merovingian2]
>>(Work-Job-Executor-138:ctx-90c00639 job-2709/job-2710 ctx-08257b85) Was
>>unable
>>
>>to find lock for the key template_spool_ref70 and thread id 1503363977
>>
>>2015-01-28 10:00:54,046 DEBUG [o.a.c.e.o.VolumeOrchestrator]
>>(Work-Job-Executor-138:ctx-90c00639 job-2709/job-2710 ctx-08257b85) Una
>>
>>ble to create Vol[263|vm=199|ROOT]:Unable to copy template to primary
>>storage due to exception:Exception: java.lang.Exception
>>
>>Message: File upload task failed to complete due to: Error writing
>>request body to server
>>
>> 
>>
>>2015-01-28 10:00:54,046 INFO  [c.c.v.VirtualMachineManagerImpl]
>>(Work-Job-Executor-138:ctx-90c00639 job-2709/job-2710 ctx-08257b85)
>>
>>Unable to contact resource.
>>
>>com.cloud.exception.StorageUnavailableException: Resource
>>[StoragePool:1] is
>>unreachable: Unable to create Vol[263|vm=199|ROOT]:Unab
>>
>>le to copy template to primary storage due to exception:Exception:
>>java.lang.Exception
>>
>>Message: File upload task failed to complete due to: Error writing
>>request body to server
>>
>> 
>>
>>at
>>org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateV
>>olu
>>me
>>(VolumeOrchestrator.java:1205)
>>
>>at
>>org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(V
>>olu
>>me
>>Orchestrator.java:1257)
>>
>>at
>>com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineM
>>ana
>>ge
>>rImpl.java:988)
>>
>>at
>>com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineM
>>ana
>>ge
>>rImpl.java:5195)
>>
>>at sun.reflect.GeneratedMethodAccessor568.invoke(Unknown
>> Source)
>>
>>at
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
>>rIm
>>pl
>>.java:43)
>>
>>at java.lang.reflect.Method.invoke(Method.java:606)
>>
>>at
>>com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProx
>>y.j
>>av
>>a:107)
>>
>>at
>>com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineMa
>>nag
>>er
>>Impl.java:5340)
>>
>>at
>>com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
>>
>>at
>>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInCo
>>nte
>>xt
>>(AsyncJobManagerImpl.java:503)
>>
>>at
>>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Mana
>>ged
>>Co
>>ntextRunnable.java:49)
>>
>>at
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call
>>(De
>>fa
>>ultManagedContext.java:56)
>>
>>at
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWi
>>thC
>>on
>>text(DefaultManagedContext.java:103)
>>
>>at
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWit
>>hCo
>>nt
>>ext(DefaultManagedContext.java:53)
>>
>>at
>>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Manage
>>dCo
>>nt
>>extRunnable.java:46)
>>
>>at
>>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(Asy
>>ncJ
>>ob
>>ManagerImpl.java:460)
>>
>>at
>>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>
>> 

Re: Failed to create VM from specific template (other templates are fine)

2015-01-28 Thread Prashant Kumar Mishra
If it is not downloaded properly You can stop-start ssvm which will try to
download your template .
~prashant


On 1/28/15, 1:20 PM, "Amir Abbasi"  wrote:

>Hello,
>
> 
>
>Here is a part of the log:
>
> 
>
>2015-01-28 10:00:54,046 WARN  [c.c.u.d.Merovingian2]
>(Work-Job-Executor-138:ctx-90c00639 job-2709/job-2710 ctx-08257b85) Was
>unable
>
>to find lock for the key template_spool_ref70 and thread id 1503363977
>
>2015-01-28 10:00:54,046 DEBUG [o.a.c.e.o.VolumeOrchestrator]
>(Work-Job-Executor-138:ctx-90c00639 job-2709/job-2710 ctx-08257b85) Una
>
>ble to create Vol[263|vm=199|ROOT]:Unable to copy template to primary
>storage due to exception:Exception: java.lang.Exception
>
>Message: File upload task failed to complete due to: Error writing request
>body to server
>
> 
>
>2015-01-28 10:00:54,046 INFO  [c.c.v.VirtualMachineManagerImpl]
>(Work-Job-Executor-138:ctx-90c00639 job-2709/job-2710 ctx-08257b85)
>
>Unable to contact resource.
>
>com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1]
>is
>unreachable: Unable to create Vol[263|vm=199|ROOT]:Unab
>
>le to copy template to primary storage due to exception:Exception:
>java.lang.Exception
>
>Message: File upload task failed to complete due to: Error writing request
>body to server
>
> 
>
>at
>org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolu
>me
>(VolumeOrchestrator.java:1205)
>
>at
>org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(Volu
>me
>Orchestrator.java:1257)
>
>at
>com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineMana
>ge
>rImpl.java:988)
>
>at
>com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineMana
>ge
>rImpl.java:5195)
>
>at sun.reflect.GeneratedMethodAccessor568.invoke(Unknown Source)
>
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl
>.java:43)
>
>at java.lang.reflect.Method.invoke(Method.java:606)
>
>at
>com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.j
>av
>a:107)
>
>at
>com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManag
>er
>Impl.java:5340)
>
>at
>com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
>
>at
>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInConte
>xt
>(AsyncJobManagerImpl.java:503)
>
>at
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
>Co
>ntextRunnable.java:49)
>
>at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>fa
>ultManagedContext.java:56)
>
>at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>on
>text(DefaultManagedContext.java:103)
>
>at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>nt
>ext(DefaultManagedContext.java:53)
>
>at
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
>nt
>extRunnable.java:46)
>
>at
>org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJ
>ob
>ManagerImpl.java:460)
>
>at
>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>
>at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>
>at
>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
>11
>45)
>
>at
>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>:6
>15)
>
>at java.lang.Thread.run(Thread.java:745)
>
>2015-01-28 10:00:54,051 DEBUG [c.c.v.VirtualMachineManagerImpl]
>(Work-Job-Executor-138:ctx-90c00639 job-2709/job-2710 ctx-08257b85)
>
>Cleaning up resources for the vm VM[User|i-15-199-VM] in Starting state
>
>2015-01-28 10:00:54,056 DEBUG [c.c.a.t.Request]
>(Work-Job-Executor-138:ctx-90c00639 job-2709/job-2710 ctx-08257b85) Seq
>1-1339820889
>
>142821334: Sending  { Cmd , MgmtId: 52239450489, via: 1(172.28.52.4), Ver:
>v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand":{"
>
>isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmNam
>e"
>:"i-15-199-VM","wait":0}}] }
>
>2015-01-28 10:00:54,056 DEBUG [c.c.a.t.Request]
>(Work-Job-Executor-138:ctx-90c00639 job-2709/job-2710 ctx-08257b85) Seq
>1-1339820889
>
>142821334: Executing:  { Cmd , MgmtId: 52239450489, via: 1(172.28.52.4),
>Ver: v1, Flags: 100011, [{"com.cloud.agent.api.StopCommand"
>
>:{"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vm
>Na
>me":"i-15-199-VM","wait":0}}] }
>
>2015-01-28 10:00:54,057 DEBUG [c.c.a.m.DirectAgentAttache]
>(DirectAgent-49:ctx-44763cb1) Seq 1-1339820889142821334: Executing reques
>
>t
>
>2015-01-28 10:00:54,057 INFO  [c.c.h.v.r.VmwareResource]
>(DirectAgent-49:ctx-44763cb1 172.28.52.4) Executing resource StopCommand:
>{
>
>"isProxy":false,"executeInSequence":false,"checkBeforeCleanup":false,"vmNa
>me
>":"i-15-199-VM","wait":0}
>
>2015-01-28 10:00:54,118 DEBUG [c.c.a.m.AgentManagerImpl]
>(Agent

Re: unable to get VM console in broswer

2015-01-27 Thread Prashant Kumar Mishra
Procedure to change
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace
+realhostip.com+with+Your+Own+Domain+Name
Is it not working with IE and safari ?.
~prashant

On 1/27/15, 4:24 PM, "Sonali Jadhav"  wrote:

>Hi,
>
>I haven't changed console access method to anything? How can I change
>that? I think changing it to HTTPS would might help?
>
>And I don't get any exception in cloud.log file. I tried taking console
>of CPVM from web. Check attached log file
>
>/sonali
>
>-----Original Message-
>From: Prashant Kumar Mishra [mailto:prashantkumar.mis...@citrix.com]
>Sent: Tuesday, January 27, 2015 2:06 PM
>To: users@cloudstack.apache.org
>Subject: Re: unable to get VM console in broswer
>
>You should be able to access in  safari ,IE  ;By default console access
>method is http until unless you change it to https  ,check out this
>https://issues.apache.org/jira/browse/CLOUDSTACK-6990
>
>-prashant
>
>On 1/27/15, 1:28 PM, "Sonali Jadhav"  wrote:
>
>>Hi,
>>
>>Yes I have cleared browser cache and also checked CPVM logs. They are
>>not helpful.
>>
>>But isn't this error occurs when the page is trying to load some
>>scripts by HTTP instead of HTTPS, so browser is considering it as
>>unsafe content to load?
>>
>>I tried to check with "Firebug" plugin of firefox. Its making call to
>>CPVM with Public address but with HTTP protocol not HTTPS, And that's
>>the reason behind this issue I feel.
>>
>>
>>
>>
>>>src="http://PublicIPAddressOfCPVM/ajax?token=Xyzandifbkjsnvcsd...
>>.
>>.
>>
>>
>>
>>How do I fix this? It's an issue.
>>
>>/Sonali
>>
>>-Original Message-
>>From: Prashant Kumar Mishra [mailto:prashantkumar.mis...@citrix.com]
>>Sent: Monday, January 26, 2015 1:59 AM
>>To: users@cloudstack.apache.org
>>Subject: Re: unable to get VM console in broswer
>>
>>Please clear recent history of your browser , Can you check CPVM log
>>while you are trying to access the console .
>>
>>From: Sonali Jadhav
>>mailto:son...@servercentralen.se<mailto:sona
>>li@ servercentralen.se<mailto:son...@servercentralen.se>>>
>>Reply-To: 
>>"users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>:us e...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>"
>>mailto:users@cloudstack.apache.org>use r...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>>
>>Date: Friday, January 23, 2015 at 6:56 PM
>>To: 
>>"users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>:us e...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>"
>>mailto:users@cloudstack.apache.org>use r...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>>
>>Subject: unable to get VM console in broswer
>>
>>if I try to take console of VM,  it shows blank screen, I can see that
>>certificate is loaded but I have to disable
>>
>>
>>
>
>
>



Re: unable to get VM console in broswer

2015-01-27 Thread Prashant Kumar Mishra
You should be able to access in  safari ,IE  ;By default console access
method is http until unless you change it to https  ,check out this
https://issues.apache.org/jira/browse/CLOUDSTACK-6990

-prashant

On 1/27/15, 1:28 PM, "Sonali Jadhav"  wrote:

>Hi,
>
>Yes I have cleared browser cache and also checked CPVM logs. They are not
>helpful.
>
>But isn't this error occurs when the page is trying to load some scripts
>by HTTP instead of HTTPS, so browser is considering it as unsafe content
>to load?
>
>I tried to check with "Firebug" plugin of firefox. Its making call to
>CPVM with Public address but with HTTP protocol not HTTPS, And that's the
>reason behind this issue I feel.
>
>
>
>
>src="http://PublicIPAddressOfCPVM/ajax?token=Xyzandifbkjsnvcsd
>.
>
>
>
>How do I fix this? It's an issue.
>
>/Sonali
>
>-Original Message-
>From: Prashant Kumar Mishra [mailto:prashantkumar.mis...@citrix.com]
>Sent: Monday, January 26, 2015 1:59 AM
>To: users@cloudstack.apache.org
>Subject: Re: unable to get VM console in broswer
>
>Please clear recent history of your browser , Can you check CPVM log
>while you are trying to access the console .
>
>From: Sonali Jadhav
>mailto:son...@servercentralen.se<mailto:sonali@
>servercentralen.se<mailto:son...@servercentralen.se>>>
>Reply-To: 
>"users@cloudstack.apache.org<mailto:users@cloudstack.apache.org><mailto:us
>e...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>"
>mailto:users@cloudstack.apache.org<mailto:use
>r...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>>
>Date: Friday, January 23, 2015 at 6:56 PM
>To: 
>"users@cloudstack.apache.org<mailto:users@cloudstack.apache.org><mailto:us
>e...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>"
>mailto:users@cloudstack.apache.org<mailto:use
>r...@cloudstack.apache.org<mailto:users@cloudstack.apache.org>>>
>Subject: unable to get VM console in broswer
>
>if I try to take console of VM,  it shows blank screen, I can see that
>certificate is loaded but I have to disable
>
>
>



Re: unable to get VM console in broswer

2015-01-25 Thread Prashant Kumar Mishra
Please clear recent history of your browser , Can you check CPVM log  while you 
are trying to access the console .

From: Sonali Jadhav 
mailto:son...@servercentralen.se>>
Reply-To: "users@cloudstack.apache.org" 
mailto:users@cloudstack.apache.org>>
Date: Friday, January 23, 2015 at 6:56 PM
To: "users@cloudstack.apache.org" 
mailto:users@cloudstack.apache.org>>
Subject: unable to get VM console in broswer

if I try to take console of VM,  it shows blank screen, I can see that 
certificate is loaded but I have to disable


Re: Multiple ROOT disk for one Instances in CS 4.2.1

2015-01-25 Thread Prashant Kumar Mishra
 NULL| ROOT| NULL  |  125 | 347
>>>|
>>> > NULL   |   0 | 2015-01-08 20:25:29 | NULL
>>>  |
>>> > 2015-01-08 20:39:59 | NULL| Expunging | NULL   |
>>>6 |
>>>
>>> here is the problem; the 'Expunging'  value indicates that it is in
>>> transit from marked for deletion to actual deletion. I am not sure
>>> what caused this but it is not good. The field should contain the
>>> value 'Expunged' and the field before should contain the time-stamp of
>>> the moment this happened.
>>>
>>> If this is production, investigate before following my advice blindly.
>>> It is code analysis that brought me to this conclusion, not
>>> experience.
>>>
>>> > NULL  |   NULL |   NULL |  0 | VHD
>>> |
>>> > NULL | NULL |
>>> >
>>> 
>>>+--++---+-+--+-+
>>>---+---+--+-
>>>+-+--+--
>>>--+++-+-+---
>>>+--+-++-
>>>+-+--+-+-+--
>>>-++--+---+--
>>>--++++--+--+
>>> > 2 rows in set (0.00 sec)
>>> >
>>> >
>>> >
>>> >
>>> > On Fri, Jan 23, 2015 at 5:00 PM, Prashant Kumar Mishra <
>>> > prashantkumar.mis...@citrix.com> wrote:
>>> >
>>> >> Can you check state of these Disks in DB( volumes table for give
>>> >> instance_id).
>>> >>
>>> >> On 1/23/15, 4:46 PM, "Daan Hoogland" 
>>>wrote:
>>> >>
>>> >> >Keerthi,
>>> >> >
>>> >> >This doesn't ring a bell directly but to investigate further;
>>> >> >
>>> >> >Did you check in the database whether these are pointing to the
>>>same
>>> >> >image? This seems like a data corruption, to me.
>>> >> >
>>> >> >When you say stop/start the vm, do you mean from
>>>cloudstack/xenserver
>>> >> >or within the vm?
>>> >> >
>>> >> >On Fri, Jan 23, 2015 at 5:47 AM, Keerthiraja SJ
>>>
>>> >> >wrote:
>>> >> >> Anyone can help on this.
>>> >> >>
>>> >> >> Thanks,
>>> >> >> Keerthi
>>> >> >>
>>> >> >> On Thu, Jan 22, 2015 at 11:46 AM, Keerthiraja SJ <
>>> sjkeer...@gmail.com>
>>> >> >> wrote:
>>> >> >>
>>> >> >>> Hi
>>> >> >>>
>>> >> >>> For one of my Instances I could see many multiple of RootDisk.
>>> >> >>>
>>> >> >>> Because of this when xenserver reboots or if I stop and start
>>>the
>>> >> >>> instances my VM is not responding.
>>> >> >>>
>>> >> >>> How can I fix this issue.
>>> >> >>>
>>> >> >>> I could see this issue almost out 173 VM's 5 are like this.
>>> >> >>>
>>> >> >>> *Below are the one pasted from the Storage CS GUI*
>>> >> >>>
>>> >> >>> ROOT-868ROOTXenServer
>>> >> >>>  ROOT-868ROOTXenServeror004-test.net ROOT-868ROOTXenServer
>>> >> >>>  ROOT-868ROOTXenServer
>>> >> >>>  ROOT-868ROOTXenServer
>>> >> >>>  ROOT-868ROOTXenServer
>>> >> >>>  ROOT-868ROOTXenServeror004-test.net
>>> >> >>> ROOT-868ROOTXenServer
>>> >> >>>  ROOT-868ROOTXenServer
>>> >> >>>  ROOT-868ROOTXenServer
>>> >> >>>  ROOT-868ROOTXenServer
>>> >> >>> Thanks,
>>> >> >>> Keerthi
>>> >> >>>
>>> >> >>>
>>> >> >
>>> >> >
>>> >> >
>>> >> >--
>>> >> >Daan
>>> >>
>>> >>
>>>
>>>
>>>
>>> --
>>> Daan
>>>
>
>
>
>-- 
>Daan



Re: Clearing template cache on primary storage

2015-01-23 Thread Prashant Kumar Mishra
>>I want the template to be pulled down to primary storage each time a
>>deployment starts.


I think this can be done using  full clone vm deployment .
In case of full clone template should get copied every time  ,there is a
global setting ³vmware.create.full.clone² which controls this attribute .
Sadly it is only for vmware.
  Xen server do  support this type of deployment
http://support.citrix.com/proddocs/topic/xencenter-61/xs-xc-vms-copy.html
, but not sure how to control it form CS.

Thanks
prashant


On 1/23/15, 11:35 AM, "Sanjeev Neelarapu" 
wrote:

>Hi Kyle,
>
>CS generally copies the template from secondary to primary if it does not
>find an entry in the template_spool_ref table for that template. So if
>you want CS to copy the template to primary every time you deploy a new
>vm , you can have a script to deploy vms parallelly and to remove the db
>entry before deploying each vm.
>
>Thanks,
>Sanjeev 
>CloudPlatform Engineering
>Citrix Systems, Inc.
>
>-Original Message-
>From: Kyle Flavin [mailto:kyle.fla...@citrix.com]
>Sent: Friday, January 23, 2015 6:18 AM
>To: users@cloudstack.apache.org
>Subject: RE: Clearing template cache on primary storage
>
>Thanks Somesh.
>
>-Original Message-
>From: Somesh Naidu [mailto:somesh.na...@citrix.com]
>Sent: Thursday, January 22, 2015 4:28 PM
>To: users@cloudstack.apache.org
>Subject: RE: Clearing template cache on primary storage
>
>Should be under /usr/share/cloudstack-common/scripts/storage/secondary/
>
>You can double check Install Guide under section Prepare System VM
>Tempate.
>
>Somesh
>CloudPlatform Escalations
>Citrix Systems, Inc.
>
>
>-Original Message-
>From: Kyle Flavin [mailto:kyle.fla...@citrix.com]
>Sent: Thursday, January 22, 2015 7:00 PM
>To: users@cloudstack.apache.org
>Subject: RE: Clearing template cache on primary storage
>
>Thanks Somesh.  Do you know offhand where I could find that script?  That
>sounds like a good place to start.
>
>-Original Message-
>From: Somesh Naidu [mailto:somesh.na...@citrix.com]
>Sent: Thursday, January 22, 2015 3:14 PM
>To: users@cloudstack.apache.org
>Subject: RE: Clearing template cache on primary storage
>
>> Is it possible to have multiple templates that are just pointers to the
>>existing bits of the source template on secondary storage?
>Not entirely impossible. I mean its' not going to be pointers, but if you
>were looking to save time it takes to upload 20 copies, you could
>manually setup the templates. This requires manual copy and DB updates.
>You can get a hint of what's required by looking at the script used to
>prepare the secondary storage for system templates.
>
>> However, this looks like it's just going to download the same VHD to
>>secondary storage multiple times, creating multiple copies of the
>>template on disk.
>I thought that's what you were looking for.
>
>Copy template is definitely not what you are looking for, because, it is
>copy from on secondary to another, doesn't involve primary storage.
>
>Somesh
>CloudPlatform Escalations
>Citrix Systems, Inc.
>
>-Original Message-
>From: Kyle Flavin [mailto:kyle.fla...@citrix.com]
>Sent: Thursday, January 22, 2015 6:06 PM
>To: users@cloudstack.apache.org
>Subject: RE: Clearing template cache on primary storage
>
>Hi Somesh, 
>Is it possible to have multiple templates that are just pointers to the
>existing bits of the source template on secondary storage?
>
>I've tried the following two approaches.
>
>First, with Cloudmonkey, I tried to register a new template using
>something like the following:
>cloudmonkey register template displaytext="Windows Test Template 1"
>format=VHD hypervisor=XenServer name="WindowsTestTemplate1"
>ostypeid= url=http:// zoneid=
>
>However, this looks like it's just going to download the same VHD to
>secondary storage multiple times, creating multiple copies of the
>template on disk.
>
>Second, I tried making a copy of the template:
>cloudmonkey copy template id= destzoneid=
>
>However, this looks like it will only copy the template between two
>different zones.  It doesn't seem to allow me to copy the template to the
>same zone, and give it a new name.
>
>I don't believe either solution gives me what I'm looking for, because I
>want is to test the time it's taking the template to get from secondary
>storage to primary when I do my deployment.  Both of the possible
>solution above seem to include the additional step of copying the full
>VHD to secondary storage.  If I could somehow register a new template,
>and tell it to use the same bits on disk as the source template (no
>additional copying of anything to secondary storage), I think that'd give
>me what I want.  But I'm not sure if that's possible.  Am I looking at
>this wrong?
>
>-Original Message-
>From: Somesh Naidu [mailto:somesh.na...@citrix.com]
>Sent: Thursday, January 22, 2015 6:51 AM
>To: users@cloudstack.apache.org
>Subject: RE: Clearing template cache on primary storage
>
>I do not believe there is any 

Re: Multiple ROOT disk for one Instances in CS 4.2.1

2015-01-23 Thread Prashant Kumar Mishra
Can you check state of these Disks in DB( volumes table for give
instance_id).

On 1/23/15, 4:46 PM, "Daan Hoogland"  wrote:

>Keerthi,
>
>This doesn't ring a bell directly but to investigate further;
>
>Did you check in the database whether these are pointing to the same
>image? This seems like a data corruption, to me.
>
>When you say stop/start the vm, do you mean from cloudstack/xenserver
>or within the vm?
>
>On Fri, Jan 23, 2015 at 5:47 AM, Keerthiraja SJ 
>wrote:
>> Anyone can help on this.
>>
>> Thanks,
>> Keerthi
>>
>> On Thu, Jan 22, 2015 at 11:46 AM, Keerthiraja SJ 
>> wrote:
>>
>>> Hi
>>>
>>> For one of my Instances I could see many multiple of RootDisk.
>>>
>>> Because of this when xenserver reboots or if I stop and start the
>>> instances my VM is not responding.
>>>
>>> How can I fix this issue.
>>>
>>> I could see this issue almost out 173 VM's 5 are like this.
>>>
>>> *Below are the one pasted from the Storage CS GUI*
>>>
>>> ROOT-868ROOTXenServer
>>>  ROOT-868ROOTXenServeror004-test.net ROOT-868ROOTXenServer
>>>  ROOT-868ROOTXenServer
>>>  ROOT-868ROOTXenServer
>>>  ROOT-868ROOTXenServer
>>>  ROOT-868ROOTXenServeror004-test.net
>>> ROOT-868ROOTXenServer
>>>  ROOT-868ROOTXenServer
>>>  ROOT-868ROOTXenServer
>>>  ROOT-868ROOTXenServer
>>> Thanks,
>>> Keerthi
>>>
>>>
>
>
>
>-- 
>Daan



Re: expunge disk issue

2015-01-21 Thread Prashant Kumar Mishra
You should see free space after capacity.check.period which is in global
Settings


~prashant

On 1/22/15, 12:32 PM, "Jochim, Ingo"  wrote:

>Hi all,
>
>we are close to our capacity limit on the storage.
>We noticed that deleting virtual disks within CS (4.2) never does free up
>space on the storage side.
>Same for disk migration.
>We reduced the expunge time but nothing happens.
>Is there procedure to trigger this and check the status/progress?
>
>Thanks,
>Ingo
>
>-- 
>This email was Virus checked by Astaro Security Gateway.
>http://www.sophos.com



Re: expunge disk issue

2015-01-21 Thread Prashant Kumar Mishra
You should see free space after capacity.check.period which is in global
settings 

On 1/22/15, 12:32 PM, "Jochim, Ingo"  wrote:

>rigger this and check the status/progre



Re: Root Disk Resize Not working.

2015-01-21 Thread Prashant Kumar Mishra
Check out if it is support for your hypervisor
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Root+Resize+Support

~prashant 

On 1/22/15, 7:31 AM, "Mitch.Fiorentini"  wrote:

>Hello Everyone:  I got root disk resizing against a powered off instance,
>but when trying to deploy a VM from a template and modifyting the root
>volume, I get the below error.  I'm running CS 4.4.2
>
>
>2015-01-21 20:51:22,111 INFO  [c.c.a.ApiServer]
>(catalina-exec-6:ctx-da6f3af5 ctx-8b4d49de ctx-07e348ab) Hypervisor None
>does not support rootdisksize override



Re: Can not add a new virtual instance by a template

2015-01-09 Thread Prashant Kumar Mishra
I am suspecting problem with the template ,check ssvm log can give you
details info  . Can you check if template  got copied properly may be try
to download it,check.Also make sure you are using service offering with
local storage enabled
Thanks
prashant


On 1/9/15, 1:26 PM, "w...@landhightech.com"  wrote:

>Hi, 
>We had an issue when we add a new virtual instance by template.we can not
>create the new instance.
>We use cloudstack 4.4.1 + Vmware ,advanced network ,local storage.
>We want to add a new virtual instance into a share network.
>Message: File upload task failed to complete due to: Error writing
>request body to server
>
>--
>2015-01-09 23:30:14,876 DEBUG [o.a.c.s.RemoteHostEndPoint]
>(Timer-11:ctx-a09c3aac) Sending command
>org.apache.cloudstack.storage.command.DownloadProgressCommand to host: 3
>2015-01-09 23:30:14,878 DEBUG [c.c.a.t.Request] (Timer-11:ctx-a09c3aac)
>Seq 3-1751055830117010306: Sending { Cmd , MgmtId: 52230225403, via:
>3(s-1-VM), Ver: v1, Flags: 100011,
>[{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId"
>:"b7835acd-50af-44e7-a91c-94b715722bfc","request":"GET_STATUS","hvm":false
>,"description":"CentOS 5.3(64-bit) no GUI
>(vSphere)","checksum":"f6f881b7f2292948d8494db837fe0f47","maxDownloadSizeI
>nBytes":53687091200,"id":7,"resourceType":"TEMPLATE","installPath":"templa
>te/tmpl/1/7","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://192.1
>68.10.2/secondary","_role":"Image"}},"url":"http://download.cloud.com/rele
>ases/2.2.0/CentOS5.3-x86_64.ova","format":"OVA","accountId":1,"name":"cent
>os53-x64","secUrl":"nfs://192.168.10.2/secondary","wait":0}}] }
>2015-01-09 23:30:14,923 DEBUG [c.c.a.t.Request]
>(AgentManager-Handler-11:null) Seq 3-1751055830117010306: Processing: {
>Ans: , MgmtId: 52230225403, via: 3, Ver: v1, Flags: 10,
>[{"com.cloud.agent.api.storage.DownloadAnswer":{"jobId":"b7835acd-50af-44e
>7-a91c-94b715722bfc","downloadPct":0,"errorString":"
>","downloadStatus":"DOWNLOAD_IN_PROGRESS","downloadPath":"/mnt/SecStorage/
>19e03beb-309a-3316-8e6d-5f25071372e5/template/tmpl/1/7/dnld504376175065878
>7860tmp_","installPath":"template/tmpl/1/7","templateSize":0,"templatePhyS
>icalSize":0,"checkSum":"f6f881b7f2292948d8494db837fe0f47","result":true,"d
>etails":" ","wait":0}}] }
>2015-01-09 23:30:15,780 DEBUG [c.c.a.ApiServlet]
>(catalina-exec-23:ctx-6e8835bf) ===START=== 192.168.255.102 -- GET
>command=queryAsyncJobResult&jobId=dde8c83e-63fc-4b49-b70d-27b3faca7883&res
>ponse=json&sessionkey=SST2qsGww2SbQBYEsnO7%2BoMlQWU%3D&_=1420788674854
>2015-01-09 23:30:15,841 DEBUG [c.c.a.ApiServlet]
>(catalina-exec-23:ctx-6e8835bf ctx-35fa8112) ===END=== 192.168.255.102 --
>GET 
>command=queryAsyncJobResult&jobId=dde8c83e-63fc-4b49-b70d-27b3faca7883&res
>ponse=json&sessionkey=SST2qsGww2SbQBYEsnO7%2BoMlQWU%3D&_=1420788674854
>2015-01-09 23:30:16,170 DEBUG [o.a.c.f.j.d.VmWorkJobDaoImpl]
>(Vm-Operations-Cleanup-1:ctx-86237200) Expunge completed work job-205
>2015-01-09 23:30:18,022 DEBUG [c.c.a.t.Request]
>(AgentManager-Handler-3:null) Seq 3-1751055830117010304: Processing: {
>Ans: , MgmtId: 52230225403, via: 3, Ver: v1, Flags: 10,
>[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"d
>etails":"Unable to copy template to primary storage due to
>exception:Exception: java.lang.Exception\nMessage: File upload task
>failed to complete due to: Error writing request body to
>server\n","wait":0}}] }
>2015-01-09 23:30:18,022 DEBUG [c.c.a.t.Request]
>(Work-Job-Executor-92:ctx-cf7cb5f7 job-206/job-207 ctx-be9a377b) Seq
>3-1751055830117010304: Received: { Ans: , MgmtId: 52230225403, via: 3,
>Ver: v1, Flags: 10, { CopyCmdAnswer } }
>2015-01-09 23:30:18,047 DEBUG [c.c.a.m.AgentManagerImpl]
>(AgentManager-Handler-2:null) SeqA 2-22712: Processing Seq 2-22712: { Cmd
>, MgmtId: -1, via: 2, Ver: v1, Flags: 11,
>[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_lo
>adInfo":"{\n \"connections\": []\n}","wait":0}}] }
>2015-01-09 23:30:18,116 DEBUG [c.c.a.m.AgentManagerImpl]
>(AgentManager-Handler-2:null) SeqA 2-22712: Sending Seq 2-22712: { Ans: ,
>MgmtId: 52230225403, via: 2, Ver: v1, Flags: 100010,
>[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
>2015-01-09 23:30:18,150 INFO [o.a.c.s.v.VolumeServiceImpl]
>(Work-Job-Executor-92:ctx-cf7cb5f7 job-206/job-207 ctx-be9a377b)
>releasing lock for VMTemplateStoragePool 19
>2015-01-09 23:30:18,151 WARN [c.c.u.d.Merovingian2]
>(Work-Job-Executor-92:ctx-cf7cb5f7 job-206/job-207 ctx-be9a377b) Was
>unable to find lock for the key template_spool_ref19 and thread id
>1216625438 
>2015-01-09 23:30:18,151 DEBUG [o.a.c.e.o.VolumeOrchestrator]
>(Work-Job-Executor-92:ctx-cf7cb5f7 job-206/job-207 ctx-be9a377b) Unable
>to create Vol[32|vm=27|ROOT]:Unable to copy template to primary storage
>due to exception:Exception: java.lang.Exception
>Message: File upload task failed to complete due to: Error writing
>request body to server
>
>2015-01-09 23:

Re: remove host from Cloudstack Clouster XenServer 6.2

2015-01-06 Thread Prashant Kumar Mishra
If host is in maintenance mode and you are not seeing Œx¹ option try with
deleteHost api .


On 1/7/15, 5:01 AM, "Somesh Naidu"  wrote:

>When you put the host in maintenance, it does not always enter
>maintenance mode, sometimes it is stuck in "PrepareMaintenance" mode.
>
>So you might try it again and make sure the status is "Maintenance". At
>that point, you might also want to do a screen refresh just in case the
>UI was behaving funny.
>
>-Original Message-
>From: Motty Cruz [mailto:motty.c...@gmail.com]
>Sent: Tuesday, January 06, 2015 6:20 PM
>To: users@cloudstack.apache.org
>Subject: Re: remove host from Cloudstack Clouster XenServer 6.2
>
>I had it in maintenance mode for a while, I took it out and remove it
>from pool in XenCenter. I never saw the "X" to remove it gracefully from
>Cluster.
>
>at this moment status is set to "Disconnected"
>
>Thanks,
>Motty
>On 01/06/2015 03:16 PM, Somesh Naidu wrote:
>> It should show you a "X" button to remove the host. Have you checked if
>>the host has indeed entered the maintenance mode? What does the status
>>of the host show as?
>>
>> -Original Message-
>> From: Motty Cruz [mailto:motty.c...@gmail.com]
>> Sent: Tuesday, January 06, 2015 5:52 PM
>> To: users@cloudstack.apache.org
>> Subject: remove host from Cloudstack Clouster XenServer 6.2
>>
>> Hello All,
>> I would like to gracefully remove XenServer host from Cloudstack
>> Cluster, I can't find the steps to do so. I set the server in
>> maintenance mode but there are no options to remove it. perhaps a novice
>> question, am using Cloudstack 4.4.1
>>
>> Thanks,
>> Motty
>



Re: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed with return code 32])

2015-01-06 Thread Prashant Kumar Mishra
1. Make sure you have 'no_root_squash' in your /etc/exports
2. Make sure you have your portmap listening on all interface.
3. Make sure you have NFS4 specifically turned off.
4. Lastly, make sure iptables allows NFS related ports. You can disable
the firewall for time being until you can add the NFS SR.

Hope this help.

On 1/6/15, 9:40 PM, "Somesh Naidu"  wrote:

>Can you try with *async* instead?
>
>If it still fails, check SMlog to see if there are more details why the
>mount is failing when creating the SR.
>
>-Original Message-
>From: Tejas Gadaria [mailto:refond.g...@gmail.com]
>Sent: Tuesday, January 06, 2015 7:44 AM
>To: d...@cloudstack.apache.org
>Cc: users@cloudstack.apache.org
>Subject: Re: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS
>mount error [opterr=mount failed with return code 32])
>
>Hi Prashant,
>
>/etc/export file content is given below
>/mnt/data/VM-TT/primary *(rw,sync,no_root_squash,no_subtree_check)
>
>Still problem persist.
>
>I have Ubuntu 12.04 Server acting as NFS-Server.
>
>Regards,
>Tejas
>
>
>On Tue, Jan 6, 2015 at 12:40 PM, Prashant Kumar Mishra <
>prashantkumar.mis...@citrix.com> wrote:
>
>> It seems issue with remote mounting ,similar issue seen
>> http://lists.xenproject.org/archives/html/xen-api/2012-05/msg00191.html
>> ,mentioned solution should work in your case also
>>
>> Thanks
>> prashant
>>
>> On 1/6/15, 11:39 AM, "Tejas Gadaria"  wrote:
>>
>> >Hi Suresh,
>> >
>> >I was able to mount NFS on XS host through CLI mount.nfs4 successfully.
>> >Also vhd-utils was present on Management server and XS host also. Still
>> >facing same issue.
>> >
>> >Regards,
>> >Tejas
>> >
>> >
>> >
>> >On Mon, Jan 5, 2015 at 11:16 PM, Suresh Sadhu 
>> >wrote:
>> >
>> >> Hope you have already copied vhd-util  in to the host  and also as
>> >>Somesh
>> >> suggested try manually mounting the storage directly  from  the host.
>> >>
>> >>
>> >> Regards
>> >> Sadhu
>> >>
>> >>
>> >> -Original Message-
>> >> From: Somesh Naidu [mailto:somesh.na...@citrix.com]
>> >> Sent: 05 January 2015 20:16
>> >> To: users@cloudstack.apache.org; d...@cloudstack.apache.org
>> >> Subject: RE: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS
>> >>mount
>> >> error [opterr=mount failed with return code 32])
>> >>
>> >> XS is unable to create the SR failing with the following error:
>> >> ---
>> >> Caused by: SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed
>> >>with
>> >> return code 32]
>> >> ---
>> >>
>> >> May be a problem with the NFS. Can you try manually creating a SR on
>>XS
>> >> using this NFS or may be simply try to mount the NFS on XS and see if
>> >>that
>> >> works.
>> >>
>> >> -Original Message-
>> >> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
>> >> Sent: Monday, January 05, 2015 9:26 AM
>> >> To: users@cloudstack.apache.org; d...@cloudstack.apache.org
>> >> Subject: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS
>>mount
>> >> error [opterr=mount failed with return code 32])
>> >>
>> >> Hi,
>> >>
>> >> I am facing issue with xenserver 6.2 SP1, on ACS 4.3.1 and 4.4 both.
>> >>
>> >>
>> >> While creating Zone with NFS as primary & secondary storage
>> >>
>> >> 2015-01-05 19:29:45,715 DEBUG [c.c.a.m.DirectAgentAttache]
>> >> (DirectAgent-2:ctx-23cfb66b) Seq 1-3875347479352311816: Executing
>> >>request
>> >> 2015-01-05 19:29:47,079 WARN  [c.c.h.x.r.CitrixResourceBase]
>> >> (DirectAgent-2:ctx-23cfb66b) Catch Exception
>> >> com.cloud.utils.exception.CloudRuntimeException, create StoragePool
>> >>failed
>> >> due to com.cloud.utils.exception.CloudRuntimeException: Unable to
>>create
>> >> NFS SR Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary] on
>> >> host:ba237c07-71cb-48a8-8a6d-6e6c3aff65b2 pool:
>> >> 192.168.161.110/mnt/data/VMS-TT/primary
>> >> com.cloud.utils.exception.CloudRuntimeException: Unable to create
>>NFS SR
>> >> Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary]
>> >> at
>> >>
>> >

Re: Cancel hung jobs

2015-01-06 Thread Prashant Kumar Mishra
Restart MS should work . If you don¹t want to restart  clean it manually
from db , it seems because of one unfinished job , other jobs is also
pending .

On 1/6/15, 4:09 AM, "Francois Gaudreault"  wrote:

>These are 60min and 1440min for standard jobs and 600sec for vm related
>jobs right? I have tasks that are from dec 27 still in there and these
>are vm jobs.
>
>FG
>On Jan 5, 2015 5:25 PM, "Motty Cruz"  wrote:
>
>> Francois,
>> you can change timeout default settings in "global settings", if you
>>have
>> not done so.
>>
>> Thanks,
>> Motty
>> On 01/05/2015 02:09 PM, Francois Gaudreault wrote:
>>
>>> Yes. And also tons of job in the async_job table with status 0.
>>>
>>> FG
>>>
>>> On 2015-01-05 4:54 PM, ilya musayev wrote:
>>>
 Do you see something along the lines of below? please provide the
 complete error message.

 (1434,VmWorkJobQueue, 2471) is reaching concurrency limit 1
 (1475,VmWorkJobQueue, 2483) is reaching concurrency limit 1
 (1477,VmWorkJobQueue, 2484) is reaching concurrency limit 1
 (1478,VmWorkJobQueue, 596) is reaching concurrency limit 1
 (981,VmWorkJobQueue, 2371) is reaching concurrency limit 1


 On 1/5/15, 1:40 PM, Francois Gaudreault wrote:

> Hi folks,
>
> What would be the best way to cancel jobs that are "stuck"? I was
> expecting them to timeout, but for some reasons they are not.
>
> Thanks.
>
>



>>>
>>>
>>



Re: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed with return code 32])

2015-01-05 Thread Prashant Kumar Mishra
It seems issue with remote mounting ,similar issue seen
http://lists.xenproject.org/archives/html/xen-api/2012-05/msg00191.html
,mentioned solution should work in your case also

Thanks
prashant

On 1/6/15, 11:39 AM, "Tejas Gadaria"  wrote:

>Hi Suresh,
>
>I was able to mount NFS on XS host through CLI mount.nfs4 successfully.
>Also vhd-utils was present on Management server and XS host also. Still
>facing same issue.
>
>Regards,
>Tejas
>
>
>
>On Mon, Jan 5, 2015 at 11:16 PM, Suresh Sadhu 
>wrote:
>
>> Hope you have already copied vhd-util  in to the host  and also as
>>Somesh
>> suggested try manually mounting the storage directly  from  the host.
>>
>>
>> Regards
>> Sadhu
>>
>>
>> -Original Message-
>> From: Somesh Naidu [mailto:somesh.na...@citrix.com]
>> Sent: 05 January 2015 20:16
>> To: users@cloudstack.apache.org; d...@cloudstack.apache.org
>> Subject: RE: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS
>>mount
>> error [opterr=mount failed with return code 32])
>>
>> XS is unable to create the SR failing with the following error:
>> ---
>> Caused by: SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed
>>with
>> return code 32]
>> ---
>>
>> May be a problem with the NFS. Can you try manually creating a SR on XS
>> using this NFS or may be simply try to mount the NFS on XS and see if
>>that
>> works.
>>
>> -Original Message-
>> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
>> Sent: Monday, January 05, 2015 9:26 AM
>> To: users@cloudstack.apache.org; d...@cloudstack.apache.org
>> Subject: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS mount
>> error [opterr=mount failed with return code 32])
>>
>> Hi,
>>
>> I am facing issue with xenserver 6.2 SP1, on ACS 4.3.1 and 4.4 both.
>>
>>
>> While creating Zone with NFS as primary & secondary storage
>>
>> 2015-01-05 19:29:45,715 DEBUG [c.c.a.m.DirectAgentAttache]
>> (DirectAgent-2:ctx-23cfb66b) Seq 1-3875347479352311816: Executing
>>request
>> 2015-01-05 19:29:47,079 WARN  [c.c.h.x.r.CitrixResourceBase]
>> (DirectAgent-2:ctx-23cfb66b) Catch Exception
>> com.cloud.utils.exception.CloudRuntimeException, create StoragePool
>>failed
>> due to com.cloud.utils.exception.CloudRuntimeException: Unable to create
>> NFS SR Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary] on
>> host:ba237c07-71cb-48a8-8a6d-6e6c3aff65b2 pool:
>> 192.168.161.110/mnt/data/VMS-TT/primary
>> com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS SR
>> Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary]
>> at
>>
>> 
>>com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResou
>>rceBase.java:6133)
>> at
>>
>> 
>>com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResour
>>ceBase.java:5074)
>> at
>>
>> 
>>com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citri
>>xResourceBase.java:475)
>> at
>>
>> 
>>com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenS
>>erver56Resource.java:61)
>> at
>>
>> 
>>com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(Xen
>>Server610Resource.java:102)
>> at
>>
>> 
>>com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentA
>>ttache.java:307)
>> at
>>
>> 
>>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Manage
>>dContextRunnable.java:49)
>> at
>>
>> 
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(D
>>efaultManagedContext.java:56)
>> at
>>
>> 
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWith
>>Context(DefaultManagedContext.java:103)
>> at
>>
>> 
>>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithC
>>ontext(DefaultManagedContext.java:53)
>> at
>>
>> 
>>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedC
>>ontextRunnable.java:46)
>> at 
>>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> at
>>
>> 
>>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.acce
>>ss$201(ScheduledThreadPoolExecutor.java:178)
>> at
>>
>> 
>>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(
>>ScheduledThreadPoolExecutor.java:292)
>> at
>>
>> 
>>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java
>>:1145)
>> at
>>
>> 
>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav
>>a:615)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed
>>with
>> return code 32] at
>>com.xensource.xenapi.Types.checkResponse(Types.java:2006)
>> at com.xensource.xenapi.Connection.dispatch(Connection.java:350)
>> at
>>
>> 
>>com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnec
>>tion.dispatch(XenServerConnectionPool.java:456)
>> at com.xensource.xenapi.SR.create(SR.java:801)
>> at
>>
>> 
>>com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResou
>>rceBase.java:6129)
>> .

Re: Can't create or deploy VMs

2015-01-01 Thread Prashant Kumar Mishra

For now you can set ³pool.storage.capacity.disablethreshold² to 1 in
global settings , and restart ms .

Insufficient space on pool: 1 since its usage percentage:
0.9072490225390984 has crossed the pool.storage.capacity.disablethreshold:
0.85



On 12/31/14, 11:19 PM, "Somesh Naidu"  wrote:

>> 2014-12-31 07:49:44,405 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>>(Job-Executor-22:ctx-f2bc1611 ctx-77cccfb5) No suitable pools found
>> 2014-12-31 07:49:44,405 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>>(Job-Executor-22:ctx-f2bc1611 ctx-77cccfb5) No suitable storagePools
>>found under this Cluster: 1
>> 2014-12-31 07:49:44,407 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
>>(Job-Executor-22:ctx-f2bc1611 ctx-77cccfb5) Could not find suitable
>>Deployment Destination for this VM under any clusters, returning.
>
>Apparently, you only have 1 cluster in Zone 1 where the VM is being
>deployed and the storage on that one is full. You need to provision more
>space.
>
>-Original Message-
>From: José Egas López [mailto:josee...@farmaenlace.com]
>Sent: Wednesday, December 31, 2014 8:18 AM
>To: users@cloudstack.apache.org
>Subject: Re: Can't create or deploy VMs
>
>The log on mgmt is:
>
>***
>2014-12-31 07:49:44,138 DEBUG [c.c.a.ApiServlet]
>(catalina-exec-2:ctx-de733770) ===START===  172.30.1.107 -- GET
>command=deployVirtualMachine&response=json&sessionkey=ExqHTfNe1JVXnQXRkEpg
>jMoDqu0%3D&zoneid=80b7c240-9204-43eb-85c8-762c7d7f6a15&templateid=449e3489
>-292e-4888-9682-d57d58a0ea1a&hypervisor=VMware&serviceofferingid=a6e438f6-
>afce-4388-9498-78cf2525cac2&diskofferingid=3df3bee2-bdee-4b80-9a0b-5ef039c
>5194c&displayname=test&name=test&_=1420030300055
>2014-12-31 07:49:44,150 DEBUG [c.c.a.ApiDispatcher]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) InfrastructureEntity name
>is:com.cloud.offering.ServiceOffering
>2014-12-31 07:49:44,153 DEBUG [c.c.a.ApiDispatcher]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) ControlledEntity name
>is:com.cloud.template.VirtualMachineTemplate
>2014-12-31 07:49:44,158 DEBUG [c.c.a.ApiDispatcher]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) InfrastructureEntity name
>is:com.cloud.offering.DiskOffering
>2014-12-31 07:49:44,190 DEBUG [c.c.v.UserVmManagerImpl]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) Allocating in the DB for vm
>2014-12-31 07:49:44,219 DEBUG [c.c.v.VirtualMachineManagerImpl]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) Allocating entries for VM:
>VM[User|test]
>2014-12-31 07:49:44,221 DEBUG [c.c.v.VirtualMachineManagerImpl]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) Allocating nics for
>VM[User|test]
>2014-12-31 07:49:44,222 DEBUG [o.a.c.e.o.NetworkOrchestrator]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) Allocating nic for vm
>VM[User|test] in network Ntwk[204|Guest|6] with requested profile
>NicProfile[0-0-null-null-null
>2014-12-31 07:49:44,233 DEBUG [c.c.v.VirtualMachineManagerImpl]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) Allocating disks for
>VM[User|test]
>2014-12-31 07:49:44,244 DEBUG [c.c.v.VirtualMachineManagerImpl]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) Allocation completed for VM:
>VM[User|test]
>2014-12-31 07:49:44,244 DEBUG [c.c.v.UserVmManagerImpl]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) Successfully allocated DB
>entry for VM[User|test]
>2014-12-31 07:49:44,296 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) submit async job-419,
>details: AsyncJobVO {id:419, userId: 2, accountId: 2, instanceType:
>VirtualMachine, instanceId: 47, cmd:
>org.apache.cloudstack.api.command.user.vm.DeployVMCmd, cmdInfo:
>{"serviceofferingid":"a6e438f6-afce-4388-9498-78cf2525cac2","sessionkey":"
>ExqHTfNe1JVXnQXRkEpgjMoDqu0\u003d","cmdEventType":"VM.CREATE","ctxUserId":
>"2","zoneid":"80b7c240-9204-43eb-85c8-762c7d7f6a15","httpmethod":"GET","te
>mplateid":"449e3489-292e-4888-9682-d57d58a0ea1a","response":"json","id":"4
>7","hypervisor":"VMware","name":"test","_":"1420030300055","ctxAccountId":
>"2","diskofferingid":"3df3bee2-bdee-4b80-9a0b-5ef039c5194c","ctxStartEvent
>Id":"1099","displayname":"test"}, cmdVersion: 0, status: IN_PROGRESS,
>processStatus: 0, resultCode: 0, result: null, initMsid: 345050676845,
>completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
>2014-12-31 07:49:44,297 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
>(Job-Executor-22:ctx-f2bc1611) Add job-419 into job monitoring
>2014-12-31 07:49:44,297 DEBUG [c.c.a.ApiServlet]
>(catalina-exec-2:ctx-de733770 ctx-77cccfb5) ===END===  172.30.1.107 --
>GET  
>command=deployVirtualMachine&response=json&sessionkey=ExqHTfNe1JVXnQXRkEpg
>jMoDqu0%3D&zoneid=80b7c240-9204-43eb-85c8-762c7d7f6a15&templateid=449e3489
>-292e-4888-9682-d57d58a0ea1a&hypervisor=VMware&serviceofferingid=a6e438f6-
>afce-4388-9498-78cf2525cac2&diskofferingid=3df3bee2-bdee-4b80-9a0b-5ef039c
>5194c&displayname=test&name=test&_=1420030300055
>2014-12-31 07:49:44,297 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
>(Job-Executor-22:ctx-f2bc1611) Executing AsyncJobVO {id:419, userId

Re: Can't download ISO's can't setup Templates

2014-12-19 Thread Prashant Kumar Mishra
System vms are must for download/upload and deploy vm , make sure they are
up . You can check cwiki for troubleshooting .

Thanks
prashant

On 12/19/14, 9:11 AM, "Mohamed Infaz"  wrote:

>Hi All,
>
>Finally i have successfully added a host in to the management server. Now
>to create and instance i am unable to download an ISO image. When i click
>on the sample iso images which is CentOS 5.5(64-bit) no GUI (KVM). It
>shows
>that it is not ready and i also don't see the download status what could
>be
>the issue. I did correctly setup my primary and secondary storages. But i
>dont have a system vm! is it must to run a system vm? And why can't i
>download and iSO image and set up an instance.
>
>Thank you.



RE: unable to test Network Throttling.

2014-12-10 Thread Prashant Kumar Mishra
Please check this https://issues.apache.org/jira/browse/CLOUDSTACK-2820
Thanks
Prashant

-Original Message-
From: Jayapal Reddy Uradi [mailto:jayapalreddy.ur...@citrix.com] 
Sent: Wednesday, December 10, 2014 2:37 PM
To: 
Cc: d...@cloudstack.apache.org
Subject: Re: unable to test Network Throttling.

Hi Rajashekar,

>>>>>  i'm unable to test the network bandwidth rate.
Can you please explain what is the issue you are facing while testing.
Is it not working as the value configured ?

Network throttling is for egress traffic. In configuration it is Mbits/s but in 
hypervisor it is configured as MBytes/s. 1024 Mb/s is 128MB.

Thanks,
Jayapal



On 10-Dec-2014, at 2:15 PM, Andrija Panic 
 wrote:

> I also examinded KVM thortling, and got 1/4 of the settings 
> cloudstack always starts VM with same parameters, no matter what you 
> configure manually on KVM/Xen..
> 
> On 10 December 2014 at 08:27, raja sekhar  wrote:
> 
>> hi prasanth,
>> 
>> In cloudstack i have given network rate as 1024Mb/s but in xencenter 
>> qos properties it is showing 25Mb/s for that VM.
>> 
>> Andrija Panic/Prashant if i change the interface property(bandwidth) 
>> through xencenter or commandline process in 
>> http://xmodulo.com/how-to-rate-limit-xenserver-vms-network-interfaces
>> .html
>> ,
>> if i shutdown the VM from cloudstack that VM wil be disabled from 
>> xencenter, when ever i start the VM, the qos value will be same or it 
>> will changed to 25Mb/s.
>> 
>> waiting for your reply.
>> 
>> Regards,
>> Rajasekhar.
>> 
>> 
>> On Tue, Dec 9, 2014 at 12:05 AM, Prashant Kumar Mishra < 
>> prashantkumar.mis...@citrix.com> wrote:
>>> 
>>> From the  xencenter you can check interface property (look for QoS
>>> settings) for that particular vm .
>>> 
>>> -Original Message-
>>> From: Andrija Panic [mailto:andrija.pa...@gmail.com]
>>> Sent: Tuesday, December 09, 2014 1:30 PM
>>> To: d...@cloudstack.apache.org
>>> Cc: users@cloudstack.apache.org
>>> Subject: Re: 答复: unable to test Network Throttling.
>>> 
>>> Recent reply from Vadim:
>>> 
>> http://xmodulo.com/how-to-rate-limit-xenserver-vms-network-interfaces
>> .html
>>> 
>>> On 9 December 2014 at 08:40, raja sekhar 
>> wrote:
>>> 
>>>> Hi Star,
>>>> 
>>>> Thanks for your reply. I'm using XenServer 6.2 and cloudstack 4.3.1.
>>>> how can i check the band width rate of the VM, is there any command 
>>>> for xenserver host?
>>>> 
>>>> waiting for your reply.
>>>> 
>>>> Regards,
>>>> Rajasekhar.
>>>> 
>>>> On Mon, Dec 8, 2014 at 10:56 PM, Star Guo  wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> There is a priority: the network rate of compute offering > the 
>>>>> network rate of global configuration.
>>>>> If you deploy on kvm host, you can use virsh command to dumpxml of 
>>>>> the VM and focus on   ... .
>>>>> 
>>>>> Best Regards,
>>>>> Star Guo
>>>>> 
>>>>> -邮件原件-
>>>>> 发件人: raja sekhar [mailto:rajsekhar@gmail.com]
>>>>> 发送时间: 2014年12月9日 14:28
>>>>> 收件人: d...@cloudstack.apache.org; users@cloudstack.apache.org
>>>>> 主题: unable to test Network Throttling.
>>>>> 
>>>>> Hi all,
>>>>> 
>>>>> i have created one compute offering(2 CPU , 4 GB) and given the 
>>>>> Network Rate as 1024 Mb/s, a VM is deployed from that compute 
>>>>> offering and in global settings i didn't changed any Network 
>>>>> Throttling Rate(default 200
>>>>> Mb/s) and i'm unable to test the network bandwidth rate.
>>>>> 
>>>>> please suggest me how to test the bandwidth rate of the VM.
>>>>> 
>>>>> 
>>>>> 
>>>>> Regards,
>>>>> Rajasekhar.
>>>>> 
>>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> 
>>> Andrija Panić
>>> 
>> 
> 
> 
> 
> --
> 
> Andrija Panić



RE: 答复: unable to test Network Throttling.

2014-12-09 Thread Prashant Kumar Mishra
From the  xencenter you can check interface property (look for QoS settings) 
for that particular vm . 

-Original Message-
From: Andrija Panic [mailto:andrija.pa...@gmail.com] 
Sent: Tuesday, December 09, 2014 1:30 PM
To: d...@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: 答复: unable to test Network Throttling.

Recent reply from Vadim:
http://xmodulo.com/how-to-rate-limit-xenserver-vms-network-interfaces.html

On 9 December 2014 at 08:40, raja sekhar  wrote:

> Hi Star,
>
> Thanks for your reply. I'm using XenServer 6.2 and cloudstack 4.3.1.
> how can i check the band width rate of the VM, is there any command 
> for xenserver host?
>
> waiting for your reply.
>
> Regards,
> Rajasekhar.
>
> On Mon, Dec 8, 2014 at 10:56 PM, Star Guo  wrote:
> >
> > Hi,
> >
> > There is a priority: the network rate of compute offering > the 
> > network rate of global configuration.
> > If you deploy on kvm host, you can use virsh command to dumpxml of 
> > the VM and focus on   ... .
> >
> > Best Regards,
> > Star Guo
> >
> > -邮件原件-
> > 发件人: raja sekhar [mailto:rajsekhar@gmail.com]
> > 发送时间: 2014年12月9日 14:28
> > 收件人: d...@cloudstack.apache.org; users@cloudstack.apache.org
> > 主题: unable to test Network Throttling.
> >
> > Hi all,
> >
> > i have created one compute offering(2 CPU , 4 GB) and given the 
> > Network Rate as 1024 Mb/s, a VM is deployed from that compute 
> > offering and in global settings i didn't changed any Network 
> > Throttling Rate(default 200
> > Mb/s) and i'm unable to test the network bandwidth rate.
> >
> > please suggest me how to test the bandwidth rate of the VM.
> >
> >
> >
> > Regards,
> > Rajasekhar.
> >
> >
>



-- 

Andrija Panić


RE: Secondary storage problem

2014-11-11 Thread Prashant Kumar Mishra
Can you provide more logs , was  Copycmd  successful  ?

-Original Message-
From: Garith Dugmore [mailto:gar...@saao.ac.za] 
Sent: Tuesday, November 11, 2014 3:10 PM
To: users@cloudstack.apache.org
Subject: Re: Secondary storage problem

Hi, 

Could it be "secstorage.allowed.internal.sites" in Global Settings? I ran into 
this a while back. 

Cheers, 

- Original Message -

> From: "MOULOUD BOUKROUT" 
> To: users@cloudstack.apache.org
> Sent: Tuesday, November 11, 2014 8:50:10 AM
> Subject: Secondary storage problem

> Hi Users.

> I’m having this issue where the secondary storage cannot be accessed, 
> please help if you have any idea

> com.cloud.exception.InsufficientServerCapacityException: Unable to 
> create a deployment for VM[ConsoleProxy|v-2-VM]Scope=interface
> com.cloud.dc.DataCenter; id=1

> at
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachine
> ManagerImpl.java:947)

> at
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachine
> ManagerImpl.java:5195)

> at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)

> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:43)

> at java.lang.reflect.Method.invoke(Method.java:606)

> at
> com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerPro
> xy.java:107)

> at
> com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineM
> anagerImpl.java:5340)

> at 
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)

> at
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInC
> ontext(AsyncJobManagerImpl.java:503)

> at
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Man
> agedContextRunnable.java:49)

> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.cal
> l(DefaultManagedContext.java:56)

> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callW
> ithContext(DefaultManagedContext.java:103)

> at
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWi
> thContext(DefaultManagedContext.java:53)

> at
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Manag
> edContextRunnable.java:46)

> at
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(As
> yncJobManagerImpl.java:460)

> at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471
> )

> at java.util.concurrent.FutureTask.run(FutureTask.java:262)

> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:1145)

> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:615)

> at java.lang.Thread.run(Thread.java:745)

> 2014-11-11 08:39:08,862 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
> (Work-Job-Executor-22:ctx-f389f2da job-2200/job-2223) Complete async 
> job-2223, jobStatus: FAILED, resultCode: 0, result:
> rO0ABXNyABpqYXZhLmxhbmcuUnVudGltZUV4Y2VwdGlvbp5fBkcKNIPlAgAAeHIAE2phdm
> EubGFuZy5FeGNlcHRpb27Q_R8-GjscxAIAAHhyABNqYXZhLmxhbmcuVGhyb3dhYmxl1cY1
> Jzl3uMsDAARMAAVjYXVzZXQAFUxqYXZhL2xhbmcvVGhyb3dhYmxlO0wADWRldGFpbE1lc3
> NhZ2V0ABJMamF2YS9sYW5nL1N0cmluZztbAApzdGFja1RyYWNldAAeW0xqYXZhL2xhbmcv
> U3RhY2tUcmFjZUVsZW1lbnQ7TAAUc3VwcHJlc3NlZEV4Y2VwdGlvbnN0ABBMamF2YS91dG
> lsL0xpc3Q7eHBxAH4AB3QAVUpvYiBmYWlsZWQgZHVlIHRvIGV4Y2VwdGlvbiBVbmFibGUg
> dG8gY3JlYXRlIGEgZGVwbG95bWVudCBmb3IgVk1bQ29uc29sZVByb3h5fHYtMi1WTV11cg
> AeW0xqYXZhLmxhbmcuU3RhY2tUcmFjZUVsZW1lbnQ7AkYqPDz9IjkCAAB4cA1zcgAb
> amF2YS5sYW5nLlN0YWNrVHJhY2VFbGVtZW50YQnFmiY23YUCAARJAApsaW5lTnVtYmVyTA
> AOZGVjbGFyaW5nQ2xhc3NxAH4ABEwACGZpbGVOYW1lcQB-AARMAAptZXRob2ROYW1lcQB-
> AAR4cHJ0ACBjb20uY2xvdWQudm0uVm1Xb3JrSm9iRGlzcGF0Y2hlcnQAGFZtV29ya0
> pvYkRpc3BhdGNoZXIuamF2 
> YXQABnJ1bkpvYnNxAH4ACwAAAfd0AD9vcmcuYXBhY2hlLmNsb3Vkc3RhY2suZnJhbWV3b3
> JrLmpvYnMuaW1wbC5Bc3luY0pvYk1hbmFnZXJJbXBsJDV0ABhBc3luY0pvYk1hbmFnZXJJ
> bXBsLmphdmF0AAxydW5JbkNvbnRleHRzcQB-AAsxdAA-b3JnLmFwYWNoZS5jbG91ZH
> N0YWNrLm1hbmFnZWQuY29udGV4dC5NYW5hZ2VkQ29udGV4dFJ1bm5hYmxlJDF0ABtNYW5h
> Z2VkQ29udGV4dFJ1bm5hYmxlLmphdmF0AANydW5zcQB-AAs4dABCb3JnLmFwYWNoZS
> 5jbG91ZHN0YWNrLm1hbmFnZWQuY29udGV4dC5pbXBsLkRlZmF1bHRNYW5hZ2VkQ29udGV4
> dCQxdAAaRGVmYXVsdE1hbmFnZWRDb250ZXh0LmphdmF0AARjYWxsc3EAfgALZ3QAQG
> 9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRleHQuaW1wbC5EZWZhdWx0TWFu
> YWdlZENvbnRleHRxAH4AGnQAD2NhbGxXaXRoQ29udGV4dHNxAH4ACwAAADVxAH4AHXEAfg
> AadAAOcnVuV2l0aENvbnRleHRzcQB-AAsudAA8b3JnLmFwYWNoZS5jbG91ZHN0YWNr
> Lm1hbmFnZWQuY29udGV4dC5NYW5hZ2VkQ29udGV4dFJ1bm5hYmxlcQB-ABZxAH4AF3NxAH
> 4ACwAAAcxxAH4AEXEAfgAScQB-ABdzcQB-AAsAAAHXdAAuamF2YS51dGlsLmNvbmN1cnJl
> bnQuRXhlY3V0b3JzJFJ1bm5hYmxlQWRhcHRlcnQADkV4ZWN1dG9ycy5qYXZhcQB-ABtzcQ
> B-AAsAAAEGdAAfamF2YS51dGlsLmNvbmN1cnJlbnQuRnV0dXJlVGFza3QAD0Z1dHVyZVRh
> c2suamF2YXEAfgAXc 
> 3EAfgALAAAEeXQAJ2phdmEudXRpbC5jb25jdXJyZW50LlRocmVhZFBvb2xFeGVjdXRvcnQ
> AF1RocmVhZFBvb2xFeGVjdXRvci5qYXZhdAAJcnVuV29ya2Vyc3EAfgALAAACZ3QALmphd
> mEudXRpbC5jb25jdXJyZW50LlRocmVhZFBvb2xFeGVjdXRvciRXb3JrZXJxAH4ALHEAfgA
> Xc3

RE: Primary Storage Allocated over 100% ?!

2014-08-22 Thread Prashant Kumar Mishra

Hi,
-->It looks like our 2 primary storage pools disk_used_capacity are not 
reporting the right value. VMware reports then 30% full (same as CloudStack 
storage value).

1-Can you list volumes for these two storage   where removed is null,  there 
should be some larger volume  .  

2-Try with storage cleanup Global setting
 
Not recommended :
3- For now just try to increase total available storage by setting 
overprovisioning factor to some high  value  , total Allocated % should drop by 
overprovisioning  value .

Thanks
Prashant 

-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] 
Sent: Friday, August 22, 2014 8:25 PM
To: users@cloudstack.apache.org
Subject: RE: Primary Storage Allocated over 100% ?!

Hi Francois,

After upping your storage.overprovisioning.factor to 2, and restarted services, 
have you seen any improvement, if not you may need to do the un-manage / manage 
Cluster trick to force CloudStack to re-calculate the capacity and allocations 
etc

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

-Original Message-
From: François Bousquet [mailto:francois.bousq...@radialpoint.com]
Sent: 22 August 2014 15:46
To: users@cloudstack.apache.org
Subject: RE: Primary Storage Allocated over 100% ?!

This installation is 4.2.1 and was never upgraded.

Now, we have set storage.overprovisioning.factor=2 in the global parameters, 
but I do not see an storage overprovisioning factor at the cluster level. I 
only see the one for memory and cpu.

-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: Friday, August 22, 2014 08:29
To: users@cloudstack.apache.org
Subject: RE: Primary Storage Allocated over 100% ?!

Hi Francois,

Have you updated to 4.2.1 recently?

4.2.1 introduced a lot of the features for 4.3, one of which was the addition 
of 'storage.overprovisioning.factor' to each Cluster, where previously it was 
only a Global Settings

The update resets the Global Setting 'storage.overprovisioning.factor' to 1, 
then sets the same value on each Cluster, even if previously it was set to a 
higher figure.

This value directly affects the allocated calculation and is vital if using NFS 
which automatically thin provisions.

Please confirm what you current value is, at both Global and Cluster lever, and 
if it is 1, suggest you set it to 4, then restart you cloudstack-management 
service on all management servers.

We dealt with a similar issue recently via our CloudStack Support offering, and 
I recall we also had to 'un-manage' then 're-manage' each Cluster for the new 
value to take effect.

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

-Original Message-
From: Pierre-Luc Dion [mailto:pd...@cloudops.com]
Sent: 22 August 2014 12:57
To: users@cloudstack.apache.org
Subject: Re: Primary Storage Allocated over 100% ?!

Hi Francois,

Could it be possible after a certain period metric inside cloudstack get 
updated to match available resources? I'm wondering if it could be because of 
global settings like this one:

storage.stats.interval "The interval (in milliseconds) when storage stats (per 
host) are retrieved from agents."  default=6

Pierre-Luc



On Fri, Aug 22, 2014 at 6:53 AM, François Bousquet < 
francois.bousq...@radialpoint.com> wrote:

> That may explain how I get there, but do you have a suggestion how to 
> fix this issue if I can't find any volume big enough to justify all 
> that allocated space?
>
> The sum of all the volumes is much lower than my 189% (15TB/8TB) 
> primary allocated storage.
>
> I'm kind if stuck right now, not being able to fix the situation.
>
> > On Aug 22, 2014, at 0:33, "Prashant Kumar Mishra" <
> prashantkumar.mis...@citrix.com> wrote:
> >
> > Similar issue seen because of disk resize
> https://issues.apache.org/jira/browse/CLOUDSTACK-6797  .
> >
> > Thanks
> > prashant
> >
> > -Original Message-
> > From: François Bousquet [mailto:francois.bousq...@radialpoint.com]
> > Sent: Friday, August 22, 2014 7:27 AM
> > To: users@cloudstack.apache.org
> > Subject: Primary Storage Allocated over 100% ?!
> >
> > Hello,
> >
> > We do have a strange problem with our Primary Storage Allocated. It 
> > is
> now at 189%! (Storage is at 30%). So we cannot deploy anymore, because 
> of the pool.storage.allocated.capacity.disabledthreshold=0.85
> >
> > CloudStack version is 4.2.1
> > Hypervisor is VMware ESXi 5.1 with 2 x 2 TB VMFS volume in cluster
> > storage.overprovisioning.factor=2
> >
> > If we do a list capacity, the capacitytotal for Primary Stora

RE: Primary Storage Allocated over 100% ?!

2014-08-21 Thread Prashant Kumar Mishra
Similar issue seen because of disk resize  
https://issues.apache.org/jira/browse/CLOUDSTACK-6797  . 

Thanks
prashant

-Original Message-
From: François Bousquet [mailto:francois.bousq...@radialpoint.com] 
Sent: Friday, August 22, 2014 7:27 AM
To: users@cloudstack.apache.org
Subject: Primary Storage Allocated over 100% ?!

Hello,

We do have a strange problem with our Primary Storage Allocated. It is now at 
189%! (Storage is at 30%). So we cannot deploy anymore, because of the 
pool.storage.allocated.capacity.disabledthreshold=0.85

CloudStack version is 4.2.1
Hypervisor is VMware ESXi 5.1 with 2 x 2 TB VMFS volume in cluster
storage.overprovisioning.factor=2

If we do a list capacity, the capacitytotal for Primary Storage Allocated 
(type=3) looks fine at 8 TB (8795019280384) but the capacityused value totally 
doesn’t make sense.

We don’t know how this happened or how to fix it. In order to prove my point I 
did the sum of all volumes ready/destroy (we do not have snapshots) and the 
total is a little more than 4 TB (see SQL query below).

However, storage pools are reported with wrong disk used value on 
storage_pool_view.  Content of resource_count table makes more sense.

It looks like our 2 primary storage pools disk_used_capacity are not reporting 
the right value. VMware reports then 30% full (same as CloudStack storage 
value).

Do you have any idea why my 2 storage pool are not reporting allocated disk 
properly?

I tried restarting CloudStack management server with no success.


> list capacity
count = 9
capacity:
++---+-+--+--+--+
|  capacityused  | capacitytotal | percentused |zoneid  
  | type |   zonename   |
++---+-+--+--+--+
|  287158829056  |  927422582784 |30.96| 
83b05505-08ca-4fb9-be3c-9be2cb4a8388 |  0   | HypertecProd |
| 106500 | 839904|12.68| 
83b05505-08ca-4fb9-be3c-9be2cb4a8388 |  1   | HypertecProd |
| 16702508511567 | 8795019280384 |189.91   | 
83b05505-08ca-4fb9-be3c-9be2cb4a8388 |  3   | HypertecProd |
|   2|  231  | 0.87| 
83b05505-08ca-4fb9-be3c-9be2cb4a8388 |  4   | HypertecProd |
|   6|  201  | 2.99| 
83b05505-08ca-4fb9-be3c-9be2cb4a8388 |  5   | HypertecProd |
|   0|  100  |  0  | 
83b05505-08ca-4fb9-be3c-9be2cb4a8388 |  7   | HypertecProd |
|   58   |  883  | 6.57| 
83b05505-08ca-4fb9-be3c-9be2cb4a8388 |  8   | HypertecProd |
|  61694476288   | 3248203235328 | 1.9 | 
83b05505-08ca-4fb9-be3c-9be2cb4a8388 |  6   | HypertecProd |
| 1338303840256  | 4397509640192 |30.43| 
83b05505-08ca-4fb9-be3c-9be2cb4a8388 |  2   | HypertecProd |
++---+-+--+--+--+

>

mysql> select state, sum(size) from volumes group by state;
+--++
| state| sum(size)  |
+--++
| Destroy  |  1030792151040 |
| Expunged | 22460481142784 |
| Ready|  4797277143040 |
+--++
3 rows in set (0.00 sec)

mysql>
mysql> select * from storage_pool_view;
++--+--++-+---+-+-+-++---+---+++--+--+--++--+--+--++--+--+--++++--+++
| id | uuid | name | status | path  
  | pool_type | host_address| created   
  | removed | capacity_bytes | capacity_iops | scope | hypervisor | cluster_id 
| cluster_uuid | cluster_name | cluster_type | data_center_id | 
data_center_uuid | data_center_name | data_center_type | 
pod_id | pod_uuid | pod_name | tag  | disk_used_capacity | 
disk_reserved_capacity | job_id | job_uuid | job_status | job_account_id |
++--+--++-+---+-+-+-++---+---+++--+--+--++--+--+--++--+--+--++++--+++
|  1 | e1efbd9d-123b-350f-a99b-21fb4b6b38f1 | CLOUD-PROD01 | Up | 
/CLOUD/

RE: How to change primary storage

2014-07-06 Thread Prashant Kumar Mishra
 Manually changing the db can help you but I prefer These steps ,  can be done  
without any downtime .

1-add http://XXX.XXX.1.20 with /export/dd
2- migrate volumes from http://XXX.XXX.1.5 to http://XXX.XXX.1.20
3-put http://XXX.XXX.1.5 to maintains mode
4- remove http://XXX.XXX.1.5.

thanks
-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] 
Sent: Monday, July 07, 2014 10:48 AM
To: d...@cloudstack.apache.org; Giri Prasad
Cc: users@cloudstack.apache.org
Subject: Re: How to change primary storage

You can probably change the host_address field of the storage_pool table to 
change the IP address of your primary storage.

You will probably want to make sure you don't have any (non-deleted) volumes on 
the storage pool (primary storage) in question, though.

As you likely have seen, the volumes table is linked to the storage_pool table 
via the storage_pool.id and volumes.pool_id fields.

It might be easier for you to create new primary storage and migrate your 
volumes on the old primary storage to the new primary storage.


On Sun, Jul 6, 2014 at 11:07 PM, Giri Prasad 
wrote:

> Thanks.
>
> I want to change the primary storage IP address from 
> http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the 
> primary storage directory, from /export/aa to /export/dd.  What is the 
> procedure?
>
>
>
> ________
>  From: Prashant Kumar Mishra 
> To: Giri Prasad ; "d...@cloudstack.apache.org" < 
> d...@cloudstack.apache.org>; "users@cloudstack.apache.org" < 
> users@cloudstack.apache.org>
> Sent: Monday, 7 July 2014 10:30 AM
> Subject: RE: How to change primary storage
>
>
> For error like "The storage pool will not be used but cleanup is needed"
> you should check global settings "global.clenup.interaval " ,For quick 
> cleanup you can set it to 300ms and check  parameter related to 
> cleanup like storage.template.cleanup.enable  , storage cleanup 
> enabled etc. If global settings are properly tuned I don't think  any 
> database modifications required
>
> ->cloud.volume  stores volumes information , if you are not able to 
> ->delete
> storage because"volume still exist on the storage" change the volume 
> state and delete.
>
> -> storage_pool, storage_pool_view  for primary storage
>
> Thanks
> Prashant
>
>
> -Original Message-
> From: Giri Prasad [mailto:g_p...@yahoo.com]
> Sent: Monday, July 07, 2014 10:00 AM
> To: Prashant Kumar Mishra; d...@cloudstack.apache.org; 
> users@cloudstack.apache.org
> Subject: Re: How to change primary storage
>
> Hello,
>
> Thanks for suggestion, which I will try.
>
> Btw, I saw a lead as:
> http://comments.gmane.org/gmane.comp.apache.cloudstack.user/7000
> Which says :
>
> when I've had issues deleting primary storages in the past, I've ended 
> up having to delete volumes that were still associated with the 
> datastore from the cloud.volumes table.
>
> Is cloud.volumes the mysql table, where all the primary/secondary 
> storage setups are stored? Or what is the exact db.tablename which 
> stores the primary/secondary storage setups?
>
>
> Regards,
> D.Giriprasad
>
>
>
> - Original Message -
> From: Prashant Kumar Mishra 
> To: "d...@cloudstack.apache.org" ; Giri 
> Prasad < g_p...@yahoo.com>; "users@cloudstack.apache.org" < 
> users@cloudstack.apache.org>
> Cc:
> Sent: Sunday, 6 July 2014 9:42 AM
> Subject: RE: How to change primary storage
>
>
> I would suggest add you new  primary storage ,migrate volumes  from 
> old storage to new storage and  then remove ur old primary storage 
> after enabling  maintenance mode.
>
> Thanks
> Prashant
>
>
>
> -Original Message-
> From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
> Sent: Saturday, July 05, 2014 10:16 AM
> To: users@cloudstack.apache.org; d...@cloudstack.apache.org
> Subject: How to change primary storage
>
> Hello All,
>
>  I installed CS 4.1 on ubuntu, with primary storage in /export/aa and 
> secondary storage in /export/bb, both in the same hard disk as the 
> management server of CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.
>
>
>  Recently, I configured the My Book Live Device, to the IP of 
> http://XXX.XXX.1.20. I am able to mount this device to linux dir and 
> view files on it.
>
>  The CS 4.1 was installed before mounting this external My Book Live 
> Device.
>
> Now I want to change the primary storage of the IP address from
> http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the 
> primary storage directory.
>
>  Can, anybody provide insights, on which Mysql table, should I update 
> for CS 4.1 setup. Or is there a procedure, to change the primary 
> storage settings via the CS 4.1 web interface gui?
>
> Thanks in advance.
>
> Regards,
> D.Giriprasad
>



--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*


RE: How to change primary storage

2014-07-06 Thread Prashant Kumar Mishra
For error like "The storage pool will not be used but cleanup is needed"  you 
should check global settings "global.clenup.interaval " ,For quick cleanup you 
can set it to 300ms and check  parameter related to cleanup like 
storage.template.cleanup.enable  , storage cleanup enabled etc. If global 
settings are properly tuned I don't think  any database modifications required 

->cloud.volume  stores volumes information , if you are not able to delete 
storage because"volume still exist on the storage" change the volume state and 
delete.

-> storage_pool, storage_pool_view  for primary storage

Thanks
Prashant 

-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com] 
Sent: Monday, July 07, 2014 10:00 AM
To: Prashant Kumar Mishra; d...@cloudstack.apache.org; 
users@cloudstack.apache.org
Subject: Re: How to change primary storage

Hello,

Thanks for suggestion, which I will try.

Btw, I saw a lead as:
http://comments.gmane.org/gmane.comp.apache.cloudstack.user/7000
Which says :

when I've had issues deleting primary storages in the past, I've ended up 
having to delete volumes that were still associated with the datastore from the 
cloud.volumes table.

Is cloud.volumes the mysql table, where all the primary/secondary storage 
setups are stored? Or what is the exact db.tablename which stores the 
primary/secondary storage setups?


Regards,
D.Giriprasad



- Original Message -
From: Prashant Kumar Mishra 
To: "d...@cloudstack.apache.org" ; Giri Prasad 
; "users@cloudstack.apache.org" 
Cc: 
Sent: Sunday, 6 July 2014 9:42 AM
Subject: RE: How to change primary storage


I would suggest add you new  primary storage ,migrate volumes  from old storage 
to new storage and  then remove ur old primary storage after enabling  
maintenance mode.

Thanks
Prashant



-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID]
Sent: Saturday, July 05, 2014 10:16 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: How to change primary storage

Hello All,

 I installed CS 4.1 on ubuntu, with primary storage in /export/aa and secondary 
storage in /export/bb, both in the same hard disk as the management server of 
CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


 Recently, I configured the My Book Live Device, to the IP of 
http://XXX.XXX.1.20. I am able to mount this device to linux dir and view files 
on it.

 The CS 4.1 was installed before mounting this external My Book Live Device.

Now I want to change the primary storage of the IP address from 
http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the primary 
storage directory.

 Can, anybody provide insights, on which Mysql table, should I update for CS 
4.1 setup. Or is there a procedure, to change the primary storage settings via 
the CS 4.1 web interface gui?

Thanks in advance.

Regards,
D.Giriprasad



RE: How to change primary storage

2014-07-05 Thread Prashant Kumar Mishra

I would suggest add you new  primary storage ,migrate volumes  from old storage 
to new storage and  then remove ur old primary storage after enabling  
maintenance mode.

Thanks
Prashant
-Original Message-
From: Giri Prasad [mailto:g_p...@yahoo.com.INVALID] 
Sent: Saturday, July 05, 2014 10:16 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: How to change primary storage

Hello All,

 I installed CS 4.1 on ubuntu, with primary storage in /export/aa and secondary 
storage in /export/bb, both in the same hard disk as the management server of 
CS 4.1. The Ip of the server is  http://XXX.XXX.1.5.


 Recently, I configured the My Book Live Device, to the IP of 
http://XXX.XXX.1.20. I am able to mount this device to linux dir and view files 
on it.

 The CS 4.1 was installed before mounting this external My Book Live Device.

Now I want to change the primary storage of the IP address from 
http://XXX.XXX.1.5 to http://XXX.XXX.1.20. Also, I need to change the primary 
storage directory.

 Can, anybody provide insights, on which Mysql table, should I update for CS 
4.1 setup. Or is there a procedure, to change the primary storage settings via 
the CS 4.1 web interface gui?

Thanks in advance.

Regards,
D.Giriprasad



RE: Cloudstack 4.3 KVM CPU overprovisioning

2014-06-17 Thread Prashant Kumar Mishra
I am giving an example based on my  understanding.

Data
-- 
Host= 2 cpu ,2.3GHZ
Total capacity =2*2.3 GHZ
Total allocated: Total capacity assign to  vms


1-Without over provisioning  you can have total cpu allocated not more than 
total capacity .
2-With overprovisioning x  you can have total allocated  x*total capacity , 
3-From the Cloudstack point of view If you are able to use total capacity which 
is more than physical, it is over provisioned.
4-From the kvm Point of view : I guess you are interested in Cloudstack point 
of view so leaving it 

Thanks
Prashant 

-Original Message-
From: Ivan Rodriguez [mailto:ivan...@gmail.com] 
Sent: Tuesday, June 17, 2014 11:55 AM
To: cloudstack-us...@incubator.apache.org
Subject: Re: Cloudstack 4.3 KVM CPU overprovisioning

More information from my previous post,

On this particular blade I only have 9 vm's running

Total CPU24 x 2.79 GHzCPU Utilized3.9%CPU Allocated for VMs 97%Memory
Total126.02
GBMemory Allocated53.50 GB Memory Used36.74 MBNetwork Read35.99 GBNetwork Write

[root@cs2-chas1-bl03 ~]# virsh list
 IdName   State

 9 i-8-70-VM  running
 11i-8-75-VM  running
 14r-93-VMrunning
 15i-8-72-VM  running
 16r-95-VMrunning
 17i-3-84-VM  running
 18i-3-73-VM  running
 19i-3-91-VM  running
 28i-4-110-VM running
 29i-9-112-VM running
 30i-3-128-VM running

My service offering is

# of CPU Cores4CPU (in MHz)2.00 GHz
Where the number of CPU cores varies, I'm wondering if my service offering is 
incorrect because on the # of cores in my understanding is the number of vcpu's 
and the speed is lower than the real speed 2,000 Mhz

Any ideas will be really appreciate it




Below is the virs vcpuinfo

VCPU:   0
CPU:12
State:  running
CPU time:   11802.8s
CPU Affinity:   

VCPU:   1
CPU:12
State:  running
CPU time:   11317.7s
CPU Affinity:   

VCPU:   0
CPU:2
State:  running
CPU time:   115618.7s
CPU Affinity:   

VCPU:   1
CPU:2
State:  running
CPU time:   113330.9s
CPU Affinity:   

VCPU:   0
CPU:4
State:  running
CPU time:   3928.5s
CPU Affinity:   

VCPU:   1
CPU:0
State:  running
CPU time:   3459.6s
CPU Affinity:   

VCPU:   2
CPU:14
State:  running
CPU time:   3429.3s
CPU Affinity:   

VCPU:   3
CPU:12
State:  running
CPU time:   3808.8s
CPU Affinity:   

VCPU:   4
CPU:0
State:  running
CPU time:   3506.9s
CPU Affinity:   

VCPU:   5
CPU:2
State:  running
CPU time:   3695.5s
CPU Affinity:   

VCPU:   6
CPU:21
State:  running
CPU time:   4199.5s
CPU Affinity:   

VCPU:   7
CPU:0
State:  running
CPU time:   3633.2s
CPU Affinity:   

VCPU:   0
CPU:2
State:  running
CPU time:   650355.2s
CPU Affinity:   

VCPU:   1
CPU:14
State:  running
CPU time:   652099.4s
CPU Affinity:   

VCPU:   2
CPU:6
State:  running
CPU time:   644120.8s
CPU Affinity:   

VCPU:   3
CPU:1
State:  running
CPU time:   648950.4s
CPU Affinity:   

VCPU:   0
CPU:12
State:  running
CPU time:   10297.6s
CPU Affinity:   

VCPU:   1
CPU:0
State:  running
CPU time:   10297.3s
CPU Affinity:   

VCPU:   0
CPU:1
State:  running
CPU time:   1815.1s
CPU Affinity:   

VCPU:   1
CPU:1
State:  running
CPU time:   3389.8s
CPU Affinity:   

VCPU:   0
CPU:1
State:  running
CPU time:   409.7s
CPU Affinity:   

VCPU:   1
CPU:2
State:  running
CPU time:   463.9s
CPU Affinity:   

VCPU:   2
CPU:14
State:  running
CPU time:   602.6s
CPU Affinity:   

VCPU:   3
CPU:14
State: 

RE: template download

2014-06-12 Thread Prashant Kumar Mishra
ssvm stop-start should  help

thanks
prashant
-Original Message-
From: sebgoa [mailto:run...@gmail.com] 
Sent: Thursday, June 12, 2014 2:32 PM
To: users@cloudstack.apache.org
Subject: template download

Hi folks,

If a template fails to download (network issues on ssvm) and I then fix my 
problems.

how do I kick off a new attempt at downloading the template ?

thanks

-sebastien


RE: VM's using custom offerings wont let us use the migrate host from UI !!!

2014-05-27 Thread Prashant Kumar Mishra
If you are seeing error message like below I mentioned  please open a ticket 
,If not can you please some relevant logs .


Log

2014-02-03 10:07:25,234 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) FirstFitAllocator has 1 hosts to 
check for allocation: [Host[-4-Routing]]
2014-02-03 10:07:25,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(catalina-exec-16:ctx-fca502c2 ctx-cb0c10a8) Found 1 hosts for allocation after 
prioritization: [Host[-4-Routing]]
2014-02-03 10:07:25,238 ERROR [c.c.a.ApiServer] (catalina-exec-16:ctx-fca502c2 
ctx-cb0c10a8) unhandled exception executing api command: findHostsForMigration
java.lang.NullPointerException
at 
com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:267)
at 
com.cloud.agent.manager.allocator.impl.FirstFitAllocator.allocateTo(FirstFitAllocator.java:238)
at 
com.cloud.server.ManagementServerImpl.listHostsForMigrationOfVM(ManagementServerImpl.java:1195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy210.listHostsForMigrationOfVM(Unknown Source)
at 
org.apache.cloudstack.api.command.admin.host.FindHostsForMigrationCmd.execute(FindHostsForMigrationCmd.java:75)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)

-Original Message-
From: Amin Samir [mailto:a...@opencloud.net.au] 
Sent: Tuesday, May 27, 2014 2:36 PM
To: users@cloudstack.apache.org
Subject: RE: VM's using custom offerings wont let us use the migrate host from 
UI !!!

Sorry forgot to mention this cloud stack is migrated twice before from 2.2.14 
to 4.2.1 then 4.3 if this helps

Kind Regards
Amin 

-Original Message-
From: Amin Samir
Sent: Tuesday, 27 May 2014 5:04 PM
To: users@cloudstack.apache.org
Subject: RE: VM's using custom offerings wont let us use the migrate host from 
UI !!!

Hi Devdeep,

Thanks for replying, it is one cluster with 7 hosts, we still have room to 
migrate this host, in fact other machines created from pre-defined offerings do 
migrate fine.

All hosts are running the same version Xen Server 6.2 SP1, 

There is no logs the when you click the migrate to host icon it does not pop 
up, while another vm created from pre-defined offer and from the same browser 
show the pop up when migrate to host is clicked.

Kind Regards
Amin 

   



-Original Message-
From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
Sent: Tuesday, 27 May 2014 4:58 PM
To: users@cloudstack.apache.org
Subject: RE: VM's using custom offerings wont let us use the migrate host from 
UI !!!

How many hosts do you have in your setup and how are they distributed across 
clusters? Are all hosts running the same version of the xenserver hypervisor? 
Do you see the issue only with custom offering; or is it seen if an instance 
has been created with any other offering? Anything in the cloudstack logs when 
you try and list the hosts for migration from the UI?

Regards,
Devdeep

> -Original Message-
> From: Amin Samir [mailto:a...@opencloud.net.au]
> Sent: Friday, May 23, 2014 8:12 AM
> To: users@cloudstack.apache.org
> Subject: VM's using custom offerings wont let us use the migrate host 
> from UI !!!
> 
> Hello,
> 
> 
> We have cloud stack 4.3 over centos our hypervisors are xen server 6.2
> SP1 with latest updates, the VM's that are created from custom 
> offering don't let us use the migrate host icon from the UI, however 
> you can move them from the xen center console.
> 
> 
> Has anyone faced this issue before?
> 
> 
> Kind Regards
> 
> 





[QA]Test Case for feature "Calculate Storage space correctly when using Thin Provisioning"

2014-05-15 Thread Prashant Kumar Mishra
Hi ,

I am planning to take feature " Calculate Storage space correctly when using 
Thin Provisioning"  for testing  I have written some test cases which may not 
be covering all the scenarios, please provide your feedback/suggestion if you 
see any gaps





Issue

=

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



FS

==

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Storage+OverProvisioning+as+Per+Primary+Basis



Test Case



https://cwiki.apache.org/confluence/display/CLOUDSTACK/Calculate+Storage+space+correctly+when+using+Thin+Provisioning



Thanks

Prashant



RE: Console Proxy still not using HTTPS

2014-05-14 Thread Prashant Kumar Mishra
Can you check Global setting "consoleproxy.url.domain"  value , HTTP will be 
used if  this field is blank .

Thanks
Prashant

-Original Message-
From: Владислав Старков [mailto:vladislav.star...@gmail.com] 
Sent: Wednesday, May 14, 2014 5:10 AM
To: users@cloudstack.apache.org
Subject: Console Proxy still not using HTTPS

Hi,

I've install SSL certificate to enable HTTPS for Console Proxy VM, as described 
on 
http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/latest/systemvm.html#console-proxy

However my Console window still connecting to Console Proxy VM through 
unencrypted HTTP.

The question is, how to force it to use HTTPS?

Thanks.


--
Vlad


[QA]Test Case for feature "Calculate Storage space correctly when using Thin Provisioning"

2014-05-12 Thread Prashant Kumar Mishra
Hi ,

I am planning to take feature " Calculate Storage space correctly when using 
Thin Provisioning"  for testing  I have written some test cases which may not 
be covering all the scenarios, please provide your feedback/suggestion if you 
see any gaps





Issue

=

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



FS

==

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Storage+OverProvisioning+as+Per+Primary+Basis



Test Case



https://cwiki.apache.org/confluence/display/CLOUDSTACK/Calculate+Storage+space+correctly+when+using+Thin+Provisioning



Thanks

Prashant





[QA]Test Case for feature "VR Service Failure Alerting"

2014-04-28 Thread Prashant Kumar Mishra
Hi ,
I am planning to take feature "VR Service Failure Alerting "  for testing  I 
have written some test cases which may not be covering all the scenarios, 
please provide you feedback/suggestion if you see any gaps


Issue
=
https://issues.apache.org/jira/browse/CLOUDSTACK-6090

FS
==
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Virtual+Router+Service+Failure+Alerting

Test Case

https://cwiki.apache.org/confluence/display/CLOUDSTACK/VR+Service+Failure+Alerting

Thanks
Prashant



RE: tinyLinux template failed to download - how to get cloudstack to retry?

2014-03-11 Thread Prashant Kumar Mishra
Restarting ssvm should help. Also  you can check allow.internal in global 
settings 

~prashant
 

-Original Message-
From: chris snow [mailto:chsnow...@gmail.com] 
Sent: Tuesday, March 11, 2014 2:16 PM
To: users@cloudstack.apache.org
Subject: tinyLinux template failed to download - how to get cloudstack to retry?

I have created a script to setup my cloudstack environment from scratch.  On 
previous runs of the script, the tinyLinux template has downloaded ok and 
becomes available.

However, on the most recent run of the script, tinyLinux has failed to download 
for some reason. Will cloudstack automatically retry the download (it doesn't 
seem to be), or is there something I can do manually to make cloudstack retry?

Many thanks,

Chris


RE: Management server installation on UBuntu

2014-03-09 Thread Prashant Kumar Mishra
You need to do Step 7 , irrespective of  OS, For Ubuntu if you have selinux 
installed  then go for  step 6.

Thanks
Prashant  

-Original Message-
From: sandeep khandekar [mailto:cloudstack.sand...@gmail.com] 
Sent: Monday, March 10, 2014 11:05 AM
To: users@cloudstack.apache.org
Subject: Management server installation on UBuntu

Dear ,
I am trying to install management server(installed) and mysql database 
server(installed).
Do I need to follow the step 6, 7 of "chapter 4"  from apache documentation, on 
ubuntu Operating System - dbpassword, deploy-as etc.
Thank you

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


RE: Capture messages printed in the VM console

2014-02-06 Thread Prashant Kumar Mishra
If you want to do it anyway take console's screenshot and then covert it into 
text or pdf.

Thanks
prashant

-Original Message-
From: Anshul Gangwar [mailto:anshul.gang...@citrix.com] 
Sent: Thursday, February 06, 2014 3:33 PM
To: users@cloudstack.apache.org
Subject: RE: Capture messages printed in the VM console

Hi Iliyas,

The VM console which you see in browser is image. So its not possible to copy 
text from console.

Regards,
Anshul

-Original Message-
From: iliyas shirol [mailto:iliyas.shi...@gmail.com] 
Sent: Thursday, February 06, 2014 3:15 PM
To: users@cloudstack.apache.org
Subject: Capture messages printed in the VM console

Hi,


Is there any way to copy the messages printed in the console opened for a VM in 
a browser ?

I tried using the US Standard key pairs to copy but it didn't work.

Thanks.

--
-
Md. Iliyas Shirol
Mobile : +91 9902 977 800
Google : iliyas.shirol@ gmail.com


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

2014-01-27 Thread Prashant Kumar Mishra

Can you share xen server version and logs .

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

Hi,

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


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

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Database Deployment is failing

2014-01-06 Thread Prashant Kumar Mishra
Hi ,

Deploy Db is failing , can someone  help me .

[root@localhost cloudstack]# mvn -P developer -pl developer -Ddeploydb

Eror msg
-
> Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker
[WARNING]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
at java.lang.Thread.run(Thread.java:679)
Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade 
the database
at 
com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:337)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:432)
at com.cloud.upgrade.DatabaseCreator.main(DatabaseCreator.java:222)
... 6 more
Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to execute 
upgrade script: /root/cloudstack/developer/target/db/db/schema-421to430.sql
at 
com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:252)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:306)
... 8 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate 
column name 'is_exclusive_gslb_provider'
at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:193)
at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:243)
... 9 more
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 35.980s
[INFO] Finished at: Mon Jan 06 10:29:36 EST 2014
[INFO] Final Memory: 37M/90M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java 
(create-schema) on project cloud-developer: An exception occured while 
executing the Java class. null: InvocationTargetException: Unable to upgrade 
the database: Unable to execute upgrade script: 
/root/cloudstack/developer/target/db/db/schema-421to430.sql: Duplicate column 
name 'is_exclusive_gslb_provider' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException




Setup Detail
-
[root@localhost cloudstack]# git branch
* master


root@localhost cloudstack]# git log --name-status HEAD^..HEAD
commit c2b5addaedc47b3715b408a6d5a2aa356e7fcd1b
Author: SrikanteswaraRao Talluri 
Date:   Mon Jan 6 14:50:46 2014 +0530

CLOUDSTACK-5625: removed unnecessary global setting 
'ldap.realname.attribute'

M   test/integration/component/test_ldap.py


Thanks
prashant


RE: [Doc] [4.3] Dynamic Compute Offering for Review

2013-12-25 Thread Prashant Kumar Mishra
Hi, 

Custom compute offerings can be used in following cases:
1-deploy  vm
2-change CO of  stop vm
3-change CO of  running vms(scaling up)
 

->In doc it is more specific to create vm

Custom: If checked, the end-user must fill in the desired values for number of 
CPU cores, CPU MHz, and Memory when creating a VM based on this offering. When 
you check this box, those three input fields are hidden in the dialog box.

Comments:
->we should say end user must provide value for #cpu,cpuspeed and ram whenever 
he/she is going to use custom compute offering.



Thanks
prashant
-Original Message-
From: Radhika Puthiyetath [mailto:radhika.puthiyet...@citrix.com] 
Sent: Sunday, December 22, 2013 3:57 PM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: [Doc] [4.3] Dynamic Compute Offering for Review

Hi,

4.3 Documentation is getting ready to be reviewed. Please review section 
Creating Compute Offering, which inludes the changes for the Dynamic Compute 
offering .

The documentation is uploaded at 
https://issues.apache.org/jira/browse/CLOUDSTACK-5604

Regards
-Radhika


RE: Dynamic Scaling Of CPU and RAM not working

2013-12-20 Thread Prashant Kumar Mishra
Hi Shanker ,
 
Please check following procedure , Let us know if you require more detail.

Scaling up is two-step process

1-While deploying vm CS configure memory-static-min(=memory in compute 
offering) , memory-static-max(=4*memory-static -min)  based on vm current CO .
2-Choos a compute offering and dynamically scale up  memory  ,memory in CO must 
be <=memory static-max .

To support these two steps following required

1-xen server tools in vm 
2-xen server license

How Cloudstack making sure  these things are installed
=
1-  Dynamically Scalable ="yes/No"

   If it is No and u try to scale up u will see following error " Unable to 
Scale the vm: 3e245053-4310-4154-8753-d5fd1015193c as vm does not have tools to 
support dynamic scaling"

2- Enable.dynamic.scale.vm ="True/False"
 If it is false and u try to scaleup u will see following error " 
oud.exception.PermissionDeniedException: Dynamically scaling virtual machines 
is disabled for this zone, please contact your admin"

   If it is  true  and  while scaling up vm  you see following error
 " Cannot scale up the vm because of memory constraint violation: 0 <= 
memory-static-min(536870912) <= memory-dynamic-min(1073741824) <= 
memory-dynamic-max(1073741824) <= memory-static-max(536870912)"

This is because you may have  enabled parameter " Enable.dynamic.scale.vm" 
after vm deployment . please stop and start vm ,this action will allow 
cloudstack to configure memory-static-min and memory static-max on xen server 
host.on xen host you can check these values by using this command
xe vm-list params=all uuid=| grep mem

Best practice
==
1-Please read the admin guide " 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/changing-service-offering-for-vm.html";
2-Use licensed xen server host.
3- set Enable.dynamic.scale.vm ="True. 
4-Doply vm using a template which have xen tools installed 
5-Go for scaling up.

Thanks
Prashant

-Original Message-
From: Shanker Balan [mailto:shanker.ba...@shapeblue.com] 
Sent: Friday, December 20, 2013 11:27 AM
To: CloudStack-Users
Subject: Re: Dynamic Scaling Of CPU and RAM not working

On 20-Dec-2013, at 11:13 am, Ryan Lei  wrote:

> By the way, I remember seeing this kind of error message, too.
>
> Cannot scale up the vm because of memory constraint violation:
> 0 <= memory-static-min <= memory-dynamic-min <= memory-dynamic-max <= 
> memory-static-max


Let me RTFM 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+scaling+of+CPU+and+RAM
 also.

I didnt do it the first time around.

--
@shankerbalan

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

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