46 Commits

Author SHA1 Message Date
huangtianhua
9d146f489d Add cinder snapshot custom constraint
Add cinder snapshot custom constraint to validate
the existent of the snapshot not wait creation.

Change-Id: I4140dfc212eeb4830632c8450e8c8faad3d165f6
Implements: blueprint cinder-custom-constraints
2014-12-04 02:44:28 +00:00
huangtianhua
65fd9c30e8 Add cinder volume custom constraint
Add cinder volume custom constraint to validate
the existent of the volume not wait creation.

Change-Id: Idf4b7139eff2532e71aff48ff4a965c9e52a0921
Implements: blueprint cinder-custom-constraints
2014-12-03 01:56:10 +00:00
huangtianhua
9ed0d2729c Remove KeypairConstraint and FlavorConstraint to nova.py
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
2014-11-17 15:23:54 +08:00
huangtianhua
7804859d7e Implement custom constraint for nova server
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
2014-11-17 11:15:53 +08:00
Steven Hardy
4a461038a4 Remove cinder-keystone-setup script
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
2014-10-02 17:10:10 +01:00
Thierry Carrez
49691a03a9 Open Kilo development
Bump pre-version to 2015.1 to formally open master branch to Kilo
development.

Change-Id: If6d075d7da702a38c539a10c191f23481cb34510
2014-09-30 17:51:47 +02:00
Angus Salkeld
b49f283a4d Convert functions into a fixed part of the template
http://www.mail-archive.com/openstack-dev@lists.openstack.org/msg28987.html
part of blueprint stevedore-plugins
Change-Id: Iabfa077077fa2170f5da8e7752e05e00db91a692
2014-09-11 12:52:06 +10:00
Bill Arnold
2f563535a2 Implements stack lifecycle plugpoints
Stack lifecycle plugpoints have been proposed in
http://summit.openstack.org/cfp/details/86
and
https://etherpad.openstack.org/p/juno-summit-heat-callbacks

Implements: blueprint stack-lifecycle-plugpoint
Change-Id: I8c7b5d0113392e54fe0f35933c2c10da277fd90b
2014-08-31 19:36:48 +00:00
Jenkins
5b0fd8836b Merge "Add backward compatibility for notification_driver" 2014-08-23 15:37:59 +00:00
Jenkins
ce03f9cf71 Merge "Implement custom constraints for subnet/port/router" 2014-08-22 15:11:49 +00:00
Pavlo Shchelokovskyy
7b91eacc95 Implement sahara client plugin
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
2014-08-21 15:46:23 +03:00
Simon Pasquier
135dcdc97f Add backward compatibility for notification_driver
Declare additional entry points for notification_driver option to avoid
breaking existing deployments that may use deprecated values.

Change-Id: I4f6abc33d01bb434d8ea9895aea2bfe6324049eb
Closes-Bug: #1355250
2014-08-12 10:37:01 +02:00
Ethan Lynn
41c6ce10c9 Implement custom constraints for subnet/port/router
Implement custom constraints for subnet/port/router

blueprint neutron-custom-constraint
Change-Id: I2d463512b0c19bd02ef0629a38a97dddfd4a1cfe
2014-08-07 16:41:02 +08:00
Jenkins
96b8a3f078 Merge "Move glance_utils functions to glance client plugin" 2014-07-24 13:56:18 +00:00
Jenkins
a550ac0307 Merge "Move network constraint to neutron plugin" 2014-07-24 11:33:28 +00:00
Jenkins
46cee7248c Merge "Create a new revision of HOT for Juno" 2014-07-24 09:54:23 +00:00
Steve Baker
956632844a Move glance_utils functions to glance client plugin
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
2014-07-21 13:00:26 -04:00
Steve Baker
ec35f074cc Move network constraint to neutron plugin
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
2014-07-21 13:00:26 -04:00
Steve Baker
bd4317e7b9 Implement keystone client plugin
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
2014-07-17 10:16:14 +12:00
Steve Baker
cc1ffff771 Implement heat client plugin
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
2014-07-17 10:16:14 +12:00
Steve Baker
bbea94577f Implement ceilometer client plugin
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
2014-07-17 10:16:14 +12:00
Steve Baker
e247c291ed Implement trove client plugin
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
2014-07-17 10:16:14 +12:00
Zane Bitter
c26cf90325 Create a new revision of HOT for Juno
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
2014-07-15 10:21:56 -04:00
Steve Baker
d234e26131 Implement cinder client plugin
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
2014-07-09 08:53:32 +12:00
Steve Baker
7d3111f941 Implement neutron client plugin
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
2014-07-09 08:45:29 +12:00
Steve Baker
9e58745627 Implement glance client plugin
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
2014-07-09 08:26:58 +12:00
Steve Baker
76979a4fd1 Implement swift client plugin
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
2014-07-09 08:26:48 +12:00
Steve Baker
9850832da5 Implement nova client plugin
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
2014-07-08 09:42:36 +12:00
Angus Salkeld
ce95ff4437 Change template loading to use stevedore extensions
part of blueprint stevedore-plugins
Change-Id: I71ebea421e8eb517a00e10a7e10b63ba7667fc4c
2014-06-30 21:50:11 -10:00
Angus Salkeld
248224661a Support loading constraints as stevedore extensions
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
2014-06-30 21:50:11 -10:00
Thomas Herve
52ad1edea2 Use entry points for config generation
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
2014-05-30 16:21:03 +02:00
Clint Byrum
e8ab2b4745 Distribute create_heat_domain
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
2014-04-25 21:13:12 -07:00
Thierry Carrez
f3d22f9864 Open Juno development
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
2014-03-31 09:22:26 +02:00
Thierry Carrez
8d9040425c Open Icehouse development
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
2013-10-02 17:11:30 +02:00
Steve Baker
34e47b64d9 Move heat-cfn, heat-boto, heat-watch to new repo
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
2013-08-13 12:26:43 +12:00
Monty Taylor
c7f313551e Fix version and location of heat doc build
pbr injects version information as part of the build_sphinx command,
so having it here is overkill.

Change-Id: I1f89e068da3e47b94434cb71db87704f9665dea2
2013-07-16 14:29:30 -04:00
Matt Riedemann
8805221195 Restore babel setup config options
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
2013-06-19 12:35:14 -07:00
Angus Salkeld
126bf9f28c Add a basic heat-manage
The heat/cmd/manage.py structure is copied from glance to give
us some consistency.

Removing unused cliutils ...

blueprint heat-manage
Change-Id: If3b69eb4c3672740515fd308ec868af1cd3c9396
2013-05-27 21:06:31 +10:00
Monty Taylor
05b97f368e Migrate to pbr.
Fixes bug 1179007

Change-Id: I698d02a2171e43237094c0e5ccc4c2dd47ed722b
2013-05-25 08:35:00 +02:00
Clint Byrum
5ae3de07b9 Remove all references to nose
Now that testtools and testr have replaced nose, trims all references
and removes nose from test-requires.

Change-Id: I0aae8fe2c09c5b25741226555838dc330d5c4d91
2013-05-01 10:33:30 -07:00
Thierry Carrez
deab965eae Fix tarball tag to be empty rather than a point
Fix tarball tag to be empty rather than a point.
Really fixes bug 1131622.

Change-Id: Idfbd3eb7f5e0fb855e3153ac465896652eb74343
2013-02-22 10:25:39 +01:00
Thierry Carrez
651891c306 Do not tag development releases "dev"
Do not tag development releases "dev", as it conflicts with our common
versioning code. Fixes bug 1131622.

Change-Id: I33ab25de1d1509c79d11f1919239798663b0cd22
2013-02-22 10:03:09 +01:00
Steve Baker
a5a6ad5a54 Turn off tag_date on branch master
rpmbuild actually requires no date tag in the version.

Change-Id: I8bffff1924b4bc43324346f799d866fcc0f51a55
2013-01-04 10:48:35 +13:00
Steve Baker
896f0aee51 On master branch, tag tarballs as dev snapshots
Change-Id: Ia0bdad7fdff2a8d0d27b1e703ff20a2a89a102cc
2012-12-24 10:41:49 +13:00
Monty Taylor
2fc479c684 Align with project standards.
Rebased from: Change-Id: Ifc9fff4f88dfaebe97b7caba4d603d23c645e346

Reviewed-by: Steven Dake <sdake@redhat.com>
2012-05-21 16:48:34 -07:00
Angus Salkeld
41d167c560 Add setup.py and friends
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-14 09:25:54 +11:00