Add AggregateInstanceExtraSpecsFilter's replacement text in
doc/source/devref/filter_scheduler.rst
Change-Id: I5b74c5f51eb85f79f79a2d2c556d6522d97f1497
Since glance now supports SSL, we need to take
this into consideration when generating the URL.
Also updates and adds a test.
A new config option 'glance_protocol' was added
that defaults to 'http' since that's what the
glance options, '*_client_protocol', default to.
Set to 'https' for SSL.
Change-Id: Id231a1fd4c4d8e221ae0cf6541181e5572dff02b
The Nova Glance wrapper returns all images metadata
if the parameter 'limit' is not define. It doesn't
split the image metadata list.
So the sub method fetch_image is no more needed.
We can delete it.
I added a check in Nova Glance wrapper to be sure
the parameter 'marker' or another one aren't set
to 'None' (like in bug #1065053).
Fixes LP bug #1070904
Change-Id: I24ecc4adf158401f60b508aa3a20bd4c91bfa92b
Allow Quantum to attach instance only to selected networks, which can
be specified, for instance, via the --nic option on the nova CLI.
Fixes bug 1019899
Change-Id: I099056387edea9e3646cd4e329c76b674e03baa2
As per 3456b667c3, Monty
merged code to generate AUTHORS file.
With this fix, git log honors .mailmap specification,
irrespective of name/email combination used for commit and
generate unique entries in AUTHORS file.
* .mailmap
Handle all full name/email combination to ensure following
command return unique records.
$ git log --format="%aN <%aE>"
Change-Id: I44f1db1a991fd312ab37455b44985281ed1d392f
This gets us up to date with common/setup.py and replaces custom nova
autodoc generation with the port of that code found in common.
Change-Id: I2a1c5d2c0fdcf40dbea50cc123b537adb068cdc2
When using source group based security group rules (rather than CIDR
based ones), it's permissible to not set a protocol and port. However,
Nova would always try to convert the protocol to lower case, which would
fail if the protocol wasn't set.
Fixes bug 1010514
Change-Id: I9b1519a52ececd16a497acebfe022508cbe96126
To fix bug #1000403, make sure that each driver held by the
Multi Scheduler gets called during update_service_capabilities.
Change-Id: Iee8141f1a6dcfa24101640626d209d2d65776339
Fixes bug 996482. by default fixed_ip_get_by_address
always sets read_deleted='yes'. Changed it to accept
read_deleted value from context.
updated .mailmap to rewrite my old email to new email
Change-Id: If94251972df7bbcfdeebc226613edac0a3f41186
blueprint sphinx-doc-cleanup
bug 944385
- Fix formatting and markup issues that produce error messages
- Update TOC lists for missing/new files
- Fix a few links
- Update instructions with dependencies for building the documentation
- Updated base on review comments from oubiwann to fix trailing whitespace in modified files
Change-Id: I589152bfab9c543d2b11fa8bed2344259aa90675
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
This renames inst in _create_image to the more consistant name
"instance". It also passes the instance through log messages in this
method, and removes the instance name from the translatable text
for the corresponding log messages.
Change-Id: I9a085198d3bea5d073f4297cc57c84dc7fcb0349
Glance no longer returns location through its public API, so we
should not attempt to display it. Addresses bug 911599.
Change-Id: I3400006eb6ab94095c0c2d2b5dc90cb9b7775a84
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
Fixes the host status reports from LibvirtConnection driver.
This fix initializes in class 'LibvirtConnection', the local variable
'_host_state' and replaces the variable 'session' by the local
variable 'read_only'.
Change-Id: Ia3ba29dc287c793c79a2bbde0d5ec69eb6ada480
update: pep8, and fixing log output.
update2: more pep8, I'm looking at you vim
update3: more formating
update4: mailmap
update5: more pep8
Change-Id: I38617e14260e65ed5cb81b3554479d3720850aae
This branch removes AbstractScheduler, BaseScheduler and LeastCostScheduler
and replaces it with DistributedScheduler. Now the points of extension are
handled via the --default_host_filters and --least_cost_functions only.
Also, greatly simplified the zone handling logic in DistibutedScheduler, mostly
by removing the cryptic dicts with helper classes.
Fixed up the Least Cost functions to better deal with multiple functions.
(In a followup patch I will removed the normalization that occurs as this will
be a problem).
Tests were mostly rewritten to support this new world order.
Debated removing JSONFilter since it's not accessible from the outside world,
but decided to keep it as there are discussions afoot on making scheduler
changes without having to redeploy code or restart services.
HostFilters once again get the all the host service capabilities, but now
via a HostInfo class that mostly contains read-only dicts of capabilities.
Virtual resource consumption is done in the DistributedScheduler class now.
The filters/weighing functions don't need to worry about this. Also, weighing
functions only have to return a single host and not worry about the number of
instances requested.
Change-Id: I92600a4a9c58b1add775c328a18d8f48c305861e