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:
parent
cc53faeb9b
commit
5b34b259f7
37
README.rst
37
README.rst
@ -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
1
debian/test.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
test
|
1
ranger_agent_tempest_tests/test.txt
Normal file
1
ranger_agent_tempest_tests/test.txt
Normal file
@ -0,0 +1 @@
|
||||
test
|
Loading…
x
Reference in New Issue
Block a user