Commit Graph

23 Commits

Author SHA1 Message Date
Andreas Jaeger 24120d7b66 Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: Ibd0360edc1781ea748a1ef28877c215bb4c726c7
2019-12-18 09:38:32 +01:00
Andrey Pavlov e8ce334a9d Store sensitive configs in secret
* secret_configs config group added
* global secret creation added

Change-Id: Ie6a9833cdf73b076e24204d47e5898dfb24de43e
2017-03-06 07:00:03 +00:00
Andrey Pavlov 9942c0e978 Adding service-per-service support
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
2017-03-02 15:41:03 +00:00
Sergey Reshetnyak dd317dad56 Add object storage cleanup
Cleanup object storage when radosgw is deployed

Change-Id: I4590903048992ad53c3b731e37106e1325502e3a
2016-11-28 15:58:08 +03:00
Andrey Pavlov e8fbb82d01 Adding --insecure and --ca-cert options to cleanup
These options are needed when ingress is being used

Change-Id: I5054640478c1b7b9ef511295f9b5cf663616287e
2016-11-11 19:57:39 +00:00
Andrey Pavlov d720fb6fad Few changes to 'address' function for ingress
* scheme can be added with with_scheme=True flag
* ingress port will be added to the end of the address

Change-Id: I94efeea5a8a0acb67781d3e5a50b0c99601f7b4e
2016-11-11 19:57:22 +00:00
Jenkins 844d1769f4 Merge "Improve cleanup network resources" 2016-11-03 14:23:21 +00:00
Jenkins 39d4021a37 Merge "Add glance images cleanup" 2016-11-03 14:23:15 +00:00
Sergey Reshetnyak 7ce18a33d8 Add glance images cleanup
This patch adds deleting all glance images for ccp cleanup command

Change-Id: Id0813980a65bc91a3b7adc9599ea76cadbbc4a9b
2016-11-01 16:28:27 +03:00
Andrey Pavlov 81ef1646a7 Adding Ingress support
* ingress support added

port:
  cont: 123
  ingress: test

* two config params added:

configs:
  ingress:
    enable: False
    domain: external

Ingress will be disabled by default

Change-Id: Ic621af6930f078eea17fd83fce26b42cd32ecf01
2016-10-27 17:09:56 +03:00
Andrey Pavlov 650e444c68 Fixing openrc and cleanup for the new port config
Change-Id: I7377a298ee2d0e76fb5896cacaa5f66edd29705b
2016-10-27 13:08:41 +00:00
Sergey Reshetnyak 583e4d972d Improve cleanup network resources
Added cleanups for:
* routers
* ports

Change-Id: Iae158fba701563107351658576f4338f59f47233
2016-10-26 18:15:13 +03:00
Jenkins f2e6caed68 Merge "Remove adhoc calls to get_global_parameters" 2016-10-05 09:00:28 +00:00
Yuriy Taraday 0ec12d9329 Convert all Keystone-specific configs to nested
Depends-On: I393f8898657543a8c4536159e9a6d773b13cefbf
Change-Id: Ic67ad0881d98eec7980971b3aebfd4b005705504
2016-10-04 00:27:08 +03:00
Yuriy Taraday f34b2a909b Remove adhoc calls to get_global_parameters
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
2016-09-27 19:33:55 +03:00
Andrey f75bfde71c Add "address" function to jinja env
* "address" function was added to jinja env.
  This function takes service name as a parameter and
  returns address of the service (<service_name>.<namespace>
  currently)
* k8s namespace added to "globals" configmap

Change-Id: I163857fa0c671e21725d7276540f5fbba09619d2
2016-09-26 23:08:15 +03:00
Andrey a069ddb9ac Migrationg to pykube from python-k8sclient
Config changes:
* new `insecure` flag in `kubernetes` group
* `ca-certs` -> `ca-cert`

Change-Id: I4dd91828e7276dc781baea4c6df2c01b2f1312e0
2016-09-16 09:53:16 +00:00
Yuriy Taraday ba606cb2c4 Replace oslo_log usage for getLogger only
It was useless and we're getting rid of oslo.log, so first remove it
from all over the place

Change-Id: Ia6bf6e763fee41d060f6b68ddabf68424a51f780
2016-09-14 23:32:13 +03:00
Yuriy Taraday 2d025a5701 Move all CONF.import_* to config/__init__.py
We're importing all modules from CLI anyway, so we always import all
config modules, spreading this across all modules provides no benefit.

This is another step towards YAML config.

Change-Id: I38e2e8ae7596829311388498df68a048ab1cd981
2016-09-05 17:14:55 +03:00
Yuriy Taraday d9ab3b4ccc Consolidate all oslo_config.cfg.CONF imports to fuel_cpp.config
Also move config initialization to fuel_ccp.config.

This is the first step to replacing oslo.config with YAML-based config.

Change-Id: If1b1faf006b40df95a661ecd00cb744e9fd0aafa
2016-09-05 16:59:38 +03:00
Yuriy Taraday 9324199cb9 Enable debug log capturing in tests
It uncovered an error in log template substitution, fixed it.

Change-Id: Ic0ddbc05f88b19d9162a02fe884a88b32814f08e
2016-09-03 08:57:51 +03:00
Sergey Lukjanov cd2b4c55f3 Ensure ns exists before delete while cleaning up
Change-Id: I3373ede5293ca0401acd9605f244bbe6abf998f1
2016-08-30 00:02:08 -07:00
Andrey Pavlov c80d70b8a7 Adding cleanup script
Consists of two parts:
1) OS cleanup:
Instances, subnets and networks from all OS
projects will be removed.
2) K8s objects cleanup

Usage:
ccp cleanup --auth-url <auth_url> --skip-os-cleanup

--auth-url parameter is optional, by default
it takes internal keystone url, whick is not
appropriate in some cases.
--skip-os-cleanup is optional

Note: do not use default namespace for deployment
because it could not be cleaned up by cleanup command

Change-Id: I53f59d9ca8de09ac33e37c90dacf821dda72afec
2016-08-05 12:53:02 +03:00