4481 Commits

Author SHA1 Message Date
Zuul
b0e114d9d5 Merge "Add support for www_authentication_uri" 2018-11-08 11:52:33 +00:00
Zuul
101af231ea Merge "Cleaned up devstack logging" 2018-11-08 10:44:51 +00:00
Erik Olof Gunnar Andersson
daa7d04951 Cleaned up devstack logging
Switch to systemd logging to take advantage of some of the newer
logging features.

Story: 2004272
Task: 27820

Change-Id: I475bf26e24b3a725f68c7da355807374bf1e189b
2018-11-06 17:16:28 +00:00
Erik Olof Gunnar Andersson
718cb9c9b4 Add support for www_authentication_uri
We do currently not support www_authentication_uri at all, which
is the new standard, as auth_uri has long been deprecated.

* Make sure we support both auth_uri and www_authenticate_uri.
* Switched to www_authenticate_uri for devstack.
* Fixed a bug where a bad exception would be thrown if auth_uri
  was not set.
  
Story: 2004271
Task: 27819

Change-Id: Ibc932d35f3d6ba2ac7ffb6193aa37bd4a3d4422e
2018-11-06 17:13:10 +00:00
Lingxian Kong
5d1eab9d9f [K8S] Pass cluster name to controller-manager
The cluster name is useful to identify resources created in different
k8s clusters, especially in the cloud environment, the cluster name is
always injected into the name of the cloud resources(e.g. the load
balancer, volume, etc.), which is helpful for the cluster resource
clean up.

The magnum cluster UUID is used as the value of '--cluster-name' option.

Story: 2004242
Task: 27766
Change-Id: I245a8869948a0b8bfa8d5cc32e7fb9277477026a
2018-11-03 12:34:51 +00:00
Zuul
83fa9d1b4e Merge "Trivial code cleanups" 2018-10-29 14:45:47 +00:00
Zuul
c8019ea77f Merge "Add heat_container_agent_tag label" 2018-10-29 10:59:22 +00:00
Spyros Trigazis
c98e9525c7 Add heat_container_agent_tag label
Add heat_container_agent_tag label to allow users select the
heat-agent tag. Stein default: stein-dev

story: 2003992
task: 26936

Change-Id: I6a8d8dbb2ec7bd4b7d01fa7cd790a8966ea88f73
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2018-10-24 10:40:55 +02:00
Zuul
ff0dd4aeed Merge "Minor fixes to re-align with Ironic" 2018-10-23 22:04:40 +00:00
Zuul
62a143c1c1 Merge "Add prometheus-monitoring namespace" 2018-10-23 20:37:31 +00:00
Zuul
1abf21da05 Merge "Make master node schedulable with taints" 2018-10-23 17:02:25 +00:00
Julia Kreger
547f9309a1 Minor fixes to re-align with Ironic
Ironic has evolved and a few items were no longer correct
in the contributed scripts for use with ironic.

Additionally a database workaround was fixed, and as such
commented out.

Change-Id: I105791985973e8348d43d41982ac7ba3e0cf970c
2018-10-23 09:34:51 -07:00
Zuul
63fffda026 Merge "[swarm-mode] Remove --live-restore from Docker daemon options" 2018-10-19 10:30:06 +00:00
Tobias Urdin
095b49e6f5 [swarm-mode] Remove --live-restore from Docker daemon options
Ensure the --live-restore is not in the Docker daemon OPTIONS.

Some images has this option by default which will cause the node
not being able to perform it swarm init process.

Change-Id: I287a5274143903fad5d4476e9d1640b26bdb46d4
Story: 2004095
Task: 27497
2018-10-16 17:22:41 +00:00
Feilong Wang
48e2e77406 Update heat-container-agent version tag
Update heat-container-agent version tag to include the multi region
fix.

Task: 27051
Story: 2003992

Change-Id: Ided337dafa52cce771126e96ef41a62a3358fda1
2018-10-16 04:50:04 +00:00
Erik Olof Gunnar Andersson
423d186312 Fixing gate failing due to bad AMQP virtual_host
We are currently hitting this error with the gate.
> NOT_ALLOWED - access to vhost 'None' refused for user 'stackrabbit'

This patch fixes this by using the inbuilt devstack construct
to create an appropriate transport_url.

Change-Id: I9aae96094b7bd8bc148ae3e42c118ba160eff8ae
2018-10-16 01:35:40 +00:00
chestack
05f0cddc46 Make master node schedulable with taints
--register-with-taints take no effect when --register-schedulable=false
configured. It's better to drop --register-schedulable and
leave --register-with-taints to make master schedulable

add --pod-infra-container-image=CONTAINER_INFRA_PREFIX
for kubelet on master nodes.

Change-Id: Ia2ce59841d823ba02a65224088e5af1a8c9610b1
2018-10-08 17:28:35 +08:00
Erik Olof Gunnar Andersson
f2fd732ce2 Trivial code cleanups
Cleaning up comments and logging to make sure they properly adhere
to Openstack standards.

* Consistently use """ instead of ''' for comments.
* Always lazy-load logging parameters.
* Fixed bad log line in cert_manager.

Change-Id: I547f5dfa61609a899aef9b1470be8d8a6d8e4b81
2018-10-02 19:41:34 +00:00
Zuul
348ebc90f5 Merge "Make cover jobs non-voting" 2018-09-24 16:17:47 +00:00
Zuul
53a1840d68 Merge "Use existing templates for cluster-update command" 2018-09-24 14:01:20 +00:00
Spyros Trigazis
3f773f1fd0 Use existing templates for cluster-update command
Cluster update was used for scaling operations only,
but if the heat-temaplates where changed for any reason
(eg upgrade of the magnum server), the stack update command
was destructive.

This patch uses the existing parameter in the stack update call.

story: 1722573
task: 21583

Change-Id: Id84e5d878b21c908021e631514c2c58b3fe8b8b0
2018-09-24 11:17:02 +02:00
Andreas Jaeger
36c99a5129 Make cover jobs non-voting
This job is not ready to be voting yet.

Change-Id: I2f1a2ba5d1fa501ead403f94243f45f8da100097
2018-09-19 10:24:22 +02:00
Jangwon Lee
bc36ef8fb6 Add prometheus-monitoring namespace
When using 'prometheus_monitoring=true' in the label option,
'kube-enable-monitoring.service' in the master node has stuck in
'Wait for Grafana pod and then inject data source'.
It caused the 'prometheus-monitoring' namespace doesn't exist,
so scripts don't create pods about Prometheus and Grafana.

To fix the error, I added codes in 'magnum/drivers/common/templates/
kubernetes/fragments/enable-prometheus-monitoring.sh' to make
'prometheus-monitoring' namespace.

We could put codes in a new file like 'magnum/magnum/drivers/
k8s_coreos_v1/templates/fragments/create-kube-namespace.yaml',
but I think it's ok.

Change-Id: I23395b41919c6f39cfcc2b4480bcd4b040cae031
Task: 26347
Story: 2003697
2018-09-18 09:52:39 +09:00
Zuul
897894189d Merge "add python 3.6 unit test job" 2018-09-14 10:45:18 +00:00
Zuul
a5094adf07 Merge "switch documentation job to new PTI" 2018-09-14 10:39:48 +00:00
Zuul
eebffc8ef1 Merge "Fix unit test failure with python3.6" 2018-09-12 22:29:19 +00:00
qingszhao
bdeed363b2 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Depends-On: https://review.openstack.org/596861
Change-Id: I5a361dc3b651399042174f183c5c2f46bc26aea1
Story: #2002586
Task: #24308
2018-09-12 20:37:54 +02:00
qingszhao
37231f18b2 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I3672dad9be3d60d243af9f7bb422f86d9ce87ad4
Story: #2002586
Task: #24308
2018-09-12 20:29:12 +02:00
Zuul
d13957dc5e Merge "Remove fedora-atomic diskimage-builder element" 2018-09-11 15:03:56 +00:00
Zuul
813d149ebd Merge "Docs: Replace non-existing command" 2018-09-10 08:42:01 +00:00
Zuul
dc5ccba016 Merge "Add prometheus & grafana container image tags" 2018-09-10 07:43:43 +00:00
Zuul
0459252cf9 Merge "Make X-Subject-Token search case unsensitive" 2018-09-09 15:52:18 +00:00
Andreas Jaeger
4a1a4be0d3 Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Use openstack-lower-constraints-jobs template

Remove jobs that are part of the templates.

Change-Id: Ibc271ef9ac9a47b585a7099bfcdbc6f9884227fe
2018-09-07 12:53:29 +02:00
Manuel Rodriguez
d3bf6a4977 Make X-Subject-Token search case unsensitive
USER_TOKEN variable is empty because the grep expression
is not ignoring case and certs are not created.

Change-Id: I175cb2d4c64d5f7024b13ce11c1184029f63c317
Task: 26189
Story: 2003671
2018-09-05 10:52:21 -04:00
Zuul
d9a43d87d0 Merge "Fixing CoreOS driver" 2018-09-04 11:08:33 +00:00
Zuul
b881ecd512 Merge "Add health_status and health_status_reason to cluster" 2018-09-03 09:28:07 +00:00
Sergey Filatov
0cf61dfb74 Add prometheus & grafana container image tags
To upgrade cluster we need to be able to set image tags
so this change adds to labels for corresponding containers

Task: 23314
Story: 2003171

Change-Id: I4cd0270a69fb889c59bdb28966821adb11fd0292
2018-08-31 18:20:26 +03:00
Zuul
fff1d722df Merge "import zuul job settings from project-config" 2018-08-31 11:00:07 +00:00
Zuul
118875bebf Merge "[swarm-mode] allow TCP port 2377 to swarm master node" 2018-08-30 14:21:47 +00:00
Zuul
3fcf6439ec Merge "[k8s] Add kubelet to the master nodes" 2018-08-30 14:09:44 +00:00
qingszhao
772aab2819 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I4145c393efa3e8734301c8f541518a8e46101ea2
Story: #2002586
Task: #24308
2018-08-29 18:11:09 +00:00
Zuul
7b6415a5bc Merge "[k8s] Add new label service_cluster_ip_range" 2018-08-29 07:57:50 +00:00
Tobias Urdin
d1ee94a104 [swarm-mode] allow TCP port 2377 to swarm master node
Allow traffic on TCP port 2377 to the swarm master node
which is used by the nodes to join the cluster using a token.

Story: 2003582
Task: 24888

Change-Id: Iee662e7d76c6863f83d28dfe7a8897fb25b33ed1
2018-08-29 07:10:02 +00:00
Spyros Trigazis
6390e0dbd3 [k8s] Add kubelet to the master nodes
Add kubelet on the master nodes. This work was
done already for calico, this patch applies the
same config when calico is used as well.

story: 2003521
task: 24797

Change-Id: Id33fb59ef23da740712d9a9b7ec4205bd6579b35
2018-08-28 22:07:53 +02:00
Chuck Short
72f7e5f72e Fix unit test failure with python3.6
Since python3.6 os.path.join can be either bytes or
a str. So mock os.path.join in order for the unit tests to
pass.

Change-Id: I82c793875d888092e5c814727a6c4ad4053e76fb
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-08-27 14:54:28 -04:00
Sergey Filatov
85981d893d Remove deprecated tls-ca-file option from kube-apiserver
tls-ca-file flag is unused and was removed from kube-apiserver
in kubernetes 1.11. This means that any cluster with this
option specified will fail on apiserver start
Pull request on flag removal:
https://github.com/kubernetes/kubernetes/pull/61386

Task: 24858
Story: 2003566

Change-Id: I9c192b94056629a949ee92d867e8cda5c4ff6810
2018-08-27 10:26:35 +03:00
Feilong Wang
d80febb384 Add health_status and health_status_reason to cluster
APIImpact
Related blueprint cluster-healing

Change-Id: I78d4d14fb064996de77bdd6a381d2df53a9488b8
2018-08-27 14:28:46 +12:00
Zuul
ee643b3ccb Merge "Deprecate send_cluster_metrics" 2018-08-23 13:37:51 +00:00
Rick Cano
419a228503 Fixing CoreOS driver
Decoding ca on nodes

Change-Id: I4a30a348c1c0a62cb1a7b429b05878f321db92ed
2018-08-22 12:58:27 -04:00
Zuul
3a50a242d3 Merge "[k8s] Add proxy to master and set cluster-cidr" 2018-08-21 08:46:10 +00:00