
Change-Id: I828751cb631930099770c301b0ec2df802fcbf52 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
3.4 KiB
FAQ
Why nodes/transports have hardcoded keys, ips and other inputs ?
This is temporary situation, we will improve it in near future.
I want to use different SSH keys
Just update resource for example:
solar resource update ssh_transport1 '{"key": "/path/to/some/key"}'
I want to use passwords not keys
Just update resource:
solar resource update rsync1 '{"password": "vagrant", "key": null}'
Note
You need to change it for all transport resources (ssh and rsync by default).
How can I run solar worker ?
- If you use vagrant then you can just sudo start solar-worker as vagrant user.
How can I configure solar ?
There are several places where we search for config values:
- .config file in CWD or in path from SOLAR_CONFIG env variable
- if env SOLAR_CONFIG_OVERRIDE contains valid path then it override previous values
- .config.override in CWD
- You can also set upper-cased env variable which matches one of those in config
What database can I use with solar ?
By default for simplicity we use sqlite. On our vagrant environment we use single node riak. You can also use multiple nodes riak, with some strong consistent buckets.
Where can I find solar examples ?
Example resources, composer templates and examples itself are located: https://github.com/openstack/solar-resources
Can I run solar nodes with docker ?
Yes, the docker >=1.10.0 and the vagrant-triggers plugin are
required. Note that the vagrant docker provider is an
experimental and supports only a single network interface per a
container. There is a separate Vagrantfile_docker
file.
Before using the vagrant up --provider docker
command,
rename it to the Vagrantfile
and do the following
preparations at the host system as well:
$ docker pull solarproject/riak
or, depending on the configured DB backend (this also requires the packages make, autoconf, gcc-c++ or g++):
$ git clone https://github.com/kiasaki/docker-alpine-postgres.git
$ cd docker-alpine-postgres
$ make build && cd -
Those will allow the solar nodes to run required nested DB containers.