Commit Graph

75 Commits

Author SHA1 Message Date
Andreas Jaeger 54c87e6f7d 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: I8c94ef1c1c36a74eb57a559fac7cd528086266f2
2019-12-18 09:43:20 +01:00
OpenDev Sysadmins caa487b9ea OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:50:10 +00:00
Andrey Pavlov 10dcd1bdb3 Adding global secret configs support
Change-Id: I00fab3d6926eb1fa0a8c6817d2b6f698ea930e6d
Depends-On: Ie6a9833cdf73b076e24204d47e5898dfb24de43e
2017-03-03 11:56:39 +00:00
Andrey Pavlov 9812b2a158 Configs overrides for custom services
Entrypoint part of configs overrides

Change-Id: I978a014b9685571c1aad147df1cd156b5fc3158a
Depends-On: Id64c0bf816a639c0b3dee96e5a72fcf964f9f731
2017-03-02 11:22:58 +00:00
Andrey Pavlov 012ac702c7 Adding service-per-service support
Entrypoint part for service-per-service deployment.

Change-Id: I16e370cbe11c38dc8746a66e43329c26cbc51395
Depends-On: I274826648390b844d240b7ae545c40264f662452
2017-03-02 11:22:50 +00:00
Jenkins 615a4caa45 Merge "Update global requirements" 2017-03-02 10:41:23 +00:00
Sergey Reshetnyak 499b7405c3 Update global requirements
Change-Id: Ib7f192ad9dc045a367d4da83e7211e3466599c49
2017-03-02 12:35:15 +03:00
Aleksandr Mogylchenko 254a89bbb3 Use CPU_LIMIT and MEMORY_LIMIT when rendering
Just two more variables added to rendering scope (prefernce is not to
add os.environ dict entirely).

Change-Id: Ibc6e8b91055f411b058505d14c2d83fbc826cdd4
Depends-On: Iadd0529d166ef1dad1697215bbc181104a7b926e
2017-03-01 19:09:49 +01:00
Sergey Kraynev acf179e42a Adopt address for complex name services
Change-Id: I819b2cd4c0b13fea229fb627dce070888bc06c65
2017-02-15 20:31:13 +00:00
Andrey Pavlov aec83733cc Don't ask, just merge
Change-Id: Id035ccee1920b98279b6814a93a09aa2072955f4
2017-02-15 23:44:25 +04:00
Andrey Pavlov 23ce98f10c Adding scheme support
Change-Id: I9f714875dbc6abf5f8eeef2542e3af0023d000db
2017-02-15 18:57:47 +00:00
Sergey Kraynev 8ce8d3a31f Add base support for SSL for Openstack services
- 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.
- Updated function for generation Environment, which will be used by
  openstackclient. Now 'https' scheme will be used if 'tls' is enabled.
  Also was added new variable for storing path for file with CA
  certificate.
- Implementation of httpGet was changed to support 'https' endpoints.
  Now requests.get method uses 'https' scheme with verify=False, if 'tls'
  is enabled.

Change-Id: I88bc21571589dcd4c31bb5ce5015a75676ed2d85
2017-02-15 18:57:37 +00:00
Sergey Kraynev 8525704d15 Get rid global TLS option from start_script
- Replace using global option on etcd tls option
- Update name of config option for generation certs

Change-Id: Ibfbbf0805cee01d924c970d0d7c9d8d356bc6881
2017-02-15 18:57:07 +00:00
Jenkins f5192e3f71 Merge "Handle nodes configs and merge them with globals" 2017-02-06 11:47:43 +00:00
Aleksandr Mogylchenko d82aebcd82 Add support for TLS-enabled etcd
With this change CA certificate is saved to /opt/ccp/etc/tls/ca.pem, if that
file does not exist. Should be useful to avoid mounting CA certificate to each
job, pod, etc.

Change-Id: I574d64082e77f49024f49aa7b30c4f2f6cc044ac
Depends-On: Ib4b3ea4da7c1f641b9ab0223226348de5eac94df
2017-02-06 10:08:45 +01:00
Peter Razumovsky 0feaf3e1c2 Handle nodes configs and merge them with globals
Get nodes configs map, check for existing configs for
current node, and if it is, merge it with globals config - variables
for further using in jinja and so on.

Change-Id: I379f4840e6093b7910b5d7dd612de62b1fe0ac2e
Depends-on: I4de6a0fad94d5f83ca486c952d80d1c87c880c0e
Related-bug: #1653077
2017-02-03 17:58:16 +04:00
Aleksandr Mogylchenko fbbb667354 Revert "Perform files creation after all dependencies resolved"
For SSL-enabled deployments file creation should be first, otherwise
start_script.py won't be able to connect to etcd, since ca.pem is
missing.

This reverts commit 55d77ced5d.

Change-Id: Ic488d837b1dd4f21eae4ad5fe26bfb71b1f8a04d
2017-02-02 09:58:04 +01:00
Andrey Pavlov 55d77ced5d Perform files creation after all dependencies resolved
It could be sufficient in some situations (for example in case
of shared volume)

Change-Id: Ic299c9f0555154ff2843183dc172e85ec38e0620
2017-01-29 20:34:48 +03:00
Andrey Pavlov 7ae3fd54c2 Remove namespace from ingress domain
Change-Id: I4cf26f2175c1b532cbaacfb0ab71a5f7fe4989da
2017-01-25 20:09:02 +03:00
Proskurin Kirill ff6efca2c8 We need to use local etcd for the etcd_ha side_cont
Change-Id: I131b3cdb16ff7c46c43477fbba2374c9c01b3537
2017-01-18 12:17:45 +00:00
Jenkins de2dcf9ecb Merge "Add jinja exceptions support" 2016-12-27 13:21:43 +00:00
kbespalov aa269c7fb0 Add jinja exceptions support
An exception support allows to use some kind of template-level
validation. Its may be helpful for openstack services configs
files templates.

Usage:
  {% raise_exception("exception message") %}

Change-Id: Id7d51916572da8bcb9161739240805f5f7cc80cc
2016-12-26 11:30:54 +00:00
Andrey Pavlov 161346a169 Adding pod_name jinja variable
Change-Id: I70e25cd8f83a4e266376cf7a5003e497a2ccb411
Depends-On: I8fc2f026e2f79355c5b80429e3ab7ee854c30639
2016-12-22 16:52:01 +03:00
Sergey Reshetnyak 5893d2fb44 Do not load meta if meta info is not provided
For actions we can't provide meta info

Change-Id: Ia3f65cbb985531b011c054e02407c0def05c009a
2016-12-20 19:44:32 +03:00
Jenkins 1eb1f7e013 Merge "Fix readiness check dependency check" 2016-12-08 08:31:41 +00:00
Oleg Bondarev b02157c83e Add gethosbyname filter to get service IPv4 address
This is needed for ODL integration, where we need to set
a manager for OVS in OVS containers in the form of
tcp:<odl_ip_address>:<tcp_port>

Change-Id: I46d292e45bb7032d67e13522556ad40c544c4ba4
2016-12-01 12:02:55 +03:00
Andrey Pavlov 9592a3f212 Fix readiness check dependency check
Readiness check should depend on "done" state of
the service launched on the same anode where this check performs.

Change-Id: I848da62d560902c7c0cd44bb319b87ed80168cb5
2016-11-30 12:12:09 +03:00
Jenkins 6be82b25fc Merge "Allow jinja imports lookup from several directories" 2016-11-29 09:12:58 +00:00
Jenkins 739620ed84 Merge "Adding cluster_domain config option" 2016-11-29 09:00:30 +00:00
Andrey Pavlov a06205dcb0 Adding cluster_domain config option
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: Ic5f1968f81a66c84b8c83148ebf219b679aff61b
Depends-On: Iaa7e1172120506e284a0ae7b3c4539af411c8535
2016-11-22 21:37:56 +00:00
Kirill Bespalov 3dff00bd43 Allow jinja imports lookup from several directories
The patch required for https://review.openstack.org/#/c/396337/

Currently jinja can import files only from directory where is
rendering file located, like:
  /etc/ccp/files/nova.conf.j2
  /etc/ccp/files/ <--- jinja imports allows only from it

To make possible importing files from '/etc/ccp/exports' where is located
generic jinja config templates just use ChoiceLoader
with several FileLoaders.

Change-Id: I429656b7eaf6312ee2d27ccaf0cb8802a234e871
2016-11-18 15:35:39 +03:00
Yuriy Taraday 4a2927939d Add support for httpGet readiness probes
Keep backward compatibility with old oneline readiness probes for now.

Change-Id: I8b74906ba3b5cc358f51831d1f87a8a7f0335f02
2016-11-18 13:58:58 +03:00
Jenkins 473d178443 Merge "Enable updates for Ingress resources" 2016-11-16 16:36:52 +00:00
Andrey Pavlov 7a429c7332 Enable updates for Ingress resources
Ingress resources can be updated as well

Change-Id: Ife7113d64c68bfe589a258f099b7354d84bf81dd
2016-11-15 14:29:53 +03:00
Sergey Reshetnyak 394bb3ebe7 Pass OS_* env variables for murano and neutron commands
Change-Id: I956283581aff623d62ed387f62bb9439d9350509
2016-11-14 17:50:24 +03:00
Yuriy Taraday c674692759 Add support for killing deployment pods
Change-Id: Ifeba38fb693bb1c9578d1ab5783792c614cd1ab9
2016-11-14 14:18:32 +03:00
Yuriy Taraday 2b15322c5f Add support for rolling upgrade action
Depends-On: I8700d499168b560e1cfeb309b4eaae1bd9ddb995
Change-Id: Ifb3b2f36735932bafa5fb8a71892b0638eb11a2e
2016-11-14 14:18:31 +03:00
Andrey Pavlov 4f96245635 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: Iea6b885efdbf0d18268b181007a61dff36b904f0
Depends-On: I94efeea5a8a0acb67781d3e5a50b0c99601f7b4e
2016-11-10 20:24:05 +03:00
Andrey Pavlov b5a0ec86b7 Use internal URLs for openstackclient commands
Openstackclient uses public urls by default. They can be not
accessible.

Change-Id: If58d1780d50e63fae5166273353e0eefa7f2df5d
2016-11-03 08:50:21 +00:00
Andrey Pavlov 54303d3268 Adding Ingress support
"address" function extended to support ingress
domains

Change-Id: If39245ddde6faf34cb91e7bb996c497f3685add3
Depends-On: Ic621af6930f078eea17fd83fce26b42cd32ecf01
2016-10-27 09:38:06 +03:00
Andrey Pavlov 02f23b6d73 Ports configuration refactoring
Ports configuration has been changed:

before:

  port: 123:3333

after:

  port:
    cont: 123
    node: 3333

Change-Id: I8e48203704856778881ab5ef0a31142765b8365b
Depends-On: I54ab8dd02fc88b821a1f0d05c08f98b618730150
2016-10-26 17:18:00 +00:00
Jenkins 53b34cccd9 Merge "Adding local dependencies support" 2016-10-14 12:06:07 +00:00
Jenkins 0589b0b553 Merge "Add constraints support, sync with global-requirements" 2016-10-13 09:14:44 +00:00
Andrey Pavlov bb02e90bc7 Adding local dependencies support
All containers will set 2 statuses in etcd: global and local
Example of local dependencies definition:

dependencies:
  - service:local

Change-Id: I0351ced0b6c52033df4904898731ac960da153ec
Depends-On: I4f1dd5ffe5a3c2e6291721e0343d603259a7f014
2016-10-12 09:36:02 +03:00
Yuriy Taraday eb9421d545 Add constraints support, sync with global-requirements
Change-Id: Id5bddd9bd2e1b88e501cbeddba4b8fb85ad57e00
2016-10-11 17:40:59 +03:00
Andrey Pavlov ec7007f69c Removing CCP_* env vars
The only case where we need it was nodeName parameter
from k8s downward api, now we have "node_name" parameter
available for rendering in all containers

Change-Id: If6d76cd69b0d176842fc659a86971e8584992122
2016-10-07 10:22:45 +00:00
Yuriy Taraday 8619ec9bcf Convert all etcd-specific configs to nested
Change-Id: I1342857d3321e1afec60df068aad4ae69713f93f
Depends-On: I3f2a908ebdb185bb92660683dd5606bf06e15a8e
2016-10-06 10:55:28 +03:00
Jenkins 3ef35acd3e Merge "Adding "node_name" config variable" 2016-10-05 09:21:24 +00:00
Yuriy Taraday 3cca90ec33 Convert all Keystone-specific configs to nested
Change-Id: Ic16f582a76d0dbf15ecdfe707f338f261300d4ac
Depends-On: I393f8898657543a8c4536159e9a6d773b13cefbf
2016-10-03 17:28:48 +03:00
Andrey Pavlov 337a8fe326 Remove unused/add missed vars
Change-Id: I1c6a2167b267f13cd3a31cf478642ecdeb06e415
2016-09-29 11:14:12 +03:00