Commit Graph

53 Commits

Author SHA1 Message Date
Zane Bitter 039cc4419d Delete pylint tox environment
Nobody uses pylint, but a lot of people are trying to generate code
churn by 'fixing' trivial issues in lintstack.py. Just delete it.

Change-Id: I3f436f742aff90d6610ad12f4b9bc096c2c18ea0
2018-07-30 23:45:19 +00:00
Anh Tran 407f8a5b00 Remove white space between print ()
Change-Id: I8b95436dfcf3bfd65fa95557e34268c0e5072812
2017-01-17 10:25:27 +07:00
Yun Bo Xu d3a0e97f2f Trivial: Remove vim header from source files
Change-Id: If918eaeb47b0d35bda198119cbc0fc3f015d6a1e
2016-01-12 23:22:41 +08:00
Steven Dake 8b813462b7 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: I5d3bad7654e4ce101d19b40215d8c1cc93dd9832
Fixes: Bug #1179008
2013-05-16 09:33:00 -07:00
Monty Taylor a1eeee7f6c Migrate to flake8.
Fixes bug 1172444

Change-Id: I68d5e58f6992f7357e3bb4f72ae40d0ebe076d4b
2013-05-11 14:34:54 -04:00
Steve Baker 9cb2d5bc8d Re-enable pep8 tests, with a minor pep8 fix
Fixes: bug #1152431
Change-Id: If2c01eb97dfd303c5130008c3cd17c83a888a51a
2013-03-08 16:42:38 +13:00
Steve Baker 54acd090a8 Add tox, pep8, pyflakes, testr support
Also fix the python to comply. This has to be done as a single
change otherwise we'll never bootstrap gating.

Change-Id: I4a21d57e0341802a1652428dee16c60abb30251d
2013-03-07 12:28:29 +13:00
Steve Baker 2e95bda5db pip-requires and test-requires
This includes boto==2.5.2 to work around issues with too old and too new
versions of boto
2013-02-21 11:13:42 +13:00
Tomas Sedovic 55bc1cf521 Remone non jeos-related files
To prevent the cfntools commit history, we've forked the Heat repo. That
means there's a lot of files that heat-jeos doesn't need.
2012-06-05 18:06:15 +02:00
Jeff Peeler 70c687ccf7 Change command interpreter to bash
This is important since /bin/sh is symlinked to dash by default on
Debian based systems.

Change-Id: I47b6317981ec020bed0bc45f7f68b636d71023d6
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2012-06-04 13:19:01 -04:00
Tomas Sedovic ba49964211 Add qpid-cpp-server to the openstack setup script
Change-Id: Ie63b1031583091b5bdfd52f79e59b841f21ee778
2012-06-04 16:44:20 +02:00
Steven Dake 12fbd15b60 tools/openstack: Updated to latest openstack F16/F17 tools
Change-Id: I8e6b376a90ad1641c10eea2ef6711a9cd09ee2e0
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-05-22 09:51:24 -07: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
Steven Dake 4c68cf63e3 Fedora openstack projects use new tools to setup databases
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-05-21 16:43:48 -07:00
Zane Bitter 40fd546f83 Add an integration test script
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-05-21 23:41:17 +02:00
Zane Bitter 45702a0d26 Improvements to uninstall script
- Kill only the specific heat processes we want (heat-api and heat-engine).
- Remove installations wherever they may be located.
- More robust handling of input.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-05-21 14:53:03 +02:00
Zane Bitter 8550a36f48 Delete networks when erasing OpenStack
This is required to remove any network interfaces created using nova. If
these are left behind they prevent a new installation of OpenStack
re-adding them.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-05-18 22:42:37 +02:00
Zane Bitter 645d093c45 Allow the Getting Started script to run non-interactively
Related: #84

Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-05-14 16:03:49 +02:00
Jeff Peeler 845a670f7d Add status argument that shows service status for all required services
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2012-05-11 19:24:57 -04:00
Zane Bitter 876a450a4e Add uninstall script
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-05-11 18:56:12 +02:00
Zane Bitter 95e5ed0670 Add Getting Started guide to repo
Convert the Getting Started wiki page to ReStructuredText format and add it
to the repository. Also add a script that will extract the shell commands
from the document and run them, so we can use it as an integration test.

The script can be run using the command:
    > bash -c "$(./tools/rst2script.sed docs/GettingStarted.rst)"

Related: #84

Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-05-11 18:56:12 +02:00
Chris Alfonso d3bdddee68 Allowed the database call to return no parsed template.
The database impl was raising an exception if no parsed template
exists.  The logic that was looking up the parsed template
expects None to be returned if the template isn't stored.

* I also fixed some pep8 errors.
2012-05-10 15:31:31 -04:00
Steven Dake b4cd790a84 Modified README in tools directory to explain a few more tools
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-05-01 10:02:48 -07:00
Jeff Peeler 908f572b34 Finish necessary changes related to jeos_create move
As a result of moving jeos_create, the code is now used during test
execution. The library libxml2 which was previously being used is not
available in pip, so lxml has been swapped instead.

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2012-04-27 16:53:28 -04:00
Chris Alfonso febbc668bb putting python-novaclient back in pip requires 2012-04-25 09:42:28 -04:00
Chris Alfonso 0a9d87e28d Removing nova from pip requires 2012-04-25 09:39:46 -04:00
Chris Alfonso 83e6754c82 Adding the nova module to the pip-requires 2012-04-24 17:32:17 -04:00
Jeff Peeler 710e2bb5f8 Use pip package name, not the RPM one
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2012-04-24 14:48:38 -04:00
Jeff Peeler 53446bb36e Update virtual-env requires and documentation
Document the necessitity to keep tools/*-requires up to date and add
missing dependency.

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2012-04-24 14:17:40 -04:00
Ian Main fc77b204f8 A little more detail on network create.
Signed-off-by: Ian Main <imain@redhat.com>
2012-04-18 08:54:38 -07:00
Angus Salkeld 8c7e46f4e6 remove old experimental code
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-17 12:12:32 +10:00
Steven Dake aa02d3270e Add a tools/heat-db-drop script for fatal error recovery
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-15 18:53:39 -07:00
Jeff Peeler 2f8e95baec Add unit test framework nose and associated helper scripts
For usage documentation, refer to heat/tests/testing-overview.txt.
run_tests.sh is what runs the tests.

Fixes #44

Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2012-04-13 17:10:30 -04:00
Zane Bitter 34962ac074 Fix setting of admin role in keystone service
The script was looking for the "admin" user instead of the "admin" *role*.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-04-11 17:17:04 +02:00
Angus Salkeld 2c492583e1 Fix path to keystonerc
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-11 12:55:57 +10:00
Angus Salkeld 56e8d80630 Get the volumes working properly.
Tested with:
heat create wp_ebs -t ./templates/WordPress_Single_Instance_With_EBS_Volume.template --parameters="InstanceType=m1.xlarge;KeyName=my_key"

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-09 22:23:42 +10:00
Chris Alfonso 04d73a59ba Adding the sqlalchemy db implmentation 2012-04-02 13:42:56 -04:00
Steven Dake daa4fc256b Updated openstack script to print a note about the default network
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-02 07:03:40 -07:00
Steven Dake 5b400fbe18 Show how to create a network after using the openstack tools script
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-01 10:33:28 -07:00
Steven Dake 9b0af6de59 Make create Working with recent glance mysql changes in F16/F17 RPMs
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-30 10:46:29 -07:00
Steven Dake a1e9714473 Add mysql db creation for glance
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-30 08:52:11 -07:00
Angus Salkeld 93726e0567 Fix the service toke and endpoint
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-30 15:36:26 +11:00
Angus Salkeld 682f1041c5 Add script to add heat service catalog into keystone
Note the user add is not working for me. But could
be because I have partly done this a couple of times.

This is based off of:
https://github.com/openstack/keystone/blob/master/tools/sample_data.sh

Related to issue #31

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-30 13:51:24 +11:00
Steven Dake 2198a722a4 Fix spelling error
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-28 11:22:30 -07:00
Steven Dake 903529c05a Add README to tools directory to help point out what files do
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-27 10:35:47 -07:00
Steven Dake fbd62cb9c7 Add error checking and help to tool
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-26 09:30:18 -07:00
Steven Dake b4b6ac333e Add a missing tab
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-26 09:20:02 -07:00
Steven Dake d6fb3be156 Add code that shows how to create an instance
This creates an instance with a keypair, and saves the private key to
/tmp/private_key.

Then:
ssh -i /tmp/private_key 10.0.0.x where x is the IP address

Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-26 09:18:21 -07:00
Angus Salkeld 88b77d2bed Add an experimental ssh monitoring script.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-26 15:18:29 +11:00
Steven Dake bce24c6aa6 Some glance keystone changes from getting started guide
https://fedoraproject.org/w/index.php?title=Getting_started_with_OpenStack_on_Fedora_17&diff=prev&oldid=279696

Signed-off-by: Steven Dake <sdake@redhat.com>
2012-03-23 08:37:59 -07:00