Skip to content
Commits on Sep 29, 2011
  1. Add flag for console log ringbuffer size

    Robie Basak committed Sep 28, 2011
  2. Tell libvirt/qemu that it is talking to a fifo

    This requires two fifos: .in and .out. We must create both according to
    the qemu manpage, even though we don't care about .in.
    Robie Basak committed Sep 23, 2011
  3. Console logger lifetime management

    Change-Id: Ia71b3ec7377f0a90ff49c4fc3f9737f136be7d93
    Robie Basak committed Sep 21, 2011
  4. get_console_output -> ConsoleLogger.peek()

    Robie Basak committed Sep 21, 2011
  5. logger start/stop mechanism

    Robie Basak committed Sep 21, 2011
  6. console.log -> console.fifo

    Robie Basak committed Sep 21, 2011
  7. Test ConsoleLogger

    Change-Id: I3d0d4751cfcf919ac27b263043836dc0941d25f8
    Robie Basak committed Sep 29, 2011
  8. Add ConsoleLogger

    Robie Basak committed Sep 20, 2011
  9. Test RingBuffer

    Change-Id: Id539e568092d4b2a0315336fcba6e57410761414
    Robie Basak committed Sep 29, 2011
  10. Add RingBuffer

    Robie Basak committed Sep 22, 2011
  11. Add Robie Basak to Authors file

    This is required to pass the tests.
    
    Change-Id: Icfdc6ee2e1d88969a64bd14352b6689718b857a9
    Robie Basak committed Sep 28, 2011
  12. @openstack-gerrit
  13. @openstack-gerrit
  14. @openstack-gerrit

    Merge "bug lp845714"

    Jenkins committed with openstack-gerrit Sep 29, 2011
  15. @openstack-gerrit

    Merge "Enforce snapshot cleanup."

    Jenkins committed with openstack-gerrit Sep 29, 2011
  16. bug lp845714

    Kind of fixes it, this calls resize on the instance. The space will be
    available, but the partition won't be resized to use this space.
    Running fdisk -l will show the additional space(after a discussion here
    I was told this solution was best for the moment).
    
    Adding myself to Authors
    
    Change-Id: Ice9b12b64b266bd291e7c689114b1172e317e144
    Aaron Lee committed Sep 22, 2011
  17. @viraptor

    Enforce snapshot cleanup.

    Makes sure that the snapshot and the temporary directory is cleaned up,
    even if qemu-img fails. Fixes bug 861582.
    
    Change-Id: I3c7798215c8d0d5dc979379a13e038098b0f31d4
    David Subiros committed with viraptor Sep 28, 2011
Commits on Sep 28, 2011
  1. @comstud

    Change 'recurse_zones' to 'local_zone_only'.

    Fixes bug 861753
    
    Zone recursion should be the default and now 'recurse_zones' as an
    optional search argument no longer makes sense.  'local_zone_only=True' can
    now be specified to override the new default of recursing zones.
    
    Change-Id: I5c3c849e9077117b2023f637b82831fa14b656b1
    comstud committed Sep 28, 2011
  2. @comstud

    Fixes euca-describe-instances failing or not showing IPs

    Fixes bug 855660
    
    Makes EC2 call network manager to get IP information now, to match the
    same change to OS API
    Also refactors a bit of OS API's calls... moving some code into 'common'
    
    Fixed tests.  Some tests for OS API v1.0 were not properly testing.
    
    Fixed imports per HACKING in files touched.
    
    Change-Id: I455637a9feb802291dfaf2ef694dabc2607784f9
    comstud committed Sep 28, 2011
  3. @openstack-gerrit

    Merge "Fixes a test failure in master"

    Jenkins committed with openstack-gerrit Sep 28, 2011
  4. @comstud

    Fixes a test failure in master

    Fixes bug 861691
    
    Problem is likely due to python version.. 'with self.AssertRaises' not
    supported?
    
    Change-Id: Ida0bf74ea20ae1b4b3a25a3e1cb9d58ac51f24c8
    comstud committed Sep 28, 2011
  5. Snapshots/backups can no longer happen simultaneously. Tests included.

    Implemented exception.InstanceBusy when attempting to snapshot/backup an
    instance which is already snapshotting or being currently backed up.
    
    Fixes bug 727502.
    
    (Patch Set 2) 3 new exceptions: InstanceBusy, InstanceSnapshotting, and InstanceBackingUp
    (Patch Set 3) Oops. New exceptions now inherit from InstanceBusy
    (Patch Set 4) Tests now tear down created instances
    
    Change-Id: I9614740bba26c04e64b0e27c24fbace12334f4d1
    Brian Lamar committed Sep 26, 2011
  6. @openstack-gerrit
  7. @openstack-gerrit
  8. @openstack-gerrit

    Merge "Signer no longer fails if hashlib.sha256 is not available. tes…

    …t_signer unit test added."
    Jenkins committed with openstack-gerrit Sep 28, 2011
  9. @jerdfelt

    Accept message as sole argument to NovaException

    Fixes bug 860666
    
    Python nose will sometimes recreate an exception to add captured log
    information to the string representation of the exception. It assumes
    that it can do this by reinstantiating the class of the originally
    triggered exception with one argument, a new string description.
    NovaException, and some child classes, didn't work well with this
    scheme and would result in a further exception during formatting, which
    would result in an unformatted string being displayed.
    
    Change-Id: I7152cb7809fa1deb3986c127370f670fb2da342d
    jerdfelt committed Sep 28, 2011
  10. @markmc

    Fix 047 migration with SQLAlchemy 0.7.2

    In 0.6.3, foreign_keys was an OrderedSet which can be indexed. In 0.7.2
    it's a plain old set which can't be indexed.
    
      File ".../nova/db/sqlalchemy/migrate_repo/versions/047_remove_instances_fk_from_vif.py", line 35, in upgrade
          fkey_name = vifs.c.instance_id.foreign_keys[0].constraint.name
      TypeError: 'set' object does not support indexing
    
    Change-Id: I8d6378d2fd25f7659d6a6469de762728639cc4ad
    markmc committed Sep 28, 2011
  11. @brendanmaguire

    Signer no longer fails if hashlib.sha256 is not available. test_signe…

    …r unit test added.
    
    Change-Id: I7cea9900c2ccabc30800a167f127ada8386a724b
    brendanmaguire committed Sep 13, 2011
  12. @jerdfelt

    Make snapshots private by default

    Fixes bug 850389
    
    Change-Id: I22284c2f71b77aaa1aff0c0679320664cd23dae2
    jerdfelt committed Sep 28, 2011
Commits on Sep 27, 2011
  1. @openstack-gerrit
  2. Raise InsufficientFreeMemory

    Kind of fixes bug 851374 & bug 858679
    
    Raises InsufficientFreeMemory if an instance can't
    start because of that. This will cause the normal
    instance failure recovery to catch this problem,
    set the state, and log the error. This also
    removes instance_set_state from db/api.py as that
    was causing these exceptions in the first place.
    
    Change-Id: I199aa6900890531b175e28c3b93d8dfb88e135d0
    Aaron Lee committed Sep 26, 2011
  3. @openstack-gerrit

    Merge "Removed db_pool complexities from nova.db.sqlalchemy.session. …

    …Fixes bug 838581."
    Jenkins committed with openstack-gerrit Sep 27, 2011
  4. Adding run_test.sh artifacts to .gitignore

    Adding myself to the Authors file.
    
    Change-Id: Ifcedc2b7925f293cc47fb1eda9fbc14fa045918a
    Aaron Lee committed Sep 27, 2011
  5. Make sure options is set before checking managed_disk setting. Fixes …

    …bug 860520.
    
    Change-Id: I83c6c1cdb8e11959d6af5c08827e9f9ce82a5913
    Dan Prince committed Sep 27, 2011
  6. @comstud

    compute_api create*() and schedulers refactoring

    Fixes bug 844160
    
    Makes the servers create API call work with all schedulers, removes
    'zone boot', and folds create_instance_helper back into servers
    controller.
    
    Notable changes:
    1) compute API's create_at_all_once has been removed. It was only used
    by zone boot.
    2) compute API's create() no longer creates Instance DB entries. The
    schedulers now do this. This makes sense, as only the schedulers will
    know where the instances will be placed. They could be placed locally or
    in a child zone. However, this comes at a cost. compute_api.create() now
    does a 'call' to the scheduler instead of a 'cast' in most cases (* see
    below). This is so it can receive the instance ID(s) that were created
    back from the scheduler. Ultimately, we probably need to figure out a
    way to generate UUIDs before scheduling and return only the information
    we know about an instance before it is actually scheduled and created.
    We could then revert this back to a cast. (Or maybe we always return a
    reservation ID instead of an instance.)
    3) scheduler* calls do not return a host now.  They return a value
    that'll be returned if the caller does an rpc.call().  The casts to
    hosts are now done by the scheduler drivers themselves.
    4) There's been an undocumented feature in the OS API to allow multiple
    instances to be built. I've kept it.
    5) If compute_api.create() is creating multiple instances, only a single
    call is made to the scheduler, vs the old way of sending many casts. All
    schedulers now check how many instances have been requested.
    6) I've added an undocumented option 'return_reservation_id' when
    building. If set to True, only a reservation ID is returned to the API
    caller, not the instance. This essentially gives you the old 'nova
    zone-boot' functionality.
    7) It was requested I create a stub for a zones extension, so you'll see
    the empty extension in here. We'll move some code to it later.
    8) Fixes an unrelated bug that merged into trunk recently where zones DB
    calls were not being done with admin context always, anymore.
    9) Scheduler calls were always done with admin context when they should
    elevate only when needed.
    10) Moved stub_network flag so individual tests can run again.
    
    * Case #6 above doesn't wait for the scheduler response with instance
    IDs. It does a 'cast' instead.
    
    Change-Id: Ic040780a2e86d7330e225f14056dadbaa9fb3c7e
    comstud committed Sep 24, 2011
Something went wrong with that request. Please try again.