Commit Graph

2086 Commits

Author SHA1 Message Date
Soren Hansen a7fe9d8cbc Add include_package_data=True to setup.py.
This makes sure the various templates get installed into the python path when running "python setup.py install".
2010-11-29 14:02:03 +01:00
Vishvananda Ishaya 4f92d1d39f A few more changes:
* Fixed up some flags
 * Put in an updated nova.sh
 * Broke out metadata forwarding so it will work in flatdhcp mode
 * Added descriptive docstrings explaining the networking modes in more detail

Original Message:

FlatDHCPManager wasn't quite working.  This makes it work again.  I discovered that automatically bridging into eth0 without a vlan is very dangerous.  If eth0 has an ip that you are using for ssh, you lose your connectivity.  For that reason, I set bridge_dev to None by default.  This unfortunately means that you have to specify a bridge_dev for VlanManager to actually work.
2010-11-25 15:24:21 +00:00
Soren Hansen 07ee9639a1 Make sure all workers look for their flagfile in the same spot.
Stop nova-manage from using /etc/nova/nova-manage.conf as its default
flagfile. This made made development awkward since everything but
nova-manage would use defaults for everything, but nova-manage would use
whatever config was in /etc/nova/nova-manage.conf which was likely put
there by a package of some sort.

This way, we can leave it to the packagers to set this default to
something else.
2010-11-24 19:09:42 +00:00
Soren Hansen 6e349f6ea1 Fix typo "nova.util" -> "nova.utils". 2010-11-24 14:39:21 +00:00
Soren Hansen d3be61f254 Fix typo "nova.util" -> "nova.utils" 2010-11-24 15:14:55 +01:00
Soren Hansen d68ec8e791 Added a .mailmap that maps addresses in bzr to people's real, preferred
e-mail addresses. (I made a few guesses along the way, feel free to
adjust according to what is actually the preferred e-mail)

Added a couple of methods to nova.utils to parse said .mailmap and do
the appropriate (though highly naïve) replacement.

Apply mailmap replacement in changelog generation in setup.py.

Add a unit test that checks everyone is properly listed in Authors.

Add missing people to Authors.
2010-11-24 14:14:24 +00:00
Soren Hansen 49a4921156 Add a placeholder in doc/build. Although bzr handles empty directories
just fine, setuptools does not, so to actually ship this directory in
the tarball, we need a file in it.
2010-11-24 13:59:25 +00:00
Soren Hansen 3779635945 Add a placeholder in doc/build. Although bzr handles empty directories
just fine, setuptools does not, so to actually ship this directory in
the tarball, we need a file in it.
2010-11-24 10:09:18 +01:00
Soren Hansen 07597ee0d5 Merged trunk. 2010-11-24 10:08:57 +01:00
Vishvananda Ishaya d62d3f7bcf pep8 2010-11-24 00:16:47 +00:00
Vishvananda Ishaya f67a2bfd59 merged trunk, added recent nova.sh 2010-11-23 23:58:26 +00:00
Vishvananda Ishaya 521dd52e49 fix typos in docstring 2010-11-23 23:56:26 +00:00
Vishvananda Ishaya 84521218b8 docstrings, more flags, breakout of metadata forwarding 2010-11-23 23:18:02 +00:00
Soren Hansen 645df81dd0 doc/build was recently accidentally removed from VCS. This adds it back, which makes the docs build again. 2010-11-23 23:14:31 +00:00
Soren Hansen b763764125 Add doc/build dir back to bzr. 2010-11-23 23:02:57 +01:00
Josh Kearney b91e18d3b4 Make aws_access_key_id and aws_secret_access_key configurable. 2010-11-23 21:59:30 +00:00
Soren Hansen 2aa1fb1c79 Add an alias for Armando. 2010-11-23 22:34:53 +01:00
Soren Hansen 7b26772ba7 Merge trunk 2010-11-23 22:33:22 +01:00
Anne Gentle c4f0f35ca1 Adding developer documentation - setting up dev environment and how to add to the OpenStack API 2010-11-23 21:09:42 +00:00
Soren Hansen c81064a960 Add a --logdir flag that will be prepended to the logfile setting. This makes it easier to share a flagfile between multiple workers while still having separate log files. 2010-11-23 20:59:53 +00:00
Soren Hansen 3df7b85265 Address pep8 complaints. 2010-11-23 21:58:46 +01:00
Soren Hansen edd7e3ed3b Address PEP8 complaints. 2010-11-23 21:52:00 +01:00
Josh Kearney 9d6a1beecb Remove FAKE_subdomain from docs. 2010-11-23 19:09:36 +00:00
Anne Gentle 8cd5381c52 Adding more polish 2010-11-23 12:58:08 -06:00
Anne Gentle 1bf3c29df3 Adding developer howtos 2010-11-23 12:49:28 -06:00
Josh Kearney 9c57e5ce37 Remove FAKE_subdomain from docs 2010-11-23 12:46:07 -06:00
Josh Kearney 513e4eb76a Make aws_access_key_id and aws_secret_access_key configurable 2010-11-23 12:04:34 -06:00
Vishvananda Ishaya 015b7e5848 updated nova.sh 2010-11-23 17:57:25 +00:00
Vishvananda Ishaya 6811f824f7 added flat_interface for flat_dhcp binding 2010-11-23 17:57:12 +00:00
Vishvananda Ishaya 6936248310 changed bridge_dev to vlan_interface 2010-11-23 17:56:43 +00:00
Armando Migliaccio a81547f780 2010-11-23 15:14:38 +00:00
Soren Hansen 89f56207de Add a --logdir flag that will be prepended to the logfile setting. This makes it easier to share a flagfile between multiple workers while still having separate log files. 2010-11-23 13:48:57 +01:00
Armando Migliaccio 01c5ce0038 added svg files (state.svg is missing because its source is a screen snapshot) 2010-11-23 12:11:15 +00:00
Soren Hansen 9819273851 Unify the location of the default flagfile.
Not all workers called utils.default_flagfile, and nova-manage
explicitly said to use the one in /etc/nova/nova-manage.conf.

This made development awkward since everything but nova-manage would use
defaults for everything, but nova-manage would use whatever config was
in /etc/nova/nova-manage.conf which was likely put there by a package of
some sort.
2010-11-23 11:45:56 +01:00
Josh Kearney 36ca124af4 Set and use AMQP retry interval and max retry FLAGS. 2010-11-22 23:04:38 +00:00
Josh Kearney f0f9904954 Use FLAGS instead of constants 2010-11-22 16:48:44 -06:00
Josh Kearney deac609ceb Make time.sleep() non-blocking 2010-11-22 16:28:28 -06:00
Josh Kearney a8497abaf2 Removed unnecessary continue 2010-11-22 16:04:21 -06:00
Soren Hansen 3b163dd4c3 Update Authors and add a couple of names to .mailmap (from people who failed to set bzr whoami properly). 2010-11-22 22:33:03 +01:00
Soren Hansen 33dd63eaa0 Merge with trunk. 2010-11-22 22:27:15 +01:00
Josh Kearney 14e4ba7f0e Refactor AMQP retry loop 2010-11-22 15:22:02 -06:00
Eric Day 2b0e1f3304 Allows user to specify hosts to listen on for nova-api and -objectstore 2010-11-22 21:06:44 +00:00
Soren Hansen 7a8c91cc4b Make sure all the libvirt templates are included in the tarball (by
replacing the explicitly listed set with a glob pattern).
2010-11-22 21:04:22 +00:00
Armando Migliaccio bc63846c0d fixed pep8 violations 2010-11-22 20:49:28 +00:00
Josh Kearney 51be715957 Set and use AMQP retry interval and max retry constants 2010-11-22 14:45:05 -06:00
Armando Migliaccio 958591ab29 pep8 violations fix 2010-11-22 13:11:00 +00:00
Armando Migliaccio 96b42bc9cd added test for invalid handles 2010-11-22 12:15:11 +00:00
Soren Hansen 89cb1e32da Make sure all templates are included (at least rescue tempaltes didn't used to be included). 2010-11-20 22:26:15 +01:00
Josh Kearney 4730b2037d Check for running AMQP instances. 2010-11-20 21:04:35 +00:00
Josh Kearney 874edc5103 Use logging.exception instead 2010-11-20 12:16:54 -06:00