lp:~berendt/nova/lp712681

Created by Christian Berendt and last modified
Get this branch:
bzr branch lp:~berendt/nova/lp712681
Only Christian Berendt can upload to this branch. If you are Christian Berendt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Christian Berendt
Project:
OpenStack Compute (nova)
Status:
Merged

Recent revisions

680. By Christian Berendt

puppet scripts only there as an example, should be moved to some other place if they are still necessary

679. By Christian Berendt

removed flag --pidfile from nova/services.py

678. By Thierry Carrez

Fixes tarball contents by adding missing scripts and files to setup.py / MANIFEST.in

677. By justinsb

When re-throwing an exception, use "raise", not "raise e". This way we don't lose the stack trace.

676. By Salvatore Orlando

The proposed fix puts a VM which fails to spawn in a (new) 'FAILED' power state. It does not perform a clean-up.
This because the user needs to know what has happened to the VM he/she was trying to run. Normally, API users do not have access to log files. In this case, the only way for the user to know what happened to the instance is to query its state (e.g.: doing euca-describe-instances). If we perform a complete clean-up, no information about the instance which failed to spawn will be left.

For the NO_HOST_AVAILABLE error, which occurs when there is not enough RAM left on the host, the amount of available memory is now checked at the beginning of the spawn process. This way, if there is not enough RAM left on the host, the spawn process returns immediately.
A test case (spawn_not_enough_memory) has been added as well.

I understand adding a new value to the power_state enumeration might not be acceptable. In that case I will propose for merge a different branch in which we perform a complete clean-up.
However, I reckon we still to provide a way to inform the user the spawn process has failed.

675. By termie

Some trivial cleanups in context.py, mostly just a test of using the updated git-bzr-ng

674. By Soren Hansen

Use eventlet.green.subprocess instead of standard subprocess

673. By Soren Hansen

Fix sporadically failing unittests.

672. By Dan Prince

Fixes issues when running euca-run-instances and euca-describe-image-attribute against the latest nova/trunk EC2 API.

I noticed this late this afternoon and saw some IRC traffic with other users hitting the issue as well.

671. By Vish Ishaya

Adds missing flag that makes use_nova_chains work properly.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~hudson-openstack/nova/trunk
This branch contains Public information 
Everyone can see this information.