209 Commits

Author SHA1 Message Date
Steven Hardy
99768809f4 Remove config check_uptodate test
Our gate is currently broken due to an oslo library release,
so remove this check while we move to removing the sample config
(which requires changes to devstack to use tox -egenconfig)

Change-Id: Id4a37e9a5be156fea05c96e385c23da016ea9e69
2014-12-03 20:34:09 +00:00
Steven Hardy
2df03f6849 Remove oslo sslutils
This module isn't referenced in openstack-common.conf and is unused
so remove it

Change-Id: I602f40c511095818a8aee5f342029993bd470de4
Partial-Bug: #1380629
2014-10-27 09:21:18 +00:00
Brant Knudson
91ca44fe36 Update references to auth_token middleware
There's references to the auth_token middleware in keystoncelient.
The auth_token middleware has been moved to keystonemiddleware and
the version in keystoneclient shouldn't be used anymore.

If these references aren't updated, then when options are changed in
keystonemiddleware.auth_token the heat-api will fail to start because
there's duplicate options in keystoneclient.middleware.auth_token.

Change-Id: I04573aa5ff967afe3e00329f797fcc71b779e7b3
Closes-Bug: #1379082
2014-10-09 15:46:30 -05:00
Andreas Jaeger
3ebd84bf3c warn against sorting requirements
And do not check for sorted files.

Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Closes-Bug: 1365061
2014-09-03 22:28:34 +02:00
Jenkins
2bdc11bf68 Merge "Remove rst2script.sed and integration.sh" 2014-07-28 15:19:20 +00:00
Ryan Brown
6eab982dad Remove rst2script.sed and integration.sh
rst2script.sed was referenced in the Fedora getting started
documentation, but the recommended way to use Heat/Openstack
on Fedora is now to use RDO/packstack.

Also removes the reference to rst2script.sed in the
getting_started/on_fedora documentation.

Also removes obsolete integration.sh script.

Partial-Bug: 1338066

Change-Id: I7f2b0d84ccef324ccb8e32ca4c6d90f9a3f2dda3
2014-07-25 12:40:36 -04:00
Ryan Brown
85aa4fcc5a Remove deprecated tools/README instructions
Remove instructions for:

experimental_ssh_eventlet.py: deleted May 25, 2014 commit 318669f

openstack: deleted Sep 30, 2013 commit f4a9c0f

heat-keystone-setup: was never in the tools directory, but has
documentation in the man pages

Change-Id: I8ae3050e16163699849342e81d302942e763ac0c
Partial-Bug: 1338066
2014-07-24 16:12:29 -04:00
Jenkins
50ab034b0a Merge "Remove tools/glance-jeos-add-from-github.sh" 2014-07-24 11:37:46 +00:00
Jenkins
0d1b5830bd Merge "Migrate to oslo.db" 2014-07-24 09:54:39 +00:00
Ryan Brown
a8899b0dbb Remove tools/glance-jeos-add-from-github.sh
glance-jeos-add-from-github.sh has not been edited since 2012-08-20, and
its image links have been broken (according to Google cache) for a
minimum of 9 months.

The functionality of the script seems to be superceded by the
handy-dandy diskimage-builder tool.

See http://docs.openstack.org/developer/heat/getting_started/jeos_building.html
for more info about diskimage-builder workflow.

Change-Id: I99880f1cca4af84fa7193d749a7c8f6957bb0b78
Partial-Bug: 1338066
2014-07-18 12:20:05 -04:00
Ryan Brown
29a2c23bc9 Remove deprecated nova_create_flavors.sh script
nova_create_flavors.sh has been deprecated for over a year (since 2013-05-07)

Removing the script, since it is not documented in any current READMEs
or on the Openstack wiki.

Change-Id: Ib6031c2518b8e6d43bb692e0f687a2e287ec494f
Partial-Bug: 1338066
2014-07-18 09:55:58 -04:00
Thomas Herve
2a51ee7449 Migrate to oslo.db
Move from oslo-incubator db module to oslo.db

Change-Id: I485375e3defc807e1fc272803a064b2c52e8ac13
2014-07-15 10:14:56 +02:00
Thomas Herve
9090b988e6 Port to oslo.messaging
Move from oslo RPC to oslo.messaging.

Implements: blueprint oslo-messaging
Co-Authored-By: sdake@redhat.com
Change-Id: I2d222c248dd2cd405b8ec35c4c8198ed001fb69f
2014-06-26 06:45:52 +02:00
Thomas Herve
7f7817c157 Sync with oslo incubator
Sync with oslo incubator at 45890dae35cd14a25175cdce7c12a5f9acbd712f

Change-Id: I44ecc69f1d952061be7cb2f41678b879ded93eae
2014-06-17 11:22:37 +02:00
Jenkins
cc07a851b0 Merge "Use entry points for config generation" 2014-06-10 11:57:58 +00:00
Jenkins
515bf7d48d Merge "Fix requirements_style_check on BSD platforms" 2014-06-09 17:24:47 +00:00
Anderson Mesquita
797dcc8dc1 Fix requirements_style_check on BSD platforms
On Linux, the sort command implicitly ignore non-alphanumeric characters
when sorting.  Since the '>' character has an ASCII value greater than
the '-' character, the following list will be sorted on Linux, but not
on a Mac:

SQLAlchemy>=0.7.8,<=0.9.99
sqlalchemy-migrate>=0.9.1

This makes sort explicitly ignore such characters and will keep the
tests consistent across different environments.

Closes-Bug: #1324945
Change-Id: I559ae4b4c3e2a7d190af9d4b1517dfaf23d114b1
2014-06-02 11:59:35 -04: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
Christian Berendt
318669f408 removed deprecated tools
* tools/experimental_ssh_eventlet.py
  * tools/state_transitions.py

Change-Id: I6fd8642bcabab16bb7062637d7b8b864f09f1c80
2014-05-25 23:11:35 +02:00
Thomas Herve
7b589f9000 Sync oslo incubator
Sync with oslo incubator at commit
ea9ead81417e942495f3cc19be400801e7aa9cb4 to get the new config generator
script options.

Change-Id: I52e006325d5cf7ea731d85a73fb7c3675f1f7e41
2014-05-21 21:16:36 +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
Clint Byrum
1f6ad08d0a Fix all flake8 problems.
Change-Id: Ibd36add2530a144122a0c3a88f31b3df1b838d24
2014-04-25 21:13:12 -07:00
Clint Byrum
62044fadd9 Order and separate imports properly
Alphabetical and separated into system modules and libs.

Change-Id: I367245b10ca428d68350e3f010c17dea7e38fe67
2014-04-25 21:13:12 -07:00
Thomas Herve
aef33d2d71 Sync oslo incubator
Synchronize all olso modules, removing the ones that were removed that
we don't use anymore.

Change-Id: Idca29b32ef0561c9c436d5a692a02acbe79027b1
2014-04-12 10:01:51 +02:00
Jenkins
b7ae16025b Merge "Sort requirement files in alphabetical order" 2014-04-11 00:24:21 +00:00
Jenkins
d951d9eb58 Merge "Make the first line of every file consistent." 2014-04-08 08:51:07 +00:00
ChenZheng
035abae6ef Sort requirement files in alphabetical order
This makes code more readable, and can check whether specific library
in the requirement files easily. We also enforce the check in pep8.

Change-Id: I032c3c3d29522ce85f64b21d6428d975e46cc701
Closes-Bug: #1285478
2014-04-08 13:29:58 +08:00
Jenkins
0614b707d3 Merge "Add tools/create_heat_domain helper script" 2014-03-05 19:09:30 +00:00
Steven Hardy
c05dc06f0b Add tools/create_heat_domain helper script
For users who don't yet have python-openstackclient, or who require
a more automated way of creating the heat domain and domain-admin
user, provide a simple wrapper for the keystoneclient python API
which will create the domain and user, then print a helpful cut/paste
message to allow heat.conf to be easily updated.

It requires a cloud-admin users credentials to be sourced in the
environment, OS_USERNAME/OS_PASSWORD/OS_AUTH_URL and also a script
specific variable HEAT_DOMAIN_PASSWORD which specifies the password
for the domain-admin user.  Other values may be overridden by the
environment but default to sane values.

Change-Id: I5731ba72491dcf515c5d230b55056d9263341c54
Partial-Bug: #1287980
2014-03-05 00:09:02 +00:00
Jason Dunsmore
af464c9afc Make the first line of every file consistent.
Change-Id: I2e1a809cfca8e88693551d58d33e747f54ee5eb1
2014-03-04 09:03:04 -06:00
Jason Dunsmore
97135cbfc0 Remove vim header from files.
Change-Id: Ia6131f8fcac6902c80c80aa805c8cd7a2a41f280
Closes-Bug: #1229324
2014-03-04 08:51:56 -06:00
Jenkins
b0756fa4ff Merge "Improve tools/uninstall-heat" 2014-01-09 09:29:18 +00:00
DennyZhang
6e2dc8ab58 Improve tools/uninstall-heat
Inform users that the script doesn't remove related role/user from keystone.

Change-Id: Ia0a7cb37ae568e37c86ff9047361c42186c21ab4
2014-01-03 10:09:40 -06:00
JUN JIE NAN
e542742e1d Deleted TEMPDIR on exit
To avoid undeleted tmp.XXXXXXXXX directories left in /tmp, and output
unified style patch for later apply.

Change-Id: I6069c3cf36e345e5101ae3cf884e647c1d42030e
2014-01-02 10:11:04 +08:00
Angus Salkeld
1179a8eda4 oslo: update the remainder of the modules
Change-Id: I83796c1e1f2f69d2ce27e7180c4004a5f345f063
2013-12-11 09:05:33 +11:00
Angus Salkeld
4ac0c8f02f oslo: update config generator
Change-Id: I5a456fe8a898bc042e7580386b6602b75fa7e1c0
2013-12-06 12:00:42 +11:00
Richard Lee
089c25a4a3 Make check_uptodate compatible with BSD shells
BSD mktemp requires a template for the file/directory name.
GNU mktemp supports the option, but is not mandatory.

This change passes in the template, so that the check_uptodate.sh is
more compatible across different environments.

Change-Id: Id4abb92054363416272f583600e3d8ff2a9f9d42
Closes-Bug: 1246858
2013-10-31 14:34:44 -05:00
Angus Salkeld
a7cc2a90d7 Add keystone_authtoken section into the heat.conf.sample
We support (and need) this section, now that oslo config generator
supports external modules lets add the section into the sample.

Change-Id: I3f7f614906204fa2e5a743c62882d2dcf196640a
2013-10-14 09:48:21 +11:00
Jenkins
810131c471 Merge "Remove obsolete redhat-eventlet.patch" 2013-10-11 22:05:03 +00:00
Angus Salkeld
51d1214fec Move check_uptodate.sh into config/ and delete tools/conf
Having two sets of these scripts is just confusing.

Change-Id: Ia9e227c4c833d1c6edc040eb93d157b8557671fa
2013-10-11 13:29:47 +11:00
Angus Salkeld
859efe8e04 Start using tools/config instead of tools/conf
oslo only supports tools/config so lets use it.

Change-Id: I1d72d158bb6aa52697d04a5b3c632f7e8b661c2e
2013-10-11 13:29:47 +11:00
Angus Salkeld
8b277c92be update the config generator from oslo
Change-Id: Ice2407645715d0f1ca144581fa75cbc5ae23fb65
2013-10-11 13:29:47 +11:00
Mark McLoughlin
22241a2168 Remove obsolete redhat-eventlet.patch
See I62ce43a330d7ae94eda4c7498782a655e63747fa for the gorey details on
why this exists.

As of this fix:

  https://github.com/eventlet/eventlet/pull/34

which was released in eventlet 0.13, we no longer need the patch.

This has now been removed from oslo-incubator, so this is really just
syncing that removal.

Change-Id: I84267f3c6726cb2e750f615e107c48b12c6ed353
2013-10-09 21:43:02 +01:00
Steven Hardy
f4a9c0fcc6 Remove tools/openstack*
Remove the tools/openstack* scripts - they're no longer maintained,
and there are several alternative documented ways to install openstack
with Heat now, so we should direct people to those instead.

Change-Id: I649f384f6acc3d7edab25f104f8e9d7e0050f2c1
Partial-Bug: #1182428
2013-09-30 23:06:36 +01:00
Chang Bo Guo
9aaddd5b48 Use built-in print() instead of print statement
In python 3 print statement is not supported, so we should use
only print() functions.

Fixes bug 1226943

Change-Id: If88d77982ddbd1eb47265f15a27b747cd8011e76
2013-09-18 01:50:26 -07:00
ZhiQiang Fan
7809499dab Enclose command args in with_venv.sh
It will support argument with blanks.

Change-Id: Ic3a00bdafc11459e9726eb99c7bc637d385e859a
Closes-Bug: #1220937
2013-09-09 14:36:33 +08:00
Jason Dunsmore
1f7d5b07d6 Add a script show all possible state transitions
The output of this script will be useful in documenting all possible
state transitions.

Change-Id: I24e442ce20fe7730c915a77b85014f44075e03fd
2013-08-22 11:16:22 -05:00
Jenkins
e6566569c4 Merge "Update Oslo to 96d1f887dda Part 1" 2013-08-14 02:28:31 +00:00
Alexander Gordeev
00e71c3d78 Update Oslo to 96d1f887dda Part 1
Oslo version 96d1f887dda21b43ba4376187f31953dee6f5273

This commit just injects fresh portion of code from Oslo
into Heat and fixes all the issues with new code

Partially implements blueprint oslo-db-support

Change-Id: I7e98c12ddf6689efc6ea6a4deab0b1c840297730
2013-08-13 13:38:45 +04: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