Since elasticsearch has separate repo, need to add
it to defaults, in case of related fuel-ccp-stacklight in
defaults.
Change-Id: Ic39eb474f42b25e55772cb95edd362e4be5623c3
"configs" section added to "services" group.
services:
some_service:
service_def: ads
configs:
asd: dsa
If you are mapping some service to some another service,
configs will be inherited as well.
Change-Id: Id64c0bf816a639c0b3dee96e5a72fcf964f9f731
New config section introduced:
services:
keystone-db:
service_def: mariadb
keystone:
service_def: keystone
mapping:
database: keystone-db
Defined services can be used in topology definition.
In this example keystone-db service will be created from mariadb
definition and keystone will use it instead of mariadb.
Change-Id: I274826648390b844d240b7ae545c40264f662452
This patch adds ability to merge nested dicts if they are passed as a
paramater for "_merge" method of AttrDict class.
Also corresponding tests are added.
Change-Id: I7d18f69d4dc076c178552ae886af6df2932abc27
- Update address function to use "tls" config option and set scheme to 'https'.
Also we check, that service is in list of services, which support TLS.
- Add nginx repo to defaults, because it will be used as a proxy
service.
- Add Runtime error with suggestion to use extra options on cleanup,
when 'tls' is enabled.
Current patch requires patch in fuel-ccp-nginx repository.
Change-Id: I65002b7ff9cfa2faf9d5bce470334aae95334d00
Depends-On: I0660cc3ca2723bc06871b61f859adfed42c0d807
Additionaly I have to updates all topology and docs to address
this change. And yes, I propose to deploy 3 rabbitmq too.
Change-Id: I9db9fcb7a5f78312dabc23ed2ff56cb0a9748f4d
Add implementation for some function in AttrDict
in order to avoid recourse to AttrDict._dict
In tests we use dict, but in fact should use _yaml.AttrDict
Change-Id: Ie99f3b05bd65f195f2f81191bff67cbacef1b816
It was not possible to configure source_dir to use
local repositories during build. This configuration
change didn't pass validation because it was deep merged
with default configs.
Change-Id: I3d1f8769fa12dc22b1d7f02a3e84c7b5ecebd521
'Always' is not the best option as it adds round-trip to registry for
every node even if image has already been pulled. Keeping default to be
the same as in Kubernetes would make it conmfortable to use 'latest' tag
during development and proper versioned tag for production-like
environments.
Change-Id: Ifa628e00959bae062bb5bb7e95e071af8babee32
Example:
files:
keystone-conf: /tmp/keystone
In that case source file will be taken not from
`content` path, but from path defined in files config.
Change-Id: If2e71887adca9148f98b555ef8d6033211fe6375
This option will be used in `address` function and will be
added to internal urls, so that default address will be
changed: service.ccp -> service.ccp.cluster.local
Change-Id: Iaa7e1172120506e284a0ae7b3c4539af411c8535
The validation takes 2 steps:
a) render Dockerfile.j2's;
b) verify that all images have parents except ones that are listed in
base_images config parameter.
This validation ignores list of components because we have repos without
services (debian-base, openstack-base).
Change-Id: I0fd9fb0382b860f04e12993e350c7c23fbcdfda7
This requires changes in all component repos to replace FROM line to
FROM {{ image_spec('someimage') }}
Change-Id: I18281bdb41e91cd5c9160055f1617d7ee9d3b548
Replace them with storing data from components centrally in global CONF
and using it all over the place.
This allows to centrally control how configs are handled, i.e. if we
decide to not use defaults anymore, we can just remove
load_component_defaults from cli module.
Change-Id: Id58bb43a7a9cbb367719ba59484bf3121ec68379
It's a minimal support for specifying number of replicas for
services in the ccp config file. It's badly needed to simplify
testing on scale and testing of the running services in HA.
It's not breaking any kind of backward compatibility, you're
now able to specify it:
replicas:
keystone: 3
nova-api: 42
Corresponding verifications was added into the process of
building topology as it's implicitly part of it.
Additionally, there is a very small tests refactoring plus
few new tests for replicas verification.
Change-Id: Ia7e032fd3d2090cf42b05dfb96d0f0808d1399d6
Added all commands and basic app for cliff, removed all
legacy/compatibility stuff around CLI.
Config file CLI argument and logging will be fixed in separate commit.
Change-Id: Ib52b4c139c2ac9ea5afa073febcd764edced1464