Coverage report generation was not using --include filters.
This resulted in generating a report that included all external
dependencies. Some of these may include problematic characters for
utf8 decoding. In the odd case this was found, coverage would fail
with a UnicodeDecodeError.
Fixes bug #987077.
Change-Id: I276698e65ac1037972209a406058168433cd826b
977719
status set in _finish_resize is lower case, but
migration_get_all_unconfirmed() was filtering using FINISHED
Also updated corresponding test case to use lower case "finished"
Updated Authors file
Change-Id: Ia30e66e541bba91a9dd3d3af1429b2312870793a
fixes bug 968190
nova flavor-create failed on postgresql DB
because sqlalchemy tried to write an integer into a varchar field
Change-Id: Ib47d8d10e96fedb2158f454503fe1ca3493c16bb
Signed-Off-By: Bernhard M. Wiedemann <bwiedemann suse.com>
Resolves unclear formatting of compute extensions documentation at
http://nova.openstack.org/api_ext/index.html
The rst extensions template has been updated to include extension name as
top level hierarchy, and demote all other content.
All existing documentation pages have been reformatted as per the updated
template.
The ext_aggreagates.rst file has also been added to index.rst.
Amendments:
- Author added to Authors file
- Typo in ext_volumes.rst fixed
Change-Id: Id67ef91a6e8eaaf4fba46abbd57759c77aaf8991
Horizon allows for ICMP to be type:code.
Type and code can be from -1 to 255.
API refers to both EC2 and Nova APIs
This patch attempts to resolve:
1. API code throws exceptations when 0 is passed for either field
2. API code validates type:code like from->to range. type and code
are independent
3. Update unit tests for this new set of operations.
A side effect is that the following are allowed type:code.
-1:X
X:-1
The code assumes that -1 is a wildcard for the field.
bug 956967
Change-Id: Ieb6989815afc6986b72e0efc7611c2cc353ab5d8
fixes bug: 823503
Update to the dateTime format to provide three places of precision to
microseconds. This change makes the API match the ec2 documents.
Change-Id: I765e64e99042ade9fa996dfb1dee603d363f9b2c
Looks like this fixes all HACKING problems that were around.
Thanks to Dina Belova and Alexander Kovalev for this work.
Change-Id: I8157f0d4890184c1216aab63ef7180ee8b7a184d
Drivers have been reviewed earlier by Quantum reviewers and are being
moved here on their request.
Also incorporating Soren,Dan, pp-draigbrady and Vish's suggestions.
Change-Id: If04807c473542e2f0259faa6d243c3e6e9539f64
bug 944381
Add logic to generate_autodoc_index.sh to produce rst underlines to match the heading strings.
Change-Id: Ib0f54a45fcc4ab6dfaa593c756682f1a25fdb420
As documented in bug 901594, previous nova releases, the IP address
was exposed as the DNS hostname, which worked well with euca-tools.
This is unfortunately not always ideal for private clouds.
Whilst it is expected to be able to euca-describe-instances --ipv4
in newer euca2ools releases, this behaviour is not always desired.
This patchset allows the nova admin to set a global flag of:
--ec2_private_dns_show_ip=True, to restore legacy nova behaviour.
This does not change the current default behaviour of nova.
Change-Id: I7c71ffe63929d90d45d9c724ab3409dcdee52b44
* includes a fake implementation of the netapp soap api
* implements blueprint netapp-volume-driver
Change-Id: I8e2781e8bd4a552354f46a32c4a7ecdfd19f3e7a
Implements part of blueprint ssl-endpoints
Adds in configuration options:
kombu_ssl_version (ssl version)
kombu_ssl_keyfile (ssl keyfile)
kombu_ssl_certfile (ssl certfile)
kombu_ssl_ca_certs (ssl ca certfile)
This adds onto rabbit_use_ssl (which must be True for the above to have any effect) and allows
users to specify in greater detail (more than just True/False) how SSL is going to be configured.
Change-Id: I2186a6aa9397df857321324bf4007bc8310b85ce
Fixes bug 934534.
The launch_index column in the database is used as the ami-launch-index value
provided by the metadata service.
If launch_index is not specified it defaults to 1. This is incorrect for the
single instance case (should be 0) and doesn't correctly handle multi-instance
starts.
This branch changes the default launch_index to 0 (to handle the single
instance case) and adds the launch_index in the schedulers for multi-instance
starts.
Change-Id: Ifc45abf4cd9f50f732ba4a4b68c0a6242a6c9710
bug 897726 Add "attaching" status for volumes and clear state on error
This closes a gap where multiple calls of attach for the same volume
can happen before the volume is actually attached.
Change-Id: I59d22ceda83729c1a455af9994c9ffec1912e23b
* enables hairpin_mode on virtual bridge ports on instance spawn
* adds conntrack DNAT state criteria to fixed/fixed SNAT exception so reflected traffic SNATs
* updates get_interface ElementTree to work with Python 2.6/2.7
* fixes bug 933640
Change-Id: I63b3e91b41898fcffda8a288be503f9b740b4b4e
Addresses Bug 708278
Add check for duplicates in api.py
Add DuplicateVlan to exception.py
Add test to raise DuplicateVlan in test_db_api.py
Add to Authors
Change-Id: I9d68d7b7c886071e38df3c9d7d53724758bdd84c
remove unused methods and classes in nova/virt/libvirt/firewall.py
and releative function tests. now,nova use nwfilter offered by
libvirt only for anti ARP and IP spoofing.other security policy use
iptables.
Change-Id: Ib9866802ef64668e2feba09124bdf7c7fee92f92
These compute API links were broken, previously referring to
Rackspace URLs with s/v1.0/v1.1/
The links now correctly reference long-lived locations on
docs.openstack.org.
Change-Id: I10efca2868a05982a1783688e374060acf1d0a69
Implements blueprint fast-cloning-for-xenserver
1. use_cow_images flag is reused for xenserver to check if copy on write images should be used.
2. image-id is used to tag an image which has already been streamed from glance.
3. If cow is true, when an instance of an image is created for the first time on a given xenserver, the image is streamed from glance and copy on write disk is created for the instance.
4. For subsequent instance creation requests (of the same image), a copy on write disk is created from the base image that is already present on the host.
5. If cow is false, when an instance of an image is created for the first time on a host, the image is streamed from glance and its copy is made to create a virtual disk for the instance.
6. For subsequent instance creation requests, a copy of disk is made for creating the disk for the instance.
7. Snapshot creation code was updated to handle cow=true. Now there can be upto 3 disks in the chain. The base disk needs to be uploaded too.
8. Also added a cache_images flag. Depending on whether the flag is turned on on not, images will be cached on the host.
Change-Id: I54838a24b061c134877f3479c925c6ee78da14bc
Add a new nova configuration flag, boolean, enable_instance_password.
When the flag is True (default), existing behavior is unchanged.
When the flag is False, responses from the create or
rebuild API calls don't include the adminPass attribute.
Change-Id: Icb2bd703770f3a39bb1e458dc31e1489d48da7c1