lp:~soren/nova/lp654452
- Get this branch:
- bzr branch lp:~soren/nova/lp654452
Branch merges
- Jay Pipes (community): Approve
- Eric Day (community): Approve
-
Diff: 114 lines (+22/-3)3 files modifiednova/service.py (+9/-3)
nova/tests/scheduler_unittest.py (+10/-0)
nova/tests/service_unittest.py (+3/-0)
Branch information
Recent revisions
- 319. By Soren Hansen
-
Move manager_class instantiation and db.service_* calls out of nova.service.
Service. __init_ _ into a new nova.service. Service. startService method which gets called by twisted. This delays opening db connections (and thus sqlite file creation) until after privileges have been shed by twisted. - 318. By Ewan Mellor <emellor@silver>
-
Bug #653534: NameError on session_get in sqlalchemy.
api.service_ update Fix function call: session_get was meant to be service_get.
- 317. By Soren Hansen
-
Fixes to address the following issues:
* nova-network no longer refrains from configuring bridges if it finds them already created. This solves a race condition with nova-network and nova-compute running on the same box. If nova-compute happened to do its network config first, nova-network would find the bridge already created and assume it was correctly setup. If nova-network got there first, it would apply the correct IP configuration to the interface. The assumption is that no harm will be done by reapplying the correct IP configuration, so we no longer make this check before doing so.
* nova-network does not use persistent network configuration (like putting stuff in /etc/network/
interfaces) , so it needs to check at boot time whether it's already set as a network's designated network node and do the appropriate configuration. * If installed, dnsmasq wouldn't find nova-dhcpbridge properly (it would look for it in /usr/lib/
python2. 6/blahblahblha) . Add a flag to specify its location (and make use of it in the packaging). * dnsmasq needs to be able to read the dhcp config written by nova. dnsmasq runs as user "nobody", so chmod 644 the config file so that it can be read.
* dnsmasq needs to be sent a SIGHUP to reread its config. Wrap this call in sudo, because we may be running as non-root.
- 316. By Devin Carlen
-
Refactor sqlalchemy api to perform contextual authorization.
All database calls now examine the context object for information about what kind of user is accessing the data. If an administrator is accessing, full privileges are granted. If a normal user is accessing, then checks are made to ensure that the user does indeed have the rights to the data.
Also refactored NovaBase and removed several methods since they would have to be changed when we move away from sqlalchemy models and begin using sqlalchemy table definitions.
- 315. By Vish Ishaya
-
Adds support for periodic_tasks on manager that are regularly called by the service and recovers fixed_ips that didn't get disassociated properly.
- 314. By Matt Dietz
-
Includes changes for creating instances via the Rackspace API. Utilizes much of the existing EC2 functionality to power the Rackspace side of things, at least for now.
- 312. By Ewan Mellor <emellor@silver>
-
Bug #652103: NameError in exception handler in sqlalchemy API layer
Fix reference to NoResultFound.
- 311. By Ewan Mellor <emellor@silver>
-
Bug #651887: xenapi list_instances completely broken
Don't just compute the result for list_instances -- return it!
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