Re: SSVM iptables blocks http download

2015-08-17 Thread Bernhard Dübi
Hi,

I use basic networking.
On the ESX there are 3 port groups
- cloud.private.0.0.1-vSwitch0 (untagged)
- cloud.storage.0.0.1-vSwitch0 (untagged)
- cloud.guest.206.0.1-vSwitch1 (vlan 206)

The SSVM has 4 interfaces
- eth0: private (no ip)
- eth1: private
- eth2: guest
- eth3: storage


We don't use IPv6 but we haven't disabled it


Kind regards

Bernhard


Re: SSVM iptables blocks http download

2015-08-17 Thread Bernhard Dübi
Hi,

under Infrastructure - Zones - VMware - Physical Network 1 - Network
Service Providers I see Virtual Router and Security Groups enabled, but
there is no Virtual Router instance running

Should there be one?

Regards
Bernhard

Am Montag, 17. August 2015 schrieb Bernhard Dübi 1linuxengin...@gmail.com:
 Hi,

 I use basic networking.
 On the ESX there are 3 port groups
 - cloud.private.0.0.1-vSwitch0 (untagged)
 - cloud.storage.0.0.1-vSwitch0 (untagged)
 - cloud.guest.206.0.1-vSwitch1 (vlan 206)

 The SSVM has 4 interfaces
 - eth0: private (no ip)
 - eth1: private
 - eth2: guest
 - eth3: storage


 We don't use IPv6 but we haven't disabled it


 Kind regards

 Bernhard


Re: SSVM iptables blocks http download

2015-08-17 Thread Erik Weber
On Mon, Aug 17, 2015 at 12:48 PM, Bernhard Dübi 1linuxengin...@gmail.com
wrote:

 Hi,

 under Infrastructure - Zones - VMware - Physical Network 1 - Network
 Service Providers I see Virtual Router and Security Groups enabled, but
 there is no Virtual Router instance running

 Should there be one?


VRs are usually first created when you launch guest vms.

SSVM / CPVM does not require VR to operate AFAIK.

-- 
Erik


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

2015-08-17 Thread Luciano Castro
Hi Martin!

No , I didn´t. I dindn´t know about this option, I will try with this,

thank you !

Luciano

On Mon, Aug 17, 2015 at 6:23 AM, Martin Emrich martin.emr...@empolis.com
wrote:

 Hi!

 Did you add the network of your webserver to the global setting
 secstorage.allowed.internal.sites?

 Otherwise, ACS will seems to refuse downloading templates from internal
 subnets (10/8, 192.168/16, ...)

 Ciao

 Martin

 -Ursprüngliche Nachricht-
 Von: Luciano Castro [mailto:luciano.cas...@gmail.com]
 Gesendet: Freitag, 14. August 2015 14:40
 An: users@cloudstack.apache.org
 Betreff: 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


Re: SSVM iptables blocks http download

2015-08-17 Thread Sanjeev N
Make sure that SSVM is not using eth1 as the outgoing interface for
downloading iso. That can happen if SSVM can reach the download location
from eth1 CIDR. If that is the case, add the ip address of the download
location to internal.allowed.sited in global setting parameters, restart
management server and stop/start SSVM.

Thanks,
Sanjeev
Citrix Systems.

On Mon, Aug 17, 2015 at 4:19 PM, Erik Weber terbol...@gmail.com wrote:

 On Mon, Aug 17, 2015 at 12:48 PM, Bernhard Dübi 1linuxengin...@gmail.com
 wrote:

  Hi,
 
  under Infrastructure - Zones - VMware - Physical Network 1 - Network
  Service Providers I see Virtual Router and Security Groups enabled, but
  there is no Virtual Router instance running
 
  Should there be one?
 
 
 VRs are usually first created when you launch guest vms.

 SSVM / CPVM does not require VR to operate AFAIK.

 --
 Erik



RE: Deleting Compute Offering

2015-08-17 Thread mvs babu





Hi Somesh,

thank you very much for testing!

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke

-Ursprüngliche Nachricht-
Von: Somesh Naidu [mailto:somesh.na...@citrix.com] 
Gesendet: Freitag, 14. August 2015 18:12
An: users@cloudstack.apache.org
Betreff: RE: Deleting Compute Offering

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. 





- 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: KVM - convert vmdk to qcow2 - send volume to CS

2015-08-17 Thread Luciano Castro
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 somesh.na...@citrix.com 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
 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.
   

Re: updatecloudtouseobjectstore options

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

here is the log file message:

INFO  [o.a.c.s.d.l.S3ImageStoreLifeCycleImpl] (catalina-exec-13:ctx-ffeee088 
ctx-4f217213 ctx-3cc33cae) (logid:053d3
c2a) Trying to add a S3 store in data center null


And here the db output:

image_provider_name: S3
data_center_id: NULL
scope: REGION
role: Image

The data_center_id is also set to NULL in the database.

Kind regards
Christian

 On 14 Aug 2015, at 19:36, Somesh Naidu somesh.na...@citrix.com wrote:
 
 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: KVM - convert vmdk to qcow2 - send volume to CS

2015-08-17 Thread Luciano Castro
Hi Valdim

Console Proxy VM version and Secondary Storage VM == Is default from
installation of cloudstack 4.5.1. you you need more details ask me.

thanks.

On Mon, Aug 17, 2015 at 3:32 AM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:

 Luciano,

 I am using XenServer as hypervisor and I have different SSVM, CPVM
 images. From my point of view, outgoing traffic should not be restricted.
 Especially port 80.  Probably you have downloaded some kind of test
 image. What version of CS are you using? Where did you get System VM image?

 Vadim.

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

 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-2f
   53
   -4a70-8430-5de582438915,downloadPct:0,errorString:Connection
  
   refused,downloadStatus:DOWNLOAD_ERROR,downloadPath:/mnt/SecS
   to
   rage/f53e0727-8384-3fd0-9770-560676ea5d9a/volumes/2/152/dnld68512180
   99
   292451394tmp_,installPath:volumes/2/152,templateSize:0,templ
   at 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!
 

AW: Deleting Compute Offering

2015-08-17 Thread S . Brüseke - proIO GmbH
Hi Somesh,

thank you very much for testing!

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke

-Ursprüngliche Nachricht-
Von: Somesh Naidu [mailto:somesh.na...@citrix.com] 
Gesendet: Freitag, 14. August 2015 18:12
An: users@cloudstack.apache.org
Betreff: RE: Deleting Compute Offering

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. 





- 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: KVM - convert vmdk to qcow2 - send volume to CS

2015-08-17 Thread Luciano Castro
Hmmm, I think I understood that you mean.. Try to register the qow2 like
template. I will try to do it.

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 somesh.na...@citrix.com 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
 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 

RE: AW: Deleting Compute Offering

2015-08-17 Thread mvs babu
Hello Swen,


 


Below link will clarify your doubt, 


 


http://cloudstack-administration.readthedocs.org/en/latest/service_offerings.html#modifying-or-deleting-a-service-offering


 


Thank you,


Suneel Mallela.

 From: s.brues...@proio.com
 To: users@cloudstack.apache.org
 Subject: AW: Deleting Compute Offering
 Date: Mon, 17 Aug 2015 12:32:11 +0200
 
 Hi Somesh,
 
 thank you very much for testing!
 
 Mit freundlichen Grüßen / With kind regards,
 
 Swen Brüseke
 
 -Ursprüngliche Nachricht-
 Von: Somesh Naidu [mailto:somesh.na...@citrix.com] 
 Gesendet: Freitag, 14. August 2015 18:12
 An: users@cloudstack.apache.org
 Betreff: RE: Deleting Compute Offering
 
 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. 
 
 
 
 
 
 - 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 
 

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

2015-08-17 Thread Martin Emrich
Hi!

Did you add the network of your webserver to the global setting 
secstorage.allowed.internal.sites?

Otherwise, ACS will seems to refuse downloading templates from internal 
subnets (10/8, 192.168/16, ...)

Ciao

Martin

-Ursprüngliche Nachricht-
Von: Luciano Castro [mailto:luciano.cas...@gmail.com] 
Gesendet: Freitag, 14. August 2015 14:40
An: users@cloudstack.apache.org
Betreff: 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


Re: Urgent Question at VPC router:

2015-08-17 Thread Simon Weller
Have you taken a look at the logs on the VR?



From: srinivas niddapu sr...@axiomio.com
Sent: Sunday, August 16, 2015 9:21 PM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: RE: Urgent Question at VPC router:

Thanks for the information Simon,
We do add more resource to current VPC/vR and test the max no. of concurrent 
HTTP connections.

We do Static NAT internal VM to external address and port 80 only allowed on 
public.
Currently HTTP connections established 2500 not crossing beyond that, 
expecting/required maximum connections 5000.

Thanks,
Srini

-Original Message-
From: Simon Weller [mailto:swel...@ena.com]
Sent: Monday, August 17, 2015 3:19 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: Re: Urgent Question at VPC router:

Srini/Anil,

The answer is, it depends. You can greatly scale the VRs by adding additional 
cores and additional memory. The VRs are running Debian linux as a base, so any 
limitations would be the same as the Debian distro.

In terms of IPSEC deployment, any software based IPSEC solution isn't going to 
perform throughput wise as well as an appliance that does the 
encryption/decryption in hardware. In terms of the number of tunnels, I'm not 
sure I have an answer to that, but most deployments would involve a VR deployed 
per VPC/isolated network, so I can't imagine this would become a problem for 
you.

There is a proposal out there right now to replace openswan with strongswan, as 
openswan is no longer actively maintained:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Replacing+openswan+ipsec+with+strongswan+ipsec

In our deployments, we've found the current session limits to be based on the 
currently deployed iptables conntrack configuration and the max session limits 
within the haproxy config. We rolled out own VR to get around the conntrack 
problems, but the haproxy config is created by the CS Management server, hence 
it would require a code change and recompile.

We've been thinking about proposing a rewrite to how the haproxy configuration 
is generated, we just haven't got around to it as of yet.

The haproxy config won't matter to you, unless you're using load balancing on 
the front end.

We push very large amount of traffic through the VRs, with high current 
sessions and we've been very happy with the performance after a little tweaking 
here and there.

I hope this helps a little.

- Si

From: srinivas niddapu sr...@axiomio.com
Sent: Sunday, August 16, 2015 11:45 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: RE: Urgent Question at VPC router:

Hello,

Need info based on Anil requirement.
vRouter / VPC  maximum connections limit?   Is Unlimited connections supports?

Please share us info regarding max/min values (IPsec tunnels/VLANs/sessions/ACL 
rules).

Thanks,
Srini.

-Original Message-
From: Simon Weller [mailto:swel...@ena.com]
Sent: Sunday, August 16, 2015 10:05 PM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: Re: Urgent Question at VPC router:

Anil,

Do you actually have a problem, or are you asking whether the VR is capable of 
scaling to your required connection level?

If you're experiencing problems, can you provide some more information in terms 
of logging from the VR?
Are you hitting HAProxy connection limits, or iptables conntrack table full 
warnings?
Is the virtual cpu or memory usage very high?

- Si

From: anil lakineni anilkumar459.lakin...@gmail.com
Sent: Sunday, August 16, 2015 8:36 AM
To: users@cloudstack.apache.org; d...@cloudstack.apache.org
Subject: Urgent Question at VPC router:

Hi All,

I have a web server inside cloud VPC, It usually getting 2500 user hits on 
average at every time But I need to increase the user connections for ex:
5000 hits on web server.
Do you have any idea that I should change some configurations at VPC vR in 
order to achieve my requirement.?

Else, Is cloud platform with XenServer supports my requirement?

Please Help me with valuable suggestions,

Thanks in advance.

Regards,
Anil.


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 luciano.cas...@gmail.com 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 somesh.na...@citrix.com 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
 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, 

RE: updatecloudtouseobjectstore options

2015-08-17 Thread Somesh Naidu
Hi Christian,

The output shared is expected and validates that I am looking at the right 
code. Note, zoneId is not a valid parameter and has no impact. The API call 
defaults to NULL for datacenter ID and Region for scope.

For what I understood from the code, the following API call should work:

update cloudtouseobjectstore
name=Secondary 
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=usehttps details[4].value=true 
provider=S3

You may validfate if the key,values provided in the details parameter are being 
processed correctly by looking up the entries for the image store in the table 
image_store_details (select * from image_store_details where 
store_id=img_stor_id;)

Regards,
Somesh


-Original Message-
From: christian.kir...@zv.fraunhofer.de 
[mailto:christian.kir...@zv.fraunhofer.de] 
Sent: Monday, August 17, 2015 8:24 AM
To: users@cloudstack.apache.org
Subject: Re: updatecloudtouseobjectstore options

Hi Somesh,

here is the log file message:

INFO  [o.a.c.s.d.l.S3ImageStoreLifeCycleImpl] (catalina-exec-13:ctx-ffeee088 
ctx-4f217213 ctx-3cc33cae) (logid:053d3
c2a) Trying to add a S3 store in data center null


And here the db output:

image_provider_name: S3
data_center_id: NULL
scope: REGION
role: Image

The data_center_id is also set to NULL in the database.

Kind regards
Christian

 On 14 Aug 2015, at 19:36, Somesh Naidu somesh.na...@citrix.com wrote:
 
 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, 

Multiple jobs in parallel

2015-08-17 Thread Lior Moneta
Hi,
It seems like I can't run more than 2 CS jobs in parallel on my ESX 5.5
environment.
For example, I'm running 2 jobs of migrate volume between 2 primary
storages (These jobs can take a few minutes).
In the meantime, I'm trying to create a new instance and this job is
waiting for the migration jobs to end before it starts.

Is it by design? Is it something I can change in CS configuration?

A little bit about my environment:

   - I'm currently using one management server that holds both the MySQL DB
   and the NFS for the secondary storage.
   - I'm using vSphere 5.5 as my hypervisor.
   - I've installed CloudStack 4.5.1.


Thanks,
Lior.


RE: Register iso so slow.

2015-08-17 Thread Somesh Naidu
Interesting. Was this environment an upgrade? If so, this may be due to the 
system VMs not getting correctly patched; for some reason the system VM ISO 
didn't get updated on the host and hence didn't get patched to the VMs. If that 
was indeed the case, I am not sure if it was due to a bug or incorrect 
configuration but the way to work around it would be to manually copy the 
system VM ISO to all the hosts and then stop/start the system VMs. 

Regards,
Somesh


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

Hi
I have this problem in cloudstack 4.5.1 but after changed this version to
previous version the problem vanished. finally iso file registered but in
cloudstack 4.4.
Thank's

On Fri, Aug 14, 2015 at 10:39 PM, Somesh Naidu somesh.na...@citrix.com
wrote:

 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, 

RE: Urgent Issue : Cloudstack VM HA not working

2015-08-17 Thread Somesh Naidu
 On my log cloudstack is showing that the vm's are restarted after he
 ditects the host in down state,but physically the vm's are not started .

Need to investigate this, can you post the logs somewhere so we can take a 
look? In addition, can you verify if the host (host_id in table vm_instance) 
where CS thinks the VM is running is the same as the host where the VMs is in 
halted state?

Regards,
Somesh

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

Hi ,

I'm working on FC as primary storage ,can that be related to this issue ?

On my log cloudstack is showing that the vm's are restarted after he
ditects the host in down state,but physically the vm's are not started .

on my xenserver i have all the xenserver patches installed.

2015-08-15 9:21 GMT+03:00 Remi Bergsma rberg...@schubergphilis.com:

 Hi,

 Next to CloudStack reporting Up, also double check the management log en
 verify it can actually connect to the hypervisor and talk to it. 4.4.2 had
 issues with these kind of things.

 What patches have you installed on xenserver?

 Can you put the mgt logs somewhere so we can take a look?

 Please consider upgrading as unfortunately 4.4.2 wasn't our best release.
 The latest 4.4.4 is great and has 100+ bugs fixed. I am not saying it will
 fix this, but it would be better anyway.

 Regards, Remi


 On 14 Aug 2015, at 23:36, Somesh Naidu somesh.na...@citrix.com wrote:

  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
 



Usage Records are still generating even VM removed.

2015-08-17 Thread raja sekhar
Hi All,

The usage records are still generating even if the vm is removed from
cloudstack.
The actual scenario is:
The xenserver host went to alert state and the vms in it are not accessible.
we have removed the vms from backend by updating vm_instance,volume table.
can any one help me what is the exact table to update?
i am using cloudstack 4.2

waiting for your valuable suggestions.


regards,
rajasekhar.


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

2015-08-17 Thread Luciano Castro
Hi,

Just let you know, it worked registering with template!

Thanks you for your help.

Luciano

On Mon, Aug 17, 2015 at 9:08 AM, Luciano Castro luciano.cas...@gmail.com
wrote:

 Hmmm, I think I understood that you mean.. Try to register the qow2 like
 template. I will try to do it.

 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 somesh.na...@citrix.com 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
 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 
   

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

2015-08-17 Thread Vadim Kimlaychuk
Luciano,

I am using XenServer as hypervisor and I have different SSVM, CPVM 
images. From my point of view, outgoing traffic should not be restricted. 
Especially port 80.  Probably you have downloaded some kind of test image. 
What version of CS are you using? Where did you get System VM image? 

Vadim.

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

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-2f
  53 
  -4a70-8430-5de582438915,downloadPct:0,errorString:Connection
 
  refused,downloadStatus:DOWNLOAD_ERROR,downloadPath:/mnt/SecS
  to
  rage/f53e0727-8384-3fd0-9770-560676ea5d9a/volumes/2/152/dnld68512180
  99 
  292451394tmp_,installPath:volumes/2/152,templateSize:0,templ
  at 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
 



 --
 

Re: SSVM iptables blocks http download

2015-08-17 Thread Bernhard Dübi
Sorry, my fault
when I was reading restart management server I restarted the SSVM


2015-08-17 12:59 GMT+02:00 Sanjeev N sanj...@apache.org:

 Make sure that SSVM is not using eth1 as the outgoing interface for
 downloading iso. That can happen if SSVM can reach the download location
 from eth1 CIDR. If that is the case, add the ip address of the download
 location to internal.allowed.sited in global setting parameters, restart
 management server and stop/start SSVM.

 Thanks,
 Sanjeev
 Citrix Systems.

 On Mon, Aug 17, 2015 at 4:19 PM, Erik Weber terbol...@gmail.com wrote:

  On Mon, Aug 17, 2015 at 12:48 PM, Bernhard Dübi 
 1linuxengin...@gmail.com
  wrote:
 
   Hi,
  
   under Infrastructure - Zones - VMware - Physical Network 1 -
 Network
   Service Providers I see Virtual Router and Security Groups enabled, but
   there is no Virtual Router instance running
  
   Should there be one?
  
  
  VRs are usually first created when you launch guest vms.
 
  SSVM / CPVM does not require VR to operate AFAIK.
 
  --
  Erik