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: | https://git.openstack.org/cgit/openstack/rsc |
Bugs: | https://bugs.launchpad.net/openstack-valence |
The following steps capture how to install valence. All installation steps require super user permissions.
Install software dependencies
$ sudo apt-get install git python-pip rabbitmq-server libyaml-0-2 python-dev
Configure RabbitMq Server
$ sudo rabbitmqctl add_user rsd rsd #user this username/pwd in valence.conf
$ sudo rabbitmqctl set_user_tags rsd administrator
$ sudo rabbitmqctl set_permissions rsd ".*" ".*" ".*"
Clone the Valence code from git repo and change the directory to root Valence folder.
Install all necessary software pre-requisites using the pip requirements file.
$ sudo -E pip install -r requirements.txt
Execute the 'install_valence.sh' file the Valence root directory.
$ ./install_valence.sh
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)
Check the values in /etc/init/valence-api.conf, /etc/init/valence-controller.conf
Start api and controller services
$ service valence-api start
$ service valence-controller start
Logs are located at /var/logs/valence/
Please refer to the installation steps in the ui/README file.
Valence follows the typical OpenStack project setup. The components are listed below:
A pecan based daemon to expose Valence REST APIs. The api service communicates to the controller through AMQP.
The controller implements all the handlers for Plasma-api. It reads requests from the AMQP queue, process it and send the reponse back to the caller.
valence-ui provides a GUI interface to invoke Valence APIs.
Please refer the Valence blueprints for supported and in-the-pipeline features.
https://blueprints.launchpad.net/plasma