410 Commits

Author SHA1 Message Date
Dan Voiculeasa
2918318417 Add .yamllint file
Debian packaging contains a control file called meta_data.yaml.
In that file the download path of the source packages is needed and
is usually long.

Change long line errors to warnings for yaml linter.
Define long line starting from 160 characters for yaml linter.

Story: 2009101
Task: 43223
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I05999d2ce9bd52e317f951ec76688538ef5d7c9b
2021-10-14 12:50:16 +03:00
Daniel Safta
504e2066b1 Added --preload when starting horizon
used --preload parameter when starting
horizon dashboard. This leads to
faster startup and lower memory
consumption.

It also fixes missing env variable
DJANGO_SETTINGS_MODULE in py3.

Story: 2008454
Task: 42856

Signed-off-by: Daniel Safta <daniel.safta@windriver.com>
Change-Id: I3c69311602eaaf9a78d101b5b0198e9582497100
(cherry picked from commit 8ef5cd2377a7f1872495e9771ced9bd4313023cd)
2021-08-04 10:56:25 -04:00
Andy Ning
a4046414b6 Enforce "cannot reuse the last 2 passwords" for ks users
Currently the "unique_last_password_count" attribute in keystone
configuration is set to "2", which enforces "cannot reuse the last
1 passwords" in history instead of "cannot reuse the last 2 passwords"
stated in security document.

This update changed "unique_last_password_count" attribute to "3" so
that keystone users password change rule complies with the document.

Closes-Bug: 1924772
Change-Id: I6a2de54336c7253022d49ecb118a315a7825c889
Signed-off-by: Andy Ning <andy.ning@windriver.com>
2021-04-26 16:43:03 -04:00
Daniel Pereira
341eb6980c Update cinder directives build file
Currently, cinder docker image doesn't contain nfs mount helpers
installed, so trying to mount a NFS volume on a cinder-backup
container fails.
In order to enable support for NFS backend on cinder-backup, we
need to install the nfs-utils package on cinder image, so that
cinder-backup is able to mount NFS volumes.

Task: 41796
Story: 2008613
Change-Id: Ib8e4675069292dc43f98ff55c25626a19ed37b12
Signed-off-by: Daniel Pereira <Daniel.Pereira@windriver.com>
vr/stx.5.0
2021-02-11 14:16:26 -03:00
Chen, Haochuan Z
d7573c28f9 WA to fix mysqlclient version conflict with Django
https://stackoverflow.com/questions/55657752/django-installing-mysqlclient-error-mysqlclient-1-3-13-or-newer-is-required
Fix with guide from stackoverflow. After openstack image
upgrade to ussuri, Django upgrade to 2.2, which request
mysqlclient newer than 1.3.13, conflict with version
0.9.3 in current image. Fix with WA in above link, and
currently we use pymysql not mysql.

Closes-Bug: 1908117

Change-Id: Ic7054c6736993394d92bb0aec25397fd22f84d31
Signed-off-by: Chen, Haochuan Z <haochuan.z.chen@intel.com>
2021-01-08 13:13:35 +08:00
Don Penney
4a545ec584 Add auto-version for remaining stx/upstream packages
Update remaining StarlingX packages with hardcoded TIS_PATCH_VER to
use PKG_GITREVCOUNT where possible, with offsets as needed to ensure
the version is incremented above the hardcoded version.

Story: 2008455
Task: 41458
Signed-off-by: Don Penney <don.penney@windriver.com>
Change-Id: Iaf71fdb3f9c79573ef64f6c82b1a2120d224d959
2020-12-17 13:21:18 -05:00
Zhipeng Liu
e96d8b7177 Fix gnocchi-api could not start up issue
After using python3 to build image, need change related
profile and customization like we did for other service
in directives file.

Test pass for openstack apply with 4 additional services enabled

Partial-Bug: 1886819

Change-Id: Ifdfce220b43166345888b1384f62c4ab8f46ba27
Signed-off-by: Zhipeng Liu <zhipengs.liu@intel.com>
2020-07-15 01:41:54 +00:00
yuchengde
b8b897a028 Upgrade openstack docker images for stable/ussuri
Update the directive files to be compatible with ussuri version build.
Since openstack ussuri images are based on python3 environment, we have
to install rh-python36-wsgi for httpd/apache and copy related files
into /etc/httpd/. Without this CUSTOMIZATION, apache could not work.

Story: 2007474
Task: 39179

Depends-on: https://review.opendev.org/#/c/731461/
Change-Id: I415ea75eb24d8b1c3151b63efd2e82075e68f26e
Signed-off-by: Yu Chengde <yu.chengde@99cloud.com>
v4.0.0.rc0
2020-06-19 00:09:10 +08:00
Andreas Jaeger
6d317a4e68 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I4a29839379aaf82893f3f34af17f6134091e7064
2020-06-04 14:42:03 +02:00
Zuul
f838c8386b Merge "Set service's self url based on settings for Horizon" 2020-05-07 16:30:07 +00:00
Scott Little
8e1bc6dc34 Fix missing build dependency in python-neutronclient
Closes-Bug: 1876229
Change-Id: I61cb4f37888d4a0f1122ff5d6e15a2de3544dc1f
Signed-off-by: Scott Little <scott.little@windriver.com>
2020-04-30 23:37:05 -04:00
Andy Ning
3b04384192 Set service's self url based on settings for Horizon
The intention of the original patch is to remove Horizon's reference to
internal endpoint so that the default endpoint type specified in settings
(OPENSTACK_ENDPOINT_TYPE) can take effect uniformly across all services.
But the patched function base.get_url_for_service() take 3 mandatory
parameters. So removing the third param causes Horizon traceback when
accessing API Access page.

This commit updated the patch so that services's self url is set to
the value of OPENSTACK_ENDPOINT_TYPE in settings (or default to
"internalURL" if OPENSTACK_ENDPOINT_TYPE is not set).

Change-Id: I19604d702f5f2de80dc4d0f426154fb5a0b9ad78
Closes-Bug: 1874902
Signed-off-by: Andy Ning <andy.ning@windriver.com>
2020-04-30 12:46:11 -04:00
Zuul
162a0a4190 Merge "remove useless clients" 2020-04-28 16:00:49 +00:00
Zuul
b625a7808d Merge "[PATCH 14/16] stx-upstream: upgrade pankoclient for Train" 2020-04-28 15:58:40 +00:00
Zuul
c77c2cc73d Merge "[PATCH 13/16] stx-upstream: upgrade novaclient for Train" 2020-04-28 15:58:33 +00:00
Zuul
33e8319d63 Merge "[PATCH 09/16] stx-upstream: upgrade ironicclient for Train" 2020-04-28 15:58:29 +00:00
Zuul
f30e835017 Merge "[PATCH 08/16] stx-upstream: upgrade heatclient for Train" 2020-04-28 15:47:20 +00:00
Zuul
e34e781662 Merge "[PATCH 07/16] stx-upstream: upgrade glanceclient for Train" 2020-04-28 15:47:02 +00:00
Zuul
0158af2576 Merge "[PATCH 06/16] stx-upstream: upgrade cinderclient for Train" 2020-04-28 15:46:58 +00:00
Zuul
18b2eee433 Merge "[PATCH 05/16] stx-upstream: upgrade barbicanclient for Train" 2020-04-28 15:46:41 +00:00
Zuul
d66d6835ce Merge "[PATCH 04/16] stx-upstream: upgrade aodhclient for Train" 2020-04-28 15:44:30 +00:00
Zuul
32af9c822b Merge "[PATCH 03/16] stx-upstream: upgrade keystoneclient for Train" 2020-04-28 15:44:26 +00:00
Zuul
f86f84be84 Merge "[PATCH 02/16] stx-upstream: upgrade python-keystone for Train" 2020-04-28 15:44:22 +00:00
Zuul
3a07a78725 Merge "[PATCH 01/16] stx-upstream: upgrade keystoneauth1 to Train." 2020-04-28 15:44:19 +00:00
Zuul
b8dcaa579d Merge "[PATCH 15/16] stx-upstream: upgrade openstacksdk for Train" 2020-04-28 15:43:09 +00:00
Zuul
b084a236f7 Merge "[PATCH 16/16] stx-upstream: upgrade openstackclient for Train" 2020-04-28 15:43:05 +00:00
Zuul
7b070c9e88 Merge "[PATCH 12/16] stx-upstream: upgrade neutronclient for Train" 2020-04-28 15:39:48 +00:00
Chen, Yan
602aa48d82 [PATCH 12/16] stx-upstream: upgrade neutronclient for Train
Current Version: 6.14.0

Story#2007589 is created to track the task to clean up the dependency
of neutronclient, so that we can remove it safely.
The cleanup task may impact:
 - sysinv
 - stx-gui
 - document for provisioning StarlingX

Story: 2007502
Task: 39261

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: Ib93605829ccc48f08157a9d37b0d1658bb7d0d78
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-24 14:47:51 +00:00
chron.xie
3a324b66e1 update upstream project for horizon train upgrade.
This change is based on openstack stable/train.

Story: 2007502
Task: 39268

Depends-on: https://review.opendev.org/#/c/716954/1
Change-Id: Ifd5adbcbd7ccd124c27b859619f21b3a7cd55de7
Signed-off-by: Xie Quqiang <chron.xie@jitstack.com>
2020-04-22 10:37:01 +08:00
Tee Ngo
d5f2693324 Remove hardcoded endpoint type for keystone
In this commit, Horizon in upstream repo is patched to
remove the hardcoded endpoint type for keystone so that
the default endpoint type specified in settings
(OPENSTACK_ENDPOINT_TYPE) can take effect uniformly across
all services. This change is also required in order to
support intercloud communications securely and uniformly
over mgmt interface via amdin endpoint type.

Story: 2007347
Task: 39464
Change-Id: I56c1aa36ca55360c23f81d4e2b8d15a325617f50
Signed-off-by: Tee Ngo <tee.ngo@windriver.com>
2020-04-17 19:32:16 -04:00
Chen, Yan
9f4d09ed3e remove useless clients
Remove following clients that are not used by StarlingX anymore:
 - python-magnumclient
 - python-muranoclient

Story: 2007502
Task: 39259
Task: 39260

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: I5cb4a2c82af7d3eb9bf9bf19c0d9c36164c7009b
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-03 08:19:18 +00:00
Chen, Yan
5edfb766ae [PATCH 16/16] stx-upstream: upgrade openstackclient for Train
Current Version: 4.0.0

Story: 2007502
Task: 39265

Depends-on: https://review.opendev.org/#/c/716842
Depends-on: https://review.opendev.org/#/c/716818
Change-Id: Ib163a31cd0493365976441b496d97801d1a96690
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-03 08:14:54 +00:00
Chen, Yan
a61031b9fc [PATCH 15/16] stx-upstream: upgrade openstacksdk for Train
Current Version: 0.36.0

Story: 2007502
Task: 39264

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: I345eba938fac1689c6c9691fabe33be79bab6c61
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-03 08:13:04 +00:00
Chen, Yan
659fc49b18 [PATCH 14/16] stx-upstream: upgrade pankoclient for Train
Current Version: 0.7.0

Story: 2007502
Task: 39263

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: I3ff3547bfd849c976bf883165d1e0e430c3cb2ba
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-03 08:00:02 +00:00
Chen, Yan
b9629dd3db [PATCH 13/16] stx-upstream: upgrade novaclient for Train
Current Version: 15.1.0

Story: 2007502
Task: 39262

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: I27e392533ce4e57a454ab424cca235cda4e3ca07
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-03 07:32:32 +00:00
Chen, Yan
62eb9b62af [PATCH 09/16] stx-upstream: upgrade ironicclient for Train
Current Version: 3.1.0

Story: 2007502
Task: 39258

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: I0c3f2cc487f5cdb8005d75d300bbaeedc9ff6e09
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-02 06:17:31 +00:00
Chen, Yan
c258e4d297 [PATCH 08/16] stx-upstream: upgrade heatclient for Train
Current Version: 1.18.0

Story: 2007502
Task: 39257

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: I2ee9058cb52295e61f478993ee16bf54a9a5547b
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-02 06:17:23 +00:00
Chen, Yan
3ec195b814 [PATCH 07/16] stx-upstream: upgrade glanceclient for Train
Current Version: 2.17.0

Story: 2007502
Task: 39256

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: I1012668d2683a30a948304e2c434bbd5771dfe86
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-02 06:17:07 +00:00
Chen, Yan
84d334b0b7 [PATCH 06/16] stx-upstream: upgrade cinderclient for Train
Current Version: 5.0.0

Story: 2007502
Task: 39255

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: Ic457de5e58c1ad72becb2fcbbf6632a5c757ca8c
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-02 06:16:57 +00:00
Chen, Yan
17961a3951 [PATCH 05/16] stx-upstream: upgrade barbicanclient for Train
Current version: 4.9.0

Story: 2007502
Task: 39254

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: Ic8d09fb283383244c1d340e6d571e5465cf97c96
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-02 06:16:44 +00:00
Chen, Yan
675c8fcff5 [PATCH 04/16] stx-upstream: upgrade aodhclient for Train
Current version: 1.3.0

Story: 2007502
Task: 39253

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: I0dfc4b779b90db2e0ad20f0745c87f00cedcd904
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-02 06:16:36 +00:00
Chen, Yan
3d3a2c80de [PATCH 03/16] stx-upstream: upgrade keystoneclient for Train
python-keystoneclient version: 3.21

Story: 2007502
Task: 39252

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: I46522cd4dd279c0e73925e9f9e4b90e65aa8d86c
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-02 06:10:14 +00:00
Chen, Yan
b38e8f2ba0 [PATCH 02/16] stx-upstream: upgrade python-keystone for Train
python-keystone version: 16.0.0

Story: 2007502
Task: 39251

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: I547db8fe8a97ab07d198ed8ec7fdf325d7eeb805
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-02 06:09:30 +00:00
Chen, Yan
aa53432df7 [PATCH 01/16] stx-upstream: upgrade keystoneauth1 to Train.
Current Version: 3.17.1

Story: 2007502
Task: 39250

Depends-on: https://review.opendev.org/#/c/716818
Change-Id: I5662d17b1c030790b86ed9c4a8a947fcf50c6617
Signed-off-by: Chen, Yan <yan.chen@intel.com>
2020-04-02 06:08:59 +00:00
Teresa Ho
abc5b27912 Add oidc-auth and its dependencies
Add oidc-auth to the platform clients docker image.
The oidc-auth CLI requires the libraries python-mechanize,
python-html5lib and python-webencodings.

Story: 2006711
Task: 38919
Depends-On: https://review.opendev.org/#/c/710991/

Change-Id: I2cae680a3d78ffa379879a590d153266537c0a81
Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
2020-03-03 07:40:01 -05:00
Tao Liu
bda7fbe54d Fix keystone-fernet-keys-rotate-active script
The keystone-fernet-keys-rotate-active script greps for Platform
CPU threshold exceeded alarm from the sysinv DB, while the alarm
tables had been moved to the FM DB. The script would attempts to
run the keystone key rotate command on an idle core, if the Platform
CPU threshold exceeded alarm was active on a standard AIO system

This update modifies keystone-fernet-keys-rotate-active script to
grep for alarms from the FM DB.

Change-Id: Ic43ba21acfe57f11bd60ad3c91b2588ebe8d4f7e
Closes-Bug: 1862825
Signed-off-by: Tao Liu <tao.liu@windriver.com>
2020-02-13 11:04:58 -05:00
Bin Qian
e060017fb6 Adding job to upload commits to GitHub
Add job to publish upstream repo to GitHub

Change-Id: I2b6b7630396f841d321dcda4f09b24af8a2090cb
Story: 2007252
Task: 38704
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2020-02-07 09:27:22 -05:00
Zuul
e1960b52b2 Merge "Update landing pages for docs and release notes:" 2020-02-04 20:15:42 +00:00
Zuul
160f415d29 Merge "Update Keyring password info before sending out notification" 2020-02-04 16:18:28 +00:00
Kristal Dale
333380daef Update landing pages for docs and release notes:
- Use updated project name in titles/text
- Correct text for link to Storyboard (docs)
- Correct capitalization in section headings
- Correct formatting for section headings
- Update project name in link to release notes, api-ref
- Update project name in config for docs/releasenotes/api-ref

Story:2007193
Task:38347

Change-Id: I52a53260042e6924673230486476c394001683ca
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2020-01-21 16:41:11 -08:00