17 Commits

Author SHA1 Message Date
jh629g
42f1c52620 Collapse policy.json files
RMS has three rules which were not included into
the top level policy.json. These rules have been
moved to the top level in order to fix 403 against
uuid server. RMS specific policy.json was not
pointed at by any code, so with this fix
the file has been removed.

Change-Id: I8bf507a6336b8b07885e3e11490f1324bf29c5d4
2020-04-22 13:23:36 -05:00
jh629g
09fb39e961 Change ranger policy.json
changed ranger policy.json to allow
use of expected project when running
tempest tests against ranger

Change-Id: I1319404899a68140443517a818497ac0856746f5
2020-03-06 10:32:26 -06:00
jh629g
3f76cb63b9 Fix Transactions table breaking when image url too long
When an image is created with a url that is in excess
of 240 characters, the transacations table in ranger
audit database throws error "sqlalchemy.exc.DataError:
(MySQLdb._exceptions.DataError) (1406, "Data too long
for column 'event_details' at row 1")". By removing
this url from the log, we prevent this error while
maintaining other important data. Also restored ranger
to allowed projects in ranger policy.json

Change-Id: I4af73beed9bd40054f8d1e7281bc6f9216fdd243
2020-03-05 15:26:59 -06:00
jh629g
93c873bc96 Update RDS to create resources as specified in Ranger Region
Ranger region now includes a field which declares
which openstack domain a resource should be deployed
in. This change updates rds to create resources in
that domain via the heat template

Change-Id: I43144eb75a34661fae15399b9d32842d65327621
2020-02-21 18:07:49 +00:00
jh629g
5eb91bd5d5 Add Domain name to ranger region
Refactor ranger to allow domain
for resource deployment to be
defined in create region api call,
rather than only being retrieved
from ranger configuration.

Change-Id: I1b481c49d4402438c8aa91a8ebd8b6dbe797997b
2020-02-13 19:14:32 +00:00
jh629g
a41951c6f7 update policy.json
policy.json will be updated to become
monolithic under orm/ directory, maintaining
all previous rules. Also update policy.json to
allow for ranger project as an authorized project
to use for authing through ranger. Also removes
unused git classes.

Change-Id: I547cb601318b507f759c264644c781743673be72
2020-01-30 14:27:25 -06:00
stewie925
eeb1976e63 Ranger - remove git logic
Update Ranger to remove logic to stage heat template to git repo.
Instead, pass heat template directly to ranger-agent.

Added logic to create/update/delete  heat template entry in rds database.
Remove git repo logic from ranger.
Ranger to pass token to ranger-agent for request authentication.

Reintroduce commit #693590 changes that were inadvertently removed.

Change-Id: If95076e8343bbb50a7231b74fd4a80906b2a0785
2019-11-25 13:03:01 -08:00
hosingh000
87d644675e Merge Python3 branch
This change is going to upgrade ranger to use Python 3.x

Change-Id: I563661e071c56c2df7e0e1a6e365aecd4158b6cd
2019-10-29 10:36:00 -05:00
hosingh000
c548c0ca31 Services pecan log Configuration – Debug Enabled/Disable
Switch to stestr

Change-Id: I6d268b3484b1107900b40a062010c540b61b04f6
2019-05-08 16:37:11 +00:00
ranadheer
8027f68e63 Ranger - Configurable log levels (446125)
Logging level can now be set from conf file using debug_level.
Default setting is ERROR. Use debug_level to override the setting.
Valid choices are CRITICAL, DEBUG, ERROR, INFO and  WARNING

Change-Id: Idcd81bdb6b909a3f168bae11bfa0c283ec0d757c
2018-12-27 12:41:57 +05:30
stewie925
4ec114add6 Add flavor series p1
Add  some changes for ord-notifier.
Also clean up unnecessary code.

Change-Id: I60fb157a8159fa1e30f2effb99cb9273d09a9ddd
2018-11-28 11:45:00 -08:00
stewie925
d376b60597 Cleanup Ranger logging logic and authentication
Cleanup Ranger logging logic  and allow the following logging option:
- logging to console only
- logging to logfile only
= logging to console AND logfile

Also cleanup authentication logic as well.

Change-Id: I8e422a1c9e44c4f58078d93d4f2a5a009df91ba1
2018-09-26 13:04:13 +00:00
stewie925
eceb24ee5c Ranger Changes -
1. add database drop script
2. fix uuidgen config
3. fix logic to reset rangeragent version to 1.0
4. rename ranger services in start_services.sh script

Change-Id: Ib9bddaa0385295c3bdea0b3eed942d6b0f71cb59
2018-09-18 14:43:17 +00:00
Chi Lo
9e469032f5 [449122] Ranger: OsloConfig libraries upon install of Ranger
Implement Oslo Config options for Ranger.

Change-Id: I5f4b3f58281b9e840dcd3ae49db9363f35ab58d0
2018-08-16 14:49:52 -05:00
Nicholas Jones
8eae8053a4 Add oslo_config and oslo_log to Ranger
Adds basic functionality for oslo_config and oslo_log to Ranger uuidgen

Change-Id: I041e4e2013fec83d3ff0b5befc581a455cb04ffe
2017-11-07 08:10:49 -06:00
raigax9
729705ead0 Added and edited files to run ranger
Created scripts for setting up ranger as well as
modifying the service files as part of the setup.

Change-Id: Ic1d77dd03fa2287097f35f3de5e890cfb768f71b
2017-09-22 13:37:45 -04:00
hosingh000
3de38762aa initial commit
Change-Id: Ie417df96258c2daa852d14e588de4ad2d54bb819
2017-07-27 09:14:42 -05:00