[rhos-list] EXAMPLE IMAGE GETTING KILLED WHEN TRYING TO CREATE

Nirlay Kundu nirlay at hotmail.com
Wed Jul 31 15:58:56 UTC 2013


Should I use [1] after setting the http_proxy ?I tried [1] when http_proxy is not set and I get "Killed' message when I do glance image-show
thanks

> Date: Wed, 31 Jul 2013 17:29:32 +0200
> From: flavio at redhat.com
> To: nirlay at hotmail.com
> CC: pmyers at redhat.com; acathrow at redhat.com; rhos-list at redhat.com; fpercoco at redhat.com; abaron at redhat.com
> Subject: Re: EXAMPLE IMAGE GETTING KILLED WHEN TRYING TO CREATE
> 
> On 31/07/13 11:06 -0400, Nirlay Kundu wrote:
> >I got back to a state where I was. I fixed the auth problem by exporting some
> >variables again.
> >I tried specifying a particular miiror - still no go.
> >After the image gets "Killed", I do a glance image-show and I get a dump which
> >shows status Killed. Any other logs I can look ? Is there any proxy that is
> >preventing the http download ? wget works though.
> >
> 
> Hi,
> 
> I'm afraid you might be hitting this bug[0]. What happens is that the
> URL you're using for the base image does not send the Content-Length
> header along with the answer. 
> 
> I also checked the URL you're using actually redirects to another URL.
> What happens if you use this one[1]?
> 
> Cheers,
> FF
> 
> [0] https://bugzilla.redhat.com/show_bug.cgi?id=974119
> [1]
> http://download.fedoraproject.org/pub/fedora/linux/releases/19/Images/x86_64/Fedora-x86_64-19-20130627-sda.qcow2
> 
> 
> >thanks
> >
> >━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> >From: nirlay at hotmail.com
> >To: pmyers at redhat.com; acathrow at redhat.com; rhos-list at redhat.com;
> >fpercoco at redhat.com; abaron at redhat.com
> >Subject: RE: EXAMPLE IMAGE GETTING KILLED WHEN TRYING TO CREATE
> >Date: Tue, 30 Jul 2013 15:39:00 -0400
> >
> >Hi
> >
> >Have some updates. I set the http_proxy and tried wget from cmd line. It
> >downloads.
> >
> >Then , I am retrying the glane image-create , it gives me auth failed : Unabvle
> >to communicate with identity service.
> >
> >Then, I restarted keystone and tried keystone user-list, it says : auth failed.
> >Unable to communicate with identity service.
> >
> >What should I try ?
> >
> >thanks
> >nirlay
> >
> >━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> >From: nirlay at hotmail.com
> >To: pmyers at redhat.com; acathrow at redhat.com; rhos-list at redhat.com;
> >fpercoco at redhat.com; abaron at redhat.com
> >Subject: RE: EXAMPLE IMAGE GETTING KILLED WHEN TRYING TO CREATE
> >Date: Tue, 30 Jul 2013 14:59:15 -0400
> >
> >About logs : /var/log/glance , no files are updating.
> >Yes, glance import is hung. I have tried this from the GUI, as well as cmd line
> >- same response.
> >I am not running the glance image-create twice, when I type up the command and
> >hit enter, I get this response repeated on its own - I do not enter this. 
> >Yes, I can get the image from the url manually. I have downloaded that and
> >uploaded the image as a local image file ( from the GUI) - no issues. 
> >When I do this download from glance image-create, it is queued up and then
> >getting Killed ( after a minute). It is not hung. 
> >
> >When I am pasting the url    http://cloud.fedoraproject.org/
> >fedora-19.x86_64.qcow2  in the web browser to do a manual download, it fails a
> >few times, unless it finds a good mirror site, which it can talk to. 
> >When I am doing wget from the cmd line, I am getting Failed : Connection Timed
> >out, No route to host 8 times, before it gives up. So, this may be the issue.
> >Can I specify a particular mirror site to get the image from ?
> >
> >Thanks
> >Nirlay
> >
> >> Date: Tue, 30 Jul 2013 14:40:49 -0400
> >> From: pmyers at redhat.com
> >> To: nirlay at hotmail.com; acathrow at redhat.com; rhos-list at redhat.com;
> >fpercoco at redhat.com; abaron at redhat.com
> >> Subject: Re: EXAMPLE IMAGE GETTING KILLED WHEN TRYING TO CREATE
> >>
> >> moving this thread back to rhos-list so other folks can chime in
> >>
> >> On 07/30/2013 02:35 PM, Nirlay Kundu wrote:
> >> > Thanks for your reply, Peter.
> >> > I am not getting anything beyond what I pasted. I am not getting image
> >> > to download, I think. It is getting queued, and then getting Killed. So,
> >> > there is no question of booting the image.
> >>
> >> Ok, so the glance import is just hanging.
> >>
> >> > The nova logs are irrelevant, and it is just updating the
> >> > resource_tracker with free mem, disk, vcpu etc.
> >> > Please give me suggestion what log files I should include.
> >>
> >> Well, glance logs probably since it's a glance import that seems to be
> >> hung/failing
> >>
> >> One question is, why are you running glance image-create with the same
> >> image name/url two times? Or was that just a duplicate copy/paste?
> >>
> >> Can you wget the image from that URL? If so, what speed are you seeing
> >> downloading the image? Perhaps it is just taking a really long time
> >> (which could make things look like it is hung)
> >>
> >> <snip>
> >>
> >> >> > ------------------------------------------------------------------------
> >> >> > From: nirlay at hotmail.com
> >> >> > To: rhos-list at redhat.com
> >> >> > Subject: EXAMPLE IMAGE GETTING KILLED WHEN TRYING TO CREATE
> >> >> > Date: Fri, 19 Jul 2013 15:47:22 -0400
> >> >> >
> >> >> > Hi
> >> >> >
> >> >> > The example image "Fedora 19" from
> >> >> > "http://cloud.fedoraproject.org/fedora-19.x86_64.qcow2" is getting
> >> >> > killed after sometime when trying to create a new image using RDO. Any
> >> >> > idea why ? I tried both from the GUI and cmd line.
> >> >> >
> >> >> >
> >> >> > [root at openstack home]# export OS_USERNAME=admin
> >> >> >
> >> >> > [root at openstack home]# export OS_PASSWORD=xxxxxxxxxxxx
> >> >> >
> >> >> > [root at openstack home]# export OS_TENANT_NAME=admin
> >> >> >
> >> >> > [root at openstack home]# export OS_AUTH_URL=http://localhost:5000/v2.0/
> >> >> >
> >> >> > [root at openstack home]# glance image-create --name "Fedora 19 x86_64"
> >> >> > --disk-format qcow2 --container-format bare --is-public true --copy-from
> >> >> > http://cloud.fedoraproject.org/fedora-19.x86_64.qcow2
> >> >> >
> >> >> > [root at openstack ~]# glance image-create --name "Fedora 19 x86_64"
> >> >> > --disk-format qcow2 --container-format bare --is-public true --copy-from
> >> >> > http://cloud.fedoraproject.org/fedora-19.x86_64.qcow2
> >> >> >
> >> >> > +------------------+--------------------------------------+
> >> >> >
> >> >> > | Property | Value |
> >> >> >
> >> >> > +------------------+--------------------------------------+
> >> >> >
> >> >> > | checksum | None |
> >> >> >
> >> >> > | container_format | bare |
> >> >> >
> >> >> > | created_at | 2013-07-19T15:09:18 |
> >> >> >
> >> >> > | deleted | False |
> >> >> >
> >> >> > | deleted_at | None |
> >> >> >
> >> >> > | disk_format | qcow2 |
> >> >> >
> >> >> > | id | c39d3bce-e6fb-40ef-b113-22d6b8099d16 |
> >> >> >
> >> >> > | is_public | True |
> >> >> >
> >> >> > | min_disk | 0 |
> >> >> >
> >> >> > | min_ram | 0 |
> >> >> >
> >> >> > | name | Fedora 19 x86_64 |
> >> >> >
> >> >> > | owner | e4066aec64fb4a958b4fdff0f99ca5d2 |
> >> >> >
> >> >> > | protected | False |
> >> >> >
> >> >> > | size | 0 |
> >> >> >
> >> >> > | status | queued |
> >> >> >
> >> >> > | updated_at | 2013-07-19T15:09:18 |
> >> >> >
> >> >> > +------------------+--------------------------------------+
> >> >> >
> >> >> > [root at openstack ~]#
> >> >> >
> >> >> >
> >> >>
> >>
> 
> -- 
> @flaper87
> Flavio Percoco
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhos-list/attachments/20130731/8176efa7/attachment.htm>


More information about the rhos-list mailing list