solar/doc/source/faq.rst
Bogdan Dobrelya 467d84c620 Add centos7 docker support
* Separate OSTYPE specific tasks/files.
* Keep only common tasks and files in the
playbooks dir.

TODO pxe case to be working for centos as well
note, the cmtools.sh installs ansible 2.0.1.0
  in centos7, while we have 2.0.0.2 for ubuntu trusty
note, the base.yaml installs python-keystoneclient
  1:1.3.0-1.el7 from kilo-2 (no juno for centos7),
  while for ubuntu we have one from juno
note, there is no pygraphviz for centos7, see also
  https://bugs.launchpad.net/fuel/+bug/1510884

Closes-bug: #1548851

Change-Id: Icec5637f9242104322d1104725f9f132d1ca16f0
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-03-02 11:16:23 +01:00

2.8 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:

  1. .config file in CWD or in path from SOLAR_CONFIG env variable
  2. if env SOLAR_CONFIG_OVERRIDE contains valid path then it override previous values
  3. .config.override in CWD
  4. 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, although that is an experimental feature and currently supports only a single network interface per a container. Note, that before to run the vagrant up --provider docker command, the following preparations must be done at the host system:

# docker pull solarproject/riak

or, depending on the configured DB backend:

# git clone https://github.com/kiasaki/docker-alpine-postgres.git
# cd docker-alpine-postgres
# make build && cd -

This will allow the solar nodes to run required nested DB containers.