Commit Graph

13 Commits

Author SHA1 Message Date
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
Andy Yan e83c8ffb73 Fix get_option() bug when option value type is bool.
Fix get_option() bug when option value type is bool.
Also, 'debug' should be default = 'False' for deployment.

Change-Id: Ic7b4defd774fd90b261d4f617ce2b783309d5b5c
Signed-off-by: Andy Yan <yanchao3@lenovo.com>
2017-01-12 04:26:06 +00:00
Andy Yan 965cb384a6 Add timeout and workers option for Gunicorn.
Add timeout and workers option for Gunicorn,
otherwise long request and multi request won't return.

Closes-Bug: #1652861
Change-Id: If289511c2c64ecb7c09ed14e7862174358052f30
Signed-off-by: Andy Yan <yanchao3@lenovo.com>
2016-12-28 16:56:15 +08:00
hubian af61ee043a Insert DB:etcd for BP:multi-podmanager
This patch adds etcd DB for multi-podmanager as well as valence.

Change-Id: Ie1ef2554cc95a5f9f18341e768f27a02e192b588
Closes-Bug: #1646389
2016-12-19 09:12:55 -08:00
Lin Yang 0fd581adf1 [Trivial] Add placeholder for podm port in config
Change-Id: Ia8d1474dc36bccc3eeb071fb5688dbe24fd9b84d
2016-12-12 19:19:07 -08:00
Nate Potter 1339877bda Get base resource urls through @odata.id
Currently the redfish driver is assuming that base
resources like systems and nodes exist at '/redfish/v1/Systems'
and '/redfish/v1/Nodes', but this isn't always the case. This
patch gets the urls of these resources through their @odata.id
entries from the service root to ensure they're correct.

Change-Id: I795d007f6dc3e029be17390e33ebe49232d83e13
Closes-bug: #1645957
2016-12-05 12:38:09 -08:00
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
hubian c274caff6d Update the rabbitmq user and password
Change the value of Rabbitmq Server's user/password to valence
in the installation

Change-Id: I3c96e32691cf9a96a785b58a5e7b943f5194d45c
Closes-Bug: #1634725
2016-10-23 10:27:41 +08:00
Ananth Narayan S 6cb0ccc9a5 Remove unused options from valence config file.
Removed log file setting and conductor section.
Valence API and Controller have their separate log files defined
in the upstart script. We don't have a conductor component at the
moment.

Change-Id: I77da814d896b9e52dece5a1bfb941798e739604c
Closes-Bug: #1634342
2016-10-20 11:09:09 +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