Commit Graph

254 Commits

Author SHA1 Message Date
OpenDev Sysadmins 3a08ce076b 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:43 +00:00
slin14 be08cc67d2 add back rdma package
story: 2003389
Task: 24556

It is removed when upgrade rpm package to CentOS 7.5 version.
Add it back to keep it the same as before.
For rdma-core package, it could be generated by src rpm, so no need to have rpm package here.

Change-Id: Ia6cced5362e9a844ecaa92e40c8f913f2206c337
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-20 06:53:34 +08:00
Zuul 88b32e68d4 Merge "Clean rpm from repo list which could be generated by src rpm" into f/centos75 2018-09-17 01:36:54 +00:00
Dean Troyer 7c7d4ea234 Merge remote-tracking branch 'origin/master' into f/centos75
Change-Id: I745674f1f8156b5863dbd871e0353ad2da2861d8
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-09-14 11:23:06 -05:00
Zuul 8fd9efcc33 Merge "Add docs, releasenotes jobs" 2018-09-13 20:01:56 +00:00
Zuul e4173d0663 Merge "upgrade kernel src rpm to CentOS7.5 3.10.0-862.11.6 version" into f/centos75 2018-09-13 06:51:27 +00:00
Sun Austin c821429b3a Revert binutils back to 2.25 version for CentOS7.5 to
solve "Error: no symbol table" issue

This commit fixes:

The system show "“Error: no symbol table.
Press any key to continue…” when booting

Closes-Bug: 1792257

Change-Id: I49d78bc6b5c23da914a2095737959cf05dccc6c0
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-09-13 14:24:33 +08:00
slin14 9c016c3e49 Clean rpm from repo list which could be generated by src rpm
Story: 2003435
Task: 24631

below rpm is still kept due to build environment need it:
bash, python, systemd, rpm, centos-release, kernel-header,
openssh, openldap, libuuid, libmount, libblbkid, audit, pam,
shadow-utils, setup, nfs-utils, net-tools

Change-Id: I7439842feb9419492dd6a3adde79c5afe646f63d
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-12 22:30:40 +08:00
Zuul d4e1bec3f1 Merge "deployment: libvirt: make use of rm command safer" 2018-09-11 18:11:15 +00:00
Zuul e7f1f67fd5 Merge "deployment: libvirt: refer to Starlingx wiki" 2018-09-11 16:15:23 +00:00
Zuul dd9909b411 Merge "deployment: libvirt: correct internal/external net" 2018-09-11 16:15:23 +00:00
Michel Thebeau 0a924bc76a deployment: libvirt: make use of rm command safer
Add sanity around the use of 'rm' in script.  Make sure the file to be
deleted is the correct type, and that its content also meets
expectation.

An example of dangerous outcome in this code from using "sudo rm -rf" is
that if the CONTROLLER or COMPUTE variables are preceded by a space
character then the directory /var/lib/libvirt/images/ will be deleted.

Refrain from using recursive and force options, and in this case because
they are not needed.

Related-Bug: #1790716

Change-Id: I76797133589d993dca2b2aac3c97184bac0457ca
Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
2018-09-11 11:49:50 -04:00
slin14 1b1ba24895 upgrade kernel src rpm to CentOS7.5 3.10.0-862.11.6 version
Story: 2003596
Task: 24917

kernel version is upgraded from 862.6.3 to 862.11.6

Change-Id: If2efecc9510617cae5645ca07732620a40b2ebed
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-11 22:51:19 +08:00
Zuul 2185e8c776 Merge "upgrade lighttpd download lst to CentOS 7.5 version" into f/centos75 2018-09-11 01:00:18 +00:00
Zuul 6e2066e3b6 Merge "upgrade openstack-aodh to CentOS 7.5 version" into f/centos75 2018-09-11 00:45:45 +00:00
Zuul ba580e19b3 Merge "Fix anaconda build dependency failure issue" into f/centos75 2018-09-11 00:44:51 +00:00
Michel Thebeau ce4806ed64 deployment: libvirt: refer to Starlingx wiki
In the event that someone clones the stx-tools repo without
fore-knowledge of the wiki, this is handy.  The author prepares this
commit from the experience doing just that.

Related-Bug: #1790716

Change-Id: If3d1e250e1c2c246ac894117fc649d6f145f22f1
Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
2018-09-10 10:33:06 -04:00
Michel Thebeau 503a9417de deployment: libvirt: correct internal/external net
The INTERNAL and EXTERNAL networks configured by destroy and setup
network scripts are inverted with reference to the default
config_controller selections as well as the wiki
StarlingX/Installation_Guide_Virtual_Environment/Controller_Storage.

The most pressing concern in this is that what was actually the internal
management network was being nat'd.

Also, under normal testing it is not recommended to address the internal
management network from the virtualization host.  There are unlikely to be
configurations that will have external devices addressing the management
network.

Delete what was "EXTERNAL", actually internal, and rename "INTERNAL" to
be EXTERNAL.

Related-Bug: #1790716

Change-Id: I08f9e7712fed120001c864903880e13e9478764d
Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
2018-09-10 10:30:28 -04:00
Michel Thebeau 7abcd94a7b deployment: libvirt: update machine type and model
Tests should run on a comparably newer model of CPU and should be fixed
for all tests under virtualization.

Nehalem cpu model is recommended as one that has been used for this
purpose for a few years.

Specifying 'forbid' for fallback and 'exact' for mode will ensure that
hosts the Qemu emulator is up-to-date on the host, capable of emulating
the expect model.  The consistency will make test results reliable
across host machines.

The newer machine type supports ACPI for example.

The feature "vmx" is required on computes to support nesting.

Related-Bug: #1790716

Change-Id: Ib338501b4805532a9d1ebaf55735f9084bfa8e96
Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
2018-09-10 10:27:37 -04:00
Michel Thebeau 10daff0c34 deployment: libvirt: remove pci, bus, controllers
Some of the entries are invalid when changing the machine type, which is the
next commit to follow this one.

Libvirt will fill these things in correctly for the specified hardware.

Related-Bug: #1790716

Change-Id: I674657cca117563de0c0ff04231224198623d3dd
Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
2018-09-10 10:26:58 -04:00
zhipengl 4a1e46ac2d upgrade lighttpd download lst to CentOS 7.5 version
Story: 2003389
Task: 24482

Change-Id: I5e2a84d3acf6a40fcb6ab5b8e8337feb899b52e1
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-09-10 22:26:43 +08:00
Michel Thebeau e56cbd7890 deployment: libvirt: remove macs from xml
The xml template is used to define both controllers, and so the two will
have the same macs.

Libvirt will fill in the omitted mac addresses.

Related-Bug: #1790716

Change-Id: Ib9544b5b8cbc2e5cf8ea941129ee9720cba3df97
Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
2018-09-10 10:24:44 -04:00
Zuul 8ff2f0e8ba Merge "Add memcached binaries" 2018-09-10 14:01:08 +00:00
Zuul cf86f40440 Merge "replace novnc with rpm package" 2018-09-10 06:59:46 +00:00
slin14 3637aa6f78 replace novnc with rpm package
Story: 2003340
Task: 24378

No patch is needed for this package, so replace it with rpm package

Change-Id: I21eecb9fb898cf0c7484eb03376fc4703c81204e
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-11 00:49:18 +08:00
Jack Ding c7a0f51139 Add memcached binaries
Customization to memcached package is removed so no need to download
source rpm anymore. Download the binary rpm instead.

Story: 2002826
Task: 26346

Change-Id: I3acd809c81556350461f4e017f91b00a3bb97473
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-09-07 17:10:16 -04:00
zhipengl ab5070e9a5 CentOS 7.5 upgrade for puppet-haproxy package.
This reverts commit 9d5971d602.
We have found root cause for config_controller failing at step 6 and fix it.

Story: 2003389
Task: 24504

Change-Id: I7fdc1b81a96ac1c26fd8aa2a4754c021499cd3a9
2018-09-07 22:22:06 +08:00
slin14 9e9af25015 Fix anaconda build dependency failure issue
Story: 2003389
Task: 26334

Add the required dependency package

Change-Id: Ib6f77a104dac3bcccaf6992280b723d0938db64e
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-07 21:55:32 +08:00
slin14 bd369b52a9 upgrade openstack-aodh to CentOS 7.5 version
Story: 2003389
Task: 24484

Change-Id: Ibb1677378c47cd2c186853a9514e8b50e8fc79ea
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-07 18:21:21 +08:00
Zuul 66c7135d02 Merge "Fix typo error for word archlist" 2018-09-07 06:13:18 +00:00
slin14 b8a52f5c58 Fix typo error for word archlist
Story: 2003687
Task: 26211

Change-Id: Ia3712da38a0a47ce23a45d3f494e3f146801baf3
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-07 06:04:31 +08:00
Jason McKenna d56955c5f1 Check for releasever in yum.conf before grepping
The dl_rpms.sh script may be passed an optional yum.conf file.  If
this file is used, then the releasever variable is read from the
rather than use the default releasever=7.  If the releasever is
not defined in the file, the grep which searches for the variable
will fail, and the dl_rpms.sh script exits with an error.

This change checks for the presence of releasever before attempting
to read it from the file.  Change made to dl_rpms.sh and
mirror-check.sh

Tested using yum.conf files both with and without releasever
present.

Change-Id: Ie13241e5662188d75b5d147537915c0a35ea7397
Closes-Bug: 1791113
Signed-off-by: Jason McKenna <jason.mckenna@windriver.com>
2018-09-06 11:18:28 -04:00
slin14 92fb291fa7 upgrade rpms from repo to CentOS7.5 version
Story: 2003389
Task: 24556

Some rpms are not upgraded for different reason:
1. libguestfs/python-libguestfs is not upgraded due to 7.5 version needs libvirt-daemon-kvm >= 3.9.0-1
2. puppet modules rpm is not upgraded due to openstack puppet has dependency check.
3. packages has higher version than CentOS7.5 is not changed.

Change-Id: I9e9dee9a51cdbed9d486dd802725b0956bfe4a3f
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-06 17:18:20 +03:00
Dean Troyer 88ba4d5f22 Add docs, releasenotes jobs
Also:
* Use build-openstack-docs-pti job template for docs
* Use build-openstack-releasenotes job for release notes
  (We can't use the OpenStack releasenotes template as it includes
  publish jobs, stx needs its own)
* Add newnote tox environment as convenience for creating new release
  notes, re-using the releasenotes venv.
* Create a release summary note.
* Remove the unused 'true' tox environment.
* Fix doc/build in .gitignore

Change-Id: Ibe9d298bcc76f023c0500038db55d8384f5ff731
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-09-05 19:08:28 -05:00
Zuul f5048fd3c7 Merge "read releasever from yum.conf iff -c yum.conf is set" 2018-09-05 18:29:09 +00:00
Dean Troyer 774ca8b6d0 Support feature branches in branch-stx.sh
This changes branch-stx.sh to not assume that a manifest file will
be used to create the list of repos to process, and allow direct
repo URLs on the command line.

Change-Id: Ie2bbfa314b33d2b2b810ee479b4a0158e9d819bf
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-09-04 09:06:18 -05:00
Dean Troyer 1f0d50e3cc Merge remote-tracking branch 'origin/master' into f/centos75-merge
Change-Id: I413bca255dc6513f2c8e412f4e789e96f7d8badf
2018-09-02 15:52:41 -05:00
Saul Wold f7bf479a58 read releasever from yum.conf iff -c yum.conf is set
This solves a problem when the default releasever is not set for
distros that dont have a YUM as a standard tool.

Read from the yum.conf if set on the command line since that is mostly
likely going to be when we need to know this, in the default case (no -c
yum.conf) it will get the correct value from the system.

Change-Id: I21b0e8f881d054d8cdf6cdd831836a7f3e3020b2
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2018-08-31 14:11:48 -07:00
Zuul 29ac41fded Merge "[Doc] Release Notes Management" 2018-08-31 18:11:15 +00:00
Zuul cb56e5080b Merge "[Doc] Building docs following Docs Contrib Guide" 2018-08-31 18:11:12 +00:00
Zuul 0e9ed73d3b Merge "Revert "CentOS 7.5 upgrade for puppet-haproxy package."" into f/centos75 2018-08-31 08:19:04 +00:00
chenyan 9d5971d602 Revert "CentOS 7.5 upgrade for puppet-haproxy package."
This updated package will cause config_controller failed at step 6.

This reverts commit 454b9d6d75.

Change-Id: I71dcecd63527223589123eb6dcfa151755a3bd60
2018-08-31 15:43:36 +08:00
Zuul 0f0cb0eb2a Merge "CentOS 7.5 upgrade for puppet-ceph package." into f/centos75 2018-08-31 06:51:01 +00:00
Zuul bd39de7fb9 Merge "Reduce number of log files in dl_rpms.sh and keep all logs in logs dir" 2018-08-30 16:37:25 +00:00
Marcela Rosales cceb3ee9d0 Reduce number of log files in dl_rpms.sh and keep all logs in logs dir
Eight log files per RPM list is complicated for error detection and
managing. This commmit is changing that to three logs.
One for general information about errors, other for missing RPMs and
another for missing SRPMs. These could be used by download_mirror.sh
script to look for packages with K1.

All logs are now kept in logs directory.

And now the download_mirror.sh has a function for generating logs'
names.

Change-Id: I901657bc56209d54a3fe5be492d76716249f2755
Signed-off-by: Marcela Rosales <marcela.a.rosales.jimenez@intel.com>
2018-08-30 11:20:16 -05:00
Dean Troyer bd4b59dde2 Clean up the libvirt install bits
* Split the network setup/teardown bits into their own scripts
  so you can shoot yourself in the foot with intention
  rather then unexpectedly.
* Cowardly refuse to configure a network if the first interface name exists
* Change the default bridge name to stxbr
* Make the network variables all configurable via the environment
* Don't make assumptions about where ISOIMAGE is located
* Include a basic doc that outlines the differences from existing
  installation steps. (Needs more!)

Change-Id: Ic46c03a09da97765b9f6bfe07e089efa38738993
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-08-30 10:40:57 -05:00
Abraham Arce 2f10f6f34d Add virtual environemnt deployment scripts
This adds two sets of deployments scripts to aid in setting up virtual
environments for testing StarligX, for libvirt/qemu and VirtualBox.

This is the first exposure of an internal project and is not fully
error-proofed, it should be examined carefully to understand what
the scripts will do to your system before running them.

The first set of fixes for this to make it less instrusive and work
in a shared server follow in https://review.openstack.org/#/c/597643.

There are also a couple of bashate errors fixed since that is now a voting job...

[NOTE(dtroyer): I converted the original commit message into a README
because that's information that needs to be with the scripts.]

Needed-by: https://review.openstack.org/#/c/597643
Change-Id: I0a6a148720b7a239380fd48f7ffdab272472e664
Co-authored-by: Lianhao Lu <lianhao.lu@intel.com>
Co-authored-by: Brian Avery <brian.avery@intel.com>
Co-authored-by: Nakul Dahiwade <nakul.dahiwade@intel.com>
Co-authored-by: Yan Chen <yan.chen@intel.com>
Co-authored-by: Ruijing Guo<ruijing.guo@intel.com>
Co-authored-by: Shuicheng Lin <shuicheng.lin@intel.com>
Co-authored-by: Felipe de Jesus Ruiz Garcia <felipe.de.jesus.ruiz.garcia@intel.com>
Co-authored-by: Jose Perez Carranza <jose.perez.carranza@intel.com>
Co-authored-by: Eddie Ramirez <eddie.ramirez@intel.com>
Co-authored-by: Kailun Qin <kailun.qin@intel.com>
Co-authored-by: Forrest Zhao <forrest.zhao@intel.com>
Co-authored-by: Kailun Qin <kailun.qin@intel.com>
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-08-30 10:16:53 -05:00
Zuul 76a7c1ce26 Merge "CentOS 7.5 upgrade for puppet-haproxy package." into f/centos75 2018-08-29 17:44:54 +00:00
Zuul 58345c5cb7 Merge "Add required packages for kuberentes api upversion" 2018-08-29 15:46:27 +00:00
chenyan 454b9d6d75 CentOS 7.5 upgrade for puppet-haproxy package.
Story: 2003389
Task: 24504

Change-Id: I5c8ff5276792737f65ce6d9f3c1e61d7c5906d62
Signed-off-by: chenyan <yan.chen@intel.com>
2018-08-29 09:57:30 +08:00