cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Emrich <martin.emr...@empolis.com>
Subject AW: KVM - convert vmdk to qcow2 - send volume to CS
Date Mon, 17 Aug 2015 09:23:58 GMT
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.castro@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 +0000] "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 +0000] "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 +0000] "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.Kimlaychuk@elion.ee
> wrote:

> Luciano,
>
>           I am afraid there is only HTTP.
>
> Vadim.
>
> -----Original Message-----
> From: Luciano Castro [mailto:luciano.castro@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
Mime
View raw message