Commit Graph

68 Commits

Author SHA1 Message Date
Chinasubbareddy Mallavarapu
385c0775b9 [CEPH] Update dev scripts for ceph to handle loopback devices
This is to update loopback devices creation script to take device names
from developers in case if default devices are busy.

Change-Id: Ie368ebdfdc64ea00ccf62cf61010beddcc2cf4ce
2020-07-21 21:46:18 +00:00
Chinasubbareddy Mallavarapu
a385c18176 [CEPH] OSH: use loopback devices for ceph osds.
- This is to make use of loopback devices for ceph osds since
support for directory backed osds going to depricate.

- Move to bluestore from filestore for ceph-osds.

Change-Id: Ia95c9ceb81f7d253dd582a2e753a6ed8fe60a04d
2020-06-30 17:05:22 -05:00
Jiří Suchomel
d893eadfbc Merge component, developer and multinode ingress deployment scripts
For simplification of deployment and maintenance, reduce the number
of scripts that do usually the same.
The important part is that when user wants to do multinode deployment,
OSH_DEPLOY_MULTINODE variable must be set before executing the script.

For now multinone script still stays, only to invoke the common one,
but in future it would be better to remove multinode scripts completely
and let user call the common script with the right argument.

Change-Id: I4dca159827581cbe8d6ded3be85e732acbf60ed1
2019-10-07 16:11:31 +02:00
Frank Kloeker
ef3165076c Switch to the latest Configuration Guide
Depends-On: https://review.openstack.org/#/c/602883/

Change-Id: Ie3b1d7a7528cb7b09af25e9d46831853bb650c97
2018-09-21 15:08:07 +02:00
Pete Birley
d4d99cf9fc Split out RGW from ceph client charts
Co-Authored-By: Chinasubbareddy Mallavarapu<cr3938@att.com>

Change-Id: I8b091493bb79c7eab525fbaf7801028398772c5d
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-21 17:36:18 -05:00
Matt McEuen
b1fccbafb1 Split Kubernetes install from Mulinode guide
Splits the OSH AIO gate script-based installation guide out of the main
multinode guide, and adds context to the multinode guide around
using a prod-grade k8s installer or the gate scripts as appropriate.

Change-Id: I9fa9d498e49efc1867c8f347fd3c814263c23717
Story: 2002526
Task: 22200
2018-07-16 09:37:05 -05:00
Zuul
db06d2bc3a Merge "Update the path of vars.yaml" 2018-07-03 05:38:29 +00:00
mattmceuen
a2b8de253c Update Multinode guide
This PS makes some minor updates (links, formatting)
to the Multinode guide and adds some helpful warnings
and notes.

Story: 2002526
Task: 22064
Change-Id: I21a50b7126c2bb1fcd412a8ae713856e9fab4050
2018-07-01 15:51:33 -05:00
Zuul
cc30691207 Merge "Updates Launchpad references to Storyboard" 2018-06-20 00:53:55 +00:00
caoyuan
d80a399b4f Update the path of vars.yaml
the path of vars.yaml should be in /opt since the code is clone in
/opt

Change-Id: Idf909cddf61fa1948ce01081ada7385904550b12
2018-06-19 23:23:59 +08:00
ubuntu
f5360ba1f9 Passwordless sudo Documentation
The information to setup passwordless sudo is only present for
multinode deployment. This patch moves all common requirements to
a 'Common Requirements' location before any of the deployment
instructions.

Change-Id: I22b14dec2153dabd57b451e0a8f7d30d423760b0
2018-06-19 14:39:57 +00:00
mattmceuen
602358403d Updates Launchpad references to Storyboard
Updates references to Launchpad to now point to Storyboard, since OSH has
migrated to that platform.  "Report a bug" type references are updated to
point straight to the OSH project proper in Storyboard, while general backlog
type references are updated to point to the OSH Project Group.

Change-Id: I63e290f34763847e71e14e4471e7ee9460d8cff9
Task: 21684
Story: 2002199
2018-06-09 20:00:11 -05:00
Tin Lam
fdfca4b0fb Fix handful of trivial items in docs
This fixes up typographical errors, capitalization issues and minor
stylistic formatting in the documentations.

Change-Id: I1951a90d48cc22e7f8c0516fc53f4018ef0a9a5d
Signed-off-by: Tin Lam <tin@irrational.io>
2018-05-25 19:26:03 -05:00
Pete Birley
f19349ac3a Docs: Update the multinode guide to use correct playbook vars
This PS updates the multinode guide to use the correct playbook
vars.

Change-Id: Ie48718059b9f3db2e7a803629172cdb2a9facb00
2018-05-15 09:10:55 -05:00
Zuul
371c2bec52 Merge "Replace Chinese quotes to English quotes" 2018-05-03 15:05:39 +00:00
Rich Wellum
d5ce9f5b2d Various small improvements and corrections to the multinode guide.
Fixed a bad doc reference.
Added sudo help and setup
Added ssh key help
Couple other minor nits.

Change-Id: I101bae7118367867ba976026f5b9891a990d320e
2018-04-18 09:47:35 -04:00
Zuul
02a441bf53 Merge "Fixes/Updates OSH Developer and Multinode install guide" 2018-04-17 19:26:05 +00:00
Renis
3859a5b5aa Fixes/Updates OSH Developer and Multinode install guide
This PS fixes few typos and adds DNS entry update section
to notify user.

Change-Id: I59f5c90aaa06a5996c3ddb7a7b1bd3c4adfe0eb7
2018-04-17 11:30:49 -07:00
Tin Lam
d19f7816f2 Fix document ref link
A link referencing software verion is broken (404). This patch set updates
the link the correct ansible var yaml file.

Change-Id: I9383ad2bee1fa4671606a9ce19fa3965adcc2c52
Signed-off-by: Tin Lam <tin@irrational.io>
2018-04-02 00:53:41 -05:00
Chris Wedgwood
00093f1b3f gate: utility container
Use a utility container for ipcalc on all platforms; this avoids
having to find the package on platforms where it's not easily
available and we avoid argument differences.

Change-Id: I6c6e719f8eeb8d4214ebb0111e9d8f8b659db396
2018-02-19 07:23:41 +00:00
zhangdebo
2c6e3f9d26 Replace Chinese quotes to English quotes
Change-Id: I659aaa0d6116d97d6f82823b9e173aa347b35cd3
2018-02-12 10:44:04 +08:00
portdirect
b99ca46e0a Docs: multinode update
This moves to gated multinode deployment docs

Change-Id: I65f4fd560b72e6ca10b34f0a4aa55dd4161cc58b
2018-02-08 10:37:41 -05:00
dave kormann
7b6685befd Disable cephfs_provisioner deployment in openstack namespace
As with the rbd_provisioner deployment, cephfs_provisioner should
only be deployed to the ceph namespace.  This change just disables
that deployment in the openstack namespace.

Change-Id: Idfec8fbdd9408bd292d8770a3690b1b77de2b22d
2018-01-12 13:46:19 -05:00
portdirect
dc105fdcfa CephFS: support for OSH
This PS adds support for CephFS in OSH.

Change-Id: I54d5302b89f04cc30f151c8db59f476f02be5652
2018-01-09 15:41:45 -05:00
Craig Anderson
b73bb03e5b Add support for node-level conf overrides
Add override functionality to helm-toolkit and enable in compute daemonset.

Change-Id: Ia85abbbea89c12d0b6f21ecf2413cd3ae7b9552e
2018-01-08 22:35:36 +00:00
portdirect
9fb2bdf839 Docs: remove potentially confusing references to versions and RBAC
This PS removes references to out of date versions in the
multinode install guide and also RBAC rules, which was causing
confusion with new developers.

Change-Id: I89ae35896367c17e0d43c1d5b7a9183109aa61df
2017-12-28 18:47:21 -05:00
zhengchuan hu
c65961ccfe Fix error in doc of install openstack-helm
install openstack-helm like doc, but the service of horizon
is not nodeport.

Change-Id: I85b39aa0f3c9cf9880bc1d44270e2336d950a35c
2017-12-15 19:10:16 +08:00
Huamin Chen
eed43b8524 Ceph: luminous fixes
init osd: Ceph luminous release init osd differently. This fix detects
ceph releases and use the right process to init osd directory
mgr: Set mgr daemonset that is in Luminous

Change-Id: I99a102f24c4a8ba18a0bba873e9f752368bea594
Signed-off-by: Huamin Chen <hchen@redhat.com>
Depends-On: I17359df62a720cbd0b3ff79b1d642f99b3e81b3f
2017-12-13 15:52:36 -05:00
tin.l.lam
222b229260 Remove hard version reference from docs
This patch set is part of the documentation update.  This patch set
removes hard application version numbers from documents to avoid
needing frequent update to keep the documents accurate and up-to-date.

Change-Id: I81160ca24453e8eeed974a0d1d9e1470e28ffd6d
2017-11-18 00:13:39 -06:00
Vu Cong Tuan
fcd4b405ff Do not use “-y” for package install
According to "code conventions" [1], do not use "-y" option.
Instead, use apt-get install package, yum install package,
or zypper install package.

[1] https://docs.openstack.org/doc-contrib-guide/writing-style/
code-conventions.html

Change-Id: I002607baadb90c8b0da4332a9eb7ca8e6f598f9f
2017-11-08 14:34:33 +07:00
Steve Wilkerson
4399e39a9c Fix Glance install in multinode docs
One line in the glance installation command in the
multinode docs is missing the \ character at the end

Change-Id: Ice0ca01c9a00499e8ddc4da28add15bb102dd819
2017-11-01 13:25:03 -05:00
Matt McEuen
f5541529d5 Added resolv.conf example to multinode doc
Added an example resolv.conf file to the multinode doc, along
with descriptions and instuctions for persistence across reboots.

Change-Id: If1eb71ff1862f2662f297ccac8b75fedd46cf89c
2017-10-13 12:15:11 -05:00
Pete Birley
9a59382506 Docs: Fix link to ceph troubleshooting doc
This PS fixes the link to the Ceph troubleshooting guide.

Fixes bug 1720907

Change-Id: Ib2963635876a9ed288ac5bad8a36286b927a88cc
2017-10-04 01:31:55 -05:00
Sean Larimore
d1e775547c Adding database drop jobs
Implemented Kubernetes jobs to drop a database for an OpenStack service
on deletion of Helm chart. This job is configurable to be enabled or
disabled in the values.yaml file for each chart.

Change-Id: Ia1a0834cb43c7e883aaf507a7c7683fa1cf4e838
2017-09-27 09:44:28 -06: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
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
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
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
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
Tin Lam
20c0192036 Remove local/* reference from documentation
This patch set removes the "local/CHART" references in the documentation
and replaces it with a reference to a local path.  This was already
updated in gate script.

Change-Id: I1753cb500cbe448a43ede85168d71596de4e08b8
Closes-Bug: #1711733
2017-08-27 17:11:15 +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
Pete Birley
054ac68e92 KubeADM-AIO: update to K8s 1.6.8
This PS udpates the Kubernetes version to v1.6.8

Change-Id: I2170fbaf901e761cb732469dab5ad7bc946ddea5
2017-08-03 23:37:00 -05:00
Michał Dulko
cfab320f26 Add setup and rotate job for credential keys
Keystone is using keys to encrypt credentials saved into the database.
The mechanism is very similar to fernet tokens. This commit implements a
job setting key repository up and rotate job for those keys. All is
based on implementation of fernet tokens.

Change-Id: I88faf1d02d2b317563e8603cebba542f8b133c6a
Closes-Bug: 1693807
2017-08-02 13:22:05 +02:00
Michał Dulko
03543a3d53 Add support for Keystone's fernet tokens
Keystone supports (and that's a default setting since Ocata) using
non-persistent fernet tokens instead of UUID tokens written into the DB.
This setting is in some cases better in terms of performance and
manageability (no more tokens DB table cleanups). OpenStack-Helm should
be able to support it.

General issue with fernet tokens is that keys used to encrypt them need
to be persistent and shared accross the cluster. Moreover "rotate"
operation generates a new key, so key repository will change over time.

This commit implements fernet tokens support by:
* A 'keystone-fernet-keys' secret is created to serve as keys repository.
* New fernet-setup Job will populate secret with initial keys.
* New fernet-rotate CronJob will be run periodically (weekly by default)
  and perform key rotation operation and update the secret.
* Secret is attached to keystone-api pods in /etc/keystone/fernet-tokens
  directory.

Turns out k8s is updating secrets attached to pods automatically, so
because of Keystone's fernet tokens implementation, we don't need to
worry about synchronization of the key repository. Everything should be
fine unless fernet-rotate job will run before all of the pods will
notice the change in the secret. As in real-world scenario you would
rotate your keys no more often than once an hour, this should be totally
fine.

Implements: blueprint keystone-fernet-tokens
Change-Id: Ifc84b8c97e1a85d30eb46260582d9c58220fbf0a
2017-08-02 13:22:05 +02:00
Pete Birley
6600530421 Helm: Update to v2.5.1
This PS updates helm to v2.5.1.

Change-Id: I2b4883ce5abb79afb4ef8be6058edd6c552249f7
2017-07-29 22:16:37 -05:00
Alan Meadows
ccea6b4df5 Convert ceph to utilize hostNetworking
This enhances the stability and recovery of ceph by leveraging
hostNetworking for monitors as well as OSDs, and enables the
K8S_HOST_NETWORK variable within ceph-docker.  This enhancement should
allow recovery of monitors from a complete downed cluster.

Additionally, ceph's generic "ceph-storage" node label has been
split out for mon, mds, and osd.

Co-Authored-By: Larry Rensing <lr699s@att.com>
Change-Id: I27efe5c41d04ab044dccb5f38db897cb041d4723
2017-07-14 19:06:57 +00:00
Pete Birley
4d066332a7 Values: Move replicas to pod key
This PS move s the replicas key to be under the pod key in the values.
It brings further consolation of related configuration params to be
nested under common keys across all charts.

Change-Id: I420b06debd0a62ba5d83497be43ff6c49c49d339
2017-07-13 23:08:08 -05:00
Pete Birley
377d870417 Ceph: Update multinode doc
This PS updates the Multinode Doc for Ceph deployemnt now that we
have bootstrap capability within the chart.

Change-Id: I40110db926bbbcbfb5a08300784e6a9735d32955
2017-07-12 11:52:50 -05:00
Pete Birley
7421dcb36f Kubernetes: bump version to K8s v1.6.7
This PS moves the K8s Version to 1.6.7.

Change-Id: I5a2b871119429ac90a5a284ecc79ebca00dea1ff
2017-07-09 17:11:29 -05:00