Commit Graph

174 Commits

Author SHA1 Message Date
OpenDev Sysadmins 863f1bf842 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:52:35 +00:00
Dean Troyer b77072eb64 Update .gitreview for f/ceph_mimic_upgrade
Change-Id: Ifc9970a51aaaf905171b99d6e6761a9b192138c2
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2019-01-30 08:07:30 -06:00
Don Penney cf67244052 Update master stx-ceilometer to use panko-5.0.0
This commit updates the master docker image file for
ceilometer to specify install of panko-5.0.0 explicitly.

Depends-On: I854b75577b6dbc3f0a8171190f5a1aa839412dc8
Change-Id: I4db80c4bcaaa09046285e9ee0af34db1be54a606
Story: 2004520
Task: 29047
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-01-23 11:47:26 -05:00
Zuul 54f965cff5 Merge "Add e2fsprogs to stx-nova package list" 2019-01-23 15:34:20 +00:00
Gerry Kopec 6e74844f72 Update helm charts to support cold migration
To enable cold migration, need to update nova charts in openstack-helm
and helm-toolkit chart in openstack-helm-infra.  These changes build
on existing upstream components which attempt to add a second container
to the nova-compute pod which creates a sshd process listening on port
8022.

Nova chart changes include:
- Fix bug in ssh-config mapping so config file is generated properly in
  /root/.ssh/config in nova-compute container.
- Move private key from sshd container to nova-compute container.
- Map private and public ssh keys to new configmap-ssh which will
  default to acceptable file permissions (400) for ssh.  Keys will be
  provided in overrides.
- Add additional config to /etc/ssh/sshd_config to allow passwordless
  root logins over appropriate subnet passed in from overrides.  This
  is the same as what is done in nova puppet currently.
- Remove chmods from sshd bash script as they are failing.  Function is
  replaced by configmap-ssh.

To enable cold migration in nova helm chart, we need to allow multiple
containers within the same daemonset pod.  This requires a patch to
the helm-toolkit _daemonset_overrides template to remove upstream
restriction.  This issue is tracked upstream by storyboard 2003876.

These changes should be upstreamed but may require further refinement.

Story: 2003909
Task: 28927
Change-Id: Id789ba051cec019e8b7564c713cf1b5296ecf9f6
Signed-off-by: Gerry Kopec <Gerry.Kopec@windriver.com>
2019-01-22 11:15:58 -05:00
Don Penney 9e649fabd8 Add e2fsprogs to stx-nova package list
This update adds e2fsprogs to the pike and master docker
image build directives files for stx-nova, to provide the
mkfs utilities required for ephemeral storage support.

Change-Id: If9b901696169d7d157a37d6b96f7b8c4db0a24a5
Closes-Bug: 1812432
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-01-18 16:06:07 -05:00
Zuul 83353f1518 Merge "Clean up the stale files" 2019-01-16 20:58:10 +00:00
Zuul 6fb812a713 Merge "Updating helm build process to not require networking" 2019-01-16 15:40:52 +00:00
Tao Liu 2462f3015a Clean up the stale files
The keystone-api pod gets stuck in CrashLoopBackOff on
AIO-SX lock/unlock attempt.

When Kubernetes decides to kill the keystone-api pod due to readiness
probe failure or other reasons, it calls the preStop hook immediately
before the container is terminated. This hook starts a graceful
shutdown process which includes removing pid, shared memory segment
and wsgi sock files. If the container is not terminated within the
grace period, a SIGKILL is sent, and the container is forced to shut
down.

When the container was forced to terminate without clean up, the
stale files were left behind. On the restart, the application
detected the file existed, and treated it as configuration failure,
hence the exit. As a result, the pod went into a crash loop.

This update removes any stale files when the pod starts.

Story: 2004520
Task: 28392

Change-Id: I613a0db674de9578b3f9d1fa781a1612d9caf214
Signed-off-by: Tao Liu <tao.liu@windriver.com>
2019-01-16 10:04:52 -05:00
Don Penney 4171f83a8c Update stx-gnocchi.master to use forked gnocchi repo
Until the ceph upgrade is complete, a forked gnocchi repo will
be used for the stx-gnocchi image to allow temporary changes
to the gnocchi source to support the older ceph version.

Change-Id: I370086ca01e95e8b4907951328f29d833847b6b7
Story: 2004520
Task: 28912
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-01-15 15:00:39 -05:00
Al Bailey 504cddc2b9 Updating helm build process to not require networking
The spec files for openstack-helm-infra and openstack-helm
have been updated to not require networking, and therefore
can be built the same as other std targets rather than as
a container target.

helm init --client-only was using networking and DNS lookup.
This commit sets up helm without running that command.

Story: 2004005
Task: 28793
Change-Id: I35c9b547a98fac559793bc2ec00012f6eded8ffa
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-01-08 15:14:15 -06:00
Don Penney ffb531fa70 Update stx-horizon.master to include starlingx-dashboard
Update the stx-horizon.master image build directives file to include
starlingx-dashboard module in the image, and to add a customization
hook to copy the themes to a common location.

Depends-On: I5339c875ff7bec8a1b516b54819b7a7667895cee
Change-Id: I563a7bf68f9c125fffd35bc857c8853d5efaa3b9
Story: 2004520
Task: 28728
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-01-04 14:02:57 -05:00
Kristal Dale a2ed44be0c Clean up and standardize landing pages
doc index.rst:
1. Update intro sentence to read as a complete sentence
2. Remove unused toctree
3. Correct heading levels (impacting side nav and correct rendering of content)
4. Remove "Indices and Tables" section: genindex page not used, search searches
only index (not useful here)

releasenotes index.rst:
1. Standardize page title reST markup
2. Remove search (make consistent with other openstack release note pages)

Change-Id: I4847f655f72c3ce4fe1f0d197b00167e499dd658
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2018-12-27 17:11:33 -08:00
zhipengl 75b332539d Refactor patches for rabbitmq-server package
Use rabbitmq-server-config package to package config files for
rabbitmq-server package. We can remove related patches of it.
Install custom ocf script and let SM call this one instead of
default one.

Deployment test and ping test between VMs pass
Config files check pass.

Story: 2003768
Task: 28042
Depends-on: https://review.openstack.org/#/c/621510

Change-Id: I64281b5601b7e457c724747f81e58cc1e42936dd
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-12-21 01:22:31 +00:00
Zuul 28577e52b1 Merge "Refactor meta patch for openstack-panko" 2018-12-20 19:18:08 +00:00
Don Penney 61b7f7b752 Update python-django-openstack-auth to build wheel
Modify the python-django-openstack-auth spec to add steps
to build the python wheel, as well as include it in the pike
wheels tarball.

Change-Id: Idfe6de304b41d3a08cbfd8435f9191e9fefd8ed0
Story: 2004520
Task: 28587
Signed-off-by: Don Penney <don.penney@windriver.com>
2018-12-19 09:22:51 -06:00
Angie Wang 1bfd984e70 Update stx-horizon to include starlingx-dashboard themes
Update the stx-horizon image build directives file to include
starlingx-dashboard module in the image, and to add a customization
hook to copy the themes to a common location.

Change-Id: I1684eebc31e977ee02c95d8ba7ec6cd11f3244cb
Story: 2004520
Task: 28588
Signed-off-by: Don Penney <don.penney@windriver.com>
2018-12-19 09:22:17 -06:00
Don Penney c5ba3f8ae4 Add pam-config package to stx-nova
Customizations to the pam package were refactored to
a new pam-config package. This update installs this
package in the stx-nova image.

Story: 2004520
Task: 28589
Change-Id: Ia21fdb30fa3bff6d123ebaa3d057190d05d4913d
Signed-off-by: Don Penney <don.penney@windriver.com>
2018-12-19 09:19:31 -06:00
zhipengl 9d46723d4f Refactor meta patch for openstack-panko
Use openstack-panko-config package to package config file for
openstack-panko package.
The StarlingX common logrotate config file includes panko log files.
To avoid conflict with the logrotate config file from openstack-panko,
we're overwriting this file with just a comment to clear its config.

Deployment test pass and config file check pass!

Story: 2003768
Task: 28362

Change-Id: I09b0f6ae93b915e10ff3d8cdf6fc9cbd5fe9426e
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-12-17 01:56:26 +00:00
Zuul 9893164a9a Merge "Change compute node to worker node personality" 2018-12-14 22:10:40 +00:00
Zuul 58ae6aa3c9 Merge "ceilometer chart: mount IPMI device from host" 2018-12-13 14:49:25 +00:00
Tao Liu 29ab731ab7 Change compute node to worker node personality
Update misc compute references to worker

Tests Performed:
Non-containerized deployment
AIO-SX: Sanity and Nightly automated test suite
AIO-DX: Sanity and Nightly automated test suite
2+2 System: Sanity and Nightly automated test suite
2+2 System: Horizon Patch Orchestration

Kubernetes deployment:
AIO-SX: Create, delete, reboot and rebuild instances
2+2+2 System: worker nodes are unlock enable and no alarms

Story: 2004022
Task: 27013

Depends-On: https://review.openstack.org/#/c/624452/

Change-Id: I158394e5fb37367a0ba11e2236fdea64db3cc186
Signed-off-by: Tao Liu <tao.liu@windriver.com>
2018-12-12 18:03:49 -05:00
Zuul 6399e28066 Merge "Move STX local settings from stx-horizon" 2018-12-12 20:30:10 +00:00
Kristine Bujold 67c1a3257d Move STX local settings from stx-horizon
Deleted the STX local_settings.py file. The generic
local_settings.py.example file will now be used and STX
customization will be located in stx-gui under
local_settings.d.

Story: 2004552
Task: 28394
Depends-On: https://review.openstack.org/#/c/624764

Change-Id: I092040eae3ca4c6f41026e2e98cea8a74ecdabff
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2018-12-12 13:57:06 -05:00
Chris Friesen 20c4d6c859 backport some mariadb fixes from upstream
Upstream master has some fixes for the mariadb chart that we hope will improve
behaviour under fault scenarios so import them into our load.

When we update the repo to the latest upstream we should pick these up and
the patches can be dropped.

Change-Id: I5bb367db76b6d00d9922a4b1bb32d87aaa37cf91
Story: 2004520
Task: 28388
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
2018-12-12 10:27:34 -05:00
Angie Wang e6ca3d746b ceilometer chart: mount IPMI device from host
IPMI device should be mounted from host to ceilometer-ipmi pod
in order to enable pulling of ipmi samples.

Change-Id: Ic8c31c825e406ab4f3fd7bdad5c9dd104120230c
Story: 2003909
Task: 27083
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2018-12-11 10:23:48 -05:00
Zuul 1643e005ae Merge "Move Starlingx branding from stx-horizon to stx-gui" 2018-12-10 19:38:46 +00:00
Kristine Bujold 6a8f77de55 Move Starlingx branding from stx-horizon to stx-gui
Moved themes/titanium/ and themes/starlingx/ folder from
stx-horizon into stx-gui. Renamed titanium to starlingx and
delete titanium.

Story: 2004552
Task: 28310

Change-Id: I1e9e8bcd41b6b5bb32e40da8dfce6c4804ce5d37
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2018-12-07 09:36:46 -05:00
Zuul c58b2b7100 Merge "Add heat-purge-deleted cron job" 2018-12-04 19:35:39 +00:00
David Sullivan 3d5dfd47dc Add heat-purge-deleted cron job
This change adds a cron job to purge deleted items from the heat
database every 24h.

Long running operations (for example autoscale stacks) can lead to heat
database growth over time. This will remove entries that have been soft
deleted from the heat database.

This change should be upstreamed.

Change-Id: I5f78e63ee4219525e82c5897e72d39e25aa166c4
Story: 2003909
Task: 27088
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
2018-12-04 11:44:59 -05:00
Zuul ab0ad16fcf Merge "Refactor patches for openstack-aodh package" 2018-12-04 06:57:49 +00:00
Zuul ee7dbdd93e Merge "unset horizon TIME_ZONE to use system value instead" 2018-12-04 06:23:06 +00:00
Zuul 148096f5f0 Merge "OCF scripts to manage Barbican processes as an HA resource." 2018-12-04 01:00:18 +00:00
zhipengl 4035508b77 Refactor patches for openstack-aodh package
Use openstack-aodh-config package to package service and script
files for openstack-aodh package.

Deployment test pass and service/script file check pass.

Story: 2003768
Task: 28044
Depends-on: https://review.openstack.org/#/c/620258/

Change-Id: I6cc7fd555fad2dc9278d15646fbd6811ba614d00
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-12-01 02:56:14 +00:00
Don Penney 3b11aaa52b Add ipmitool to stx-ceilometer docker image
This update adds ipmitool to the DIST_PACKAGES list to the
ceilometer docker image directives files. This triggers
installation of the package, and its dependencies, during
the build of the stx-ceilometer docker image.

Change-Id: I25d450e58d052bfd774fe6b0a9225404e0143b5c
Story: 2003907
Task: 28186
Signed-off-by: Don Penney <don.penney@windriver.com>
2018-11-30 21:35:23 +00:00
Paul-Emile Element 76a033521e unset horizon TIME_ZONE to use system value instead
The horizon configuration file has a value set for
TIME_ZONE (set to UTC). This value is not available for users to
modify and takes precedence over the system settings.
The result is that the horizon GUI will show times in UTC
regardless of the system settings

This commit simple unsets the value so that the GUI
uses the system values by default.

Closes-Bug: #1806051

Change-Id: If24daaa97109d1020ec7f4ebdafebb5cda395ccb
Signed-off-by: Paul-Emile Element <Paul-Emile.Element@windriver.com>
2018-11-30 14:14:47 -05:00
Don Penney d336cb2c02 Add directives to build StarlingX services on master
This update defines the docker image directives file to support
building the service images with openstack master branch.

Change-Id: I3203cdd1e82ffbe518d7cefa76ce28f66df1bae0
Story: 2003907
Task: 28178
Signed-off-by: Don Penney <don.penney@windriver.com>
2018-11-30 10:15:51 -06:00
Alex Kozyrev fa4855a7c3 OCF scripts to manage Barbican processes as an HA resource.
Create OCF scripts for controlling Barbican processes lifecycle.
There are three Barican proceses that needs to be managed:
barbican-api, barbican-keystone-listener and barbican-worker.

Change-Id: I2667d56a71b7d3881c03b6a5c1e5ed61d4f0b902
Story: 2003108
Task: 27700
Signed-off-by: Alex Kozyrev <alex.kozyrev@windriver.com>
2018-11-29 14:00:57 -05:00
Zuul b6416ec0c7 Merge "Removal of custom QoS HEAT templates." 2018-11-29 18:03:42 +00:00
Zuul 46c1244644 Merge "Remove support for nova-local lvm backend for compute hosts" 2018-11-28 21:20:42 +00:00
Patrick Bonnell 04f52c87b2 Removal of custom QoS HEAT templates.
This commit removes the HEAT templates involved with
the custom QoS extension.

Story: 2003948
Task: 26862

Change-Id: Ibec78b67fff5baa2d43d9e6ddb643b1e7ff5b2dd
Signed-off-by: Patrick Bonnell <patrick.bonnell@windriver.com>
2018-11-28 14:53:38 -05:00
Chris Friesen a7fed049fc Remove stale Apache2 service pids when a POD starts.
Stale Apache2 pids will prevent Apache2 from starting and will leave
the POD in a crashed state.

Note: the pid file is somewhat confusingly called
/var/run/httpd/httpd.pid and /var/run/apache2 is just a symlink to
/var/run/httpd.

This is loosely based off the in-review upstream commit at
https://review.openstack.org/#/c/619747

Change-Id: Ifec8b58e4789edb1f858ef1a9d720045d8768701
Story: 2003909
Task: 27632
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
2018-11-28 11:59:10 -05:00
Jim Gauld 3710ebe7ff Remove support for nova-local lvm backend for compute hosts
This story tracks the removal of the nova-local lvm backend for compute
hosts. The lvm backend is no longer required; nova-local storage will
continue to support settings of "image" or "remote" backends.

This story will remove custom code related to lvm nova-local storage:
- nova-clean-thinpool service and init script is removed

DocImpact
Story: 2004427
Task: 28085
Depends-On: https://review.openstack.org/620179

Change-Id: I28469730f959e000d39e46d13f4c68c2e967153b
Signed-off-by: Jim Gauld <james.gauld@windriver.com>
2018-11-27 15:03:18 -05:00
Zuul 3997f1e574 Merge "Add cron job to gnocchi helm chart" 2018-11-27 07:36:34 +00:00
Zuul 3e541fc784 Merge "Use k8s secret to store config in openstack telemetry charts" 2018-11-27 07:18:44 +00:00
Zuul 916c5b1df4 Merge "Remove StarlingX custom QoS extension" 2018-11-20 14:46:04 +00:00
Angie Wang cad414045c Add cron job to gnocchi helm chart
This commit is to add a cron job for gnocchi to periodically purge the
deleted openstack resources with its associated metrics.
Put all gnocchi chart updates in one patch.

Change-Id: Iab426887a7a997d72950674a7fc1a86a4bef480f
Story: 2003909
Task: 27083
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2018-11-19 16:43:44 -05:00
Angie Wang f2f7eb526d Use k8s secret to store config in openstack telemetry charts
Openstack-helm has been rebased to a current version of the upstream repo
which includes the feature that use secrets to store config information.
Aodh, panko and ceilometer charts should apply the same change in order to
deploy those services successfully.

Change-Id: I32424a01a0dc049989f67d14de94b645f8045e68
Story: 2004005
Task: 27947
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2018-11-19 16:24:24 -05:00
Robert Church b0f3b80efc Rebase openstack-helm and openstack-helm-infra
Rebase to a current version of the upstream repos. This will retire the
reverted commits that we needed to enable per host overrides as this was
fixed upstream.

Change-Id: Iacbdd666687b8bc12053f9d3dd833f9896a508cd
Depends-On: Iedb814ce0c72a59ab0ce5e72e4601082b61f82b0
Story: 2003909
Task: 27632
Signed-off-by: Robert Church <robert.church@windriver.com>
2018-11-16 10:17:02 -05:00
Zuul 431388ab74 Merge "Add helm charts for Aodh and Panko to openstack-helm" 2018-11-15 18:03:32 +00:00