Commit Graph

163 Commits

Author SHA1 Message Date
Pete Birley
3c0755ec1b Gate: Fix armada neutron deployment
This PS updates the armada neutron deployment to reflect the removal
of the hacked oslo-genconfig tool.

Change-Id: Id3dbe1775a57a5833fd500d8ab6236d4792f8784
2017-09-25 17:10:52 -05:00
Pete Birley
a3f6838c72 Fedora: fix gate script on F25
This PS re-enables support for F25 in the gate scripts.

Change-Id: Icbaac6c568ac917ae24971ca0ce207d4b1a2b138
2017-09-22 22:56:50 +00:00
Pete Birley
285959c863 Disk targeting
This PS adds a disc targeting framework for OSH Components for
services like Ceph, Swift, and Cinder (LVM) to use when targeting
phsical discs. It uses the bus ID of the attached device to simplfy
management of large quanitites of physical hardware.

Change-Id: I1cb227e43ed5394d4c68c6156047889574a0e869
2017-09-22 20:32:21 +00:00
Jenkins
f3e16dae18 Merge "Nova: remove oslo-genconfig" 2017-09-22 14:27:52 +00:00
Jenkins
7d82e40102 Merge "Neutron: remove oslo-genconfig" 2017-09-22 14:26:40 +00:00
Pete Birley
7ffdd5222b Neutron: remove oslo-genconfig
This PS removes the modified oslo-genconfig from neutron.

Partially implements: blueprint remove-pregenerated-config-templates

Change-Id: I73091b7ad1af74e3a660ff17031f09628b33d17f
2017-09-22 03:16:44 +00:00
Jenkins
2fed2f1b91 Merge "gate: add a second upstream DNS server" 2017-09-22 02:57:23 +00:00
Jenkins
89beee909b Merge "gate: increase pod start timeout" 2017-09-22 02:54:57 +00:00
Jenkins
a2b235e861 Merge "Cinder: remove oslo-genconfig" 2017-09-21 21:03:44 +00:00
Pete Birley
e3a6a4166d Nova: remove oslo-genconfig
This PS removes the modified oslo-genconfig from nova.

Partially implements: blueprint remove-pregenerated-config-templates

Change-Id: I65575ba5d78429b9c1a3984c76aa26757d5fd6e2
2017-09-21 14:52:04 -05:00
Chris Wedgwood
22488a5c14 gate: add a second upstream DNS server
We get transient DNS failures, having a second DNS server should help.

Change-Id: I8307ba0c2b8f2b12eb714dfd8b7034c7645ff288
2017-09-21 17:52:31 +00:00
Chris Wedgwood
c587481749 gate: increase pod start timeout
Change-Id: I141c9ead88f97228942e939fda25fba73571f597
2017-09-21 17:51:49 +00:00
Chris Wedgwood
ec43f3392c gate: for aio only run a single rabbitmq
Change-Id: I2ae79c131dbc11d000681ba23b7779149b14d424
2017-09-21 15:08:55 +00:00
Pete Birley
fff98df16f Cinder: remove oslo-genconfig
This PS removes the modified oslo-genconfig from cinder.

Partially implements: blueprint remove-pregenerated-config-templates

Change-Id: Id027319e96cecbeadb332c401955ec0ebc5eda16
2017-09-21 13:49:46 +00:00
Jenkins
2aede7f1b6 Merge "Remove hacked OSLO genconfig tool" 2017-09-21 02:08:49 +00:00
Chris Wedgwood
e6cdfcdd07 gate: expose timeouts for node and pod startup
Change-Id: I98da4768c438cb1801cf481a229a1a0f74df1415
2017-09-20 21:36:13 +00:00
Pete Birley
5e8be5c339 Remove hacked OSLO genconfig tool
This PS removes the pregenerated config templates producing using
the hacked oslo-genconfig tool. This results in both a much smaller
codebase and also more readable configuration by removing the
requirement to specify settings via oslo namespaced references.

This initial PS applies only to Keystone, A follow up will extend to
all remaining services.

Partially implements: blueprint remove-pregenerated-config-templates
See: https://blueprints.launchpad.net/openstack-helm/+spec/remove-pregenerated-config-templates

Change-Id: I3ced7ad02c703c767925a17b1a18f6158a878e83
2017-09-19 21:51:26 -05:00
Pete Birley
e7723d81ce Helm: move to helm v2.6.1
This ps bumps the Helm version to v2.6.1.

Change-Id: I46e1b3457a50d440bc82ba2ef3b164ae4a2a1771
2017-09-19 14:37:34 +00:00
Jenkins
cdedd4916c Merge "Kubernetes: move to Kubernetes v1.7.5 gate" 2017-09-18 14:59:57 +00:00
Pete Birley
010955fbef Kubernetes: move to Kubernetes v1.7.5 gate
This PS moves to use Kubernetes v1.7.5 as the reference deployment
version.

Change-Id: Ie2060dc5271decf1b9298fc8fc8f23ead6501fbd
2017-09-14 20:34:45 +00:00
Jenkins
af77125f10 Merge "gate: Introduce POD_START_TIMEOUT (default 480s)" 2017-09-14 15:43:19 +00:00
Chris Wedgwood
30f63c349d gate: Introduce POD_START_TIMEOUT (default 480s)
Change-Id: I29a56527bfb00f9953cdc37b5fafb8e98f6334ed
2017-09-13 22:51:16 +00:00
Chris Wedgwood
ca9a78765a Pedant: prefer "--set " over "--set="
Change-Id: I02e47b411ed3702c70da1fd42deef5d25ad2add2
2017-09-13 22:01:41 +00:00
Artur Korzeniewski
3653128bd3 Preparation for Neutron Linuxbridge gate
Added new variable SDN_PLUGIN to handle gate behavior when using ovs or
linuxbridge.

By default SDN_PLUGIN is set to ovs.

To enable testing linuxbridge, new gate have to be created, with
SDN_PLUGIN set to linuxbridge.

Change-Id: I014307ae497374b5b6fa00946b01fa5d93c3056f
Implements: blueprint support-linux-bridge-on-neutron
2017-09-12 10:23:57 +02:00
Pete Birley
b3f8b812ca Glance: Backend support and auth improvements
This PS enables the following backends for glance:
 * PVC
 * RBD
 * RadosGW (direct)
 * Swift

It also moves the creation of the RBD pool when required to a storage
init job. This job also creates credentials as required for glance to
use when accessing the required backend, rather than using the admin
keyring.

Change-Id: I90fead961ff73a9263826acc794128fa73ead2e1
2017-09-09 02:13:01 +00:00
Chris Wedgwood
cfe5ade024 Be explicit about SDN plugin in gate override
We now support linuxbridge and ovs.  Rename the files to reflect this.

Change-Id: I4bedf5bf9d8f22994e34b55f6e4da58bda0fde23
2017-09-07 18:33:48 +00:00
Pete Birley
7c37157fb1 Ceph: RadosGW
This PS implements the ceph radosgw and also provides keystone
intergration, allowing ceph to provide a swift like service if
desired for object storage.

In addtion it updates the endpoint lookups to use valid yaml when
dealing with keystone services with a '-' in their name.

Change-Id: I9162ad657df2f77c1bc1afa93a8b999894b1b470
2017-09-06 23:35:47 -05:00
Jenkins
8a18f62685 Merge "Merge separate AIO docs into one" 2017-09-06 18:54:24 +00:00
Artur Korzeniewski
ca05f7ac3c Neutron and OVS: add full name to ovs and lb daemonsets
Add neutron prefix to lb-agent and ovs-agent.
Rename ovs-db and ovs-vswitchd to openvswitch-db and openvswitch-vswitchd.

Change-Id: Iad69b0c00d17e59a9f0eb66003e4512ccaeab128
2017-09-04 13:58:59 +02:00
Jenkins
198162a073 Merge "Fix some typos" 2017-09-03 04:47:48 +00:00
Craig Anderson
701dd585c3 Merge separate AIO docs into one
Creation of one source of truth for kubeadm-aio docs.  The kubeadm-aio
README now links to developer all-in-one document.

Change-Id: I9e405036e50cfd5336e0e6ce901d5e5d6850fae4
Closes-Bug: #1711727
2017-09-01 17:05:31 +00:00
Jenkins
cb8efbd954 Merge "Prevent kubeadm-aio being run as root." 2017-08-31 03:32:27 +00:00
Craig Anderson
862960dac3 Prevent kubeadm-aio being run as root.
Prevent duplicate docker mounts by disallowing root in kubeadm-aio.

Change-Id: I3e743a0d82e03b9d2ffb3af685c27dd15415ab81
Closes-Bug: #1711744
2017-08-30 10:19:11 -07:00
Pete Birley
37b099e320 Neutron: Move OpenVSwitch into its own chart
This PS moves OpenVSwitch into its own chart - decoupling it from neutron,
both making it easier to deploy and use seperately and permitting
use of other network backends.

Partially implements: blueprint split-nova-and-neutron-infra

Change-Id: Ifd637136b950ddf1ba1c26ce76c9bbdeafc232c3
2017-08-30 16:01:29 +00:00
Pete Birley
0252ca776e Nova: Move Libvirt into its own chart
This PS moves libvirt into its own chart - decoupling it from nova,
both making it easier to deploy and use seperately and permitting
use of other compute backends.

Partially implements: blueprint split-nova-and-neutron-infra

Change-Id: I06237157244c3cdb5503eafa01229d061b1614f0
2017-08-29 23:50:08 -05:00
Artur Korzeniewski
aaedb4a150 Neutron: add linuxbridge daemonset and config script
Adding daemonset for Linux bridge. Using node selector
"linuxbridge enabled".

network.backend added in neutron/values.yaml to support scenario for
different SDNs using the same networking software, like OVS is used
for reference Neutron L2 agent, ODL, OVN and SONA. The other option for
network.backend can be linuxbridge and calico.
network.backend impacts configuration of DHCP, L3 and metadata agents.
Those agents are dependent on ovsdb_connection flag (officially it is
placed in openvswitch_agent.ini file).

Added daemonset_lb_agent flag in manifests section. Currently
OVS and LinuxBridge L2 agents can be turned on/off to be deployed.
OVS L2 agent and OVS as a network virtualization SW can be deployed
independently.

Removed conf.neutron.default.neutron.interface_driver, since it was not
used anywhere.

Marked places in neutron/values.yaml where changes are needed in order
to use linuxbridge for:
- neutron.conf interface_driver
- ML2 mechanism driver
- dhcp and l3 agents interface_driver

Added example of neutron values overrides in:
tools/overrides/mvp/neutron-linuxbridge.yaml

Change-Id: I7cdcfaa9a73af392a0d45f7df29b7b3ae3cc4c76
Implements: blueprint support-linux-bridge-on-neutron
2017-08-29 11:51:42 +02:00
Pete Birley
7463058b73 Reduce load in single node gate tests
This PS seeks to reduce the load exerted on the node in the single
node gate test - as a the single node gate is currently broken
due to resource starvation on the nodes.

Change-Id: I34db5108b4abb48bb452eed73067644cc03270c0
2017-08-26 17:01:19 -05:00
Jaesang Lee
59d9c463bd Fix incorrect description
change mis-spelled description in tools/overrides/mvp/cinder.yaml

Change-Id: Ifb4ae667b40418f12ab29654c6a7ff55fad931e1
2017-08-26 17:23:02 +09:00
Pete Birley
0251c099ba Nova: Support Cinder Volume Attachement using Ceph Backend
This PS enables cinder volume attachment for nova when used with ceph.

Change-Id: I9772f38fb3a1a9af26bd92ee18a651d3372de64c
2017-08-25 14:07:34 -05:00
Pete Birley
25683d8cf4 Neutron: move OvS interaction to native interface
This PS changes the MVP deployment of Neutron to use the native
interface rather than shelling uout to the clients. The values
were inserted during the original development of the MVP deployment
and subsequently left.

Change-Id: Ie098dc71a0fc82f000b7c40048e9f35913f05a79
2017-08-22 20:08:01 -05:00
Pete Birley
ff6e6d19f9 Gate: Heat functional test
This PS adds a functional test of heat in the OSH gates, it also moves
most params to a seperate file - making config of the gate in non-zuul
environments simpler.

Change-Id: I37a1bc0dcc8000c5da8067a8d376c78f7cd6f7ab
2017-08-21 13:55:53 -05:00
Pete Birley
0c715b8b3c Gate: Add heat to single node checks and to Armada checks
This PS adds heat to the single node and Armada based deployment
checks in the gate scripts. Additionally it moves the client calls
in the check scripts to use the heat engine pod.

Change-Id: Iccc996fb2b2140ed19c6708d6033b4a9dd1bfc46
2017-08-20 13:20:48 -05:00
Jenkins
b06fab9c07 Merge "KubeADM-AIO: allow customisation of CNI" 2017-08-15 17:49:28 +00:00
Pete Birley
52c549a2d3 KubeADM-AIO: allow customisation of CNI
This PS adds the ability to customise the CNI used by
the AIO KubeADM container.

Change-Id: If531a896e38baeda32c008d9645c34174603c690
2017-08-15 08:12:21 -05:00
Tin Lam
8e76f32407 Add barbican helm test
This patch set adds basic barbican test using the OpenStack Client.  This
patch set also addressed an issue where the href contains a duplicate
version in the path, e.g. http://URL:xxxx/v1/v1/secrets in secret path.

Change-Id: Ie66d00d5a0b02721ba41e6bf4b5e784fb49adce8
2017-08-15 05:08:20 -05:00
Pete Birley
920cb9aae5 Gate: Set tests to run only if a deployment of OSH is performed
This PS updates the gate script to only run tests of OSH if it is
actually deployed.

Change-Id: Iaf89bbfffb01ca3c7ba7bfc5b5867794c6bfd5e8
2017-08-10 09:47:49 -05:00
Jenkins
c4050ba375 Merge "Armada OpenStack deployment yaml" 2017-08-09 20:29:16 +00:00
Huamin Chen
da9539bb87 Use RBD external provisioner
Currently RBD storageclass uses in-tree provisioner
kubernetes.io/rbd. Since containerized kubernetes controller image
doesn't include rbd binary, in-tree provisioner errors out.

This fix uses external provisioner ceph.com/rbd.

Closes-Bug: #1707937

Change-Id: Iad443a54c0229c0356beb6d872365298248c40c9
2017-08-09 11:24:59 -05:00
Tim Heyer
47bb6d2a85 Armada OpenStack deployment yaml
Armada is a tool for managing multiple helm charts with dependencies by
centralizing all configurations in a single Armada yaml. This yaml is
used for a full OpenStack deployment.

Co-Authored-By: Alexis Rivera <gardlt@tetrasol.org>
Co-Authored-By: Pete Birley <pete@port.direct>

Change-Id: I70b41f038c2819aeaa4b2c7bb617b7b2c38441d1
2017-08-09 09:40:46 -05:00
lidong
75a2639a48 Fix some typos
Correct some spelling errors in files : 
mariadb/templates/etc/_00-base.cnf.tpl,tools/gate/funcs/kube.sh


Change-Id: Ie6d7f2b90a8d569663452d00565af2789bbb377e
2017-08-08 03:39:06 +00:00