Add cinder snapshot custom constraint to validate
the existent of the snapshot not wait creation.
Change-Id: I4140dfc212eeb4830632c8450e8c8faad3d165f6
Implements: blueprint cinder-custom-constraints
Add cinder volume custom constraint to validate
the existent of the volume not wait creation.
Change-Id: Idf4b7139eff2532e71aff48ff4a965c9e52a0921
Implements: blueprint cinder-custom-constraints
All nova custom constraints should be defined in
nova.py as neutron custom constraints.
And this change also remove the corresponding tests
to test_nova_client.py
Change-Id: Ie40192b5d53d60d2d4e152801cbd8583e6c45dac
Implements: blueprint nova-custom-constraints
Many resources have 'InstanceId' property related
with nova server, add nova server custom constraint
to validate the existent of the server.
Change-Id: I4ee5a392488f26b2de708412d58f9c206d6f2c43
Implements: blueprint nova-custom-constraints
This is a legacy script from the tools/openstack days, so we don't
need it now as that script no longer exists.
Change-Id: Iddcd76739447e65fcbf4f4bac517cf4fd919fac9
Closes-Bug: #1376712
Sahara is an integrated project, so python-saharaclient is added
to requirements.txt and saharaclient imports are mandatory.
Also sahara client is added to stevedore configuration.
Change-Id: Ide77975026175dd9d638cb4640925bfd3eade40a
Implements: blueprint sahara-as-heat-resource
Declare additional entry points for notification_driver option to avoid
breaking existing deployments that may use deprecated values.
Change-Id: I4f6abc33d01bb434d8ea9895aea2bfe6324049eb
Closes-Bug: #1355250
The glance client plugin is a more obvious home for this sort
of function, and this change makes mocking of these functions
much easier since a mocked client is no longer needed.
To access the methods defined in the client plugin the method
Resource.client_plugin has been added. When all clients are
contributed by plugins then method Resource.client will call
Resource.client_plugin.
glance_utils can be deleted since it was only added at the
beginning of the Juno cycle.
The image constraint has also been moved to the glance plugin.
Change-Id: Id31ccd605411ca034addc67d8aadf7cea0904bfd
This allows exception imports to be encapsulated inside the neutron
plugin, and plugins are likely the most appropriate place for
custom constraints to live.
Change-Id: I5766edb305b7cfffdcd8943fb6edce7f3e9ff26d
This moves the client creation code out of Clients._keystone() into
its own client plugin.
This is the last client to convert to a plugin, so supporting code
to fetch a client from a non-plugin has been removed.
In a later change it would be worth considering moving methods
in heat_keystoneclient.KeystoneClient into KeystoneClientPlugin
so that calling Clients.client('keystone') returns the actual keystone
client rather than a wrapper.
The barbican TestClient has been removed; it had limited practical
value since it mocked all of the internal calls of the method it was
testing.
Change-Id: Ie4a616d6a2b056fe59877e2bec325f02b6d7a693
This moves the client creation code out of Clients._heat() into
its own client plugin.
Clients._get_client_option is no longer used, so has been deleted
Change-Id: Ie14906b6cc605d6db49a5153ffa27f82debcc430
This moves the client creation code out of Clients._ceilometer() into
its own client plugin.
Ceilometer is an integrated project, and python-ceilometerclient
is a dependency, so the import is now mandatory.
Change-Id: Id4961c4d9678d7bfe3739128843c41921cc8a34b
This moves the client creation code out of Clients._trove() into
its own client plugin.
Trove is an integrated project, and python-troveclient is a dependency,
so the import is now mandatory.
Change-Id: I89d290f6a38488779e77ff11bdfdd64c159a57e8
The next revision of HOT, dated 2014-10-16 to coincide with the Juno
release date, will support the list_join function and remove support for
the CFN-style functions. There may also be other changes throughout the
Juno development cycle.
Change-Id: I20d9586201806ac34e303689660ff565cb9f2b5c
This moves the client creation code out of Clients._cinder() into
its own client plugin.
Cinder is a core project, and python-cinderclient is a dependency,
so the import is now mandatory (including the volume_backups import).
Change-Id: I6b937422cd8e20fa620a7e875ae8b4c61e8f9cf8
This moves the client creation code out of Clients._neutron() into
its own client plugin.
Neutron is an integrated project, and python-neutronclient is a dependency,
so the import is now mandatory. Also any conditional code which skipped
if the neutron client was missing has been removed, since the presense or
absense of an installed neutronclient has no bearing on whether neutron
is installed on a given cloud.
Change-Id: Id9fdc50e80efe78731e21934ed9f2704cc3eb408
This moves the client creation code out of Clients._glance() into
its own client plugin.
Glance is a core project, and python-glanceclient is a dependency,
so the import is now mandatory.
Change-Id: If61f2510344bf67b7e9aded1dc9d9cedf2426228
This moves the client creation code out of Clients._swift() into
its own client plugin.
Importing swiftclient exceptions from the plugin is an interim
solution until the client plugin mechanism provides a way of
handling client-specific extensions.
Swift is a core project, and python-swiftclient is a dependency,
so the import is now mandatory.
Change-Id: Ib2cff83096639855eaa1e05febbb4b490edd6250
This moves the client creation code out of Clients._nova() into
its own client plugin.
Raising nova exceptions has been moved to
heat.tests.v1_1.fakes.fake_exception since it is actually impossible
to directly create a nova exception object which works on both
novaclient 2.17 and (yet to be released) 2.18.
nova.exceptions.from_response is stable across novaclient releases
so all test exceptions are now raised using from_response.
Change-Id: Id68ff32c381c9c8c06f3712736d1888d1d0e8110
This still maintains support for the existing mechanism
but moves the in tree constraints to using stevedore.
part of blueprint stevedore-plugins
Change-Id: I86907e6518281083a508f840269d79dfa3875e9a
This starts using entry points to generate configuration for the
common.config and the common.wsgi modules, as they use entries with the
same name in different groups.
This also removes configuration for sslutils which is unused, and
re-enable the check for up-to-date configuration.
Co-Authored-By: ala.rezmerita@cloudwatt.com
Closes-Bug: #1288586
Change-Id: If48c62bbb2b1fb641791dad56f7f905e483080fa
Rename it to heat-keystone-setup-domain and ship it in bin with the
other helper scripts. This will make it consumable by automated systems
and packaging.
Change-Id: I7914869377cd08b6201007aa0eb6b8a70d763254
Bump preversion to 2014.2 to formally open Juno development.
The Icehouse release branch (milestone-proposed) will be cut
from the last commit before this one.
Change-Id: If32c579c42b86946459e24ca15778297761d1498
This should be accepted/merged once all the RC1 bugfixes are in.
This bumps the target version to 2014.1, effectively opening the master
branch to Icehouse development, ending the feature freeze.
The Havana release branch is cut from the previous commit in master.
Change-Id: Iff3f857b5e273eec927e2d4f22371c2ae4683ca6
The new home for these tools is
https://github.com/openstack-dev/heat-cfnclient
These tools are now aimed at heat developers only
and they will not be released or packaged.
Change-Id: I1ea62ef17e81ab53cacb5e4940f0c4e2516ed383
pbr injects version information as part of the build_sphinx command,
so having it here is overkill.
Change-Id: I1f89e068da3e47b94434cb71db87704f9665dea2
Restore the babel configuration values from setup.cfg before the pbr
change so that you can compile the message catalog using "python
setup.py compile_catalog" again.
Fixes bug 1192685
Change-Id: I6db624940b7b8017700e8d2bc7ba56ba4295f091
The heat/cmd/manage.py structure is copied from glance to give
us some consistency.
Removing unused cliutils ...
blueprint heat-manage
Change-Id: If3b69eb4c3672740515fd308ec868af1cd3c9396
Now that testtools and testr have replaced nose, trims all references
and removes nose from test-requires.
Change-Id: I0aae8fe2c09c5b25741226555838dc330d5c4d91
Do not tag development releases "dev", as it conflicts with our common
versioning code. Fixes bug 1131622.
Change-Id: I33ab25de1d1509c79d11f1919239798663b0cd22