Commit Graph

80 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
Ian Wienand bbfa275b12 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ie6c7379007ce59cd9d6c45f8e5d2342083d80fb7
2019-03-24 20:33:33 +00:00
Ilya Chukhnakov d90a9cb2c8 Fix: registry fails to start after node reboot
Currently registry Pod fails to start after node reboots with
'Pod Predicate MatchNodeSelector failed' error.

This patch adds ReplicationController for the registry to ensure
its availability.

Change-Id: I7e5db3d907806fc3ea1f5e5fe1196d2ee7f9b915
2017-03-10 01:40:28 +00:00
Andrey Pavlov a5083dc520 Adjust example configs to per-service configuration
Change-Id: Ia4d29167cea6dfd19a1970706aafda51a31d5b24
2017-03-03 13:10:11 +00:00
Aleksandr Mogylchenko 95c1bd4c87 Enable 'client auth' in certificates tool
Without that option X509v3 certificate can be only used for server
authentication. While that works for some services, Galera requries this
to enable SSL connectivity.

Change-Id: Id6ec42aeef06533d56e37c372dbfff3d16c950f0
2017-03-03 11:29:52 +01:00
Jenkins 5c6e2fd998 Merge "Change multideployment script to use galera" 2017-02-22 14:40:45 +00:00
Artur Zarzycki 377fb11ea6 Change multideployment script to use galera
Change-Id: I31d430060d3e3fe65ad5c443317f3621e30cfda7
Depends-On: I9db9fcb7a5f78312dabc23ed2ff56cb0a9748f4d
Depends-On: Ia523eb74f7222182fcebd6037536f589dddd5cb6
2017-02-14 09:12:43 +01:00
Andrey Pavlov a6892e83c2 Fixing ingress deployment script
* only basename should be added to configs
* fixed cleanup check

Change-Id: I5b92819d6403c71f0c474c3cd51e53d3aab6b015
2017-02-10 14:45:34 +00:00
Jenkins a3c8248903 Merge "Defaults for SSL and a tool to generate them" 2017-02-08 12:06:35 +00:00
Anonymous User 7065208c05 Fixing ingress deployment with custom key/cert
Now files with key and cert can have custom names (only tls.crt
and tls.key were supported before).

Change-Id: I0f3cef67afc9669be111a94f53bc4d4401d63060
2017-02-06 19:05:35 +00:00
Artur Zarzycki e7ef9e114d Add option to provide ccp.yaml file for diagnostic-snapshot
We should collect fuel-ccp config file(s), so this patch introduce
option to point it and also collect ccp config dump output.

Change-Id: I731c4f9bb96745db59ddb05d0d17b4e2c8d48053
2017-02-06 13:16:03 +01:00
Andrey Pavlov 007dc9ec82 Changing default value for ingress domain
Change-Id: Ibe0f868ea55ae6ecd19652acba091c42f306c5cd
2017-02-03 16:28:07 +03:00
Aleksandr Mogylchenko 3d44c25766 Defaults for SSL and a tool to generate them
Generation is based on https://github.com/cloudflare/cfssl, which has
several advantages over traditional tools:
- can work as a microservice in k8s;
- requires nothing but Golang;
- configuration can be machine-generated;

Change-Id: I3f05ce795beade0af12eb3426df759a1af8806af
2017-02-02 11:24:55 +00:00
Jenkins 591702fc13 Merge "Add switch -d to take diagnostic snapshot if deployment fail" 2017-02-01 11:47:13 +00:00
Jenkins 805c8580f0 Merge "Change option to -o | --output-dir and fix problem with pointing this dir" 2017-02-01 11:47:07 +00:00
Artur Zarzycki 0dc4941f61 Change option to -o | --output-dir and fix problem with pointing this dir
Changing option to more intuitive -o like output-dir and also there
was missing shift so option to point output dir didn't work correctly

Change-Id: I2233a295301b903e465bafa6720d1d4e28d60b18
2017-02-01 12:28:06 +01:00
Artur Zarzycki 9d239302ba Add switch -d to take diagnostic snapshot if deployment fail
If we run script with -d switch and deployment status will timeout after
1500 seconds script will create diagnostic snapshot from env.

Change-Id: I84f480dc3f2ff33e1fc600c9a146cd8063b5a5a0
2017-02-01 11:19:16 +01:00
Sergey Reshetnyak e5e3bc6ca5 Fix py3 compatibility in k8s-node-evaciator
Change-Id: I3c12f6b354e670d334bccd7e82fd77e356a91784
2017-01-30 10:38:04 +03:00
Artur Zarzycki 3755c411e8 First version of diagnostic snapshot
It collects logs from containers that are in wip state, some information
about k8s (svc, pods) and also some system infromations like
cpu,ram,free space.

Change-Id: Idcfb0c229995c3ef60026ba3c1f5453cd3c6f3d0
2017-01-19 16:04:21 +01:00
Marek Zawadzki 992e4ec2a0 Optional tool to live-migrate VMs from K8s node
This little daemon will listen in a pod for unschedulable=true
events from Kubernetes and trigger live-migration for all OpenStack
instances (VMs) located on this node (preassumbly Compute).

It's an independent, PoC feature not deployed by default.

Change-Id: I7fd78efc9cfa33b0ab1629541c15af4538c4fe9e
2016-12-23 17:51:40 +01:00
Jenkins 190866ca94 Merge "Add registry ui deployment" 2016-12-23 08:54:37 +00:00
Jenkins aba9111ab5 Merge "Print logs if vm create will fail" 2016-12-22 21:14:39 +00:00
Artur Zarzycki 4d71150ad0 Print logs if vm create will fail
Just to debug some bugs like 409 error

Change-Id: Ibb2c496cafe0f8062e7d14f0aaa18624337ca689
2016-12-22 10:58:24 +01:00
Marek Zawadzki b21f43005f Use neutron client instead of openstackclient
This is a small fix that works round bug https://bugs.launchpad.net/python-openstackclient/+bug/1650896
('Network' object has no attribute 'keys') when running 'deploy-test-vms.sh'
script (specifically: 'openstack network show int-net -f value -c id').
It should be resolved by new release of python-openstackclient
(https://review.openstack.org/#/c/413493/) but we don't have to wait for it.

Change-Id: Ia0ff48b3e72fdf69ed5e9f40a1d1e7542719d2c4
2016-12-21 11:25:56 +01:00
Kirill Bespalov 73e9daa937 Add registry ui deployment
To deploy registry-ui use -u arg :
  ./deploy-registry -u

Change-Id: I726be08128e148d414d8819002c324ee7c928b44
2016-12-20 09:08:52 +00:00
Sergey Kraynev a859009914 Add heat-api-cfn service to examples
Change-Id: I3e3dad6ba30cfeb4aab3818097a3684c3fea70da
Depends-On: I725943f5034637554394c4a323d4dc9134b3ddb3
2016-12-19 08:36:51 +00:00
Jenkins 9cb2368409 Merge "Timeout for deploying and output logs if fail" 2016-12-16 10:45:19 +00:00
Artur Zarzycki 771e0fb029 Change repos directories names
Some time ago there was decision to create directories without fuel-ccp
prefix. Now simple deployment job use builder that prepare directories
with this convention, so we should change this script to be compatible
with the other ones.

Change-Id: I1b1026b5a6ee851693ae1bc83112e0f44d49ce59
2016-12-13 23:38:59 +01:00
Artur Zarzycki fc6ffb6cc4 Timeout for deploying and output logs if fail
Change-Id: I3f0996033d2479ec4593285a2bded1578ecab6a3
2016-12-12 13:06:59 +01:00
Artur Zarzycki 2b3564b2d2 Fix variable name for cache debian security packages
Change-Id: I925b389634c9f52dcc2ff61bfa605863a12a507d
2016-11-30 11:00:46 +01:00
Marek Zawadzki 2dc3a1ce55 Change settings for networking interfaces
This patch changes names of networking interfaces used by CCP
mult-deploy script (and nothing else) to match defaults of
Ubuntu 16 VMs we build with packer.
It will provide more correct config for CI deployment jobs.

Change-Id: I06498b45090a7c9efc74853ee4b56f6bea232685
2016-11-29 17:19:18 +01:00
Kirill Bespalov 99334bd4d9 Allow an image deleting from registry
Change-Id: Ic581cd3c4e83e7c68bdec2aa7ff0e97702c445e4
2016-11-23 17:56:05 +00:00
Artur Zarzycki 63c33f15a9 Add empty ccp-hw-config.yaml file
We include this file in ccp-configs-common.yaml so it should exist. We
generate content of this file in ccp-multi-deploy.sh script but sometimes we
may want to execute e.g. fetch command with this configs, so if we'll not
have this file it will be fail with 'no such file' msg like now our CI.

Change-Id: I64e029f9a8b8406694877ff2fa130462f72461ae
2016-11-21 11:11:22 +01:00
Jenkins 764e89f3a4 Merge "Add an option to add floating IPs to created VMs" 2016-11-21 07:31:18 +00:00
Jenkins 79e1769f0e Merge "Allow to specify which image to create VM from" 2016-11-21 07:23:29 +00:00
Yuriy Taraday d048c4cb04 Add an option to add floating IPs to created VMs
This would require external network to be bootstrapped and named
"ext-net".

Change-Id: I83e1af7fda2e43d17de54553a69a395a4cbfd57e
2016-11-20 23:36:18 +03:00
Yuriy Taraday 992ebc7920 Allow to specify which image to create VM from
Since we already have a job for automatic image upload, we don't need to
do it here.
Also remove unused arguments from usage().

Change-Id: I3616b9dba6221228c0bd7b62d5f5a93f65730d34
2016-11-20 23:17:56 +03:00
Jenkins aa534369b0 Merge "Deploy Traefik webui in read-only mode with the same SSL conf" 2016-11-20 16:51:55 +00:00
Sergey Lukjanov 581ddefd45 Remove duplicated ingress controller tool help message
Change-Id: If283aca14ac2aae471175d6fa839c751170c3e3a
2016-11-19 21:41:18 -08:00
Sergey Lukjanov 2abe98ee28 Deploy Traefik webui in read-only mode with the same SSL conf
It could be very usable as showing endpoints information and
provider information as well (K8s Ingress Controller info) as
well as health info. https://traefik.io/web.frontend.png

Change-Id: Ieec0e4182d2c4bf9e941ed0382f6fc206edee94c
2016-11-19 21:40:46 -08:00
Jenkins c59f5f26e3 Merge "Use ccp status command for showing horizon url" 2016-11-19 21:08:01 +00:00
Jenkins 068c67b7aa Merge "Put k8s_external_ip parameter in configs for multi-deploy" 2016-11-19 21:06:39 +00:00
Yuriy Taraday a20501eb20 Add subjectAltName to Ingress certificate
requests tend to be noisy about missing subjectAltName. Also it allows
to identify Ingress by IP for testing.

Change-Id: Ic3a97370bb4ee24fad44027165b1707633cebeea
2016-11-18 19:58:43 +03:00
Sergey Reshetnyak fb6e0981b5 Remove unnecessary code from deploy-test-vms.sh
Creating flavors and networks moved to jobs.
Also ingress used for external access

Change-Id: I7622fcf7bb6b02916ff683dae11c0c8bd7709830
2016-11-16 16:53:45 +03:00
Jenkins b9ca170d44 Merge "Add support for debian packages caching server" 2016-11-15 11:01:36 +00:00
Artur Zarzycki 0a6c47d6cf Add support for debian packages caching server
If APT_CACHE_SERVER variable is set then add option with it to config.
Example: APT_CACHE_SERVER="http://some_cache_server:3142"

Change-Id: Ic6d723d2715ab0be60a42f324b97d8ee02a1d97e
2016-11-15 10:05:39 +01:00
Sergey Reshetnyak 826d3b4a5b Check cluster status using `ccp status` command
Change-Id: Ia565337348e79385f334027022e05d760b553330
2016-11-14 19:23:45 +03:00
Artur Zarzycki d41d2c9105 Add openstack requirements repo to sources
Change-Id: Ib0bdee5602c96d13328aff5b25c650ea77e710e2
2016-11-14 14:06:13 +01:00
Jenkins 191e669b94 Merge "Add ceph to repos" 2016-11-11 21:12:59 +00:00
Andrey Pavlov 830f2ca947 Adding Ingress controller deployment script
Bash script that deploys traefik ingress controller with tls
The only required parameter is external ip (-i)

Change-Id: Iee1616f37d2af437048406d15e48f0c8ad15c5eb
2016-11-11 13:11:58 +03:00