1468 Commits

Author SHA1 Message Date
chenjiao
f805cd7716 spelling error
Change-Id: I7a49e55549e770f0ceca74726580858fbffcdd45
2018-10-06 02:46:27 +00:00
Zuul
4a77473dcd Merge "Clean up unused VNF status" 2018-09-20 08:23:46 +00:00
Zuul
92068990be Merge "Switch to oslo_messaging.ConfFixture.transport_url" 2018-09-20 07:19:07 +00:00
Zuul
17846fe467 Merge "Fix typo for Getting Started session" 2018-09-20 04:58:29 +00:00
Zuul
f9b3e026c7 Merge "python3 compatibility changes" 2018-09-17 05:46:00 +00:00
Kim Bao Long
6e5c82b5ac Fix typo for Getting Started session
This patch aims to fix some type that might make user confuse while
starting in Tacker project.

Change-Id: Iec227f871068f82a385ba44a29ae420956c8753e
2018-09-14 12:17:18 +07:00
Kim Bao Long
dbe024debf Clean up unused VNF status
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
2018-09-13 14:46:43 +07:00
Zuul
99bae42173 Merge "Handle exceptions while monitoring VNF" 2018-09-13 05:07:47 +00:00
dharmendra
0d61783243 python3 compatibility changes
Change-Id: I6f421ab13e1f3919028cadf99b18405a23b7bec0
2018-09-10 06:07:17 +00:00
Zuul
08ea72c06a Merge "Update README by adding release notes URL" 2018-09-05 05:18:57 +00:00
Kim Bao Long
0b60eb576d Update README by adding release notes URL
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
2018-09-05 08:39:02 +07:00
Zuul
ba44cd4645 Merge "add more details on tacker installation via devstack" 2018-09-05 00:56:05 +00:00
Zuul
7a70977e94 Merge "add python 3.6 unit test job" 2018-09-03 04:30:39 +00:00
Zuul
bcc1a27dff Merge "switch documentation job to new PTI" 2018-09-03 04:29:56 +00:00
Zuul
3f12d85fda Merge "import zuul job settings from project-config" 2018-09-03 04:25:42 +00:00
bhagyashris
6b9d92c52f Handle exceptions while monitoring VNF
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
2018-08-30 16:03:15 +09:00
陶冶
96e859bd73 add more details on tacker installation via devstack
Change-Id: I64a3ca43b5897da8dfd02668e3c0ce7a431dd0f7
2018-08-21 07:16:02 +00:00
bhagyashris
c93c9ebecd Remove hard coding of policy_type value
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
2018-08-20 10:41:23 +09:00
Nguyen Hai
fe8ea462f3 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 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: I55c4afe37291cb52e82b9c81d333a7f709b314fb
Story: #2002586
Task: #24324
2018-08-17 20:15:38 +09:00
Nguyen Hai
50dd94b111 switch documentation job to new PTI
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
2018-08-17 20:15:38 +09:00
Nguyen Hai
bf4a63eeec import zuul job settings from project-config
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
2018-08-17 20:15:12 +09:00
21bd3f13c6 Update reno for stable/rocky
Change-Id: I9d80790b91f6f0b15f1a6bd9bfe741f94fafc5eb
2018-08-16 13:05:06 +00:00
Zuul
5987ad8c56 Merge "Add 'symmetrical' as property of a forwarding path" 2018-08-08 09:58:36 +00:00
Zuul
f7aba45904 Merge "Trivial: Update HACKING.rst with stestr" 2018-08-08 01:58:24 +00:00
Nguyen Hai
09b73ec166 Trivial: Update CONTRIBUTING.rst with official Git repository
Change-Id: If8bc956428a5e421e9bd73058bb09c6806ed6d8d
2018-08-07 07:50:57 +00:00
Nguyen Hai
b6638333f6 Trivial: Update HACKING.rst with stestr
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
2018-08-07 16:20:40 +09:00
Cong Phuoc Hoang
df8be52ac7 Add 'symmetrical' as property of a forwarding path
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
2018-08-06 11:09:03 +00:00
openstack
66677ea869 Fix VIM register API 500 error issue
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
2018-08-01 14:07:46 +05:30
Li Jiale
210d8f93bb Support shared vim for policy action execution
Change-Id: Ib58255e5b860f95b6c95c1373ee2c2e70722cd81
Co-Authored-By: Yan Xing an <yanxingan@cmss.chinamobile.com>
Implements: blueprint shared-barbican-secret
2018-07-29 13:56:45 +08:00
Zuul
a4eb97ff50 Merge "Correct forwarding graph 'id' to match 'chain_id' in port chain" 2018-07-28 08:59:27 +00:00
Zuul
5a46174f88 Merge "Recover python3 devstack jobs" 2018-07-28 02:33:56 +00:00
Li Jiale
13d85bdeb1 Cannot to delete vim, if barbican's secret does not existed.
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
2018-07-27 16:09:32 +08:00
Cong Phuoc Hoang
4e1e284764 Correct forwarding graph 'id' to match 'chain_id' in port chain
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
2018-07-27 07:50:06 +00:00
hoangphuocbk
0da9469017 Move usage from deprecated Ceilometer API to Gnocchi API
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
2018-07-27 02:01:02 +00:00
Eduardo Gonzalez
acee078520 Recover python3 devstack jobs
During multinide jobs implementation, python3 job was lost.
This change recovers them into a initial state from multinode

Change-Id: I6ead3a7cdbb8bb25e6769713a2a5c9bafb1166b2
2018-07-26 20:14:27 +00:00
Zuul
7a0efa8007 Merge "Add placement policies support" 2018-07-26 12:26:40 +00:00
Zuul
d7adc717a3 Merge "Trivial: Change HTTP to HTTPS links in docs" 2018-07-26 07:38:09 +00:00
Zuul
179759a5b7 Merge "Add multinode jobs" 2018-07-26 05:41:59 +00:00
dineshbhor
f47bf1ba32 Add placement policies support
- 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
2018-07-26 13:24:34 +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
Xingyu Pan
8299a732e4 Trivial: Change HTTP to HTTPS links in docs
Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: I53776f3ae06016010706d05ee9d03e21f742bd63
2018-07-26 00:36:25 +09:00
Zuul
059337acef Merge "Enable mutable config in tacker" 2018-07-25 06:34:15 +00:00
Zuul
f3ad563b3b Merge "Change tacker CLI to OpenStackClient CLI in docs" 2018-07-25 05:40:36 +00:00
Zuul
66290759c3 Merge "Update cirros to 0.4.0" 2018-07-25 05:37:37 +00:00
Nguyen Hai
df04d16c70 Change tacker CLI to OpenStackClient CLI in docs
- 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
2018-07-25 04:44:57 +00:00
Nguyen Hai
89f5bfd7b3 Trivial: Add running tests section to HACKING.rst
The HACKING.rst testing section is added to point out
that we use stestr now instead of testr.

Change-Id: Ic2ef2a70134dacb79dedbbc75f581029e91d0eb6
2018-07-25 10:46:43 +09:00
Nguyen Hai
f16ac7c79f Update cirros to 0.4.0
Change-Id: Ie4ff403f803a16ca53c91c7d10d71ec80fbe1a9b
2018-07-25 01:42:48 +00:00
Anusree
704274e384 Enable mutable config in tacker
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
2018-07-25 03:55:02 +05:30
dharmendra
a7ba6d02aa Correct error handling for PENDING_DELETE VNFs.
Partial-Bug: #1775373

Change-Id: I82e3dc0531c1b9e702fe41d0dcf244dc514c53ac
2018-07-24 09:26:56 +00:00
Zuul
621d6488ca Merge "Revert "Add log file to tacker-server systemctl daemon script"" 2018-07-24 05:13:25 +00:00