22 Commits

Author SHA1 Message Date
Sean Dague
ee5ae7b923 further pypi libs conversions
glance_store and saharaclient were missed in the last round, make
them install from released clients in this patch.

Change-Id: I2e0ed2b7fb5994ae6abd92612a67ce5fd82b3f7e
2014-11-13 17:17:45 -05:00
Jenkins
4710282ef6 Merge "Set permissions on sahara cache" 2014-11-03 12:03:02 +00:00
Andrew Lazarev
28d4392d56 Set permissions on sahara cache
Signing certificate directory should have 700 mode.
Before the change it was created with 755.

As a visual impact this CR removes warning from 
keystonemiddleware.

Change-Id: I8483e73447348b9a9e33dfd382543978a70a9d43
Closes-Bug: #1387416
2014-10-30 19:47:04 +00:00
Andrew Lazarev
627ca74b51 [Sahara] Copy policy.json if it exists
To enable policy check in Sahara we need gate tests passed.
Tests will not pass until Sahara has default policy.json (
e.g. http://logs.openstack.org/09/131609/1/check/check-tempest-dsvm-full/536d5e7/console.html). 
New code will copy of policy.json if it exists.

So, for now this code will do nothing.
Once policy.json appears in etc/sahara, the code will start coping
it to sahara conf dir. This will allow to merge auth support with
gate tests passed.

Related blueprint: auth-policy

Change-Id: I98e108ff02aacb91570f97e457d67dd02779ae3d
2014-10-30 00:11:06 +00:00
Brant Knudson
0595237e8a Function for auth_token middleware config
Each project was configuring the auth_token middleware using several
lines of inisets. Since all the projects should configure the
auth_token middleware in the same way create a function and call it.

Change-Id: I3b6727d5a3bdc0ca600d8faa23bc6db32bb32260
2014-09-21 11:18:01 -05:00
Chris Dent
2f27a0ed3c Replace screen_it() with run_process() throughout
run_process will use screen if USE_SCREEN=True (the default),
otherwise it will simply start the requested service. Therefore
wherever screen_it used, run_process can be instead.

Where stop_screen was found it has been replaced with stop_process.

A tail_log function has been added which will tail a logfile in a
screen if USE_SCREEN is True.

lib/template has been updated to reflect the use of the new
functions.

When using sg the quoting in run_process gets very complicated.
To get around this run_process and the functions it calls accepts
an optional third argument. If set it is a group to be used with sg.

Change-Id: Ia3843818014f7c6c7526ef3aa9676bbddb8a85ca
2014-09-11 18:59:39 +01:00
Sergey Lukjanov
a90898d904 Move sahara client installation to lib/sahara
All other projects installs their clients in the same lib file as the
main services.

Remove sahara-dashboard installation

Sahara dashboard is now merged into the Horizon and enabled by default
(when data_processing endpoint is available), so, we should stop
installing it as separated dashboard.

Change-Id: I1f0e93e1dee3d065c4f00d8bf2042bebc8d45a22
2014-08-27 17:00:01 -07:00
Jenkins
03082affad Merge "Sahara script modified with notification configuration" 2014-08-25 14:05:50 +00:00
Dean Troyer
16ef976007 Clean up local variable usage - Account setup
This does the local var cleanup for the account creation in the following projects:
* Ceilometer
* Glance
* Sahara
* Trove

Change-Id: I67631578f79eeaaf2814db84f0f5c19d93aee4f3
2014-08-19 19:31:38 -05:00
Vitaly Gridnev
e50fcb12d5 Sahara script modified with notification configuration
This change enable Sahara notifications if ceilometer is used

Partially implement: blueprint ceilometer-integration

Change-Id: I4ec79052194206481cfbbf0d848aa43bcb0c0660
2014-08-11 15:40:51 +00:00
Gael Chamoulaud
6dd8a8bee4 Users in service group should not have email addresses
Change-Id: Ieed9dffce5cf1e735e482dd3494ac1e103b50955
Closes-Bug: 1185201
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2014-07-22 17:29:04 +02:00
Bartosz Górski
0abde393c5 Adds support for multi-region
Change-Id: Ib85fe7cb375692b04aca4c46f61ba7e1fbfa501b
Implements: blueprint multi-region
2014-07-01 14:58:35 +00:00
Sergey Lukjanov
0d286089b2 Remove obsolete sahara keystone auth conf
Change-Id: I9005d99540572bd1e9251683b1e9cc6638afa7e7
2014-06-19 10:41:39 +00:00
Sergey Lukjanov
850e0fbdd4 Run all-in-one instead of sahara-api
We're upgrading sahara architecture, so, we've added an alias to run
sahara in all-in-one process.

Change-Id: I7f92e13c1a9b15070c5ec46428ca3949190abfc9
2014-05-03 00:53:01 +04:00
Sergey Lukjanov
10f416136b Expose enabled plugins for Sahara
Make devstack users able to specify enabled plugins. By default enable
vanilla, hdp and fake plugins. Fake plugin is needed for gate testing.

Change-Id: Ia557eafe19b7d8eb62b6511d8d5331a106ef4bc2
2014-04-25 11:42:41 +04:00
Sergey Lukjanov
65dabd378a Fix Sahara auth configs
* auth_ host/port/protocol should use corresponding $KEYSTONE_AUTH_
* add missed auth_ host/port/protocol to [keystone_authtoken]

Change-Id: I0fc6434d552cdd03eb8d886681e57bb374e5bb61
2014-04-22 18:38:53 +04:00
Luigi Toscano
b4bef1fd1c Enable colors for Sahara log
Change-Id: If915be21a7090c93e0be4c1961058c155ed9ca2c
2014-04-03 19:26:24 +02:00
Sergey Lukjanov
3cd59e1284 Improve log level conf for Sahara
* set verbose to True
* set debug to $ENABLE_DEBUG_LOG_LEVEL

Change-Id: I229f6ed7c13caf7bea9c090de43ede4ed9ea1536
2014-03-25 00:11:30 +04:00
Jenkins
5710853b62 Merge "Use sahara.conf.sample instead of old one" 2014-03-21 03:56:56 +00:00
Sergey Lukjanov
1bf038221a Remove TEMPEST+=,savanna
Tempest tests integration has been updated.

Change-Id: I6e56f00b99252d145ee0684d3d9705dee768da3e
2014-03-17 23:31:20 +04:00
Sergey Lukjanov
51ebda6c8d Use sahara.conf.sample instead of old one
Sahara internals was updated, now we can use correct conf sample.

Change-Id: Ia8d99c2742785c3b5c724617a5dfc2880624a03f
2014-03-12 22:26:12 +04:00
Sergey Lukjanov
7ff8443e46 Rename all Savanna usages to Sahara
There are several backward compatibility nits.

Change-Id: I93cac543375896602d158860cc557f86e41bcb63
2014-03-12 22:25:20 +04:00