Updated ranger-agent README and added tempest and debian directories

Added instructions for running ranger-agent as well as adding
both tempest and debian package directories.

Change-Id: I4a78d421a45a596d91e642ceef57d56af3aeffd7
This commit is contained in:
raigax9 2017-11-03 15:01:45 -04:00
parent cc53faeb9b
commit 5b34b259f7
3 changed files with 34 additions and 5 deletions

View File

@ -2,11 +2,38 @@
Ranger-Agent
===============================
Ranger Resource Distributor
This is used to connect and distribute resources from ranger to Openstack.
* TODO
Devstack Installation
---------------------
1. You can include ranger-agent repository in `local.conf` when running devstack.
`enable_plugin ranger-agent git://git.openstack.org/openstack/ranger-agent`
Features
--------
2. Make sure `MYSQL_PASSWORD` is included for creating and accessing the database.
* TODO
Installation
------------
1. Clone the repo and go to the `tools` directory.
$ `git clone https://git.openstack.org/openstack/ranger-agent`
$ `cd ranger-agent/tools`
2. Run `./ranger-agent-db.sh` for setting up the database.
3. Run `./withenv.sh`.
4. Run `./run_ranger_agent.sh` and it should have ranger-agent running.
5. If `run_ranger_agent.sh` is not running properly, please do the following:
1. cd to the root folder.
2. `source localrc`
3. `sudo -H pip install -r requirements.txt`
4. `sudo python setup.py install`
5. `sudo nohup ord-dbsync > /dev/null 2>&1 &`
6. `sudo nohup ord-dbsync > /dev/null 2>&1 &`
7. `sudo nohup ord-engine > /dev/null 2>&1 &`
6. If you want to reinstall and run ranger-agent again, make sure you run `./clear_install_files.sh` to remove previous installation files.

1
debian/test.txt vendored Normal file
View File

@ -0,0 +1 @@
test

View File

@ -0,0 +1 @@
test