This update is to add a summary of changes focusing on major updates
in Zed release.
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I0b256cc7bbec45f28f4ca79971dd2407d2d3958f
This update is to revert a previous temporary fix for a problem of
tackerclient installation via pip while running function tests.
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I0d1e18c5a40449a9a5bd2eefb58f97c596a1cbab
Tested the Mgmt Driver in the Yoga version and found some bugs.
To fix these bugs, the following things have been done in this
patch:
1. When checking whether the node has k8s installed, since the
value of result.get_stderr() is a list, an error will occur
in the if branch, and the value needs to be modified.
2. Use the _init_commander_and_send_install_scripts function
instead of the RemoteCommandExecutor function to prevent the
VM from getting an error when the connection fails during
the startup phase.
3. Added the type of exceptions caught by the
_init_commander_and_send_install_scripts function.
4. Change the scale_stack_id to scale_out_id_list uniformly to
solve the parameter mismatch between the input values for
mgmt_drvier in vnflcm_driver and mgmt_driver.
5. Add modify_information_start and modify_information_end to
Mgmt Driver.
6. When using the Mgmt Driver to modify the content of the
haproxy configuration file, use the exact match of grep to
find the corresponding line number.
Closes-Bug: #1976440
Change-Id: I94f011fd5061b04dff0840bf90ca10ae2a677874
This patch makes the following updates to the API and CLI docs.
API doc:
* Fix "vnfState" which is Response Parameters of List/Show VNF instance
is incorrectly set to option
* Add "maxScaleLevels" and "scaleStatus" which are Response Parameters
of List/Show VNF instance
CLI doc:
* Add subscription commands such as Create, Delete, List and Show
* Fix typo about "Change External VNF Connectivity"
* Minor fixes such as indentation correction and typo correction
Co-Author: Ai Hamano <ai.hamano@ntt-at.co.jp>
Change-Id: I4c643c542deed6b459da4f53bfe4ce90eca96d74
Error logs were not generated when an error
occurred in the process of Instantiation.
Implemented logging in exception block of
instantiation process.
Closes-Bug: #1981183
Change-Id: I8a3240e4b3d4e454f07c4609d28c9dce2bb5e2c2
When initializing k8s client in InfraDriverV2, the SSL CA
certificate is set incorrectly.
To fix the issue, the following modifies are made in this patch:
* A temp file for ssl_ca_cert is created before initializing
k8s client and the temp file path is set to k8s_config.ssl_ca_cert,
* The temp file is deleted until the lifetime of k8s client ends.
Note: This references the implementation in InfraDriverV1.
If set the ssl_ca_cert in instantiate request, the validation of
request is failed because of the length of ssl_ca_cert exceeds 1024.
For this issue, add a new type `keyvalue_pairs_no_length_limit`
which has no max length limitation to verify the request.
And the interfaceInfo, accessInfo, extra are all set to the new type
for unity.
In Zuul test environment, when registering default vim, ssl_ca_cert
is not set. So the case with ssl_ca_cert is not tested.
In this patch ssl_ca_cert is set into the default vim.
Closes-Bug: #1979413
Change-Id: I61dbd70690b737a72fc619e5a08b4bab51160a27
This patch refactors the implementation of change_vnfpkg v2 API.
Because the original implementation of change_vnfpkg does not obey
the rules that other operations obey, it makes hard to enhance
the function that related to whole operations such as the HOT format
change. This patch corrects it.
This patch also changes some specifications of the API and fixes
some bugs (described in bug #1981533).
Specification changes:
* image to volume translation (or vice versa) is not supported.
Note that it did not work property by a bug.
* parameters to the coordinate script are changed.
* property name for images in the definition of AutoScalingGroup is
changed.
* unnecessary parameters of additionalParams,
'lcm-operation-coordinate-old-vnf-class' and
'lcm-operation-coordinate-new-vnf-class' are removed.
* 'lcm-operation-coordinate-old-vnf' and
'lcm-operation-coordinate-new-vnf' in additionalParams are option
now.
Detail of bug fiexes are omitted.
Note that the object of this patch is common part and openstack VIM part.
k8s VIM part will be fixed by another patch.
Closes-Bug: #1981533
Change-Id: I9f6d103d66e6904704ca467d68c4ebfbcbd8a1f8
This patch fixes
".instantiatedVnfInfo.vnfcResourceInfo[].storageResourceIds"
has same id as "id" shown in
".instantiatedVnfInfo.virtualStorageResourceInfo[]".
Closes-Bug: #1960194
Change-Id: I39416afd21295daf3c5d0e57c9195ac20e7e55e7
Previously since the method used to get vnf package when creating
vnf instance in v2 API is not tenant aware, it fails when a user
who does not have admin role executes the API.
This patch fixes to use the method that is tenant aware to get
vnf package.
Closes-Bug: #1981771
Change-Id: I0de5323fc1dc58f52ea2e3d3d72fa4c0c41f0acd
This patch makes extVirtualLinkInfo.extLinkPorts.id of
instantiatedVnfInfo of V2 api same as cpConfig.linkPortId of
extVirtualLinkInfo.currentVnfExtCpData to comply with the ETSI
NFV SOL specification.
Closes-Bug: #1981661
Change-Id: I0cd1e610143bc994da30d0afba50e6a4520cf363
Since the version of jsonschema has been updated from 3.2.0 to 4.7.2,
when tox executes UT, it reports an error when checking IPv4, and now
the invalid IP address is fixed.
Due to FT failure caused by ceilometer, the installation of Ceilometer
was commented out in `.zuul.yaml`.
Note that this is only a temporary change and will need to be changed
back when the ceilometer issue is resolved.
Closes-Bug: #1983067
Change-Id: Ice9be4d71ee1689b57add263be5fadd77a7f5ccd
For v1 API, heal doesn't delete original VM after running
scale-out unexpectedly because `desired_capacity` for
stack update for heat is not updated while heal operation.
This update is for the fix.
Closes-Bug: #1980329
Change-Id: I61ee8b6e08a6af54f04cf09c8a0123332946ccb5
For a limitation of IP address range of hostonly network which was
added in the recent update in VirtualBox [1], allowed only
192.168.56.0/21, the installer is terminated without you give
appropriate IP addresses to your VMs.
Forwarding port `10080` for HTTP is also invalid in security for some
browsers. `20080` is valid for the restriction.
This update is to update default values of IP address and port to be
allowed.
[1] https://www.virtualbox.org/manual/ch06.html#network_hostonly
Closes-Bug: #1980312
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I7fbce874ce2445ea72e627e0ad6309062fac9292
Number format value was giving error when passed in
additional param section of instantiation json file.
Added number type in keyvalue_pairs in parameter_types.py.
Closes-Bug: #1978563
Change-Id: I4d87615ff106abf0e59ef45f0ff322d75fea0038
When executing CNF lifcycle operations, if the manifest file
contains the following parameters:
`exec`, `not`, `except`, `continue`, `from`
the initialization of Kubernetes resources will fail.
To fix this issue, this patch makes changes to the `_init_k8s_obj`
method in the `translate_outputs.py` file. When the manifest file
contains the above parameters, it is first converted into
parameters that can be recognized by the k8s client module and
then initialized.
Closes-Bug: #1978071
Change-Id: I392e1b07152b260de775754dbe4606995f658d8d
This patch modifies the following for the API Documentation for v2 API:
[1] Added 400 code
- All APIs return "400 Bad Request" if the validation check in the
Version header fails.
[2] Added 406 code
- All APIs except api_versions return "406 Not Acceptable" if an
unsupported version is set in the Version header.
[3] Removed 422 code
- It is not necessary to describe the "422 Unprocessable Entity"
error that occurs after returning "202 Accepted" in the response.
Change-Id: I8565c12a69ca75f6c7934e351b5f76ca093ffb02
This patch provides user guide for OAuth2.0 client authorization
through keystone identity servers.
Implement: blueprint oauth2-client-credentials-ext
Change-Id: I9a1f976faee631282691f2d70032c546c6c3b53f
This patch removes the restriction that only one VNF can be created from
a single VNF package when deploying CNFs.
The process of associating the `VDU.properties.name` in VNFD with the
actual resource name has changed by adding the `vdu_mapping` parameter
to InstantiateVnfRequest.additionalParams.
The patch also updates the documentation to remove the restriction and
add how to instantiate with `vdu_mapping` parameter.
Implements: blueprint remove-cnf-restriction
Change-Id: I32c041b8fd996b9b338fe97eb1604567fd6b6aaf
affectedVirtualStorages should be absent in
notification when VNFD does not contain virtual
storage
Implemented a check during populating
affectedVirtualStorages, affectedVirtualLinks,
affectedVnfcs in notification
Closes-Bug: #1973372
Change-Id: Ic83359553fb256de83f8cf1578656f842945b6d0
Usage guide for how to use Mgmt Driver to update ConfigMap and
Secret, as well as Pod and Deployment, while updating CNF.
Change-Id: Ia79b6317d441b3430010b0e4adc5bedd952f428a
This patch provides Tacker documents for change current vnf package
in V2-API. The specification about new API is added to API Reference.
Also, change current vnf package operation is added to
Tacker Use Cases Guide and CLI Reference.
This patch also adds change current vnf package restrictions to
error_handling user guide.
Implements: blueprint upgrade-vnf-package
Change-Id: I3f18bbab17c67e717dc0a9d36e92f812a40862e5