cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luciano Castro <luciano.cas...@gmail.com>
Subject Re: KVM - convert vmdk to qcow2 - send volume to CS
Date Mon, 17 Aug 2015 11:59:27 GMT
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.mishra@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.Naidu@citrix.com> 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´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.castro@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.Kimlaychuk@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.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:
> >>> “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)" "-"
> >>>
> >>>
> >>>
> >>> 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´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 +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
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Luciano Castro
> >>>
> >>
> >>
> >>
> >> --
> >> Luciano Castro
> >>
> >
> >
> >
> >--
> >Luciano Castro
>
>


-- 
Luciano Castro

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message