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>
* Build and install guest_scale_helper. It is called by nova. So
we don't implement start_xx and stop_xx functions in the plugin.
* Fix two minor issues in guest-comm and guest-agent Makefiles.
* Remove "make host_clean" in host-agent installation function.
* Add EXTRALDFLAGS to linker in guest-agent and mtce-guest Makefiles.
Story: 2003163
Task: 29237
Depends-On: https://review.openstack.org/639253
Change-Id: I4ab0b6d6e5c4920572ebadbb48778470ee020281
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
Reasons:
* readdir_r has been deprecated from glibc 2.24. Detailed reasons
can be found at below link.
http://man7.org/linux/man-pages/man3/readdir_r.3.html
* StarlingX devstack has switched to Ubuntu Bionic. By default,
gcc version is 7.3.0, glibc version is 2.27. Using readdir_r in
mtce-guest will cause compiling failure.
Passed tests:
* Fresh building
* Deployment test
* Function-level unit tests. Modfied guestUtil_load_channels and
guestUtil_channel_search have same output as previous ones.
* System-level verification. guestServer&guestAgent can start
successfully. By checking the log of guestServer, it has the same
content as before.
Story: 2003163
Task: 29689
Change-Id: Ib77decf495f093651ac93ef1e0ce2be3807ce91b
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
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>
code with strcpy is not proposed, replace with strncpy
Test:
deploy simplex system, create qcow2 file with guest-client and json-c
build and install. Use created qcow2 to create image named test, and
create flavor named test_flavor with add guest:heartbeat property in
metadata. Create instance with created image and flavor. Lanched the
instance, launch guestClient process with command such command
'# guestClient --device /dev/virtio-port/cgcs.heart'
Check guestAgent in host file /var/log/guestAgent.log, confirm
heartbeat enabled as "controller-0 c7ee5d00-e782-4d0a-8292-7724b3afc4e9
enabled heartbeating status change to 'enabled'"
Closes-Bug: 1794908
Change-Id: Ieb774882802127cfffef1291cf1bcc7a4d6f8055
Signed-off-by: Martin Chen <haochuan.z.chen@intel.com>
Maintenance was recently modified to support
- receiving Ready Events and Command Responses and
- sending Ready Events, Commands and Inventory
from/to surrogate daemons over its floating IP rather
than the LO interface in support of surrogate daemons
that run on the inactive controller or any hosts in
the system for that matter.
Unfortunately the guestAgent was not modified to send
its Ready Event or Receive commands and inventory in
the same way.
This update fixes that by binding its Inventory/Command
receiver and Ready event transmitter to the active
controllers floating IP.
With that change the guestAgent once again gets its
Inventory/Commands on its process startup as well as
on the restart of the mtcAgent.
Change-Id: I0b07596501f45d28ca0d6c82293d0b904a5e39fb
Closes-Bug: 1804579
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
This decouples the build and packaging of guest-server, guest-agent from
mtce, by splitting guest component into stx-nfv repo.
This leaves existing C++ code, scripts, and resource files untouched,
so there is no functional change. Code refactoring is beyond the scope
of this update.
Makefiles were modified to include devel headers directories
/usr/include/mtce-common and /usr/include/mtce-daemon.
This ensures there is no contamination with other system headers.
The cgts-mtce-common package is renamed and split into:
- repo stx-metal: mtce-common, mtce-common-dev
- repo stx-metal: mtce
- repo stx-nfv: mtce-guest
- repo stx-ha: updates package dependencies to mtce-pmon for
service-mgmt, sm, and sm-api
mtce-common:
- contains common and daemon shared source utility code
mtce-common-dev:
- based on mtce-common, contains devel package required to build
mtce-guest and mtce
- contains common library archives and headers
mtce:
- contains components: alarm, fsmon, fsync, heartbeat, hostw, hwmon,
maintenance, mtclog, pmon, public, rmon
mtce-guest:
- contains guest component guest-server, guest-agent
Story: 2002829
Task: 22748
Depends-On: https://review.openstack.org/603435
Change-Id: I2ebaf07b94ee5b5abdf8f8db80536351ded22078
Signed-off-by: Jim Gauld <james.gauld@windriver.com>