Currently, "DOWN" and "INACTIVE" are defined as VNF status, but these
status is no need to be used anymore. So this patch aim to remove
these status from Tacker code.
Change-Id: I98a4f24b8ddb4de5bd799de243cf728cac99e615
Currently, README.rst does not contain release notes URL. So this
patch aims to add a URL that links to release notes of Tacker. It
also creates a bulleted list for External resources session.
Change-Id: I666c013b465edb650558d5a55e505b4a3dba3566
If any unknown exception occurs while monitoring VNFs,
then it exits while loop where run_monitor method is
called thereby stopping VNFs monitoring completely.
Handled unknown exception and logged an error message
so that operator is aware of this issue.
Closes-Bug: #1789829
Change-Id: I0b79a0a82e984a3c9a93fc123688ccd2018cc554
Method `get_vnf_policy_by_type` accepts policy_type parameter,
but inside this method, if it's doesn't find policy as specified
in parameter `policy_type`, then it raise VnfPolicyTypeInvalid
in which type is hard coded to constants.POLICY_ALARMING.
This patch removes the hard coded value of policy_type and used
the parameter which is passed to `get_vnf_policy_by_type` method.
Change-Id: I34346fdc51749530a1413a98a3a4b2ee65f78b08
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I658141601bc7313e19456e07e6d55d0e58008b4e
Story: #2002586
Task: #24324
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I94c1ccd6f5482f348f3e49a71eee281061c628fc
Story: #2002586
Task: #24324
The HACKING.rst testing section is updated a bit to point out
that we use stestr now instead of testr.
This patch also removes the nose testing.
Change-Id: I70c2f3e3d87fb447a15977e851554f562f21c796
When Network Service (NS) is supported in Tacker, we can launch
multiple VNFFGs by initiating NS. Because each VNFFG can have
different 'symmetrical' value, we should support dynamic 'symmetrical'
parameter for each VNFFG in VNFFG descriptor.
This feature will add 'symmetrical' as a property of forwarding path,
so users can set 'symmetrical' value to 'true' or 'false' to change
symmetrical value of a port chain in networking-sfc.
Change-Id: Ie9a6abe96141954e95902cd426abafa10d744236
If user passes non-dict or empty dict to the auth_cred and
vim_project parameters, then tacker returns 500 error.
This patch fixes the issue by adding a new validator type
"dict_not_empty" and using at the required places. Now, if
users passes non-dict or empty dict to VIM Register API,
then it will return 400(BadRequest) error.
Change-Id: Ic144df6af606286ed3eea7f7071f061bceffaa7f
Change-Id: Ib58255e5b860f95b6c95c1373ee2c2e70722cd81
Co-Authored-By: Yan Xing an <yanxingan@cmss.chinamobile.com>
Implements: blueprint shared-barbican-secret
When deleting vim, if the fernet key associated with vim does not
exist in barbican, vim is also allowed to be deleted.
Change-Id: Icec26074423fb0fcd04f0051706402c15da86d08
Closes-bug: #1783959
This patch lets forwarding graph 'id' to match 'chain_id' in
port chain. When users don't provide forwarding graph 'id',
that 'id' will be updated automatically by port chain creation
in networking-sfc.
Change-Id: I4e1dba75078593ba35f3995a26336ed538669579
This removes usage of deprecated Ceilometer API
1. Changing trigger type from "OS::Ceilometer::Alarm"
to "OS::Aodh::GnocchiAggregationByResourcesAlarm"
2. Add "resource_type" fixed with value "instance"
3. Change some paramters (meter_name-> metric,
statistic ->aggregation_method, period-> granularity)
4. Change value from "average" to "mean" in method to
compare to the threshold
Change-Id: I486c14cbc9d05a0e826bbef1ad181bdcb2d8c951
Closes-Bug: #1735484
During multinide jobs implementation, python3 job was lost.
This change recovers them into a initial state from multinode
Change-Id: I6ead3a7cdbb8bb25e6769713a2a5c9bafb1166b2
- This patch aims to add support for following placement policies in
addition to the default 'affinity' policy:
anti-affinity
soft-affinity
soft-anti-affinity
- This patch adds respective functional/unit test cases. To test
"anti-affinity" policy on the gate, changed the devstack functional
jobs `nodeset` from the default single node to "openstack-two-node".
- This patch also adds respective documentation and usage guide for
the above added policies.
Depends-On: I56a9cf4bb553c8026eec73212a3742d5eab17420
Co-Author: tpatil <tushar.vitthal.patil@gmail.com>
Implements: blueprint vdu-affinity-policy
Change-Id: I18aaa9d00c8539ccc60cb6e70570dee124df70a3
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
- tacker CLI is deprecated soon, so there is a need to change
tacker CLI to OSC CLI in the documentation.
- Update some commands related to Mistral.
Change-Id: I55932682fe0699da72b99f3b881df76f365b1f0a
Closes-Bug: #1783465
New releases of oslo.config support a 'mutable' parameter to Opts.
oslo.service provides an option here Icec3e664f3fe72614e373b2938e8dee53cf8bc5e
allows services to tell oslo.service they want mutate_config_files to be
called by passing a parameter.
This commit is to use the same. This allows tacker to benefit from
I1e7a69de169cc85f4c09954b2f46ce2da7106d90, where the 'debug' option
(owned by oslo.log) is made mutable. we should be able to turn debug
logging on and off by changing the config.
tc goal:
https://governance.openstack.org/tc/goals/rocky/enable-mutable-configuration.html
Change-Id: I81df7830bbee2288938016c214495dfe2f90eec9