nova boot hangs with --user-data file larger than about 800 bytes

Bug #1266635 reported by Lee Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Unassigned

Bug Description

I'm on Ubuntu Server 12.04, fully up to date.

I have a post boot script passed to nova boot via the --user-data option. Its been working fine until I added some logic and it grew from 600 bytes to over 900 bytes. After this it hangs.

I reproduced the problem with a --user-data script of all comments of 600 bytes which worked and another script of all comments that was 950 bytes and it locked up.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Lee, Do you see any errors in the logs?

Revision history for this message
Tim (tsm) wrote :

Davanum, this appears to be a hardcoded limit in the wsgi config on the max size of json objects. I'll try to find the log dump I made, but it should be a one line change to up the limit from 861 bytes, which I believe is the default.

Revision history for this message
Lee Thompson (stagr.lee) wrote :

Debug output of nova client

Revision history for this message
Lee Thompson (stagr.lee) wrote :

One example which fails

Revision history for this message
Lee Thompson (stagr.lee) wrote :

I think the ec2 limit is 16K

Revision history for this message
Joe Gordon (jogo) wrote :

I just tried to reproduce this with trunk (devstack) and was unable to reproduce so perhaps this has been fixed (I tried up to a 19K user-data file).

Changed in nova:
status: New → Fix Committed
Changed in nova:
milestone: none → icehouse-3
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-3 → 2014.1
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.