26 Commits

Author SHA1 Message Date
Yoshiro Watanabe
4add7b4a03 Remove kuryr-kubernetes from devstack install
This patch changes to be able to build the k8s cluster on local
environment with devstack-plugin-container by setting
KUBERNETES_VIM=True in local.conf.

This patch also includes the following fixes:
* Remove settings related to kuryr-kubernetes.
* Added processing to configure required settings in
  devstack-plugin-container.
* Modify related documents.
* Dropping octavia.

Change-Id: I6a898c3d82bd82b6b687d1941565e0efa963cdbb
2024-12-18 07:58:55 +00:00
Toshiaki Takahashi
c0e8aed8f5 Revert gawk installation
The following bug was fixed, so gawk installation is not required
for Tacker setting. So we remove gawk installation form devstack
setting script.

https://bugs.launchpad.net/devstack/+bug/1909041
https://review.opendev.org/c/openstack/devstack/+/768363

Change-Id: Idb7055422bf309d5c8950a26a946c0f7a3e060c9
2021-10-18 10:21:10 +09:00
Yasufumi Ogawa
35f93e9b67 Remove tmp fix for heat-translator/tosca-parser
To install heat-translator and tosca-parser from git repos, dedicated
scripts for the tasks were added in [1]. Then it was replaced with
smarter way using `git_clone_by_name` in [2]. So, we don't need to have
changes by [1] anymore.

[1] https://review.opendev.org/c/openstack/tacker/+/765296
[2] https://review.opendev.org/c/openstack/tacker/+/787322

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I0a842843443bf5b2dd267b57b3e3dcc66a5198cf
2021-09-06 10:19:19 +00:00
Yasufumi Ogawa
55f3a221be Update examples of local.conf for OVN
For the default network backend driver is changed to OVN[1], update
params for neutron and also kuryr-kubernetes in examples of `local.conf`
to deploy OVN.

[1] https://review.opendev.org/c/openstack/devstack/+/791436

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I04460c525ff5d5751908e12911e4c7797ef09353
2021-07-13 02:28:31 +00:00
Akihiro Motoki
828a34d486 DevStack job with heat-translator/tosca-parser master
Change-Id: I18c5adeddeb17dc78264d598274bf15ec3b2d729
2021-04-27 19:57:25 +09:00
Toshiaki Takahashi
0d412ba7cb Add new FT set for tests with separated NFVO
This patch adds new test with separated NFVO such as Grant API.
The test requires additinal config of Tacker, and we cannot use
Tacker with such config for other tests. So we add new FT set for
separated NFVO environment.

Change-Id: I9fb5ef027b9010becc088ca0b66138bcf52512c2
2021-01-21 16:27:04 +00:00
Koichiro Den
d5eac3c31a Fix IS_ZUUL_FT and make it more succinct
This patch fixes the broken devstack plugin script and slightly changes
the way the var IS_ZUUL_FT is used. When the var is unset, a bash unary
operator expected error should've been emitted because of this part:
${IS_ZUUL_FT+yes}. Unset vs set was a bit confusing so this patch not
only fixes the part but forces the var into always being set and changes
it to "True" vs "False".

Change-Id: I25b418f7776d0d9a00fcf7846a406aba62d40190
2021-01-14 10:03:01 +09:00
Koichiro Den
578b12e989 Add a seperate controller subnode to subdivide the memory load
The number of required plugins has increased to the extent that
controller on Zuul FT infrastructure almost runs out of memory [1].
This potentially induces various problems such as FT failure noises
or POST_FAILURE at the ansible task 'export-devstack-journal'.
To request expanded images such as ubuntu-focal-expanded (16GB) or
ubuntu-focal-32GB would be an option, but it turns out that would
lead us to another problematic situation. [2]

This patch, instead, addresses the issue by subdividing the memory
load. As a first step, introduce a new subnode 'tacker-controller',
on which both tacker-server and tacker-conductor are located.

Note:
* when we re-locate some other components to this new subnode, it might
  better to rename it.
* `devstack_local_conf: {}` in .zuul.yaml is to cancel out the global
  job.vars devstack_local_conf.post-config.$NEUTRON_DHCP_CONF, which
  is not present on 'tacker-controller' in the first place.
* TACKER_MODE is set to 'standalone'. 'all-in-one' supposes core
  services like nova, neutron, keystone, etc. api servers are located
  on the same host as tacker-server.
* in devstack/lib/tacker:create_tacker_accounts, SERVICE_HOST should
  have been TACKER_HOST. this minor fix is included.
* in roles/setup-default-vim/tasks/main.yaml, the same where conditions
  were scattered but all tasks in it just needed to run on 'controller'
  only. so let us wrap them all in a block.
* renamed devstack/plugin.sh:tacker_register_default_vim for clarity.
* policy file modification for Heat is now done by an ansible task.
  it frees us from the co-location requirements for Tacker and Heat.
* drop devstack/lib/tacker:is_tacker_enabled as it's no longer needed.

[1]: we investigated how severe the memory load on 'controller' was
     on Zuul FT infrastructure:
     * The highest memory-consuming processes in desc order:
       808.70MB (9.87%) 828112 /usr/sbin/mysqld
       179.81MB (2.19%) 184124 ... /usr/local/bin/tacker-server ...
       152.57MB (1.86%) 156232 ... /usr/local/bin/tacker-conductor .
       146.67MB (1.79%) 150188 ... /usr/local/bin/neutron-server ...
       132.96MB (1.62%) 136148 ... /usr/local/bin/neutron-server ...
       129.08MB (1.58%) 132180 ... /usr/local/bin/heat-engine ...
       127.48MB (1.56%) 130544 ... /usr/local/bin/heat-engine ...
       122.16MB (1.49%) 125092 nova-apiuWSGI worker 1
       121.00MB (1.48%) 123900 neutron-openvswitch-agent ...
       119.50MB (1.46%) 122368 cinder-apiuWSGI worker 1
       ---(snip)---
     * `free -m` output
               total   used   free   shared   buff/cache   available
       Mem:     7955   7427    196       16          331         219
       Swap:    1022   1019      3

[2]: http://eavesdrop.openstack.org/irclogs/%23openstack-infra/
     %23openstack-infra.2020-11-25.log.html

Change-Id: I030ffd5fd11b7ca9abca56e85e449ed4c4d709bd
2020-12-15 06:08:08 +00:00
Manpreet Kaur
f8fb331a45 Revert Barbican install
Revert Barbican install which was removed in the following
workaround.
https://review.opendev.org/#/c/751965/

Related to https://storyboard.openstack.org/#!/story/2008121
This has been fix in https://review.opendev.org/#/c/753699/4

Change-Id: Icb96354cd263990bc8d179f5c635d7522e72910e
2020-10-21 07:56:56 +00:00
Toshiaki Takahashi
959da510b5 Temporarily remove ceilometer install
We temporarily remove Ceilometer and Barbican install to execute FT
because Gnocchi and Barbican cannot be installed by some error.

Related to https://storyboard.openstack.org/#!/story/2007732
Related to https://storyboard.openstack.org/#!/story/2008121
Related-Bug: #1889732
Change-Id: I93dbd84cec252bb93257b852aa171d9ca89665c2
2020-09-18 10:54:30 +09:00
caoyuan
1ebb081e8f Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I6c273be62735d46221130a1da4d3672fdea77e01
2019-04-26 18:07:57 +08:00
hyunsikYang
90029de514 Kubernetes VIM installation error
Fix Kubernetes VIM installation

Closes-Bug: #1812766
Related-Bug: #1812878
Change-Id: I8288e172a0ae62cfd4d9525cda03dca596bdecc1
2019-01-30 19:35:41 +09:00
Eduardo Gonzalez
b20812678b Add multinode jobs
Add devstack multinode job.

This job installs nova in a single cell as "late anti-affinity
[1] doesn't work in multi-cells environment.

[1] : https://docs.openstack.org/nova/latest/user/cellsv2-layout.html#operations-requiring-upcalls

Co-Author: tpatil <tushar.vitthal.patil@gmail.com>
Co-Author: yong sheng gong <gong.yongsheng@99cloud.net>

Change-Id: I56a9cf4bb553c8026eec73212a3742d5eab17420
2018-07-26 11:48:24 +08:00
yong sheng gong
eee50859da Disable tls proxy until it is supported by tacker
Change-Id: Ia0ab646cd93f9e4487480eac74aff6edf1ebfe4d
Closes-bug: 1739342
2017-12-21 11:04:54 +08:00
yong sheng gong
04442cc728 Remove tacker horizon from lib installation
Change-Id: I419cb744db8b3d468c81223aba0b1caaa362b1d4
Closes-bug: 1733768
2017-11-22 13:22:34 +08:00
Cong Phuoc Hoang
be9e41e11f Add supporting Kubernetes to devstack
This patch describes the way to install Kubernetes VIM via Devstack and
register Kubernetes VIM in Tacker.

Tacker reuses the efforts from Kuryr-Kubernetes project to create
Kubernetes cluster. This patch also sets up native Neutron-based networking
between Kubernetes and OpenStack VIMs to connect VM based and container based
VNFs together, that bring hybrid deployment SFC in the future.

Partially Implements: blueprint kubernetes-as-vim

Change-Id: Idf04f012c6daf93a33ad89a5a7c737f3668eb405
2017-11-11 00:52:00 +09:00
Yan Xing'an
07428d4985 Support to use barbican to encode vim password
1. Add new option 'use_barbican' in config file [vim_keys] section,
   default value is False for Pike.
2. Use fernet to encrypt vim password, and save the fernet key into
   barbican as a secret.
3. Add new fields 'key_type', 'secret_uuid' into VimAuth.auth_cred
   json string. secret_uuid is masked in vim-show or vim-list response.
4. Set the vim's default 'shared' value to False,
   vim can only be used by who created it.
5. Add a devref to show how to test.
6. Add a release note.

Implements: blueprint encryption-with-barbican
Partial-bug: #1667652

Change-Id: I5c779041df5a08a361b9aaefac7d241369732551
2017-06-26 07:23:10 -07:00
jing.liuqing
755a55ad5f Implement vim status update in conductor
Mistral vim monitor task connects to conductor via conductor's AMQP
topic, calls the update_vim RPC method.

The RPC method will update vim and event DB entries and then return
passed in status.

This patch refactors the common_services_db and nfvo_db in order
not to import too many classes in the conductor process.

One more thing is on devstack, where tacker-conductor service is
introduced.

DocImpact
Implements: blueprint refactor-vim-monitor

Change-Id: Ic2b3c381cca796edc00f3c77cc790cb4c4955db7
2017-06-20 11:47:16 +08:00
gong yong sheng
20efc9c603 Enable services requried in standalone installation
Change-Id: I0509ce94601fd4ac5642a71e85d5625ad100f883
2017-06-19 13:00:41 +08:00
rabi
674acde2f8 Use heat devstack plugin
Now that heat is available as a devstack plugin, it should be
used. The document is updated to enable the heat devstack plugin
before the tacker plugin.

Co-Authored-By: Kanagaraj Manickam <mkr1481@gmail.com>

Change-Id: I9d20d72dfa50f36ee454f56f3c67d063012ef05b
2016-12-16 01:28:41 +00:00
Kanagaraj Manickam
8476b864bb Clears the devstack settings whitespaces
Change-Id: I51cbcf6ed157582ae024eaee98b170f0e2063ce3
2016-11-16 09:04:18 +00:00
gong yong sheng
1de9a991df Allow to install tacker only env
Introduce a TACKER_MODE variable. If this is set to 'all', the
tacker devstack plugin will install other components just like
previous way. If it is set to 'standalone', the tacker devstack
plugin will disable all other services and enable the mysql,
keystone, tacker and horizon services.

Change-Id: I5d7613566ed45aa273848bfe85d76c7a7fe97ba1
Closes-bug: 1633327
Closes-bug: 1620163
2016-11-07 09:38:14 +00:00
Sridhar Ramaswamy
39a0ccaa23 Add python-tackerclient to test-requirements.txt
python-tackerclient is now available in global
requirements [1]. Moving to use pip dependency
to pull in tackerclient instead of directly
referring to the release tarball.

[1] https://review.openstack.org/334641

Change-Id: I2bc758a56f2371671db60eb626ae87194506c0a4
2016-07-05 06:02:34 +00:00
Yuuichi Fujioka
39b152d02b Introduce environment variable to disable neutron agents
Currently, when tacker is enabled, some neutron agents are
automatically enabled.

In some case, those are not needed in the same node that tacker is
running.

Change-Id: Iff4daa862a596cdef4ed569c805a2c1e9657ea9a
Closes-Bug: #1548141
2016-03-03 00:57:38 +00:00
Sridhar Ramaswamy
e67a9e03ae Support Tacker service in master branch
Change references to oslo.messaging into oslo_messaging

Change-Id: I281ada8dd859a221994ba99c3bbd1bfe3d186451
Closes-Bug: 1480551
2015-08-26 09:56:26 -07:00
Sripriya Seetharam
09151e1273 Add devstack hook for tacker
Automate tacker, tacker-horizon installation and tacker network creation

Closes-Bug: #1467021
Closes-Bug: #1468568

Change-Id: I99111e50a2391ec46fac9355a0f2260aee724b2b
2015-07-10 16:24:50 -07:00