Commit Graph

22 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
Sergey Reshetnyak 432c492445 Update global requirements
Change-Id: I42d510e6530acd29d662d24702e64a4d14415cf2
2017-03-02 12:00:14 +03:00
Jenkins d8a71a7852 Merge "Add object storage cleanup" 2016-12-19 13:14:11 +00:00
Sergey Kraynev 1c75fc9070 Use newer version of docker-py from upper-constraints
Previously docker-py had upper cap, but new version is released and this
restriction is removed, see: Ie233d54d42f09fc22983fe5627d111f0db8d6252 .

Also there is patch, which changes upper-constraint file was merged
recently: I9c24b0398f3472718d5f67f8f03a165c7583f073 .

This patch is necessary to fix fuel-ccp gate jobs (python-27 and *-37).
They failed due to attempt installing requirements for test environment
from upper-constraints in upstream (docker-py==1.10.6), which resulted
to error, whcih cliff tried to find entrypoints and met requirements where
 docker-py < 1.8.0.

Change-Id: Ifa9815251d7b3b30fae06a804eed76b81a3101a3
2016-12-19 10:20:33 +04: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
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
Yuriy Taraday a0a87f282d Updated from global-requirements
Remove cap on requests as it has been resolved in openstack/requirements
by https://review.openstack.org/381780

Change-Id: I26892f32920751b8849b449941923a3dd75ae435
2016-10-05 12:30:42 +03:00
Yuriy Taraday d34e6f1537 Sync with global requirements
Also add local constraints file to pin requests package to unblock the
gate.

Change-Id: I1c243803bc2e7af49df91dc914791bf0ef338106
2016-10-04 11:04:05 +03:00
Sergey Lukjanov c301a0f294 Sync with global requirements
Change-Id: Id5eb0d454cfb25cac98be6d8554c89007f08a5c5
2016-09-21 09:56:13 -07:00
Yuriy Taraday 8c15db503d Switch to cliff
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
2016-09-19 15:41:32 -07:00
Yuriy Taraday ad989953c1 [BREAKING CLI] Remove oslo.config and oslo.log
This change replaces oslo.config CLI parsing with dumb parser with
arguments that will be supplorted by cliff and doesn't provide
alternative for oslo.log, so logging will be broken until next change
with cliff lands. Add dumb logging.basicConfig until then.

Depends-On: Ibafdaf073bf973f05a721f8422e48e1f581dc4a4
Change-Id: I82169d36021201964a48d7e35161c51e10f30f4a
2016-09-19 20:16:10 +03:00
Jenkins 0a998b1dd4 Merge "Adds validation for role object" 2016-09-17 01:05:58 +00: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
Dmitriy Ukhlov a0920583f0 Adds validation for role object
execute "fuel-ccp validate {type,}" to validate specified types
for component repositories. If type list is not specified - validation
of all available types will be performed.

This patch supports only validation for "service-def" type.

Also service validation is added before each deploy action.

Change-Id: Icf34c722ba441537b213671f93f9d322d3a8325a
2016-09-16 11:52:27 +03:00
Yuriy Taraday 5e9a4c5d09 Add configuration schema that dubs oslo.config definitions
After we switch to cliff we'll loose all config validation otherwise.

All options without defaults are allowed to be null since that's what
their default will be.

Change-Id: I6ceb67d1906089a22df7c641d7ac767067ec2068
2016-09-14 23:32:14 +03: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
dukhlov a35482c3f3 Optimize image building process
This patch adds 2 configuration options:
    1) keep_image_tree_consistency (rebuild all descendant images
       to keep consistent state of image tree,
    2) build_base_image_if_not_exists (make sure that all base
       images required for target image building are ready and
       prebuild them if they are not)

Also small thread worker's refactoring done - implemented with
Executor pattern

Change-Id: Ie3bd6ce74ef64c06b75be6792befc24e7354215e
2016-06-30 08:11:00 -04:00
Andrey Pavlov 102a2e1d0a Replacing kubectl with python-k8sclient
Change-Id: I9db5c2e72a4a25c08cd70c1278fff1b0a5c6fb11
2016-06-06 12:25:21 +03:00
Michal Rostecki 9ce49428ab Add jinja2 templating
Introduce jinja2 templating util, which takes the parameters
from config to fill variables.

Change-Id: Idc65a984a8444f5372caa6b1095808d77e3aa1b9
2016-05-16 17:32:08 +02:00
Michal Rostecki fdc99b81d2 Build docker images
Images builder which takes the dockerfiles (both raw and jinja2
templated), generated the dependency tree between them and
the builds them in appropriate sequence.

Change-Id: Iedcb32c91d2d779d8dcc6cc4b777da932086dcbd
2016-05-16 17:32:08 +02:00
Michal Rostecki 519427562b Fetch git repositories
Add the fetching mechanism which is looking for git repositories
in place specified in config and (optionally) clones them if
they're not present.

Change-Id: I16d388476ee4b95b8cde28c5a20f79548cd74138
2016-05-16 17:30:34 +02:00
Michal Rostecki bc7a003bea Initial Cookiecutter Commit.
Change-Id: I5f00c1df62c9c0c4c0adb8f15861afcd382529e5
2016-05-10 10:19:00 +02:00