Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 19E6F1871A for ; Mon, 17 Aug 2015 11:59:40 +0000 (UTC) Received: (qmail 24192 invoked by uid 500); 17 Aug 2015 11:59:39 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 24150 invoked by uid 500); 17 Aug 2015 11:59:39 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 24138 invoked by uid 99); 17 Aug 2015 11:59:38 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2015 11:59:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7D7F81AA310 for ; Mon, 17 Aug 2015 11:59:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id wvLupPbRwr8c for ; Mon, 17 Aug 2015 11:59:28 +0000 (UTC) Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 99B4A205B4 for ; Mon, 17 Aug 2015 11:59:28 +0000 (UTC) Received: by igui7 with SMTP id i7so54946835igu.1 for ; Mon, 17 Aug 2015 04:59:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=NmxpauDXa2jeMmOYT37Utm/mIueFe/n9Sw+IkEA7m0c=; b=vrov7wZzQIL7wx8pVDdkoEVOoIQDEhlZUfk77U17t4GRpA4cSa6D338PP+eBlypL/c 0Ecp1UjWE8C6cbWJnOiwu/NSlESWa8izEbuCJ87OEtaAy1djXicxwY0LJo+uJhloU6jk GvnO2K1osvrORdejNGfzsF1bqUC4SWlPV0c9rFDRX47yJ71PHLUny8d++93O2qC7bsOL UaE0MzsmZfzcp2j7pjU3EVZXo5vcjLDzi4xFN0DI+UOWx7emN5EWpApO4RH/VOWQMkCx gIWFhl8tkNAPmDgd95cQASDpak1CxCW5tf6crTZMj/OQ3KxjsMxRmngrC40wEB/6Dyp+ oGCQ== MIME-Version: 1.0 X-Received: by 10.50.61.195 with SMTP id s3mr16126769igr.62.1439812768028; Mon, 17 Aug 2015 04:59:28 -0700 (PDT) Received: by 10.79.0.34 with HTTP; Mon, 17 Aug 2015 04:59:27 -0700 (PDT) In-Reply-To: References: <4b95779073a94effbbba97af441d03ec@exchange01.et.ee> Date: Mon, 17 Aug 2015 08:59:27 -0300 Message-ID: Subject: Re: KVM - convert vmdk to qcow2 - send volume to CS From: Luciano Castro To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=047d7bdc05f294de4e051d808864 --047d7bdc05f294de4e051d808864 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Prashant I can=C2=B4t take snapshot from a datadisk, there=C2=B4s no option to do th= is. 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.mishra@citrix.com> wrote: > You can take snapshot and convert it to template and then try to deploy v= m. > ~prashant > > On 8/15/15, 3:52 AM, "Somesh Naidu" wrote: > > >> Does the Volumes uploaded always will be DATADISK type? > > > >Yes. > > > >Regards, > >Somesh > > > > > >-----Original Message----- > >From: Luciano Castro [mailto:luciano.castro@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=C2=B4t instantiate a new VM from this= disk. > > > >Does the Volumes uploaded always will be DATADISK type? > > > >thanks > > > > > >On Fri, Aug 14, 2015 at 11:36 AM, Luciano Castro > > > >wrote: > > > >> Vadim > >> > >> Yes, the problem seems to be on SSVM. When I could try with wget , I > >> receive "connection refused". > >> > >> > >> I deleted the OUTPUT rule which denies port 80, and now it worked. > >> > >> Is it correct ? Does the SSVM wouldn=C2=B4t have access to external HT= TP > >> servers? > >> > >> Thank you!! > >> > >> > >> On Fri, Aug 14, 2015 at 11:02 AM, Vadim Kimlaychuk < > >> Vadim.Kimlaychuk@elion.ee> wrote: > >> > >>> Have you tried to wget from management server or SSVM or both? It ma= y > >>>be > >>> a probleem with SSVM. Try to check SSVM also > >>> > >>> Vadim. > >>> > >>> -----Original Message----- > >>> From: Luciano Castro [mailto:luciano.castro@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: > >>> =C3=A2=E2=82=AC=C5=93dsv-str-tools.qcow2=C3=A2=E2=82=AC > >>> > >>> 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)" "-" > >>> > >>> > >>> > >>> On Fri, Aug 14, 2015 at 9:42 AM, Vadim Kimlaychuk < > >>> Vadim.Kimlaychuk@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.castro@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=C2=B4m 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: Processin= g: > >>> > { > >>> > 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: > >>> > =C3=A2=E2=82=AC=C5=93dsv-str-tools.qcow2=C3=A2=E2=82=AC > >>> > > >>> > 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=C2=B4t know why I=C2=B4m 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=C2=B4s > >>> > > 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 regist= er > >>> > > it into CS? > >>> > > > >>> > > Thanks! > >>> > > > >>> > > -- > >>> > > Luciano Castro > >>> > > > >>> > > >>> > > >>> > > >>> > -- > >>> > Luciano Castro > >>> > > >>> > >>> > >>> > >>> -- > >>> Luciano Castro > >>> > >> > >> > >> > >> -- > >> Luciano Castro > >> > > > > > > > >-- > >Luciano Castro > > --=20 Luciano Castro --047d7bdc05f294de4e051d808864--