Commit Graph

8 Commits

Author SHA1 Message Date
Kristine Bujold 3102f5cfc5 Remove wrs-guest-heartbeat SDK Module
With the StarlingX move to supporting pure upstream OpenStack, the
majority of the SDK Modules are related to functionality no longer
supported. The remaining SDK Modules will be moved to StarlingX
documentation.

Story: 2005275
Task: 30545
Depends-On: https://review.openstack.org/#/c/653521

Change-Id: I842596dab79bff79313671e3e0b7aa7e4a93c493
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-04-17 16:34:14 -04:00
Erich Cordoba 2cea13a650 Standardize makefile for guest-client
Changes done:
 - The install instructions were moved into the makefile.
 - Unused install instructions were removed.
 - Cleanup in the spec file.

Change-Id: I9167f039c87360917de2d620fad718ab4e4cbaff
Story: 2004043
Task: 27555
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2019-02-15 15:56:49 -06:00
Luis Botello be468f45a7 Improve security by avoiding buffer overflows
This patch adds compiler flags to improve the security of STX code.
Flags added:
Format string vulnerabilities:           CFLAGS="-Wformat -Wformat-security"
Compiler will treat string format warnings as errors,
so at compiling level, buffer overflow is avoided.

Story: 2004380
Task: 28808

Signed-off-by: Luis Botello  <luis.botello.ortega@intel.com>
Reviewed-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
             Victor Rodriguez <vm.rod25@gmail.com>
Suggested-by: Victor Rodriguez <vm.rod25@gmail.com>
              Erich Cordoba <erich.cordoba.malibran@intel.com>

Change-Id: I7e844718e14b35893f9eeb725e32d9d7477f0d57
2019-01-09 05:46:04 -06:00
Tao Liu 397e40a89f 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: I7b2de5c7202f2e86b55f5343c8d79d50e3a072a2
Signed-off-by: Tao Liu <tao.liu@windriver.com>
2018-12-14 14:15:16 -05:00
Scott Little 2b6413891c Rename mwa-* subdirectories to match the git repo name
mwa-delphia -> stx-clients
mwa-pitta   -> stx-config
mwa-cleo    -> stx-fault
mwa-gplv2   -> stx-gplv2
mwa-gplv3   -> stx-gplv3
mwa-solon   -> stx-ha
mwa-sparta  -> stx-integ
mwa-beas    -> stx-metal
mwa-thales  -> stx-nfv
mwa-chilon  -> stx-update
mwa-perian  -> stx-upstream

Depends-On: https://review.openstack.org/579954
Depends-On: https://review.openstack.org/579957
Change-Id: I974a4882142a8a72aa0d7c626ea62f8874f56f19
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-07-03 16:19:19 -04:00
Jack Ding 7a2aa8aaa2 vm_voting on migration action are sometimes not getting rejected
Due to race conditions, multiple messages might be received from a
single read by guestServer. guestServer in this case would only
handle the first message and discard the remaining ones.

In this particular issue, guestServer received a heartbeat challenge
response message and a vote notification response (reject) message
from a single read, and the latter message was discarded.

This fix re-writes message handler for virtio serial channel to
handle segmented and multiple messages, and removed any newline
characters in client log message.

It contains fix for both host and client, so both host load and
guest image need to be updated to test the fix.

Change-Id: I50ed2236ad24b61a79dce7773ace5b4b6ee33f28
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2018-06-19 10:08:07 -05:00
Jack Ding 5d65b0a6a7 Turn on Guest-Client logs on centos guest image
Currently Guest-Client logs are written to syslog's daemon facility
with 'debug' level, however syslog conf in tis-centos-guest.img only
has 'info' level turned on for daemon facility.

Change the debug level to 'info' so that Guest-Client logs can be
written to /var/log/messages. This will help debugging future guest
heartbeat issues.

Also fix typo in guest_heartbeat_enabled_state_health_check() trace.

Change-Id: Iab72cce9be2986c6cafb79fa66aed6edfb36f32d
2018-06-18 11:43:57 -05:00
Dean Troyer 85cd488bef StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-05-31 07:36:51 -07:00