Re: Urgent Issue : Cloudstack VM HA not working

2015-08-14 Thread prapul cool
Hi ,From Xenserver6.2 onwards, you need to enabled native HA at pool level for 
cloudstack HA to work.please refer the link for more 
details.http://www.shapeblue.com/xenserver-native-ha-with-cloudstack/
 Regards,
Prapul sriram,
Cloud Architect,
PSI Cloud Solutions,
Psiclouds.com. 


 On Friday, 14 August 2015 3:31 AM, Fedi Ben Ali ben.ali.fe...@gmail.com 
wrote:
   

 hello ,


I'm working on cloudstack 4.4.2 and xenserver 6.2 cluster with 5 hosts, i
 deployed many virtual machines  with compute offerings having ha feature
enabled.

But when i stops one of the pools hosts , happens all VM steel set to
running on cloudstack and no ha is done.

Even when i stop a vm from the inside (setting command init 0 ) ,cloudstack
suppose to restart the VM ,but he is not doing so.

This is very weird but can any one help ,this sooo urgent .

Thx


  

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

2015-08-14 Thread Vadim Kimlaychuk
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:

  Luciano,
 
I am afraid there is only HTTP.
 
  Vadim.
 
  -Original Message-
  From: Luciano Castro [mailto:luciano.cas...@gmail.com]
  Sent: Friday, August 14, 2015 2:56 PM
  To: users@cloudstack.apache.org
  Subject: KVM - convert vmdk to qcow2 - send volume to CS
 
  Hi!
 
  I converted vmdk to qcow2 (qemu-img convert -O qcow2 
  travis-ci-flat.vmdk dsv-str-tools.qcow2), and I need know if there´s 
  another way to submit the volume instead by HTTP (via GUI).
 
  If i have the volume at KVM host, could I run a command to register 
  it into CS?
 
  Thanks!
 
  --
  Luciano Castro
 



 --
 Luciano Castro




--
Luciano Castro


Re: [DISCUSS] CloudStack 4.5.2 RC and CloudMonkey 5.3.2 RC

2015-08-14 Thread Rohit Yadav
Hi all,

Just to update, all major pending important/security patches from my side have 
been applied, I’ll shortly start with a RC just to kickstart the testing 
process after triaging bugs on JIRA and given that there are no blockers 
reported on 4.5.x.

I’m sure we may discover more bugs so we may need to publish more RCs next 
weeks. If you have found any last minute blocker/critical issue please discuss 
here.

On 11-Aug-2015, at 10:29 am, Rohit Yadav 
rohit.ya...@shapeblue.commailto:rohit.ya...@shapeblue.com wrote:

Hi all,

Starting tomorrow I’ll be working towards the release management of next ACS 
4.5 release, ACS 4.5.2 and next CloudMonkey release, CM 5.3.2.

I’ve identified 4 issues (some of them are security related and private, others 
have open PRs and are SAML related) targeting 4.5 branch that I’ll be 
personally working on, other than that are there any issues that are 
blockers/critical for 4.5.2 release, or something major enough to be fixed for 
4.5.2?

On CloudMonkey’s side, I think we’ve seen few fixes since the last 5.3.1 
release and the next in line release (5.3.2) will be a minor release that aims 
to include few bugfixes, enhancement and an updated API precache (precached 
APIs against 4.6.0-SNAPSHOT/master to get the superset of all APIs since 4.0) 
with no major changes.

Comments, questions, feedback?

Regards,
Rohit Yadav
Software Architect, ShapeBlue


[cid:9DD97B41-04C5-45F0-92A7-951F3E962F7A]


M. +91 88 262 30892 | 
rohit.ya...@shapeblue.commailto:rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab




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

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

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

Regards,
Rohit Yadav
Software Architect, ShapeBlue


[cid:9DD97B41-04C5-45F0-92A7-951F3E962F7A]


M. +91 88 262 30892 | 
rohit.ya...@shapeblue.commailto:rohit.ya...@shapeblue.com
Blog: bhaisaab.orghttp://bhaisaab.org | Twitter: @_bhaisaab




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

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


AW: Deleting Compute Offering

2015-08-14 Thread S . Brüseke - proIO GmbH
Hi Vadim,

I am not 100% sure, but I think I was able to delete a compute offering while 
VMs still using it.

Mit freundlichen Grüßen / With kind regards,

Swen

-Ursprüngliche Nachricht-
Von: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee] 
Gesendet: Donnerstag, 13. August 2015 15:06
An: users@cloudstack.apache.org; S. Brüseke - proIO GmbH
Betreff: RE: Deleting Compute Offering

Hello Swen,

If I am not mistaken - you can't delete offering if it is used. You 
will get an error. First -- you must assign new offering and then remove the 
old one

Vadim.

-Original Message-
From: S. Brüseke - proIO GmbH [mailto:s.brues...@proio.com] 
Sent: Thursday, August 13, 2015 1:29 PM
To: users@cloudstack.apache.org
Subject: Deleting Compute Offering

Hi,

I need to delete a Compute Offering because it is using a storage tag of a 
primary storage which we want to get rid of in the future and I do not want 
users to still be able to deploy new VMs on this primary storage. Of course it 
is easy to delete the offering, but what will happen with existing VMs using 
this offering?
Will I be still able to use live migration and start/stop them?
We re using CS 4.3

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. 





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




Re: Urgent Issue : Cloudstack VM HA not working

2015-08-14 Thread Remi Bergsma
Hi,

This may also be of help:
http://blog.remibergsma.com/2015/05/23/making-xenserver-and-cloudstack-sing-and-dance-together-again/

I’d also consider upgrading to 4.4.4. I just did a 4.4.2 - 4.4.4 upgrade and 
it went without issues. It has many fixes over 4.4.2.

Regards,
Remi


On 14 Aug 2015, at 08:05, prapul cool 
prapul_cool2...@yahoo.com.INVALIDmailto:prapul_cool2...@yahoo.com.INVALID 
wrote:

Hi ,From Xenserver6.2 onwards, you need to enabled native HA at pool level for 
cloudstack HA to work.please refer the link for more 
details.http://www.shapeblue.com/xenserver-native-ha-with-cloudstack/
 Regards,
Prapul sriram,
Cloud Architect,
PSI Cloud Solutions,
Psiclouds.comhttp://Psiclouds.com.


On Friday, 14 August 2015 3:31 AM, Fedi Ben Ali 
ben.ali.fe...@gmail.commailto:ben.ali.fe...@gmail.com wrote:


hello ,


I'm working on cloudstack 4.4.2 and xenserver 6.2 cluster with 5 hosts, i
deployed many virtual machines  with compute offerings having ha feature
enabled.

But when i stops one of the pools hosts , happens all VM steel set to
running on cloudstack and no ha is done.

Even when i stop a vm from the inside (setting command init 0 ) ,cloudstack
suppose to restart the VM ,but he is not doing so.

This is very weird but can any one help ,this sooo urgent .

Thx





Re: [VOTE] Apache Cloudstack 4.5.2

2015-08-14 Thread Rohit Yadav
For convenience here is a repository built out of this RC:
http://packages.shapeblue.com/cloudstack/testing/4.5.2-rc1/

And, the new systemvm templates:
http://packages.shapeblue.com/systemvmtemplate/4.5/4.5.2/

On 14-Aug-2015, at 1:49 pm, Rohit Yadav 
bhais...@apache.orgmailto:bhais...@apache.org wrote:

Hi All,

I've created a 4.5.2 release, with the following artifacts up for a vote:

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.5-RC20150814T1334
Commit: caa411305a76bb9aac66600853a8193294874a1b
Tag: 4.5.2-rc1

List of changes:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.5-RC20150814T1334

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.5.2/

PGP release keys (signed using 0EE3D884):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Due to upcoming weekends, the vote will be open for 120 hours (or 5 days).

For sanity in tallying the vote, can PMC members please be sure to
indicate (binding) with their vote?

[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

Regards.

Regards,
Rohit Yadav
Software Architect, ShapeBlue


[cid:9DD97B41-04C5-45F0-92A7-951F3E962F7A]


M. +91 88 262 30892 | 
rohit.ya...@shapeblue.commailto:rohit.ya...@shapeblue.com
Blog: bhaisaab.orghttp://bhaisaab.org | Twitter: @_bhaisaab




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

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


Re: updatecloudtouseobjectstore options

2015-08-14 Thread christian.kirmse
Hi Somesh,

thanks for diving through the code.

I gave it some new tries but unfortunately the protocol is still set to http.
Here are the combinations I already used:

details[4].key=S3_HTTPS_FLAG details[4].value=usehttps
details[4].key=S3_HTTPS_FLAG details[4].value=true
details[4].key=usehttps details[4].value=true
details[4].key=useHttps details[4].value=true
details[4].key=useHttps details[4].value=usehttps

Did I miss the right one?

Kind Regards
Christian

 On 11 Aug 2015, at 22:43, Somesh Naidu somesh.na...@citrix.com wrote:
 
 I did some digging and think you need to add another key,value - 
 usehttps,useHttps in the details param to make it work.
 
 My reference has been following code snippets:
 ---
 String useHttps = details.get(ApiConstants.S3_HTTPS_FLAG);
if (useHttps != null  Boolean.parseBoolean(useHttps)) {
protocol = https;
}
 ---
 public static final String S3_HTTPS_FLAG = usehttps;
 ---
 
 Regards,
 Somesh
 
 
 -Original Message-
 From: christian.kir...@zv.fraunhofer.de 
 [mailto:christian.kir...@zv.fraunhofer.de] 
 Sent: Tuesday, August 11, 2015 3:31 PM
 To: users@cloudstack.apache.org
 Subject: Re: updatecloudtouseobjectstore options
 
 Hi Somesh,
 
 thanks for your quick response. 
 
 That was also my hope but the protocol in the url seems to be ignored. 
 In the database is a attribute called protocol which was set to http in all 
 my tries. 
 It seems to be the default if you not explicitly set the protocol. 
 
 I tried to set the protocol via a key value pair in the details part of the 
 api call and via a separate option which I named protocol. 
 There was never an error but it hasn't worked either. 
 
 Here is the last call I tried:
 update cloudtouseobjectstore name=Secondary 
 zoneId=01b01ed7-ed98-4908-93a3-8729ef0db427 url=https://my.s3.storage 
 details[0].key=accesskey details[0].value=X details[1].key=secretkey 
 details[1].value=X details[2].key=bucket details[2].value=secondary 
 details[3].key=endpoint details[3].value=my.s3.storage 
 details[4].key=protocol details[4].value=https provider=S3
 
 Kind regards
 Christian
 
 Am 11.08.2015 um 18:36 schrieb Somesh Naidu somesh.na...@citrix.com:
 
 Christian,
 
 I am not 100% as I haven’t tried this before but I was thinking the 
 parameter URL would affect this?
 
 Regards,
 Somesh
 
 
 -Original Message-
 From: christian.kir...@zv.fraunhofer.de 
 [mailto:christian.kir...@zv.fraunhofer.de] 
 Sent: Tuesday, August 11, 2015 11:22 AM
 To: users@cloudstack.apache.org
 Subject: updatecloudtouseobjectstore options
 
 Hi all,
 
 we are fairly new to all the cloudstack stuff, so excuse me if I ask kinda 
 stupid questions.
 
 We had set up our cloudstack with nfs as secondary storage, now we like to 
 use our s3 storage.
 I read through many threads how to add my own certificates, root ca and 
 intermediate ca, now I am at the point where I need to test all the fancy 
 stuff I configured.
 Therefore I need to switch from nfs secondary to s3.
 I found the updatecloudtouseobjectstore api call and gave it a couple of 
 tries with cloudmonkey.
 On the first glance it seems to do what it should do, but I wasn’t able to 
 figure out the right argument to tell the api call to set the protocol to 
 https.
 
 Any suggestions?
 
 Kind Regards
 Christian



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

2015-08-14 Thread Luciano Castro
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 luciano.cas...@gmail.com
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:
 
   Luciano,
  
 I am afraid there is only HTTP.
  
   Vadim.
  
   -Original Message-
   From: Luciano Castro [mailto:luciano.cas...@gmail.com]
   Sent: Friday, August 14, 2015 2:56 PM
   To: users@cloudstack.apache.org
   Subject: KVM - convert vmdk to qcow2 - send volume to CS
  
   Hi!
  
   I converted vmdk to qcow2 (qemu-img convert -O qcow2
   travis-ci-flat.vmdk dsv-str-tools.qcow2), and I need know if there´s
   another way to submit the volume instead by HTTP (via GUI).
  
   If i have the volume at KVM host, could I run a command to register
   it into CS?
  
   Thanks!
  
   --
   Luciano Castro
  
 
 
 
  --
  Luciano Castro
 



 --
 Luciano Castro




 --
 Luciano Castro




-- 
Luciano Castro


RE: Urgent Issue : Cloudstack VM HA not working

2015-08-14 Thread Somesh Naidu
Fedi,

I am assuming VM has HA flag set in its Compute Offering.

When you stop the VM from XenCenter, what state is it in XenSever (halted or 
does it disappear) and in Cloud DB (Running or Stopped)? What does vmsync for 
that host do with this VM (look at management server logs for this)?

Regards,
Somesh

-Original Message-
From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com] 
Sent: Friday, August 14, 2015 7:59 AM
To: users@cloudstack.apache.org
Cc: prapul cool
Subject: Re: Urgent Issue : Cloudstack VM HA not working

Hi,

thanks for your replys,
but all those links are basically discribing how to do the pool-master
failover (i already made those the configuration of xenserver ha ).
but in my case i'm not recovering from a slave faillure ,even when i stop a
vm from xencenter ,cloudstack do not start it as described in the
documentation.

Best regards.

2015-08-14 12:26 GMT+03:00 Remi Bergsma rberg...@schubergphilis.com:

 Hi,

 This may also be of help:

 http://blog.remibergsma.com/2015/05/23/making-xenserver-and-cloudstack-sing-and-dance-together-again/

 I’d also consider upgrading to 4.4.4. I just did a 4.4.2 - 4.4.4 upgrade
 and it went without issues. It has many fixes over 4.4.2.

 Regards,
 Remi


 On 14 Aug 2015, at 08:05, prapul cool prapul_cool2...@yahoo.com.INVALID
 mailto:prapul_cool2...@yahoo.com.INVALID wrote:

 Hi ,From Xenserver6.2 onwards, you need to enabled native HA at pool level
 for cloudstack HA to work.please refer the link for more details.
 http://www.shapeblue.com/xenserver-native-ha-with-cloudstack/
  Regards,
 Prapul sriram,
 Cloud Architect,
 PSI Cloud Solutions,
 Psiclouds.comhttp://Psiclouds.com.


 On Friday, 14 August 2015 3:31 AM, Fedi Ben Ali 
 ben.ali.fe...@gmail.commailto:ben.ali.fe...@gmail.com wrote:


 hello ,


 I'm working on cloudstack 4.4.2 and xenserver 6.2 cluster with 5 hosts, i
 deployed many virtual machines  with compute offerings having ha feature
 enabled.

 But when i stops one of the pools hosts , happens all VM steel set to
 running on cloudstack and no ha is done.

 Even when i stop a vm from the inside (setting command init 0 ) ,cloudstack
 suppose to restart the VM ,but he is not doing so.

 This is very weird but can any one help ,this sooo urgent .

 Thx






RE: Deleting Compute Offering

2015-08-14 Thread Somesh Naidu
That is correct, you should be able to delete a compute offering even if there 
are active VMs using it. I just performed a quick test for migrate and 
stop/start operations work fine. I even performed a Reinstall VM operation 
(that recreates a VM from template) and it worked fine.

Regards,
Somesh


-Original Message-
From: S. Brüseke - proIO GmbH [mailto:s.brues...@proio.com] 
Sent: Friday, August 14, 2015 5:04 AM
To: users@cloudstack.apache.org
Subject: AW: Deleting Compute Offering

Hi Vadim,

I am not 100% sure, but I think I was able to delete a compute offering while 
VMs still using it.

Mit freundlichen Grüßen / With kind regards,

Swen

-Ursprüngliche Nachricht-
Von: Vadim Kimlaychuk [mailto:vadim.kimlayc...@elion.ee] 
Gesendet: Donnerstag, 13. August 2015 15:06
An: users@cloudstack.apache.org; S. Brüseke - proIO GmbH
Betreff: RE: Deleting Compute Offering

Hello Swen,

If I am not mistaken - you can't delete offering if it is used. You 
will get an error. First -- you must assign new offering and then remove the 
old one

Vadim.

-Original Message-
From: S. Brüseke - proIO GmbH [mailto:s.brues...@proio.com] 
Sent: Thursday, August 13, 2015 1:29 PM
To: users@cloudstack.apache.org
Subject: Deleting Compute Offering

Hi,

I need to delete a Compute Offering because it is using a storage tag of a 
primary storage which we want to get rid of in the future and I do not want 
users to still be able to deploy new VMs on this primary storage. Of course it 
is easy to delete the offering, but what will happen with existing VMs using 
this offering?
Will I be still able to use live migration and start/stop them?
We re using CS 4.3

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. 





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




RE: updatecloudtouseobjectstore options

2015-08-14 Thread Somesh Naidu
Hi Christian,

 details[4].key=usehttps details[4].value=true

I would have thought the above should have worked. Let me have a second look at 
this and get back to you.

Regards,
Somesh


-Original Message-
From: christian.kir...@zv.fraunhofer.de 
[mailto:christian.kir...@zv.fraunhofer.de] 
Sent: Friday, August 14, 2015 10:45 AM
To: users@cloudstack.apache.org
Subject: Re: updatecloudtouseobjectstore options

Hi Somesh,

thanks for diving through the code.

I gave it some new tries but unfortunately the protocol is still set to http.
Here are the combinations I already used:

details[4].key=S3_HTTPS_FLAG details[4].value=usehttps
details[4].key=S3_HTTPS_FLAG details[4].value=true
details[4].key=usehttps details[4].value=true
details[4].key=useHttps details[4].value=true
details[4].key=useHttps details[4].value=usehttps

Did I miss the right one?

Kind Regards
Christian

 On 11 Aug 2015, at 22:43, Somesh Naidu somesh.na...@citrix.com wrote:
 
 I did some digging and think you need to add another key,value - 
 usehttps,useHttps in the details param to make it work.
 
 My reference has been following code snippets:
 ---
 String useHttps = details.get(ApiConstants.S3_HTTPS_FLAG);
if (useHttps != null  Boolean.parseBoolean(useHttps)) {
protocol = https;
}
 ---
 public static final String S3_HTTPS_FLAG = usehttps;
 ---
 
 Regards,
 Somesh
 
 
 -Original Message-
 From: christian.kir...@zv.fraunhofer.de 
 [mailto:christian.kir...@zv.fraunhofer.de] 
 Sent: Tuesday, August 11, 2015 3:31 PM
 To: users@cloudstack.apache.org
 Subject: Re: updatecloudtouseobjectstore options
 
 Hi Somesh,
 
 thanks for your quick response. 
 
 That was also my hope but the protocol in the url seems to be ignored. 
 In the database is a attribute called protocol which was set to http in all 
 my tries. 
 It seems to be the default if you not explicitly set the protocol. 
 
 I tried to set the protocol via a key value pair in the details part of the 
 api call and via a separate option which I named protocol. 
 There was never an error but it hasn't worked either. 
 
 Here is the last call I tried:
 update cloudtouseobjectstore name=Secondary 
 zoneId=01b01ed7-ed98-4908-93a3-8729ef0db427 url=https://my.s3.storage 
 details[0].key=accesskey details[0].value=X details[1].key=secretkey 
 details[1].value=X details[2].key=bucket details[2].value=secondary 
 details[3].key=endpoint details[3].value=my.s3.storage 
 details[4].key=protocol details[4].value=https provider=S3
 
 Kind regards
 Christian
 
 Am 11.08.2015 um 18:36 schrieb Somesh Naidu somesh.na...@citrix.com:
 
 Christian,
 
 I am not 100% as I haven’t tried this before but I was thinking the 
 parameter URL would affect this?
 
 Regards,
 Somesh
 
 
 -Original Message-
 From: christian.kir...@zv.fraunhofer.de 
 [mailto:christian.kir...@zv.fraunhofer.de] 
 Sent: Tuesday, August 11, 2015 11:22 AM
 To: users@cloudstack.apache.org
 Subject: updatecloudtouseobjectstore options
 
 Hi all,
 
 we are fairly new to all the cloudstack stuff, so excuse me if I ask kinda 
 stupid questions.
 
 We had set up our cloudstack with nfs as secondary storage, now we like to 
 use our s3 storage.
 I read through many threads how to add my own certificates, root ca and 
 intermediate ca, now I am at the point where I need to test all the fancy 
 stuff I configured.
 Therefore I need to switch from nfs secondary to s3.
 I found the updatecloudtouseobjectstore api call and gave it a couple of 
 tries with cloudmonkey.
 On the first glance it seems to do what it should do, but I wasn’t able to 
 figure out the right argument to tell the api call to set the protocol to 
 https.
 
 Any suggestions?
 
 Kind Regards
 Christian



Re: Register iso so slow.

2015-08-14 Thread Borhan Asgharnejad
Hi
1. no i have never been able register any ISO in this environment.
2. KVM
3. yes i tried but nothing changed and the problem exist.
4. cloud.log in ssvm like:
 ///
2015-08-14 17:15:08,268 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-3:null) Request:Seq 461-5216294268401877072:  { Cmd ,
MgmtId: 279278805450954, via: 461, Ver: v1, Flags: 100011,
[{org.apache.cloudstack.storage.command.DownloadProgressCommand:{jobId:83957b05-5dd7-4e47-9e65-b512f5bed735,request:GET_STATUS,hvm:true,description:iso,maxDownloadSizeInBytes:53687091200,id:212,resourceType:TEMPLATE,installPath:template/tmpl/2/212,_store:{com.cloud.agent.api.to.NfsTO:{_url:nfs://
192.168.76.146/secondary,_role:Image}},url:
http://192.168.76.147:8080/CentOS-6.4-x86_64-minimal.iso
,format:ISO,accountId:2,name:212-2-bc224b91-d8d2-305a-818b-f87c3c387096,secUrl:nfs://
192.168.76.146/secondary,wait:0}}] }
2015-08-14 17:15:08,269 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-3:null) Processing command:
org.apache.cloudstack.storage.command.DownloadProgressCommand
2015-08-14 17:15:08,269 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-3:null) Seq 461-5216294268401877072:  { Ans: ,
MgmtId: 279278805450954, via: 461, Ver: v1, Flags: 10,
[{com.cloud.agent.api.storage.DownloadAnswer:{jobId:83957b05-5dd7-4e47-9e65-b512f5bed735,downloadPct:0,errorString:
,downloadStatus:NOT_DOWNLOADED,downloadPath:/mnt/SecStorage/48148529-2b47-39ff-9476-b95d6a4f06ee/template/tmpl/2/212/dnld3810725773438490062tmp_,installPath:template/tmpl/2/212,templateSize:0,templatePhySicalSize:0,result:true,details:
,wait:0}}] }
///
5. template_store_ref is empty.

On Fri, Aug 14, 2015 at 2:46 AM, Somesh Naidu somesh.na...@citrix.com
wrote:

 @Sam,

 About running the webserver on port 80, we have this running in multiple
 environments when using internal sites and it seems to work fine.

 @Borhan,
 1. have you ever been able to register a template/ISO in this environment?
 2. what hypervisor is being used? Xenserver?
 3. have you tried to recreate SSVM to see if that helps?
 4. were you able to spot any errors in either management or agent (SSVM)
 logs related to this operation?
 5. look for this template in template_store_ref, what state is it in?

 Regards,
 Somesh


 -Original Message-
 From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com]
 Sent: Thursday, August 13, 2015 4:55 AM
 To: users@cloudstack.apache.org
 Subject: Re: Register iso so slow.

 Hi
 My Problem already exist.
 As I check ssvm troubleshooting i notice something about systemVM.ISO What
 is it and how check if  it is patch correct in my cloudstack.
 i see it in my management server and it has 54.6 MB size
 /usr/share/cloudstack-common/vms/systemvm.iso.

 On Thu, Aug 13, 2015 at 12:40 AM, Borhan Asgharnejad 
 b.asgharne...@gmail.com wrote:

  not working at all.
 
  On Wed, Aug 12, 2015 at 11:44 PM, Sam Ceylani s...@mistercertified.com
  wrote:
 
  First you need to tell me if it is slow or not working at all? Both
  requires different troubleshooting...
 
  -Original Message-
  From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com]
  Sent: Wednesday, August 12, 2015 1:57 PM
  To: users@cloudstack.apache.org
  Subject: Re: Register iso so slow.
 
  my gateway is 192.168.76.2, could the problem cause the Gateway? i read
  in quick installation need /24 network with gateway XXX.XXX.XXX.1.
  i install centos 6.6 on vmware workstation. and setup cloud stack on it.
 
  On Wed, Aug 12, 2015 at 10:23 PM, Borhan Asgharnejad 
  b.asgharne...@gmail.com wrote:
 
   hi Sam
   yes i did it. but still the problem exist.
  
   On Wed, Aug 12, 2015 at 10:15 PM, Sam Ceylani
   s...@mistercertified.com
   wrote:
  
   Borhan, did you try running your server at port 8080? there are some
   hard coded stuff for this port in the code and secstorage allowed
   sites etc. I asked this yesterday but couldnt get an answer from you
   :)
  
   Sent from my iPhone
  
On Aug 12, 2015, at 1:02 PM, Borhan Asgharnejad 
   b.asgharne...@gmail.com wrote:
   
sorry set secstorage.allowed.internal.sites to 192.168.76.0/24
http://192.168.76.9/24
   
On Wed, Aug 12, 2015 at 9:07 PM, Borhan Asgharnejad 
   b.asgharne...@gmail.com
wrote:
   
hi
this is ssvm check result and of course i set
secstorage.allowed.internal.sites to 192.168.76.9/24. but after
   register
iso it just create empty file in 192.168.76.5:/secondary (i mean
the
   size
of file 0kb)
   
   
First DNS server is  8.8.8.8
PING 8.8.8.8 (8.8.8.8): 48 data bytes
56 bytes from 8.8.8.8: icmp_seq=0 ttl=128 time=670.263 ms
56 bytes from 8.8.8.8: icmp_seq=1 ttl=128 time=749.591 ms
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 670.263/709.927/749.591/39.664 ms
Good: Can ping DNS server

Good: DNS resolves 

RE: updatecloudtouseobjectstore options

2015-08-14 Thread Somesh Naidu
Christian, can you try to find the following log message and paste it here,
Trying to add a S3 store in data center

In addition, can you tell me what values are being set in the DB for scope, 
role and image_provider_name?

Regards,
Somesh


-Original Message-
From: Somesh Naidu [mailto:somesh.na...@citrix.com] 
Sent: Friday, August 14, 2015 12:22 PM
To: users@cloudstack.apache.org
Subject: RE: updatecloudtouseobjectstore options

Hi Christian,

 details[4].key=usehttps details[4].value=true

I would have thought the above should have worked. Let me have a second look at 
this and get back to you.

Regards,
Somesh


-Original Message-
From: christian.kir...@zv.fraunhofer.de 
[mailto:christian.kir...@zv.fraunhofer.de] 
Sent: Friday, August 14, 2015 10:45 AM
To: users@cloudstack.apache.org
Subject: Re: updatecloudtouseobjectstore options

Hi Somesh,

thanks for diving through the code.

I gave it some new tries but unfortunately the protocol is still set to http.
Here are the combinations I already used:

details[4].key=S3_HTTPS_FLAG details[4].value=usehttps
details[4].key=S3_HTTPS_FLAG details[4].value=true
details[4].key=usehttps details[4].value=true
details[4].key=useHttps details[4].value=true
details[4].key=useHttps details[4].value=usehttps

Did I miss the right one?

Kind Regards
Christian

 On 11 Aug 2015, at 22:43, Somesh Naidu somesh.na...@citrix.com wrote:
 
 I did some digging and think you need to add another key,value - 
 usehttps,useHttps in the details param to make it work.
 
 My reference has been following code snippets:
 ---
 String useHttps = details.get(ApiConstants.S3_HTTPS_FLAG);
if (useHttps != null  Boolean.parseBoolean(useHttps)) {
protocol = https;
}
 ---
 public static final String S3_HTTPS_FLAG = usehttps;
 ---
 
 Regards,
 Somesh
 
 
 -Original Message-
 From: christian.kir...@zv.fraunhofer.de 
 [mailto:christian.kir...@zv.fraunhofer.de] 
 Sent: Tuesday, August 11, 2015 3:31 PM
 To: users@cloudstack.apache.org
 Subject: Re: updatecloudtouseobjectstore options
 
 Hi Somesh,
 
 thanks for your quick response. 
 
 That was also my hope but the protocol in the url seems to be ignored. 
 In the database is a attribute called protocol which was set to http in all 
 my tries. 
 It seems to be the default if you not explicitly set the protocol. 
 
 I tried to set the protocol via a key value pair in the details part of the 
 api call and via a separate option which I named protocol. 
 There was never an error but it hasn't worked either. 
 
 Here is the last call I tried:
 update cloudtouseobjectstore name=Secondary 
 zoneId=01b01ed7-ed98-4908-93a3-8729ef0db427 url=https://my.s3.storage 
 details[0].key=accesskey details[0].value=X details[1].key=secretkey 
 details[1].value=X details[2].key=bucket details[2].value=secondary 
 details[3].key=endpoint details[3].value=my.s3.storage 
 details[4].key=protocol details[4].value=https provider=S3
 
 Kind regards
 Christian
 
 Am 11.08.2015 um 18:36 schrieb Somesh Naidu somesh.na...@citrix.com:
 
 Christian,
 
 I am not 100% as I haven’t tried this before but I was thinking the 
 parameter URL would affect this?
 
 Regards,
 Somesh
 
 
 -Original Message-
 From: christian.kir...@zv.fraunhofer.de 
 [mailto:christian.kir...@zv.fraunhofer.de] 
 Sent: Tuesday, August 11, 2015 11:22 AM
 To: users@cloudstack.apache.org
 Subject: updatecloudtouseobjectstore options
 
 Hi all,
 
 we are fairly new to all the cloudstack stuff, so excuse me if I ask kinda 
 stupid questions.
 
 We had set up our cloudstack with nfs as secondary storage, now we like to 
 use our s3 storage.
 I read through many threads how to add my own certificates, root ca and 
 intermediate ca, now I am at the point where I need to test all the fancy 
 stuff I configured.
 Therefore I need to switch from nfs secondary to s3.
 I found the updatecloudtouseobjectstore api call and gave it a couple of 
 tries with cloudmonkey.
 On the first glance it seems to do what it should do, but I wasn’t able to 
 figure out the right argument to tell the api call to set the protocol to 
 https.
 
 Any suggestions?
 
 Kind Regards
 Christian



RE: Register iso so slow.

2015-08-14 Thread Somesh Naidu
Ok, can you share the output of SQL query - select id,name,type,status from 
host where id=461;

Has there been any progress in the download status since your last email, you 
may just grep the agent logs for 83957b05-5dd7-4e47-9e65-b512f5bed735?

Regards,
Somesh


-Original Message-
From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com] 
Sent: Friday, August 14, 2015 1:19 PM
To: users@cloudstack.apache.org
Subject: Re: Register iso so slow.

Hi
1. no i have never been able register any ISO in this environment.
2. KVM
3. yes i tried but nothing changed and the problem exist.
4. cloud.log in ssvm like:
 ///
2015-08-14 17:15:08,268 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-3:null) Request:Seq 461-5216294268401877072:  { Cmd ,
MgmtId: 279278805450954, via: 461, Ver: v1, Flags: 100011,
[{org.apache.cloudstack.storage.command.DownloadProgressCommand:{jobId:83957b05-5dd7-4e47-9e65-b512f5bed735,request:GET_STATUS,hvm:true,description:iso,maxDownloadSizeInBytes:53687091200,id:212,resourceType:TEMPLATE,installPath:template/tmpl/2/212,_store:{com.cloud.agent.api.to.NfsTO:{_url:nfs://
192.168.76.146/secondary,_role:Image}},url:
http://192.168.76.147:8080/CentOS-6.4-x86_64-minimal.iso
,format:ISO,accountId:2,name:212-2-bc224b91-d8d2-305a-818b-f87c3c387096,secUrl:nfs://
192.168.76.146/secondary,wait:0}}] }
2015-08-14 17:15:08,269 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-3:null) Processing command:
org.apache.cloudstack.storage.command.DownloadProgressCommand
2015-08-14 17:15:08,269 DEBUG [cloud.agent.Agent]
(agentRequest-Handler-3:null) Seq 461-5216294268401877072:  { Ans: ,
MgmtId: 279278805450954, via: 461, Ver: v1, Flags: 10,
[{com.cloud.agent.api.storage.DownloadAnswer:{jobId:83957b05-5dd7-4e47-9e65-b512f5bed735,downloadPct:0,errorString:
,downloadStatus:NOT_DOWNLOADED,downloadPath:/mnt/SecStorage/48148529-2b47-39ff-9476-b95d6a4f06ee/template/tmpl/2/212/dnld3810725773438490062tmp_,installPath:template/tmpl/2/212,templateSize:0,templatePhySicalSize:0,result:true,details:
,wait:0}}] }
///
5. template_store_ref is empty.

On Fri, Aug 14, 2015 at 2:46 AM, Somesh Naidu somesh.na...@citrix.com
wrote:

 @Sam,

 About running the webserver on port 80, we have this running in multiple
 environments when using internal sites and it seems to work fine.

 @Borhan,
 1. have you ever been able to register a template/ISO in this environment?
 2. what hypervisor is being used? Xenserver?
 3. have you tried to recreate SSVM to see if that helps?
 4. were you able to spot any errors in either management or agent (SSVM)
 logs related to this operation?
 5. look for this template in template_store_ref, what state is it in?

 Regards,
 Somesh


 -Original Message-
 From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com]
 Sent: Thursday, August 13, 2015 4:55 AM
 To: users@cloudstack.apache.org
 Subject: Re: Register iso so slow.

 Hi
 My Problem already exist.
 As I check ssvm troubleshooting i notice something about systemVM.ISO What
 is it and how check if  it is patch correct in my cloudstack.
 i see it in my management server and it has 54.6 MB size
 /usr/share/cloudstack-common/vms/systemvm.iso.

 On Thu, Aug 13, 2015 at 12:40 AM, Borhan Asgharnejad 
 b.asgharne...@gmail.com wrote:

  not working at all.
 
  On Wed, Aug 12, 2015 at 11:44 PM, Sam Ceylani s...@mistercertified.com
  wrote:
 
  First you need to tell me if it is slow or not working at all? Both
  requires different troubleshooting...
 
  -Original Message-
  From: Borhan Asgharnejad [mailto:b.asgharne...@gmail.com]
  Sent: Wednesday, August 12, 2015 1:57 PM
  To: users@cloudstack.apache.org
  Subject: Re: Register iso so slow.
 
  my gateway is 192.168.76.2, could the problem cause the Gateway? i read
  in quick installation need /24 network with gateway XXX.XXX.XXX.1.
  i install centos 6.6 on vmware workstation. and setup cloud stack on it.
 
  On Wed, Aug 12, 2015 at 10:23 PM, Borhan Asgharnejad 
  b.asgharne...@gmail.com wrote:
 
   hi Sam
   yes i did it. but still the problem exist.
  
   On Wed, Aug 12, 2015 at 10:15 PM, Sam Ceylani
   s...@mistercertified.com
   wrote:
  
   Borhan, did you try running your server at port 8080? there are some
   hard coded stuff for this port in the code and secstorage allowed
   sites etc. I asked this yesterday but couldnt get an answer from you
   :)
  
   Sent from my iPhone
  
On Aug 12, 2015, at 1:02 PM, Borhan Asgharnejad 
   b.asgharne...@gmail.com wrote:
   
sorry set secstorage.allowed.internal.sites to 192.168.76.0/24
http://192.168.76.9/24
   
On Wed, Aug 12, 2015 at 9:07 PM, Borhan Asgharnejad 
   b.asgharne...@gmail.com
wrote:
   
hi
this is ssvm check result and of course i set
secstorage.allowed.internal.sites to 192.168.76.9/24. but after
   register
iso it just create empty file in 192.168.76.5:/secondary (i mean
the
   size
of file 0kb)
   
   
First DNS server is  8.8.8.8

Re: Urgent Issue : Cloudstack VM HA not working

2015-08-14 Thread Fedi Ben Ali
hi,

On the xencenter its halted and in the cloudDB its running.
The vmsync process is not getting any information about the VM.

2015-08-14 18:46 GMT+03:00 Somesh Naidu somesh.na...@citrix.com:

 Fedi,

 I am assuming VM has HA flag set in its Compute Offering.

 When you stop the VM from XenCenter, what state is it in XenSever (halted
 or does it disappear) and in Cloud DB (Running or Stopped)? What does
 vmsync for that host do with this VM (look at management server logs for
 this)?

 Regards,
 Somesh

 -Original Message-
 From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com]
 Sent: Friday, August 14, 2015 7:59 AM
 To: users@cloudstack.apache.org
 Cc: prapul cool
 Subject: Re: Urgent Issue : Cloudstack VM HA not working

 Hi,

 thanks for your replys,
 but all those links are basically discribing how to do the pool-master
 failover (i already made those the configuration of xenserver ha ).
 but in my case i'm not recovering from a slave faillure ,even when i stop a
 vm from xencenter ,cloudstack do not start it as described in the
 documentation.

 Best regards.

 2015-08-14 12:26 GMT+03:00 Remi Bergsma rberg...@schubergphilis.com:

  Hi,
 
  This may also be of help:
 
 
 http://blog.remibergsma.com/2015/05/23/making-xenserver-and-cloudstack-sing-and-dance-together-again/
 
  I’d also consider upgrading to 4.4.4. I just did a 4.4.2 - 4.4.4 upgrade
  and it went without issues. It has many fixes over 4.4.2.
 
  Regards,
  Remi
 
 
  On 14 Aug 2015, at 08:05, prapul cool prapul_cool2...@yahoo.com.INVALID
  mailto:prapul_cool2...@yahoo.com.INVALID wrote:
 
  Hi ,From Xenserver6.2 onwards, you need to enabled native HA at pool
 level
  for cloudstack HA to work.please refer the link for more details.
  http://www.shapeblue.com/xenserver-native-ha-with-cloudstack/
   Regards,
  Prapul sriram,
  Cloud Architect,
  PSI Cloud Solutions,
  Psiclouds.comhttp://Psiclouds.com.
 
 
  On Friday, 14 August 2015 3:31 AM, Fedi Ben Ali 
  ben.ali.fe...@gmail.commailto:ben.ali.fe...@gmail.com wrote:
 
 
  hello ,
 
 
  I'm working on cloudstack 4.4.2 and xenserver 6.2 cluster with 5 hosts, i
  deployed many virtual machines  with compute offerings having ha feature
  enabled.
 
  But when i stops one of the pools hosts , happens all VM steel set to
  running on cloudstack and no ha is done.
 
  Even when i stop a vm from the inside (setting command init 0 )
 ,cloudstack
  suppose to restart the VM ,but he is not doing so.
 
  This is very weird but can any one help ,this sooo urgent .
 
  Thx
 
 
 
 



RE: Urgent Issue : Cloudstack VM HA not working

2015-08-14 Thread Somesh Naidu
 in the cloudDB its running

That would explain why HA did not trigger on the VM.

Is the host marked as Up, as in connected to CS?

Regards,
Somesh


-Original Message-
From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com] 
Sent: Friday, August 14, 2015 5:23 PM
To: users@cloudstack.apache.org
Cc: prapul cool
Subject: Re: Urgent Issue : Cloudstack VM HA not working

hi,

On the xencenter its halted and in the cloudDB its running.
The vmsync process is not getting any information about the VM.

2015-08-14 18:46 GMT+03:00 Somesh Naidu somesh.na...@citrix.com:

 Fedi,

 I am assuming VM has HA flag set in its Compute Offering.

 When you stop the VM from XenCenter, what state is it in XenSever (halted
 or does it disappear) and in Cloud DB (Running or Stopped)? What does
 vmsync for that host do with this VM (look at management server logs for
 this)?

 Regards,
 Somesh

 -Original Message-
 From: Fedi Ben Ali [mailto:ben.ali.fe...@gmail.com]
 Sent: Friday, August 14, 2015 7:59 AM
 To: users@cloudstack.apache.org
 Cc: prapul cool
 Subject: Re: Urgent Issue : Cloudstack VM HA not working

 Hi,

 thanks for your replys,
 but all those links are basically discribing how to do the pool-master
 failover (i already made those the configuration of xenserver ha ).
 but in my case i'm not recovering from a slave faillure ,even when i stop a
 vm from xencenter ,cloudstack do not start it as described in the
 documentation.

 Best regards.

 2015-08-14 12:26 GMT+03:00 Remi Bergsma rberg...@schubergphilis.com:

  Hi,
 
  This may also be of help:
 
 
 http://blog.remibergsma.com/2015/05/23/making-xenserver-and-cloudstack-sing-and-dance-together-again/
 
  I’d also consider upgrading to 4.4.4. I just did a 4.4.2 - 4.4.4 upgrade
  and it went without issues. It has many fixes over 4.4.2.
 
  Regards,
  Remi
 
 
  On 14 Aug 2015, at 08:05, prapul cool prapul_cool2...@yahoo.com.INVALID
  mailto:prapul_cool2...@yahoo.com.INVALID wrote:
 
  Hi ,From Xenserver6.2 onwards, you need to enabled native HA at pool
 level
  for cloudstack HA to work.please refer the link for more details.
  http://www.shapeblue.com/xenserver-native-ha-with-cloudstack/
   Regards,
  Prapul sriram,
  Cloud Architect,
  PSI Cloud Solutions,
  Psiclouds.comhttp://Psiclouds.com.
 
 
  On Friday, 14 August 2015 3:31 AM, Fedi Ben Ali 
  ben.ali.fe...@gmail.commailto:ben.ali.fe...@gmail.com wrote:
 
 
  hello ,
 
 
  I'm working on cloudstack 4.4.2 and xenserver 6.2 cluster with 5 hosts, i
  deployed many virtual machines  with compute offerings having ha feature
  enabled.
 
  But when i stops one of the pools hosts , happens all VM steel set to
  running on cloudstack and no ha is done.
 
  Even when i stop a vm from the inside (setting command init 0 )
 ,cloudstack
  suppose to restart the VM ,but he is not doing so.
 
  This is very weird but can any one help ,this sooo urgent .
 
  Thx
 
 
 
 



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

2015-08-14 Thread Somesh Naidu
 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 luciano.cas...@gmail.com
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:
 
   Luciano,
  
 I am afraid there is only HTTP.
  
   Vadim.
  
   -Original Message-
   From: Luciano Castro [mailto:luciano.cas...@gmail.com]
   Sent: Friday, August 14, 2015 2:56 PM
   To: users@cloudstack.apache.org
   Subject: KVM - convert vmdk to qcow2 - send volume to CS
  
   Hi!
  
   I converted vmdk to qcow2 (qemu-img convert -O qcow2
   travis-ci-flat.vmdk dsv-str-tools.qcow2), and I need know if there´s
   another way to submit the volume instead by HTTP (via GUI).
  
   If i have the volume at KVM host, could I run a command to register
   it into CS?
  
   Thanks!
  
   --
   Luciano Castro
  
 
 
 
  --
  Luciano Castro
 



 --
 Luciano 

Re: Urgent Issue : Cloudstack VM HA not working

2015-08-14 Thread Fedi Ben Ali
Hi,

thanks for your replys,
but all those links are basically discribing how to do the pool-master
failover (i already made those the configuration of xenserver ha ).
but in my case i'm not recovering from a slave faillure ,even when i stop a
vm from xencenter ,cloudstack do not start it as described in the
documentation.

Best regards.

2015-08-14 12:26 GMT+03:00 Remi Bergsma rberg...@schubergphilis.com:

 Hi,

 This may also be of help:

 http://blog.remibergsma.com/2015/05/23/making-xenserver-and-cloudstack-sing-and-dance-together-again/

 I’d also consider upgrading to 4.4.4. I just did a 4.4.2 - 4.4.4 upgrade
 and it went without issues. It has many fixes over 4.4.2.

 Regards,
 Remi


 On 14 Aug 2015, at 08:05, prapul cool prapul_cool2...@yahoo.com.INVALID
 mailto:prapul_cool2...@yahoo.com.INVALID wrote:

 Hi ,From Xenserver6.2 onwards, you need to enabled native HA at pool level
 for cloudstack HA to work.please refer the link for more details.
 http://www.shapeblue.com/xenserver-native-ha-with-cloudstack/
  Regards,
 Prapul sriram,
 Cloud Architect,
 PSI Cloud Solutions,
 Psiclouds.comhttp://Psiclouds.com.


 On Friday, 14 August 2015 3:31 AM, Fedi Ben Ali 
 ben.ali.fe...@gmail.commailto:ben.ali.fe...@gmail.com wrote:


 hello ,


 I'm working on cloudstack 4.4.2 and xenserver 6.2 cluster with 5 hosts, i
 deployed many virtual machines  with compute offerings having ha feature
 enabled.

 But when i stops one of the pools hosts , happens all VM steel set to
 running on cloudstack and no ha is done.

 Even when i stop a vm from the inside (setting command init 0 ) ,cloudstack
 suppose to restart the VM ,but he is not doing so.

 This is very weird but can any one help ,this sooo urgent .

 Thx






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

2015-08-14 Thread Luciano Castro
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/SecStorage/f53e0727-8384-3fd0-9770-560676ea5d9a/volumes/2/152/dnld6851218099292451394tmp_,installPath:volumes/2/152,templateSize:0,templatePhySicalSize: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:

 Luciano,

   I am afraid there is only HTTP.

 Vadim.

 -Original Message-
 From: Luciano Castro [mailto:luciano.cas...@gmail.com]
 Sent: Friday, August 14, 2015 2:56 PM
 To: users@cloudstack.apache.org
 Subject: KVM - convert vmdk to qcow2 - send volume to CS

 Hi!

 I converted vmdk to qcow2 (qemu-img convert -O qcow2 travis-ci-flat.vmdk
 dsv-str-tools.qcow2), and I need know if there´s another way to submit the
 volume instead by HTTP (via GUI).

 If i have the volume at KVM host, could I run a command to register it
 into CS?

 Thanks!

 --
 Luciano Castro




-- 
Luciano Castro


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

2015-08-14 Thread Vadim Kimlaychuk
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/SecStorage/f53e0727-8384-3fd0-9770-560676ea5d9a/volumes/2/152/dnld6851218099292451394tmp_,installPath:volumes/2/152,templateSize:0,templatePhySicalSize: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:

 Luciano,

   I am afraid there is only HTTP.

 Vadim.

 -Original Message-
 From: Luciano Castro [mailto:luciano.cas...@gmail.com]
 Sent: Friday, August 14, 2015 2:56 PM
 To: users@cloudstack.apache.org
 Subject: KVM - convert vmdk to qcow2 - send volume to CS

 Hi!

 I converted vmdk to qcow2 (qemu-img convert -O qcow2 
 travis-ci-flat.vmdk dsv-str-tools.qcow2), and I need know if there´s 
 another way to submit the volume instead by HTTP (via GUI).

 If i have the volume at KVM host, could I run a command to register it 
 into CS?

 Thanks!

 --
 Luciano Castro




--
Luciano Castro


KVM - convert vmdk to qcow2 - send volume to CS

2015-08-14 Thread Luciano Castro
Hi!

I converted vmdk to qcow2 (qemu-img convert -O qcow2 travis-ci-flat.vmdk
dsv-str-tools.qcow2), and I need know if there´s another
way to submit the volume instead by HTTP (via GUI).

If i have the volume at KVM host, could I run a command to register it into
CS?

Thanks!

-- 
Luciano Castro


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

2015-08-14 Thread Vadim Kimlaychuk
Luciano,

  I am afraid there is only HTTP. 

Vadim.

-Original Message-
From: Luciano Castro [mailto:luciano.cas...@gmail.com] 
Sent: Friday, August 14, 2015 2:56 PM
To: users@cloudstack.apache.org
Subject: KVM - convert vmdk to qcow2 - send volume to CS

Hi!

I converted vmdk to qcow2 (qemu-img convert -O qcow2 travis-ci-flat.vmdk 
dsv-str-tools.qcow2), and I need know if there´s another way to submit the 
volume instead by HTTP (via GUI).

If i have the volume at KVM host, could I run a command to register it into CS?

Thanks!

--
Luciano Castro


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

2015-08-14 Thread Luciano Castro
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/SecStorage/f53e0727-8384-3fd0-9770-560676ea5d9a/volumes/2/152/dnld6851218099292451394tmp_,installPath:volumes/2/152,templateSize:0,templatePhySicalSize: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:

  Luciano,
 
I am afraid there is only HTTP.
 
  Vadim.
 
  -Original Message-
  From: Luciano Castro [mailto:luciano.cas...@gmail.com]
  Sent: Friday, August 14, 2015 2:56 PM
  To: users@cloudstack.apache.org
  Subject: KVM - convert vmdk to qcow2 - send volume to CS
 
  Hi!
 
  I converted vmdk to qcow2 (qemu-img convert -O qcow2
  travis-ci-flat.vmdk dsv-str-tools.qcow2), and I need know if there´s
  another way to submit the volume instead by HTTP (via GUI).
 
  If i have the volume at KVM host, could I run a command to register it
  into CS?
 
  Thanks!
 
  --
  Luciano Castro
 



 --
 Luciano Castro




-- 
Luciano Castro