| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The isolated_hosts_filter takes two configuration options. This patch
adds three tests defining the behaviour for when one or more of these
variables are missing.
This patch speeds things up a bit when the isolated_images option is
missing, making it do less dict lookups to come up with the same answer.
Matrix of isolated_hosts_filter changes:
+----------------------+--------------------+--------------+
| Config options | Before patch | After |
+----------------------+--------------------+--------------+
| 0 + 0 | No filtering | Same as B4 |
| | no tests | Tested |
+----------------------+--------------------+--------------+
| 0 + iso_image | Block iso'd images | Same as B4 |
| | no tests | Tested |
+----------------------+--------------------+--------------+
| iso_host + 0 | Block iso'd images | Same as b4 |
| | no tests | Tested |
+----------------------+--------------------+--------------+
| iso_host + iso_image | Block matched h+i | Same as b4 |
| | Tested | Tested |
+----------------------+--------------------+--------------+
Change-Id: Ibe6725e39a771b31fdf49513335275deba33e96b
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Clean up to support pydoc
* Support -h
* Make it actually work
* Improve docstrings
* Add copyright
Change-Id: I977df71e8213e39e9eebf9cc56b2dd7625959870
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes bug #1172599
reproduce steps:
1. create an instance
2. get a floating ip from pool
3. associate the ip to instance created at step 1
4. delete the instance and the ip at a very little interval
reason may be that:
1. the action of delete ip find the ip is associated to a fixed ip at
first(at api level)
2. and then the fixed ip is released when the instance is deleted
3. so nova-network manager findes this issue and raises
exception.FloatingIpNotAssociated(address=floating_address)
Change-Id: I253d0b240451e8a728532639e9857894f6fc6870
|
| |\ \ \ \ |
|
| | | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug 1164021
Use both ttys0 and tty0 as console options to the kernel during
boot.
Change-Id: I0365ff7cad021fb6ca551651d00d58297087e95e
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
fix bug #1171783
Change-Id: Ibb75c8e3174283f0f5e94bacfd61ee93e8bd6227
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix bug #1174199
Change-Id: I50929ed2e66052a37bb5a94cd3863baaebda1e28
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
test_show_translates_image_state_correctly sometimes fails
on some systems. This is caused because the ec2utils cache
is reset after the test rather than before the test (but after
the images are manually added to the db in setUp). This change
resets the ec2utils cache in the correct place
Fixes bug 1174266
Change-Id: I2ff9b71c932c913ca0423b1de4c04ca7d9de59cf
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes bug 1166906
Added extra states to constants module together with test
cases checking every state map.
Also added some debug statements under blockdev and operator
to be able to spot obvious issues with images at deploy time.
Change-Id: I77ebb4d417a3875b761f5fb220d9274b79611ff0
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes the EC2 API so it maps internal S3 image state values to
ones defined by the EC2 API rather than returning the internally
used values.
Fixes bug #1074904
Change-Id: Iabbda0e5fcbe4d572c76367c6f98d4bece050e73
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I1d5e362f2e4e57cb8c754f27fc27fed328989597
|
| |\ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
bdm is a sqlalchemy model object, it doesn't make sense to delete
an attribute, so just set it to None
Fix bug 1166160
Change-Id: I41017af602f0c8369d442b4a6936e1a829d2f9a9
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Send a 'create.error' notification if instance creation (run_instance)
fails.
This will make it easier for external notification consuming systems to
learn when instance build attempts fail within the nova-compute layer.
blueprint create-error-notification
Change-Id: I62d7c9c80c51241bf124509af7cdd8484d9ea2d3
|
| |\| | | | | | | | |
|
| | | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
_run_instance() had multiple points where various classes of errors
were handled. This patch classifies the possible error/exit conditions
into the following categories:
* success
* rescheduled - an error occurred, but the build will be returned to
scheduled for another attempt.
* aborted - build was aborted for a non-error. (e.x. instace was
deleted during spawn)
* fatal - general case of uncaught exceptions resulting in the instance
going to error.
blueprint create-error-notification
Change-Id: I3f01753bde8af0750ba9067c8a98ded45d5a0eb7
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fix "by project" filtering in fixed_ip_count_by_project
method of SQLAlchemy DB API implementation.
Fixes: bug #1171161
Change-Id: Id408aba6db4dd953945feba36d17b056266ca4b7
|
| |\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
If we look at nova/cmd/spicehtml5proxy.py, we use 6082 port for Spice proxy.
In nova.conf, the default port for html5proxy_base_url is 6080 which fails console
service.
Fix bug #1172957
Change-Id: I52ca37f76e7a6abd085b079ae42e7914cb619ad5
|
| |\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ /
|/| | | | | | | | |
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Change-Id: I5a7d1d82cea596426c5a5caeaa5d4a0389e833db
|
| |\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
nova.db.fixed_ip_get_all_by_instance_host was removed in commit
bb867ce3948ddc23cf928ca3dda100a1a977896a, but was still used in
nova-manage. This patch works around the removal of the foreign
key that led to this method being removed.
Resolves bug 1163660.
Change-Id: Ieccd37c752e245558827615c098604d11ad3d945
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fix db.instance_type_destroy()
Corresponding instance_type_projects weren't deleted
Fix db.instance_type_acces_get_by_flavor_id method
Return [] list if there is no such instance_type
instead of AttributeError
Fixes bug 1172153
Change-Id: Ib1a9a23aa6e26711c198bf4a5059797044c44426
|
| |\ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Each service implemented the get_backdoor_port method individually. This
patch moves the implementation of this method to the base rpc API
instead, and removes the now unnecessary code from each of the services.
The server side method was left on all of the managers for rpc backwards
copmatibility. They can be removed on the next major rpc version bump
of those APIs.
Part of blueprint base-rpc-api.
Change-Id: Ia8838fafd80eb86a1c2d66f5e97370042d8d8c53
|
| |\| | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Deprecate the ping() method of the conductor API in favor of the one
that comes with the base rpc API.
Part of blueprint base-rpc-api.
Change-Id: Iea46b7f6ce70f4919d0121433af2fd64d6346941
|
| |\| | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This patch adds an rpc API that is exposed by all services. The methods
in this API exist in their own namespace and are versioned independently
of the main API for the service.
The first method for this API is a simple ping() method. This method
exists in the conductor rpc API already, and could be more generally
useful. Other methods will be added in later patches.
The base rpc API will be exposed from all services automatically unless
they override the create_rpc_dispatcher method in the base manager
class. All services need to pass a service_name into the base manager
constructor. Some services already did this, but now it's needed for
all of them.
Implements blueprint base-rpc-api.
Change-Id: I02ab1970578bc53ba26461b533d06d1055c2d88e
|
| |\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
|
| | | |_|_|_|_|/ / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
During a resize operation in powervm, the logical volume
of the instance will be copied and compressed to a file.
Current logic decompresses it twice before copying this file
to a new volume which will cause the new instance to not
boot properly.
Fixes bug #1169848
Change-Id: I91f536919511aafbf7dbe14abbee48dbceb189b2
|
| |\ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
When the pool of floating ips is exhausted the NoMoreFloatingIps exception
is raised but not handled properly in the floating ips extension resulting
in the exception propagating further up and causing a stack trace to be logged.
This change translates the exception explicitly into a HTTPNotFound, preserving the current
REST API behaviour. It fixes a bug where the pool name was not correctly inserted into
the message returned if allocation from a specific pool was requested.
Fixes bug 1169811
Part of blueprint no-stacktraces-in-logs
Change-Id: I8f35d25d065bb1fa709cff6f59841ac8c86658bd
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Import the oslo looping call implementation (which is a copy of
nova's), delete nova's local copy, convert all users to the new
location.
It should be noted that the oslo implementation of
FixedIntervalLoopingCall measures time from the start of the
periodic task, not the end, so periodic tasks will run with a
constant frequency instead of the frequency changing depending on
how long the periodic task takes to run.
Change-Id: Ia62ce1988f5373c09146efa6b3b1d1dc094d50c4
|
| |\ \ \ \ \ \ \ \ \ \
| | |_|_|_|/ / / / /
| |/| | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Implements: some tests for db methods fixed_ip_* for blueprint db-api-tests
Change-Id: I51fe24600b7df2b529350ad70939a01f60bd3c9c
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
All instance_type_* methods should be one after another
blueprint db-cleanup
Change-Id: Icc69c45dbcb3dcea5f81266a11f726b5b3215e27
|