nova boot error messages are uninformative

Bug #900665 reported by Roshan R Anvekar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Low
Unassigned

Bug Description

Description:
1. Create a VM using following nova boot command:
nova boot --image 117 --flavor 100 --key_name onekey --user_data testfile1 --meta "roshan=anvekar" --file /home/ubuntu/test.txt=/home/user/workspace/nova.sh roshan
Server Error, please try again later. (HTTP 500)

------ As per my project setting I had allocated the resources so that both meta and file file size bytes should go wrong. But the Server was not able to handle the error and dint give any meaningful info too.

2. The error is very vague when we try to create a VM with multiple parameters and some of the parameters are wrongly given.
3. Feel that there is no proper concatenation of user error messages and also it fails to throw proper messages when multiple parameters are not given properly.
4. The user finds it very difficult to analyze as what went wrong.

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
tags: added: python-novaclient
Revision history for this message
Brian Waldon (bcwaldon) wrote :

Here's what happens when I send a metadata key/value that is too large:

$ nova boot --image=eb3971c0-07a4-4300-8d78-4b05fed83b2f --flavor=1 --meta a=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa what

Quota exceeded for 686f1612aa7d45619d9a270f27d38d86, metadata property key or value too long (HTTP 413)

And here's what happens with an oversized file:

$nova boot --image=eb3971c0-07a4-4300-8d78-4b05fed83b2f --flavor=1 --file /tmp/what=wha what

Personality file content too long (HTTP 413)

As overLimit failures are now being correctly handled, I'm going to mark this as invalid. Please reopen it if you feel otherwise.

Changed in nova:
status: Confirmed → 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.