30 Commits

Author SHA1 Message Date
Jay Dobies
f06e9d80e8 Avoid MODULEPATH environment var in config generator
generate_sample.sh fails if MODULEPATH is already set. This fix was
adapted from a change in nova: https://review.openstack.org/#/c/168745/

Change-Id: I2b0b52b5d71157a42028d95d84e36eeb0fe3016d
2015-05-11 15:13:49 -04:00
Petr Blaho
fc1b4fcc98 Migrate from common code to oslo.db
Migrates Tuskar from common code to olso.db
Adds oslo.db to requirements.txt.
Adds oslotest to test-requirements.txt.
Adds EngineFacade lazy loading - inspired in ironic.
Updates imports and calls to adapt to moved code in oslo.db.
Updates import_opt calls parameters to reflect move configs.
Adds note to docs about setting up database.connection.
Regenerates tuskar.conf.sample.

Change-Id: I709209bc8ce82b7134d738da3a0fb609d02ffb8c
Closes-Bug: #1290849
2014-08-20 07:58:20 +01:00
Jenkins
47641eb6ff Merge "Fix keystone config generator options" 2014-05-06 08:53:27 +00:00
Monty Taylor
636a9a6326 Remove requirements_style_check
Requirements files should not be kept in alphabetical order, because
pip does not actually have a dep solver. Order is important. This file
should never have existed. While doing this, put pbr at the top of
the file, which is where it needs to be, and remove setuptools_git
which should no longer be used.

Change-Id: I1ae61c1c5ce66ed15fbdefbee063997ea6f3172c
2014-05-05 15:29:43 -07:00
Ghe Rivero
065bfd6842 Fix keystone config generator options
Due to an error in the oslo.config.generator.rc file,
the configuration options for the keystone middleware
were not created properly.

Change-Id: Ieafd4263d9ec5a8ffa8f93a0611add0097d3f1e2
2014-05-05 17:20:01 +02:00
Ladislav Smola
b6e1c9d0c3 Adding swift role back
-swift role is now separated in upstream templates,
 so adding it to scaling
-adding swift role back to initial data
-merge.py now needs all templates and it decides
 based on parameters. Otherwise it doesn't work.

Tuskar is currently broken because of this change
in tripleo templates. So this fixes broken state.

Change-Id: Icd62b94447b2d72616597d74fc8191a2d158c15c
2014-03-26 15:43:12 +01:00
Ben Nemec
3880cd05f9 Remove tools/flakes.py
The problem this was fixing has been solved in a different way and
the file is no longer used.

Change-Id: I7ac941e04c7d621f5e80aab607b434e30887736f
2014-03-12 19:25:14 +00:00
Fengqian Gao
6251923ed8 Do not use __builtin__ in python3
__builtin__ does not exist in Python 3, use
six.moves.builtins instead.

closes-bug: #1290234

Change-Id: Icb13e1d8e741b4d276140e2ca2eb9258225c3a3e
2014-03-10 15:40:27 +08:00
Fengqian Gao
249063daf0 Sort requirement files in alphabetical order
Sort requirement files in alphabetical order and enforce pep8 check.

Partial-Bug: #1285478

Change-Id: I0ff79651df9529a7c8da87cc51dcf0a1594702f9
2014-02-28 12:44:44 +08:00
Ben Nemec
adc1fc4ff9 Update config generator from Oslo
This gets rid of the unnecessary option count at the end of the
file and ensures that the config groups are ordered in a repeatable
way so adding an option won't shuffle the entire sample config.

The new config generator uses stevedore so I added that to
test-requirements too.

Change-Id: I5fa0e21ca19a4736ebb3ea9c31b683be5324e052
2014-02-24 23:11:05 +00:00
Jenkins
af784c1a2e Merge "Changing block storage image name" 2014-02-24 15:09:29 +00:00
Ladislav Smola
9db705f5f9 Changing block storage image name
this image name is used in the tripleo template

Change-Id: Ia455827c0ae40975b6f4c6c75012d99bfecb79ac
2014-02-24 05:41:44 -05:00
Tzu-Mainn Chen
51235001ff Remove object storage from initial data
Object storage will likely not make it into Icehouse

Change-Id: I35aef3ff6f5e731b85d11f506fcc31d0a1b8d05f
2014-02-21 12:59:24 -05:00
Dmitry Tantsur
f8e87cb6cc Fix default path in tools/with_venv.sh
Current default path for virtual environment in tools/with_venv.sh
is .venv, but official documentation uses tox, and actual path
for those following it will be .tox/pyXY. This patch tries to find
appropriate tox environment.

Change-Id: I78d8cbdf7cc31ccc27f3ef5c3c8cc0630b1b2eff
2014-02-20 08:24:42 -05:00
He Yongli
ec057bb073 Remove extraneous vim configuration comments
Remove vim setting

Remove line containing
comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4

at the top of source code files, except for files in
openstack/common.

Change-Id: I7d43f92e0110b597452183ae22acaf1114efd3f9
Close-bug: #1229324
2014-02-13 13:08:37 +08:00
Tzu-Mainn Chen
71201df8e7 Created initial data for Tuskar
This patch adds initial data to Tuskar in the form
of four Overcloud Roles (controller, computer, object_storage,
and block_storage).

Change-Id: Ie3ea02333144b2611025e7b2d84bf23d986c5069
2014-02-12 09:06:00 -05:00
Dirk Mueller
ba0d47e4ed Use sample config generator from Oslo
Also enable gating on check_uptodate.sh to ensure
that the config is always accurate.

Change-Id: I85b00bf5d6f152af18d4269c8f0802f0c01bb3ea
2013-12-18 21:53:16 +01:00
Mark McLoughlin
600dded31e 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:53:18 +01:00
Martyn Taylor
2fa7f23752 Set default port to 8585
Change-Id: I834be2e4444202aa8ee7eaaeecf26e0ca2f24eef
2013-09-25 15:19:06 +01:00
Jason Guiditta
1b6f103177 Create example datacenter.
This changes the sample_data to describe an example datacenter, allowing for use
in provisioning via HEAT once that piece of integration is comeplte.
2013-07-19 10:52:13 -04:00
Jason Guiditta
ec217c44b1 Fix sample data for flavors.
This should resolve issue #28.  Flavors are now strictly a sub-resource of
resource_classes, so change this to add them to our sample resource class.
2013-07-17 11:15:17 -04:00
Mark McLoughlin
e3d7308a2c Add a script to populate the DB with sample data
We may not keep this script around forever, but its useful right now.
2013-06-28 10:40:56 +01:00
Mark McLoughlin
5aaa01f9b2 Add a tool for generating a sample config file 2013-06-18 16:22:04 +01:00
Mark McLoughlin
2f9930a149 Rename from Ironic to Tuskar
Change-Id: I4b6c7a70fe8ce1e3ac4cbfc4784b9320399cc8c2
2013-05-28 15:28:52 +01:00
Mark McLoughlin
2c39021420 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-27 06:45:21 +01:00
Devananda van der Veen
55502af5d2 Fix pep8 errors and make it pass Jenkins tests.
Fix all existing pep8 errors.
Remove install_venv and friends, which were not needed.
Add a few ignores for nova code that is yet to be cleaned up.
Skip one failing test case, fixed by review 29394.
Import contrib/redhat-eventlet.patch from Nova.

Change-Id: I46b6ccaa272bd058757064672ce9221263ed7087
2013-05-16 18:40:38 -07:00
Devananda van der Veen
bae17291e0 Implement initial draft of a Pecan-based API. 2013-05-13 00:57:31 -07:00
Devananda van der Veen
6cbb3b5ccc Rename files and fix things. 2013-05-07 16:47:55 -07:00
Devananda van der Veen
1f276b1a4a Import add'l files from Nova
Import lots of files from Nova at rev
f0da3464ab17552f24977d22365fa9573702f5a8
2013-05-07 16:47:49 -07:00
Monty Taylor
d65ac05984 Added project infrastructure needs. 2013-05-02 14:55:43 -04:00