Commit Graph

277 Commits

Author SHA1 Message Date
Jeffrey Zhang 434b65c6ef Retire kolla-kubernetes project - step 3 remove project content
Depends-On: https://review.openstack.org/567779
Needed-By: https://review.openstack.org/568174
Change-Id: If5bdd602d5f5c8addba70235ac41c0a52cef2c11
2018-05-14 02:54:20 +00:00
Zuul 5ef59653e5 Merge "Deploy with ansible inside orchestration container" 2018-01-05 19:47:05 +00:00
Justin Scott 29461d6850 Deploy with ansible inside orchestration container
* Add deploy playbook
  * Add Dockerfile
  * Also uses regular filenames with underscores as key in configmaps
    since kubectl creates them from file this way

Change-Id: I8c7ceddacc7be1262f6ad565003ff14bb4d60af0
2018-01-04 22:59:22 -08:00
rwellum 57e664dd67 Cinder is missing the v3 API endpoints.
Communication between Cinder and Horizon requires V3 API endpoints.

This is catch up with kolla-ansible who already have this done.

Change-Id: Iba53ee680ca2b4b0c8753e1da16260868874529a
2018-01-03 14:50:19 -05:00
Kevin Zhao 4d55b368c1 Bump haproxy_exporter version from v0.7.1 to v0.8.0
Prometheus release v0.8.0 version haproxy_exporter 3 months ago.
All the parameters prefix change from "-" to "--", it's good to
align with it.

Closes-Bug: #1736322

Change-Id: I9cc80769443317cb37911d1c4835e1a99a259c7e
Signed-off-by: Kevin Zhao <kevin.zhao@arm.com>
2017-12-05 14:25:56 +08:00
Justin Scott d0fbc11bdc Specify unit (Gi) in common pvc
Change-Id: Id72119434f7684e76aa9e4a58cea2eeab280b391
2017-11-17 12:36:00 -08:00
Kevin Fox 1d1a9c2177 Remove the resolv.conf workaround
Newer Kubernetes supports a mode that eliminates the need for the
resolv.conf workaround. This removes the workaround and changes
the code to use the new mode.

Change-Id: I14a55d64b8fd49f71a78c0df2b75cd32d9f6a696
2017-10-05 14:17:23 -07:00
Kevin Fox 9ca5ae155c Update init containers
Previously Kubernetes only supported init containers stored
in json encoded annotations. This PS switches them all to
use the native initContainer yaml section now.

Change-Id: Ib8d7a4581baa01173d420570468687679f433e08
2017-09-28 06:24:32 -07:00
rwellum 35d60eaf36 Console broken, as novncProxyPort is incorrectly formed.
During testing of VM workload on kolla-kubernetes I
found that the console tab did not work - the
novncproxy_base_url was not replaced by the correct IP Addr.

Remove the code that tried to create this, use the value from
the nova.conf file.

Change-Id: I41a5a9f78775f918a8b8a296bde99d70e7b5725b
2017-09-21 12:25:49 -04:00
Serguei Bezverkhi ae7f88a88b Fix rendering problem when yaml value gets overridden via cli
When dependecy gets overridden via command line --set argument, it fails to parse
provided value properly.

Change-Id: Ice7ac04b0d9877a61e28f7b2f6395d8814b411ad
2017-07-28 18:00:16 -04:00
Serguei Bezverkhi 497269c3d8 Adding lioadm iscsi_helper support to master
Adding support for lioadm as iscsi_helper for iscsi lvm
backend for cinder and converting gate job for master branch
to use lioadm helper instead of tgtadm.

Change-Id: I8beabd10755bb04c4819263e54170a780b879716
2017-07-18 19:57:58 -04:00
Serguei Bezverkhi 50fc348e39 Adding chart for docker registry and serving master images
Docker registry will be running as a pod, if configured, it will load
tarball with images and start serviceg then inside of a kubernetes cluster.

Change-Id: I9b0df3c27148b22b204403a38e8b49495e31e03f
2017-07-18 09:53:43 -04:00
Bradley Jones 7a6d0d567c Remove multiple versions in ironic service
Change-Id: I1db52c51c8da5bc348ae8f16f28fc4fa22b3f8c9
2017-06-21 17:06:44 +01:00
Jenkins b6db218e30 Merge "Allow overriding images for ironic pods with multiple containers" 2017-06-12 09:04:23 +00:00
Jenkins 25a215af83 Merge "Adding extra condition for simple cell0 create job" 2017-06-05 20:02:10 +00:00
Serguei Bezverkhi 29e0998e73 Adding extra condition for simple cell0 create job
Adding extra condition for simple cell0 create job, nova api will be checked
to confirm there is at least one compute in UP state.

Change-Id: Ic788397b114828ac5c36b7d6c0e4d6cc9ac71a56
2017-06-02 14:38:26 -04:00
Jenkins 207a081285 Merge "openvswitch not required to be kernel module" 2017-06-02 18:14:27 +00:00
Jenkins e01ef26428 Merge "Remove inspector files and configs from ironic-conductor" 2017-06-02 18:14:15 +00:00
Sam Betts fe3e705064 Allow overriding images for ironic pods with multiple containers
In order to allow an operator to override specific container images
inside the ironic pods that run multiple containers, we need to
prefix their image lookup information so that they don't conflict with
the main container image running in that pod.

Change-Id: I76c9052e2dddd32b760a92f18aee932f33228287
2017-06-02 11:33:57 +01:00
Jenkins 9f5704b6da Merge "Fix mistake in ironic-inspector config updater init" 2017-05-31 16:24:38 +00:00
Sam Betts 8d0d67958c Fix mistake in ironic-inspector config updater init
We should use crudini instead of sed for modifying the Ironic Inspector
config file to prevent issues with the sed not matching correctly.

Change-Id: I4934f05093c7391ff521da3fb6051935041e3554
2017-05-31 12:10:21 +01:00
Andrew Bruce b74926e7ea openvswitch not required to be kernel module
Change-Id: I2845230ad34e4a1463dd373302e3d720e0d311e3
Closes-Bug: 1693011
2017-05-30 16:33:49 +00:00
Andrew Bruce 8a70aabd64 permit rabbitmq-mgmt to select rabbitmq as endpoint
Change-Id: I0dfba020023fa7b4b60dd43fe57ab7b4d2d0a236
Closes-Bug: 1693328
2017-05-30 16:33:07 +00:00
Sam Betts fce880575c Remove inspector files and configs from ironic-conductor
The pxe default entry and the IPA agent files are only required for
inspection which runs its own TFTP server, so we remove them from the
conductor TFTP server because they can actually cause problems with
Ironic provisioning if left around.

Change-Id: I9f34f93add348b023d3d620688b8969c0a74ea5c
2017-05-30 15:20:00 +01:00
Jenkins 562de46d19 Merge "Conditionalize pv creation" 2017-05-28 20:51:07 +00:00
Serguei Bezverkhi 13f2656473 cell0's should be deleted only when cell0 is enabled
cell0's should be deleted only when cell0 is enabled

Change-Id: I74865eff1e49a61d63bb08e8a4d12f7e75e4521f
2017-05-28 11:21:11 -04:00
Steven Dake cbe812e39a Conditionalize pv creation
PV creation should really occur as a result of the administrator
creating the PVs.  For AIO deploys, optimizing PV creation may
be more optimal, so default to true, but permit operators to
turn off PV creation in service charts in the event the operators
have created their own PVs.

Change-Id: I9f66ce9439eecd10f58586f2f0d1d30e6b736ae3
2017-05-27 13:16:47 -07:00
Sam Betts 4c9b45ec40 Add option to enable ironic inspector LLDP collection
In order for LLDP information to be collected by ironic inspector we
have to pass a flag to enable it in the pxe kernel parameters. This
patch adds a new option that defaults to false, but when set to true in
clouds.yaml will append the flag to the end of the kernel parameters in
pxelinux.default.

Change-Id: I64e04714f83947cdefaacf38b0a4839c1d35ab5c
2017-05-26 11:22:15 +01:00
Jenkins bade52de5a Merge "Combine ironic-inspector deployments into one pod" 2017-05-25 19:21:21 +00:00
Sam Betts 9dc4087c81 Combine ironic-inspector deployments into one pod
For the ironic-inspector service to operate correctly it must run on the
same host as its TFTP and DNSmasq service. This is because the
ironic-inspector service needs to manage iptables for DNSmasq to prevent
node that are not in inspection from receiving DHCP responses from
DNSmasq. To achieve this, we should combine the containers providing
those services into the same deployment as the ironic-inspector service
to ensure they are always deployed together.

Change-Id: Ib3af723a2c8b2cffb6eacec6293c5ea7860ba72f
2017-05-25 14:46:18 +01:00
Serguei Bezverkhi addd78e83a Fixing some issues with v4 gates
1. kolla_install_type must be changed if gate job type is source
2. if Branch is v4, change image tags to 4.0.0
3. Adding cell related activities to nova service charts

Partially-Implements: blueprint gate-continuous-improvement

Change-Id: Ib99a7a71cd511854084514db4eba1db6d3a10a36
2017-05-23 11:52:24 -04:00
Jenkins 7fce504dc9 Merge "v4 gate." 2017-05-23 02:33:24 +00:00
Kevin Fox 23e022f33b v4 gate.
This PS adds support for kolla 4.x containers to implement the
centos-binary-4-ceph-multi-nv gate.

Change-Id: I98917ebe58b010aff39d7d9539cb2a7cdbd460ac
2017-05-22 09:38:55 -07:00
Sam Betts df0d31ab91 Run ironic-dnsmasq in privileged mode
In order for dnsmasq unicast DHCPOffers to work correctly inside a
container it needs to modify the host's arp cache. The arp cache is part
of the host's network stack, running in net=host mode allows the
container to use the stack but not modify it. In order to modify it we
must also run this container in privileged mode.

Change-Id: I4a5dfa44858bd223960dc3af50a26843c31b2763
2017-05-17 12:58:16 +01:00
Jenkins 199711008b Merge "Deploy TFTP with inspector DNSmasq instance" 2017-05-13 01:36:51 +00:00
Chung Chih, Hung 04c4421866 Keystone endpoint should be versionless
Nova's quota-set api will validate project id after pike release, but it
will force to using keystone version v3 with following url
"/v3/projects/%s". If keystone endpoint suffix with version, then
request url will be "/v3/v3/projects/%s". Nova will raise bad request
and quota-set api can not work.

The keystone endpoint should be versionless.

Change-Id: I202e212db22af4f56a43283db67b6b583c39a6dd
Related-Bug: 1667679
2017-05-09 17:17:59 +08:00
Sam Betts 19c8396e74 Deploy TFTP with inspector DNSmasq instance
We need to deploy TFTP to serve the ironic python agent images for
ironic inspector. This patch deploys it along side the DNSmasq instance
also used for Ironic inspector.

Change-Id: I5ba194b41601c6681c5211e016ab86870068f226
2017-05-05 15:30:55 -04:00
Sam Betts b314a187c0 Ensure that ironic-dnsmasq can find its IP address
In the case when the ironic interface as multiple IP addresses the
current logic will not work. This patch ensures that we only take the
first IP addresses on the interface in a particular CIDR.

Change-Id: I175915f568aaf4a526b1994e9b197a3bcf80e860
2017-05-04 10:19:36 -04:00
Jenkins ff47eb3f22 Merge "Memcached Prometheus support." 2017-04-30 01:17:09 +00:00
Jenkins 1032dcc54d Merge "Add Initial Prometheus support." 2017-04-30 01:14:18 +00:00
Kevin Fox f7364e9a0d Memcached Prometheus support.
This PS adds Prometheus support for monitoring Memcached.

Change-Id: I49713a16f3d8e714f242e716a46061b427ade774
Partially-Implements: blueprint prometheus
2017-04-26 17:41:30 -07:00
Kevin Fox c0f8c53b89 Add Initial Prometheus support.
This PS starts adding Prometheus support. It adds
monitoring of the python api based services.

Partially-Implements: blueprint prometheus

Change-Id: I6f431087565b8574add10d5cc6bee299b7df471c
2017-04-26 16:02:00 -07:00
Serguei Bezverkhi e28a6a9252 Adding custom external interface to opevswitch-vswitchd
In some cases a different from globally configured external interface
name must be used. This PS adds an ability to override the global one.
A custom external interface name can be placed in this file on a compute
node: /var/lib/kolla-kubernetes/openvswitch-vswitchd/external_interface.

Change-Id: Ie414a7838c8144a5de2a06e850ba85cbcd3f1b71
2017-04-26 17:41:10 -04:00
Serguei Bezverkhi f4504e8371 FIX cell0 copy nova.conf permission issue
When cell0 gets created it requires nova.conf to be present in /etc/nova.
Since this container runs with user nova, sometimes permission failure
occures when nova.conf gets copied to /etc/nova.

Change-Id: I5ddd34375be8cc3f8541ad58e1a41e68c97b8f72
2017-04-25 12:42:02 -04:00
Sam Betts 12ece85bd6 Fix ironic-conductor so that it can run on multiple hosts
Currently you can only provide one IP address for the Ironic conductor
and conductor TFTP service to use. This doesn't work if you scale out
your conductors because every conductor needs a different address. This
patch allows the operator to provide a CIDR in cloud.yaml and the
ironic-conductor service will pick the IP address the host has in that
network.

Change-Id: I1321c0a7b0dfeadfb12e993d6ea38c0176328ff7
2017-04-25 16:23:22 +01:00
Jenkins c5b88df43a Merge "Test Ceph OSD Chart" 2017-04-20 20:18:36 +00:00
Kevin Fox 1289be43cb Test Ceph OSD Chart
This PS finishes the migration of the test Ceph to Helm.

Change-Id: I669976c366edfbb42b41152c934be7fc9557ee9a
2017-04-20 12:28:15 -07:00
Jenkins e690299c56 Merge "Version 0.7.0" 2017-04-19 04:25:43 +00:00
Jenkins b6bf334f08 Merge "Nova-control service chart dependencies" 2017-04-18 15:33:27 +00:00
Steven Dake c570ff587f Version 0.7.0
Modify version #'s to 0.7.0.

Change-Id: I538bfeb866793f85ba4369443d3656667a9a5ea2
2017-04-18 07:18:08 -07:00