Commit Graph

178 Commits

Author SHA1 Message Date
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
Émilien Macchi
919b377808 Update openstack.common.config
- Add generator.py from Oslo
- Add notifier from Oslo
- Add generator bash script used by other projects to generate configuration
files
- Update openstack-common.conf file

The patch https://review.openstack.org/#/c/36493/ needs
to be merged before this one. I'll rebase this patch and
generate the heat configuration.

Fix bug #1183275

Change-Id: Id7f24874b7e3e07d06dcf14bc381b9d630f67fc8
2013-07-18 12:01:02 -07:00
Monty Taylor
8a3efd0c59 Sync install_venv_common from oslo.
Change-Id: Ic7d71c90d39370810e95efa592f00e936c5204f0
2013-07-05 22:12:13 -04:00
guohliu
fee94d28e7 Updated common module from oslo
This patch updated common module from oslo for known issue.

Fixed bug: #1175808
Fixed bug: #1072917

Change-Id: Ic1de6b786a9d67b39d186e31a37049729d367464
2013-06-19 20:18:39 +08:00
Steven Dake
2e1d08eaa1 Rename requires files to standard names
From bug report:
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files and tools in the
general world are growing intelligence about them.

Change-Id: Ie0bdb4908f45e47db43e84cd0c5fdc5263c035f4
Fixes: Bug #1179008
2013-05-21 17:22:35 -07:00
Monty Taylor
1d79afc696 Migrate to flake8
Fixes bug 117244

Change-Id: Ide81366eb2240377160775830e2307aef6064f9e
2013-05-17 16:50:25 -07:00
Mark McLoughlin
e0d9982d40 Copy the RHEL6 eventlet workaround from Oslo
Tests in oslo-incubator now need the horrendous hack to workaround an
issue with eventlet on RHEL6. We've moved the patch_tox_venv tool
and redhat-eventlet.patch into oslo-incubator, so add them to
openstack-common.conf.

Change-Id: I1acfec282b64d7582144b155119bedb1741db2f7
2013-05-13 22:51:49 +01:00
Mark McLoughlin
4a42b80057 Update install_venv_common from oslo-incubator
Just some python3 compat work.

Change-Id: I835765d45a861d0bcf9b348f0649c6c9ef5a1992
2013-05-13 22:51:49 +01:00
Jenkins
652a5c0c78 Merge "Deprecate tools/nova_create_flavors.sh" 2013-05-13 04:52:27 +00:00
Steven Hardy
c67604ae7a tools : remove fetch-cloudformation-examples
This template-related script now lives in the heat-templates repo

Change-Id: Id1940ca1217572145da8eb37b690704a7f06205d
2013-05-07 16:58:28 +01:00
Steve Baker
4ddbf8e41d Deprecate tools/nova_create_flavors.sh
This script now just prints a warning and runs
nova flavor-list

Change-Id: Iee5e2fa54d38a24d634840db10a7f5411cb2e9dd
2013-05-07 16:56:22 +12:00
Jenkins
04d0356587 Merge "Use install_venv_common from oslo" 2013-05-03 09:07:57 +00:00
Thomas Herve
334df9fc21 Depend on discover to fix python2.6 tests
It also fix a failure introduced by using 2.7-specific setUpClass.

Fixes: bug #1175753
Change-Id: I63ba61050602df92c654bd70519947965494df37
2013-05-02 22:11:48 +02:00
Mark McLoughlin
ec8e96d0fa Use install_venv_common from oslo
The core of install_venv.py was moved into oslo-incubator recently so
just use that.

Change-Id: I7ba52660fc1433f116e6ee1ad33c89ba393c416b
2013-05-02 10:45:37 +01: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
Clint Byrum
224e0be8fc Remove broken --doctest call from run_pep8.sh
It does not seem to actually be required and causes the script to fail
when not running inside tox.

Change-Id: Ib5be301054b08623ea31a97c1b2d6c341e7fdd3e
2013-04-30 13:51:31 -07:00
Clint Byrum
405510e263 Use testr for running gate tests
Fixes bug 1172468

Change-Id: Ifd87e44d752b4b3c77b4ea8f38feceb03bccaebe
2013-04-30 13:51:31 -07:00
Jenkins
0524aa2f09 Merge "Update tools/integration.sh script to new docs tree" 2013-04-30 10:00:47 +00:00
Clint Byrum
7ce9a214f0 Remove pyflakes_bypass
There are valid pythonic ways to address all of the complaints that
pyflakes made in the past.

Fixes bug #1171420

Change-Id: Idf145185ebb4df237fff887365fa0c48d3603025
2013-04-29 19:54:30 +00:00
Steven Hardy
9531cbf586 Update tools/integration.sh script to new docs tree
Update location to refer to the new fedora getting started guide

Change-Id: I507e1102a1979debd975fa6601e5385b1a47a756
2013-04-29 18:05:10 +01:00
Jenkins
818f9e7c67 Merge "Fix pyflakes-bypass for PyFlakes 0.7" 2013-04-23 10:31:00 +00:00
Dirk Mueller
f83b7eaf09 Improve Python 3.x compatibility
Mechanical translation of the deprecated except x,y:
construct. the except x as y: construct works with
all python 2.6+ versions

Change-Id: Iad349b8079a01bbd66a22800ae2fcdfcde03b377
2013-04-23 00:12:22 +02:00
Zane Bitter
78f0da46f2 Fix pyflakes-bypass for PyFlakes 0.7
Don't make assumptions about argument types, get the line number from the
message object.

Fixes bug #1171420

Change-Id: Id0b1b254a1561941dea8ab5bb23aea1f936e7f0b
2013-04-22 18:24:56 +02:00
Steven Hardy
57975d377a heat tools : openstack script fixes for grizzly
Update tools/openstack so it works with the grizzly preview repo
(tested on F18 with both grizzly repo and folsom distro packages)

fixes bug #1164605

Change-Id: I347a53c9be677131dad37f9fbeb1ed5eb9cb810b
2013-04-09 10:12:18 +01:00
Steve Baker
f3fc5c579b No longer pass no_cache=True to novaclient create
The default is now os_cache=False, so default behaviour will not
use a keyring that prompts for a password.

This was committed on 2012-12-12 and released in
python-novaclient 2.11.0 on 2013-02-11

Part of blueprint auth-token-only

Change-Id: Id2846b2e344f8e3321240795aebf9a59ddad711a
2013-04-03 13:51:41 +13:00
Steven Hardy
c105af573e heat : remove fallback ec2signer implementation
Now keystoneclient 0.2.3 has been released, we can remove the
temporary internal ec2signer implementation

Change-Id: I9f050b8771400384615f1ae7f3da76da501e5197
2013-03-26 09:44:10 +00:00
Jenkins
1a36279f64 Merge "Update dependency versions to match oslo-incubator" 2013-03-14 11:01:59 +00:00
Zane Bitter
6d6b993287 Remove Nova dependencies from hacking test
References to Nova in the docstrings(!) of the hacking.py tests caused the
run_pep8.sh script to fail if the Grizzly development version of Nova was
not installed. Update all the references to use Heat packages instead.

Change-Id: I2e84e9a231451705d61fa9acddc65ee95a98e294
2013-03-13 12:41:34 +01:00
Zane Bitter
8e49385257 Update dependency versions to match oslo-incubator
Fixes bug 1097843

Change-Id: I3bd56261ed9e3640adb07965d4394d99db45e0b5
2013-03-13 09:28:14 +01:00
Jenkins
e9bd11fd55 Merge "Pin SQLAlchemy to 0.7.x" 2013-03-12 18:10:22 +00:00
Mark McLoughlin
e67d1d1c07 Switch to final 1.1.0 oslo.config release
Fixes bug #1128256

oslo.config has now been released to PyPI in time for Grizzly RC1 so
we can switch to using it directly.

Change-Id: I655f831718ae5f4e25e941ee206fe195214a9a91
2013-03-12 16:37:35 +00:00
Dirk Mueller
711b824cdf Pin SQLAlchemy to 0.7.x
0.7.10 has been released and is compatible with 0.7.x. Instead
of pinning to 0.7.9, simply pin to 0.7.x to avoid SQLAlchemy 0.8

Fixes: Bug #1153983

Change-Id: I1a2ea0c36161df15fd55e95a6679628d14858944
2013-03-12 10:25:09 +01:00