Commit Graph

22 Commits

Author SHA1 Message Date
Dean Troyer 1c20c0264e Followup opendev cleanup and test jobs
Depends-On: https://review.opendev.org/653964
Depends-On: https://review.opendev.org/653961
Depends-On: https://review.opendev.org/654013
Depends-On: https://review.opendev.org/654024
Depends-On: https://review.opendev.org/654255
Change-Id: I10df1d0ba5fdb571ae713fe1fdd3cfa13c4875bf
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2019-04-21 14:21:35 -05:00
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
Zuul b32cfa5119 Merge "[devstack]remove the duplicated local in path" 2019-04-09 14:13:25 +00:00
Zuul a5cbb6275c Merge "Updates to stx-nfv devstack plugin" 2019-04-09 14:13:21 +00:00
Shuicheng Lin 460c8e2759 [devstack]remove the duplicated local in path
with STX_INST_DIR changed to /usr/local in default, we need remove
the local in path, to avoid duplicated local in path.

Test:
Pass stack.sh execution with stx-nfv services enabled

Depends-On: https://review.openstack.org/#/c/649169/
Change-Id: I69b2b8d25d2f94c835154310284045fd9611af1d
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2019-04-03 19:22:11 +00:00
Yi Wang c3ef0a722e Updates to stx-nfv devstack plugin
* Remove guest-host related code because this component has been
  removed from stx-nfv repo.
* Add an environment variable "UBUNTU_BIONIC" for guest-agent

Story: 2003163
Task: 30275

Depends-On: https://review.openstack.org/#/c/648896/
Change-Id: I83e240c5bbf075dbf2f0391f3bad01d620285dc0
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
2019-04-03 09:14:20 +08:00
Shuicheng Lin 1bbfc5897f [DevStack] Fix Zuul nfv devstack error
nfv requires fm-rest-api, and fm-rest-api requires cgtsclient in
stx-config.
Add stx-config and cgtsclient to jobs to fix the dependency issue.

Try adding WSME in fm-rest-api setup...

Depends-On: https://review.openstack.org/649321
Depends-On: https://review.openstack.org/#/c/649169/
Change-Id: I6ee1cad6aa400f5b763a77e588da40c9332f4acd
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2019-04-02 08:26:09 -05:00
Kristine Bujold 1ec6ba402b Remove wrs-server-group SDK Module from StarlingX
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: 30205

Change-Id: Ic0365f07297f0094b46c59d0fc6a62130c681f1e
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-03-27 14:01:52 -04:00
Kristine Bujold e8baa6dfec Remove wrs-guest-scale 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: 30170

Change-Id: I319937c933a493f2a5ba13523dbfee945540be1c
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-03-25 13:45:55 -04:00
Erich Cordoba ce095fb697 Add notices on Intel authored files.
Story: 2005265
Task: 30092

Change-Id: Id82b93d30736ed7a386c93f34a6a5be88b7a3552
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2019-03-20 10:36:33 -06:00
Yi Wang 33ea331514 Set DevStack install dir to /usr/local by default
* Put everything in /usr/local and allow that to be overridden to
a user-writable dir and not require sudo.
* Enable host-agent if guest-scale-helper is enabled.

Story: 2003163
Task: 29896

Depends-On: https://review.openstack.org/639480
Depends-On: https://review.openstack.org/642305
Change-Id: Ia46cee9797fe9745f38dcbeac12bb3e559a088eb
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
2019-03-14 09:14:41 +08:00
Yi Wang 262142c50c updates to stx-nfv devstack plugin
* 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>
2019-03-09 09:05:37 +08:00
Yi Wang 4af91b450d updates to stx-nfv devstack plugin
* bring up host-agent service
* install header files and libraries for services in guest-agent

Story: 2003163
Task: 29238

Depends-On: https://review.openstack.org/638283
Change-Id: Ied3fef32a7a7f23e4104543c094b46adc72562d0
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
2019-03-09 09:03:31 +08:00
Dean Troyer 5df02e5e08 DevStack plugin updates for bionic job
This makes some cleanup changes to the DevStack plugin for the
change to master and bionic.
* Define values for precedence handling by the upstream devstack playbook
* Add STX_INST_DIR for a deterministic install location
* Add stx-metal to required plugins
* Consolidate all of the is_enabled() handling in the main plugin
  entrypoint functions in lib/stx-nfv

Depends-On: https://review.openstack.org/639858
Change-Id: If9fdc8221443561ed489c38b9006de2f6e9755d7
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2019-02-28 12:56:50 -06:00
Yi Wang 176a3fb771 updates to stx-nfv devstack plugin
1. bring up guestAgent service
2. bring up guestServer service
3. move service enable check from plugin.sh to lib/stx-nfv

Story: 2003163
Task: 29191

Change-Id: I51badd4a737b0f4e2ed66f926640ad202bf6fb5f
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
2019-02-20 19:01:57 -06:00
Dean Troyer f7a3cfb7ce Add stx-update to devstack plugin dependency list
Add the minimum dependency bits for devstack master, plus the
required stx-update plugin in the devstack job definition.

The remaining master/bionic stuff will be in a follow-up review.

Change-Id: Id6b4e3dad1fe54d66b2b5a3dbbe3983621943bb2
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2019-02-20 14:58:57 -06:00
Yi Wang bb093ee6ed Modifications to nfv Devstack plugin
Separate nfv configurations from install function and put them into a
configure function to be consistent with Devstack pattern.

Story: 2003163
Task: 28350
Depends-On: https://review.openstack.org/#/c/623410

Change-Id: I1acd15d628a2636ac2897abcbe446368821973bc
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
2018-12-12 10:22:33 +08:00
Yi Wang bd539f9e48 Some updates to stx-nfv Devstack plugin
This installs, starts, stops, and clean nova-api-proxy service.

Story: 2003163
Task: 28141

Change-Id: I6c48c21a97df0c9324e77f6ffff70b7afd0b57c9
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
2018-12-11 12:10:02 +08:00
Yi Wang 41a8e350f0 Updates to stx-nfv Devstack plugin
1. Refine nfv installation code to modify nfv config files
2. Add dependency resource-agents
3. Add code to start, stop annd clean up nfv services

Story: 2003163
Task: 23298

Change-Id: Ic1e95dbaae4b319dcc9b4b20dea82bfb56e09696
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
2018-12-05 16:59:32 +08:00
Dean Troyer 4d8220b2df Updates to DevStack plugin
* Add a basic DevStack job to exercise this
* Clean up plugin to match DevStack conventions

Change-Id: I5b079eacebf9ddb433b5e831d557afe6a1be6880
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-11-28 09:31:13 -06:00
Erick f53726ca76 Fix devstack plugin
This commit fixes some installation issues and remove
unused functions.

Change-Id: I66812389a3b9f36b5e85278ecaaeb1322acdd2e2
Signed-off-by: Erick <erick.cardona.ruiz@intel.com>
2018-11-27 14:15:09 -06:00
Erick Cardona 1747eaa5f5 Add Devstack plugin
This commit introduces the installation of guest client and nfv package.

Change-Id: I56351803c9b0c6b0b62f98a5593f1fb100d28992
Story: https://storyboard.openstack.org/#!/story/2003163
Signed-off-by: Erick Cardona <erick.cardona.ruiz@intel.com>
2018-11-20 17:37:47 -06:00