Tacker: ETSI MANO NFV Orchestrator / VNF Manager. See https://wiki.openstack.org/wiki/Tacker
Go to file
LiangLu 26a2b5fce2 Fix missing required parameter when k8s_obj init
While deploying CNF(deployment) using pod-affinity rules, a
parameter error happended because the topology_key is not
assigned when initializing k8s object.

This patch fixes this bug by adding the topology_key's default
value into `must_param` in translate_outputs._create_k8s_object().
At the same time, in order to deal with the recurrence of this
kind of bug, we checked the required parameters of all resources
in kubernetes again and added them to must_param.
    * Kubernetes version: from v1.18.20 to v1.21.1
    * Kubernetes-python-client version: v18.20.0

The major changes from the "must_param" used in the previous
Wallaby release of Tacker are probably as follows:

RuntimeRawExtension
  The `data` parameter of `V1ControllerRevision`[1] in v11.0.0
  was `RuntimeRawExtension`[2], but the `RuntimeRawExtension` was
  not support for v12.0.0 or later. Therefore `V1ControllerRevision`
  in v18.20.0[3] it has been changed to` object` type.

V1ServiceReference
  The `service` parameter of `V1APIServiceSpec`[4] in v11.0.0 was
  `V1ServiceReference`[5], but the `V1ServiceReference` was not
  support for v12.0.0 or later.
  Therefore `V1APIServiceSpec` in v18.20.0[6] it has been changed
  to `ApiregistrationV1ServiceReference`[7].

V1LimitRangeItem
  The `type` parameter of `V1LimitRangeItem`[8] in v11.0.0 was
  optional type, but the parameter has changed to must param
  in v18.20.0[9].
  Therefore, the parameter should be added into `must_param`.

[1] https://github.com/kubernetes-client/python/blob/v11.0.0/kubernetes/docs/V1ControllerRevision.md
[2] https://github.com/kubernetes-client/python/blob/v11.0.0/kubernetes/docs/RuntimeRawExtension.md
[3] https://github.com/kubernetes-client/python/blob/v18.20.0/kubernetes/docs/V1ControllerRevision.md
[4] https://github.com/kubernetes-client/python/blob/v11.0.0/kubernetes/docs/V1APIServiceSpec.md
[5] https://github.com/kubernetes-client/python/blob/v11.0.0/kubernetes/docs/V1ServiceReference.md
[6] https://github.com/kubernetes-client/python/blob/v18.20.0/kubernetes/docs/V1APIServiceSpec.md
[7] https://github.com/kubernetes-client/python/blob/v18.20.0/kubernetes/docs/ApiregistrationV1ServiceReference.md
[8] https://github.com/kubernetes-client/python/blob/v11.0.0/kubernetes/docs/V1LimitRangeItem.md
[9] https://github.com/kubernetes-client/python/blob/v18.20.0/kubernetes/docs/V1LimitRangeItem.md

Closes-Bug: #1928153
Closes-Bug: #1940602
Change-Id: If77be98d0c4cec6f4c860ae84978f59772f9a6ee
2021-08-25 13:35:55 +09:00
api-ref/source Merge "Fix Patch Individual VNF instance" 2021-08-01 15:04:23 +00:00
contrib/tacker-config Add support SFC encapsulation from networking-sfc 2019-01-28 17:16:33 +09:00
devstack Update examples of local.conf for OVN 2021-07-13 02:28:31 +00:00
doc Merge "Add LCM op figures to User Guide" 2021-08-01 15:37:51 +00:00
etc Fix typo and missing configure for mgmtdriver 2021-03-10 09:21:54 +00:00
playbooks/devstack Restore Ceilometer installation 2021-01-14 15:05:24 +09:00
releasenotes Update releasenotes from Xena cycle 2021-07-29 14:46:44 +00:00
roles Add a k8s cluster for the k8s related FT in zuul 2021-02-08 13:11:16 +00:00
samples Merge "Fix exception not raised while install script failed" 2021-04-08 12:58:15 +00:00
tacker Fix missing required parameter when k8s_obj init 2021-08-25 13:35:55 +09:00
tools Update references to sys.version_info 2021-07-26 18:18:22 +05:30
.coveragerc Cleanup and fix Tacker coverage 2016-04-21 06:08:06 +00:00
.gitignore Add vnf package conf options and sample config file to docs 2019-09-19 08:49:08 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:36:08 +00:00
.mailmap import neutron master of cba140daccd7c4f715263cda422d5cec27af069d 2014-07-01 17:11:09 +09:00
.pylintrc import neutron master of cba140daccd7c4f715263cda422d5cec27af069d 2014-07-01 17:11:09 +09:00
.stestr.conf Switch to using stestr 2018-06-14 04:49:05 +00:00
.zuul.yaml Zuul FT environment change to use OVN 2021-07-12 18:29:39 +00:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2020-05-04 08:37:57 +00:00
HACKING.rst Trivial: Add running tests section to HACKING.rst 2018-07-25 10:46:43 +09:00
LICENSE import neutron master of cba140daccd7c4f715263cda422d5cec27af069d 2014-07-01 17:11:09 +09:00
README.rst Start README.rst with a better title 2019-11-28 09:36:59 +08:00
TESTING.rst Trivial: Update HACKING.rst with stestr 2018-08-07 16:20:40 +09:00
bindep.txt include mariadb, mariadb-server in bindep, for tests 2021-03-02 07:26:09 +00:00
lower-constraints.txt Fix missing required parameter when k8s_obj init 2021-08-25 13:35:55 +09:00
requirements-extra.txt Temporary revert to install ht and tp with pip 2021-03-10 05:44:28 +00:00
requirements.txt Fix missing required parameter when k8s_obj init 2021-08-25 13:35:55 +09:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-04-27 16:41:34 +08:00
setup.py Cleanup Python 2.7 support 2020-03-29 20:23:26 +00:00
test-requirements.txt Drop block storage v2 API 2021-07-28 16:03:57 +00:00
tox.ini Temporary revert to install ht and tp with pip 2021-03-10 05:44:28 +00:00
upper-constraints.txt Fix missing required parameter when k8s_obj init 2021-08-25 13:35:55 +09:00

README.rst

Tacker

image

Welcome!

Tacker is an OpenStack based NFV Orchestrator service with built-in general purpose VNF Manager to deploy and operate Virtual Network Functions (VNFs) on an OpenStack based NFV Platform. It is based on ETSI MANO Architectural Framework and provides a fully functional stack to orchestrate VNFs end-to-end.

Installation:

Installation instructions and user guides can be found at: https://docs.openstack.org/tacker/

Tacker code base supports OpenStack master and other releases. Please follow the instructions in the above address for a successful installation of corresponding release.

Code:

Tacker code is available in following repositories:

Bugs:

Please report bugs at: https://bugs.launchpad.net/tacker

External Resources: