| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
we should enable heat to specify network for trove cluster
after [1] merged
[1] https://review.openstack.org/#/c/179443/
Change-Id: I161b7cc1c4824f6aa4a4667bf2d909a2ead81cb4
|
|
|
|
|
|
|
|
|
| |
This is no longer required as the convergence 'lightweight stack' used for
checking individual resources has now merged with the other code paths: in
every case intrinsic functions are resolved using the data about resources
stored in StackDefinition and accessed via ResourceProxy.
Change-Id: I41cf21c8e1babe819b4b6c668749ed5915ae3b54
|
|
|
|
|
|
|
|
|
|
| |
New python-novaclient release has removed support for
network/image/floating_ip apis. This also means
nova-network support would also cease to exist after
this change.
Change-Id: Icbcf279c10720f99a0aed1a3aaaf3945c5442a8a
Closes-Bug: #1690936
|
|
|
|
|
|
|
|
|
|
|
|
| |
Oslo.config deprecated parameter enforce_type and change its default
value to True in Ifa552de0a994e40388cbc9f7dbaa55700ca276b0. Remove
the usage of it to avoid DeprecationWarning: "Using the 'enforce_type'
argument is deprecated in version '4.0' and will be removed in version
'5.0': The argument enforce_type has changed its default value to True
and then will be removed completely."
Change-Id: I91b0f0a52b5ce8654702510eed76d5dea8cc8fe4
Related--Bug: #1517839
|
|
|
|
|
|
|
|
|
|
| |
Add override methods get_live_resource_data and
parse_live_resource_data. Also, add translation rule for
flavor.
implements bp get-reality-for-resources
Change-Id: I37f0a7af5d1fd3031f2d0f2141a52b7443df8ebb
|
|
|
|
|
|
|
| |
Check fail directly if resource not created.
Change-Id: I315fa5f2acc7780156df27ec40ea701672ef65d1
Closes-Bug: #1652902
|
|
|
|
|
|
|
| |
Refactor trove instance tests and rename os_database
module to actual name "instance".
Change-Id: Ie84a0f32f8228b7fe83e1a4945512c3440d9e45c
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add default implementation for parse_live_resource_data
to reduce number of override methods in resource plugins.
Also, add separate method for resolving update_allowed
properties.
implements bp get-reality-for-resources
Change-Id: Ie7ee043d06fbf3bc910fa40dc7f8f17c2fbb4303
|
|
|
|
|
|
|
|
|
|
|
|
| |
There could be situation, when cluster cannot be available for
deleting, for example, it has BUILDING status. In such case delete
call will raise UnprocessableEntity exc. So, need to move cluster
delete to check_delete_complete and try to delete cluster.
Also, test successful cluster delete was fixed.
Change-Id: Ie05f33d6a3f653406d80a362066cac3ffec1e1ef
Closes-bug: #1597374
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
oslo incubator code is planned to be removed from the clients
this cycle. Remove the redundant usage of it from other client
plugins.
This also includes an unrelated change(to remove the vpnaas
post configuration, as we have removed the plugin from the
gate jobs), to fix the gate.
Last but not least, it limits the number of connections to the database
to work around a convergence issue.
Change-Id: I01c46197dfebb1eb674817ce81792972a06e529f
|
|
|
|
|
|
|
| |
Trove allows hyphens in database names.
Change-Id: I1b25c1adaecb7de8edf1599829aa341b91b19e41
Closes-Bug: #1619021
|
|
|
|
|
|
|
|
|
|
|
| |
Recently we moved to use SessionClient with
the client plugins and it seems, just
creating the client does not ensure that the
service is available. We should check for
the endpoint.
Change-Id: Iae9fa8758314a4b04224127a181eb1054aa72d8a
Closes-Bug: #1606951
|
|
|
|
|
|
|
|
|
|
| |
utils.setup_dummy_db() is called in parent class.
resources.initialise() seem to have no actual effect
in this tests.
self.ctx = utils.dummy_context() is often declared
but not used.
Change-Id: Iadcfd58b365ea8788f08a12ffaba612c6e5286cb
|
|
|
|
|
|
|
|
| |
Eliminate from the unit tests the deprecated use of a ResourceDefinition as
if it were a snippet from a CloudFormation template, in preparation for
this being removed in future.
Change-Id: I0449d3bff19c1294a9d0a475a4a9b623c73e11db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each resource in Heat has resource_mapping fucntion for loading his type
in environment for futher using.
This method should be callable and should return dictionary, where
key is resource type and value is corresponding resource class.
More over resource_type should have format:
"Platform Type"/"Service type"/.../"Resource Name"
This patch adds common test for this method and check all modules in
heat.engine.resources sub-directories.
Duplicate useless tests were removed.
Change-Id: I8148811418c21277a4b732de98a53c5291f57f1f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
There are too many functions doing similar things. Let's get rid
of some of them to avoid confusion.
Change-Id: I7674bfebf682bc784572caa6a4ab8bc5dceca46b
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes several issues:
- Set using LOG.warning instead of LOG.warn
- Using common.HeatTestCase class as parent class for
InstanceUpdateTests. Which allows to hide annoying output:
"Unexpected instance state change during update. Retrying."
- Stop re-registering OS::Trove::Instance, which is a root cause of
message:
"Changing OS::Trove::Instance from <class
'heat.engine.resources.openstack.trove.os_database.OSDBInstance'> to
<class 'heat.engine.resources.openstack.trove.os_database.OSDBInstance'>"
Change-Id: I1ccba614e29c089cfa933d347cc55b9145b25a23
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Trove supports using a default datastore version if none is specified in
the request. The OS::Trove::Instance resource was raising an exception
rather than allowing Trove to use the default version in the event that
there were multiple versions of a specific datastore available and a
version was not specified.
By removing the section of code that performed this validation, we can
allow Trove to determine which datastore version to use.
Change-Id: I0ff1ebd1e7d70ea0a98630584174cf8ce1ce6abd
Closes-Bug: #1542437
|
|/
|
|
|
| |
Change-Id: I83b1550557424aaa48bf275ddd6e4c39984dc1e2
Closes-Bug: #1524463
|
|
|
|
|
|
|
| |
flavors.get is more efficient than flavors.find when looking for
falvors with id.
Change-Id: I82a12e5287766d88a815c15a68515b3918a63988
|
|
|
|
|
|
|
| |
This patch uses 'flavors.find' to look for flavors rather than
finding them from 'flavors.list' output.
Change-Id: I48b058a6b01d941d2e0f362900d0c85bc7c71fbc
|
|
|
|
|
|
|
| |
Replace and remove FlavorMissing.
Partial-Bug: #1515603
Change-Id: I638dac724b6e3df87848a025d40b663fe804b6af
|
|
Change namespace to more specified.
Use path to specify resource or test should be enough.
Change-Id: Ie1b524017c3b192ae73dad026cf460d18b1025f4
|