Merge lp:~soren/nova/lp661262 into lp:~hudson-openstack/nova/trunk
Proposed by
Soren Hansen
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Vish Ishaya | ||||
Approved revision: | 605 | ||||
Merged at revision: | 618 | ||||
Proposed branch: | lp:~soren/nova/lp661262 | ||||
Merge into: | lp:~hudson-openstack/nova/trunk | ||||
Diff against target: |
131 lines (+47/-7) 7 files modified
nova/compute/manager.py (+1/-1) nova/db/api.py (+5/-0) nova/db/sqlalchemy/api.py (+11/-0) nova/virt/fake.py (+3/-2) nova/virt/hyperv.py (+1/-1) nova/virt/libvirt_conn.py (+25/-2) nova/virt/xenapi_conn.py (+1/-1) |
||||
To merge this branch: | bzr merge lp:~soren/nova/lp661262 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Devin Carlen (community) | Approve | ||
Vish Ishaya (community) | Approve | ||
Review via email:
|
Description of the change
Add a host argument to virt drivers's init_host method. It will be set to the name of host it's running on.
Make libvirt's init_host method go and look at what virtual machines are running when the compute worker starts up.
This ensures firewalls are set up correctly for existing VM's. It also enables easier rolling upgrades.
To post a comment you must log in.
very nice. Now all we need is to update the periodic callback to go through the instances and the current state to catch crashes.