Commit Graph

12 Commits

Author SHA1 Message Date
Lin Yang f760b0f561 Clean valence.conf.sample generated by install_valence.sh
Use "mv" instead of "cp" to keep local repository clean. And add it
into .gitignore.

Change-Id: I0d3e3875a9979903c14843735b068f90a894b61a
2017-06-28 16:47:22 -07:00
akhiljain23 3f298567d5 Fixing installation for Ubuntu 16.04
Condition for checking status of etcd service in
install_valence.sh is updated for ubuntu 16.04.
Also added valence.service and etcd.service to make
these services active.

Change-Id: I78bb2d3e65bf08712d87516372d40ad12802e66a
Closes-bug: #1686613
2017-05-31 17:44:01 +05:30
Anusha Ramineni b19420fd04 Move all the config items to etc folder
Currently the service startup files are placed in doc folder.
Moving the same to etc for better maintenance of all the conf
files.

Change-Id: I16be81b161263d7f2c446fd31cf92170f1091f60
2017-05-02 15:09:11 +05:30
Anusha Ramineni 80fbb7fca4 Remove valence.conf.sample
As oslo-config-generator has been added, no need to maintain the
local copy of sample file, should be generated via
tox -egenconfig, generates the sample file with latest config
options

Change-Id: I6da9bd0454ec1b9980876e3021a331de68204074
Closes-Bug:#1680776
2017-04-10 11:51:37 +05:30
Madhuri Kumari 4031a8b1de Added support for oslo.config
Currently there was no support for oslo.config in valence.
This patch does the following:
	* Add a config generator tool.
	* Added support to use oslo.config
	* Added oslo.i18n support needed for translation

Change-Id: I444b47a20a69c3e075ea36abf337f343b38549d0
Partially-Implements: blueprint director-plugin-cookiecutter
2017-03-31 05:21:15 +00:00
Nate Potter 11c8f513cb Install and configure etcd in install script
This patch adds logic to install_valence.sh to install
and add initial directories to the ectd database when
running valence_install.sh

Change-Id: Iec4e1fff16ae3a92163f026ee231be09fcbb0865
Closes-Bug: #1668438
2017-03-02 14:53:04 -08:00
praveenraj e757bbba41 Fixed shellcheck error and warning on install_valence.sh
shellcheck error and warning on install_valence.sh is fixed
and also replaced tab with four spaces for indentation purpose

Change-Id: Id8983045945e12514acb64401502330478b4b8c9
Closes-Bug: #1650699
2016-12-26 15:14:13 +05:30
Shuquan Huang d679e447c1 Fix some issues in Install_valence.sh
1. Recommend to use `whoami` instead of USER because some dist may not
have USER set.
2. Check if the folder '/etc/valence' & '/var/log/valence' exist before
create them to avoid the error message like 'mkdir: cannot create
directory'

Change-Id: Iaf57a2b040798e1bf2ca3248cf091ed3715b175b
Closes-bug: #1642875
2016-11-18 16:40:53 +08:00
Anusha Ramineni 457a17b5d8 Install dependencies while installing valence
install_valence.sh doesn't install dependencies from requirements.txt,
hence failing to start the service. This commit automate the installation
of dependencies too while running the script

Change-Id: I3b0d0766436161018d4686d8d3795f513232798a
Closes-Bug: #1640021
2016-11-10 14:32:05 +05:30
Seenivasan Gunabalan da241b473f Migrate to flask
This commit migrate the valence code to flask and aslo removed
rabbitmq.

Change-Id: I70234515960e7e2106c5208ced8defc760a4531e
2016-11-04 21:08:06 +05:30
Ananth Narayan S 73f0c411c2 Set the correct PYTHON_HOME api and controller path.
Installer script detects the python install path and modifies the
PYTHON_HOME variable in the conf files. Executable paths modified
to reflect location on the system (/usr/local/bin).

Change-Id: Ib24711d1256bc70b03813076b3709faa46fd7ce1
Closes-Bug: #1633403
2016-10-20 12:52:57 +05:30
Lin Yang 0ac90c5522 Initial import from external repository
External repo: https://github.com/mganguli/RSC
Commit: 49199a82045f1d6f231eb477de3dbcd59492e9d9

Change-Id: I9eaec387605a39ba5e4c571026cacb1845938231
2016-10-07 08:50:05 +08:00