glance-upload raw without type bugs euca-describe-images on compute-node

Bug #752554 reported by Andre Naehring
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Medium
Rick Harris

Bug Description

Okay, here my command:

glance-upload --disk-format raw sles11_raw.img SLES11

this results on the compute node in "UnknownError: An unknown error has occurred. Please try your request again.".
Submitting

glance-upload --disk-format raw --type machine sles11_raw.img SLES11

works well. So, either --type must be changed to be a neccessary parameter or the default should point to "machine".

Jay Pipes (jaypipes)
Changed in glance:
importance: Undecided → Medium
assignee: nobody → Rick Harris (rconradharris)
milestone: none → cactus-2011-04-07
Revision history for this message
Vish Ishaya (vishvananda) wrote :

I believe this bug is fixed in lp:~vishvananda/nova/fix-describe-images

Revision history for this message
Vish Ishaya (vishvananda) wrote :

On second thought, it looks like vm_utils might be using type still instead of container_format to determine the type of the image

Revision history for this message
Jay Pipes (jaypipes) wrote : Re: [Bug 752554] Re: glance-upload raw without type bugs euca-describe-images on compute-node

Rick, please do take a looksie at vm_utils and see if that is the
source of the issue and not the glance-upload tool.

-jay

2011/4/6 Vish Ishaya <email address hidden>:
> On second thought, it looks like vm_utils might be using type still
> instead of container_format to determine the type of the image
>
> --
> You received this bug notification because you are a member of Glance
> Bug Team, which is subscribed to Glance.
> https://bugs.launchpad.net/bugs/752554
>
> Title:
>  glance-upload raw without type bugs euca-describe-images on compute-
>  node
>

Revision history for this message
Rick Harris (rconradharris) wrote :

Vish: determine_disk_image_type is using `disk_format` under-the-hood to figure out what kind of image it is.

Jay: Trying to replicate now. If anybody has pastes of the stacktraces from api and compute nodes that would be handy; otherwise, ill just try to create them myself.

Revision history for this message
Andre Naehring (naehring) wrote :

So, how can I help? The system will be there until tomorrow or friday, I think. If I should provide any special logs, please give me your detailed needs.

Revision history for this message
Rick Harris (rconradharris) wrote :

Andre:

I think this should be fixed with the fix-describe-images branch mentioned above.

Could you try to replicate the issue against that branch?

If the issue still appears, could you copy the tracebacks from the API and Compute Node logs and paste them into paste.openstack.org and then provide the links in the follow up comments?

Revision history for this message
Jay Pipes (jaypipes) wrote :

Ping. Andre, were you able to replicate this bug with the latest Nova trunk and Glance?

Changed in glance:
status: New → Incomplete
milestone: cactus-2011-04-07 → none
Revision history for this message
Andre Naehring (naehring) wrote :

Sorry Jay, I had to leave home. I'll return this night, hopefully I'll have time to check this tomorrow. I'm sorry for the delay.

Revision history for this message
Brian Waldon (bcwaldon) wrote :

This can't possibly be valid anymore.

Changed in glance:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.