file injection fails when performing a rebuild

Bug #881649 reported by Dan Prince
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Dan Prince
Diablo
Fix Released
Undecided
Unassigned

Bug Description

File injection is broken for rebuilds.

I'm seeing the following nova-agent.log messages when trying to inject files (personalities) via the OSAPI v1.1:

2011-10-25 15:56:11,116 [INFO] Received command 'injectfile' with argument: 'cGF0aCxjb250ZW50cw=='
2011-10-25 15:56:11,116 [ERROR] Exception while trying to process command 'injectfile'
Traceback (most recent call last):
  File "jsonparser.py", line 93, in parse_request
  File "__init__.py", line 99, in run_command
  File "file_inject.py", line 46, in injectfile_cmd
  File "/usr/lib/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)

Dan Prince (dan-prince)
Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
Dan Prince (dan-prince)
Changed in nova:
importance: Undecided → Medium
Revision history for this message
Dan Prince (dan-prince) wrote :

Fixed in nova master 78025e8461ad20575b8f7021ab0042fbc145ddce.

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Dan, or anyone else affected,

Accepted nova into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-1 → 2012.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.