The params order of assertEqual is (expected, observed),
some tests in test_server.py are in wrong order.
Change-Id: I95054cac6d9c34dd978fdae2a38823273d8b867d
Update the constaint value to make it up to date. Manila support 4
kinds of access types wich are 'ip', 'user', 'cert', 'cephx', and,
'cephx' is the newer type in Manila which is supported on version '2.13'.
So update the version of Manila client to '2' incidentally.
Change-Id: I230f2bc7268e9f25f77d7b22f7a68b6ca37f6d2a
Closes-Bug: #1649217
Add ability to associate private flavors with multiple tenants.
Also updated 'test_flavor' file to reflect changes and test
functionality.
Change-Id: I841460b936ae52b3a91981029b42212ae484c3e4
Implements: blueprint nova-flavor-resource
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
The DeployedServer resource is a subclass of the BaseServer base class.
It allows for creating Server resources to associate with
SoftwareDeployment's where those servers were not orchestrated via Nova.
This is a use case for TripleO so that the software configuration part
of the deployment can be orchestrated with Heat on servers that were not
provisioned with Nova/Ironic.
Partially-implements: blueprint split-stack-software-configuration
Change-Id: I07b9a053ecd3ef4411b602bbc6ef985224834cf8
Refactors the Nova Server resource class to use a new base class,
BaseServer. All of the Nova/Neutron/Glance/etc specific logic for the
Server resource remains in the Server class and not in the base class.
This allows other Server subclasses, such as the DeployedServer resource
(see followup patch) to create Server "like" resources to associate with
SoftwareDeployment resources.
Partially-implements: blueprint split-stack-software-configuration
Change-Id: I585d92dbd29198107464b92ddb0e0b15779b9999
The db.api module provides a useless indirection to the only
implementation we ever had, sqlalchemy. Let's use that directly instead
of the wrapper.
Change-Id: I80353cfed801b95571523515fd3228eae45c96ae
Set default value of 'metadata' to {}, to make sure
update cinder volume success when observe_on_update
is enabled.
Change-Id: I006d8612f4d9fd0633695a17ad3c8f0ca37dbb97
Closes-Bug: #1635164
Set default value of 'metadata' to {}, to make sure
update nova server success when observe_on_update
is enabled.
Change-Id: Iea29b9ce3bbf5dbf7ee33cdd9e2556305fa93ae3
Closes-Bug: #1649222
We create some images, flavors and networks for the test
environment. It would be good to clean them after the tests.
Change-Id: I633328c2952f61426b1350e43fb42e2edbc5ca97
Notifier initialization moved to osprofiler. Added call
to init_from_conf method that does it.
Change-Id: Ia552b8a40eeea49b9882befaaf41fa9b1ed3da1e
Depends-On: I77d0d3b5e9e725507916724dcd28d5fbc6f7f5c7
Refer to:http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises
[H203] Use assertIs(Not)None to check for None (off by default) Unit
test assertions tend to give better messages for more specific assertions.
As a result, assertIsNone(...) is preferred over assertEqual(None, ...)
and assertIs(None, ...)
Change-Id: Id20e7958bc0228577eb73ee390afc80ffcb98d33