use sudo to start services
Closes-Bug: #1633290 Change-Id: If1dccca0777b9893a83e5e64922cfe7d498ceed1 Signed-off-by: Andy Yan <yanchao3@lenovo.com>
This commit is contained in:
parent
845129f7d3
commit
cc49e5416d
28
README.rst
28
README.rst
@ -3,13 +3,13 @@ Openstack Valence Project
|
||||
=========================
|
||||
|
||||
Valence is a service for lifecycle management of pooled bare-metal hardware infrastructure such as Intel(R) Rack Scale architecture which uses Redfish(TM) as one of the management protocols.
|
||||
|
||||
|
||||
:Free software: Apache license
|
||||
:Wiki: https://wiki.openstack.org/wiki/Valence
|
||||
:Source: http://git.openstack.org/cgit/openstack/rsc
|
||||
:Bugs: http://bugs.launchpad.net/openstack-valence
|
||||
|
||||
|
||||
|
||||
===========================
|
||||
Download and Installation
|
||||
===========================
|
||||
@ -31,37 +31,37 @@ Valence installation
|
||||
``$ sudo rabbitmqctl set_user_tags rsd administrator``
|
||||
|
||||
``$ sudo rabbitmqctl set_permissions rsd ".*" ".*" ".*"``
|
||||
|
||||
|
||||
3. Clone the Valence code from git repo and change the directory to root Valence folder.
|
||||
|
||||
4. Install all necessary software pre-requisites using the pip requirements file.
|
||||
4. Install all necessary software pre-requisites using the pip requirements file.
|
||||
|
||||
``$ sudo -E pip install -r requirements.txt``
|
||||
|
||||
5. Execute the 'install_valence.sh' file the Valence root directory.
|
||||
5. Execute the 'install_valence.sh' file the Valence root directory.
|
||||
|
||||
``$ ./install_valence.sh``
|
||||
|
||||
6. Check the values in valence.conf located at /etc/valence/valence.conf
|
||||
|
||||
|
||||
6. Check the values in valence.conf located at /etc/valence/valence.conf
|
||||
|
||||
``set the ip/credentials of podm for which this Valence will interact``
|
||||
|
||||
``set the rabbitmq user/password to the one given above(Step 2)``
|
||||
|
||||
7. Check the values in /etc/init/valence-api.conf, /etc/init/valence-controller.conf
|
||||
7. Check the values in /etc/init/valence-api.conf, /etc/init/valence-controller.conf
|
||||
|
||||
8. Start api and controller services
|
||||
|
||||
``$ service valence-api start``
|
||||
|
||||
``$ service valence-controller start``
|
||||
``$ sudo service valence-api start``
|
||||
|
||||
``$ sudo service valence-controller start``
|
||||
|
||||
9. Logs are located at /var/logs/valence/
|
||||
|
||||
****************
|
||||
GUI installation
|
||||
****************
|
||||
Please refer to the installation steps in the ui/README file.
|
||||
Please refer to the installation steps in the ui/README file.
|
||||
|
||||
|
||||
**********
|
||||
@ -80,7 +80,7 @@ The controller implements all the handlers for Plasma-api. It reads requests fro
|
||||
|
||||
valence-ui
|
||||
--------
|
||||
valence-ui provides a GUI interface to invoke Valence APIs.
|
||||
valence-ui provides a GUI interface to invoke Valence APIs.
|
||||
|
||||
==========
|
||||
Features
|
||||
|
Loading…
x
Reference in New Issue
Block a user