This required rewriting our Diffie-Hellman-Merkle implementation for
set_admin_password in xen. Fixes bug 917851.
Change-Id: Ic4cdcc06221f003aec2dcd5ba05a1a9ad19d39c9
Tests so far:
N101 TODO format
N201 Except format
N301 One import per line
N302 import only modules
N303 Invalid Import
N304 Relative Import
Change-Id: I33c021b842e7199b1f5f1f699ea17f7fa5f8ca49
Fixes Bug #917003
The latest version of greenlet is installed in install_venv.py while
the version required is set to 0.3.1 in pip-requires.
Change-Id: I145deb46a8edc41e87634dc5ca839baf5acd8065
Rather than just giving users the sudo password prompt immediately,
actually tell them what is about to be installed, so they know
whether it is reasonable to be entering their password.
Change-Id: Ic0c1de812be119384753895531a008075b13494e
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Fixes bug #910763
According to PEP8,
- Object type comparisons should always use isinstance() instead
of comparing types directly.
Yes: if isinstance(obj, int):
No: if type(obj) is type(1):
When checking if an object is a string, keep in mind that it might be a
unicode string too! In Python 2.3, str and unicode have a common base
class, basestring, so you can do:
if isinstance(obj, basestring):
Change-Id: I7c0fdecf99872f5b8f72b2c2ed4f5c539c33def1
This simplifies a number of Jenkins jobs which currently, other
than directory names, could be the same for all OpenStack
projects. By renaming the virtualenv directory, the redundant
Jenkins virtualenv build and copy jobs can be eliminated.
Change-Id: Ieaf1dac3207ecb34b911c7edcd2086809abdf49e
* change boto=1.9b to boto
* fix the tests
* remove nova-adminclient dependency
* remove the useless smoketests for nova-adminclient
Change-Id: Ie191453941e64774496a912cb64d1417f3f1bea3
Fixes bug #900564
Changes `Context`.`read_deleted` from a bool to an enum string with values
"yes" (can read deleted records), "no" (cannot read deleted records), and
"only" (can only see deleted records, for backwards compatibility).
Change-Id: Ic81db3664c33f23f751b73973782efb06fce90d9
Ubuntu Oneiric has a problem with the pip installed version of m2crypto.
This fix installs python-m2crypto via apt-get on Oneiric.
Change-Id: I8290a74b614eb0d0b8d620dbad19d2cc6843de8b
part 1 of blueprint separate-nova-metadata
* adds api/metadata/ and moves code from ec2
* moves metadata into separate binary
* changes metadata forward to use metadata host and port
* moves the metadata accept rule to the metadata api
* adds nova-api-* to setup.py
Change-Id: I7f5d8e6cafc55b5c383cd88991f29c6059fb8d82
This adds a patch to fix the broken eventlet code that's installed in the
virtualenv.
Fixes bug 884915
Change-Id: I6dbf755abbc5a52208de3dd892257ce39686d396
Added a flag to run_tests.sh to allow user to optionally install venv with --no-site-packages.
This fixes bug 880905
Change-Id: Ic645e0ec56c90b72fef526ebc9f55975d446e2ae
When you create a virtualenv, pip and setuptools/distribute is
installed.
When we later run install_venv.py to update the venv, we should
be sure to grab the latest versions of pip and distribute otherwise
issues like this one are masked:
http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=131
Change-Id: Id206be478ea6c5216dcee6f2f58dc91858c843f5
iproute2 is already a dependency and is used everywhere and is more
capable than vconfig. This commit just replaces all uses of vconfig.
Change-Id: I5860a10f151a176bf9849feda6052d4c2b491e07
bug 844905
The 1.1 API specifies that the API version can be determined by URL path
(eg /v1.1/tenant/servers/detail), Content-Type header
(eg application/json;version=1.1) or Accept header
(eg application/json;q=0.8;version=1.1, application/xml;q=0.2;version=1.1).
Change-Id: I01220cf1eebc0f759d66563ec67ef2f697c6d310
... so use the system m2crypto library instead.
M2Crypto won't build on Fedora because of some bizarre differences with
Fedora's OpenSSL headers. I can get it to build by doing e.g.
$> python ./tools/install_venv.py
$> cd .nova-venv/build/M2Crypto
$> for i in SWIG/_ec.i SWIG/_evp.i; do sed -i -e "s/opensslconf/opensslconf-x86_64/" $i ; done
$> cd -
$> SWIG_FEATURES=-cpperraswarn ./tools/with_venv.sh pip install M2Crypto
but that's clearly no fun. It should be fine to just use the system
version.
Change-Id: I94c7464bf60ae586e16a2f38b7440cea8dc110e5
libvirt isn't listed in pip-requires because (a) it's not in PyPi and
(b) you always want to use libvirt's python bindings that matches the
version of libvirt installed on the system.
Currently, running nova-compute in virtualenv fails because libvirt
can't be imported. The --no-site-packages flag is what prevents this.
Everything seems to work fine without it. To verify, try deleting the
no-global-site-packages.txt from your .nova-venv.
Change-Id: I1df5e8e3c4426ca333c2d6b5b4fa8ece144dddf3
Fedora 16 has SQLAlchemy-0.7.2 and it seems to work fine with Nova,
modulo these occassional migration errors that crop up. The
foreign_keys set in 047 issue is the third such problem fixed lately.
Is there any particular reason to stick with 0.6.3?
Change-Id: Ia65bc1f6035917b5aec84ad51d6504543256f7ca